Mainflux.mainflux/vendor
Ivan Milošević 3eca6920e1
NOISSUE - Add health check for MQTT broker (#1305)
* Add health check

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* update readme
use constants

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* close body after each HEAD request

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* log and close health check response body

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* use healthcheck endpoint instead ping for docker healthcheck

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* remove for loop, only one check and exit if failed healthcheck

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* changed cmd for healthcheck
new version of verne image

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* use false instead exit 1

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* return for loop

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* review

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* add continue after unsuccesful http.get

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* Use backoff package

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* extracting healtcheck function outside main()

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* go mod vendor

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* go mod tidy

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* go mod vendor

Signed-off-by: Ivan Milosevic <iva@blokovi.com>
2021-01-05 19:45:09 +01:00
..
github.com NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
go.mongodb.org/mongo-driver NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
go.uber.org/atomic MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
golang.org/x MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
gonum.org/v1/gonum NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
google.golang.org NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
gopkg.in MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
modules.txt NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00