apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 35 forks source link

Unnecessary cron jobs started when Monitoring is set on #3730

Open matleppa opened 5 years ago

matleppa commented 5 years ago

General

After an API is connected to a Proxy, it is possible to set on Monitoring, which indicates, if API is responding to a GET method.

When the Monitoring is started, also a cron job for recurring sending of GET request is started.

Problem

Within starting cron job for Monitoring, also cron jobs related to collection of traffic data from Proxy via ElasticSearch are started.

In case ElasticSearch connection is not working properly, it leads UI freezing. In any case it is unnecessary functionality.

matleppa commented 5 years ago

It seems, that autorun in apinf_packages\dashboard\client\analytic\body\body.js is triggered, when url is changed. Thus causing the requests to be sent to ElasticSearch.