hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

Data puller doesn't stop on disabling it's webhook #479

Closed rozetko closed 5 years ago

rozetko commented 5 years ago

Not actual The problem was in cURL When you disable webhook from hastic-grafana-app, it sends boolean value to the server Although, when you disable webhook using curl, it is sent as 'false' string curl -X PATCH http://localhost:8000/analyticUnits/alert --data 'analyticUnitId=0usg98YFqQBlGRU2&alert=false' Thus, webhook is not disabled

P.S. Couldn't find a way to send it as a boolean unfortunately