Mainflux.mainflux/vendor/github.com
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
..
Azure/go-ansiterm Use PostgreSQL as primary persistence solution (#175) 2018-03-11 18:06:01 +01:00
BurntSushi/toml Migrate from dep to go modules (#971) 2019-11-27 15:29:34 +01:00
Microsoft/go-winio NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
Nvveen/Gotty Use PostgreSQL as primary persistence solution (#175) 2018-03-11 18:06:01 +01:00
beorn7/perks Update protobuf to 1.1.0 (#251) 2018-05-02 08:49:39 +02:00
cenkalti/backoff NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
cespare/xxhash/v2 NOISSUE - Update provision service (#1133) 2020-04-29 00:39:23 +02:00
containerd/continuity NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
davecgh/go-spew Migrate from dep to go modules (#971) 2019-11-27 15:29:34 +01:00
dgrijalva/jwt-go Add protobuf (#192) 2018-03-19 10:14:43 +01:00
docker NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
dsnet/golib/memfile MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
eclipse/paho.mqtt.golang NOISSUE - Simplify MQTT benchmarking tool (#852) 2019-09-25 19:02:29 +02:00
fatih/color NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
fsnotify/fsnotify MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
fxamacker/cbor/v2 NOISSUE - Add Publisher field to MQTT adapter (#1067) 2020-03-10 11:44:48 +01:00
go-kit/kit NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
go-logfmt/logfmt NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
go-redis/redis MF-1190 - Add pkg for library packages (#1191) 2020-06-03 15:16:19 +02:00
go-stack/stack Migrate from dep to go modules (#971) 2019-11-27 15:29:34 +01:00
go-zoo/bone Migrate from dep to go modules (#971) 2019-11-27 15:29:34 +01:00
gocql/gocql NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
gofrs/uuid NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
gogo/protobuf Migrate from dep to go modules (#971) 2019-11-27 15:29:34 +01:00
golang MF-1190 - Add pkg for library packages (#1191) 2020-06-03 15:16:19 +02:00
gopcua/opcua Migrate from dep to go modules (#971) 2019-11-27 15:29:34 +01:00
gorilla/websocket NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
hailocab/go-hostpool MF-235 - Add support for storing messages in Cassandra (#321) 2018-06-08 14:25:55 +02:00
hashicorp MF-1179 - Add a certificate service and certs endpoint to SDK (#1188) 2020-07-21 12:53:21 +02:00
hokaccha/go-prettyjson NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
inconshreveable/mousetrap MF-216 - Integrate Bashflux into monorepo (#308) 2018-07-11 13:53:37 +02:00
influxdata/influxdb NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
jmoiron/sqlx MF-1179 - Add a certificate service and certs endpoint to SDK (#1188) 2020-07-21 12:53:21 +02:00
klauspost/compress MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
konsorten/go-windows-terminal-sequences MF-415 - Merge mProxy support (#1045) 2020-02-26 17:14:16 +01:00
lib/pq NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
magiconair/properties MF-295 add mqtt benchmark tool (#817) 2019-08-13 12:56:31 +02:00
mainflux update mproxy version (#1251) 2020-10-09 01:55:09 +02:00
mattn NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
matttproud/golang_protobuf_extensions Migrate from dep to go modules (#971) 2019-11-27 15:29:34 +01:00
mitchellh NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
nats-io NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
oklog/ulid/v2 NOISSUE - Fix dates not being init properly on save, change path construction, replace UUID with ULID for group ID (#1300) 2020-12-17 17:08:28 +01:00
opencontainers NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
opentracing/opentracing-go NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
ory/dockertest/v3 NOISSUE - Update dependencies (#1176) 2020-05-14 19:09:55 +02:00
patrickmn/go-cache MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
pelletier/go-toml MF-1190 - Add pkg for library packages (#1191) 2020-06-03 15:16:19 +02:00
pierrec/lz4 MF-1179 - Add a certificate service and certs endpoint to SDK (#1188) 2020-07-21 12:53:21 +02:00
pion MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
pkg/errors MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
plgd-dev MF-928 - Change CoAP lib (#1233) 2020-09-22 11:59:10 +02:00
pmezard/go-difflib Use PostgreSQL as primary persistence solution (#175) 2018-03-11 18:06:01 +01:00
prometheus NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
rubenv/sql-migrate NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
ryanuber/go-glob MF-1179 - Add a certificate service and certs endpoint to SDK (#1188) 2020-07-21 12:53:21 +02:00
sirupsen/logrus MF-415 - Merge mProxy support (#1045) 2020-02-26 17:14:16 +01:00
spf13 MF-1179 - Add a certificate service and certs endpoint to SDK (#1188) 2020-07-21 12:53:21 +02:00
stretchr/testify NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
subosito/gotenv Migrate from dep to go modules (#971) 2019-11-27 15:29:34 +01:00
uber NOISSUE - Update dependencies (#1218) 2020-07-13 15:24:55 +02:00
x448/float16 NOISSUE - Add Publisher field to MQTT adapter (#1067) 2020-03-10 11:44:48 +01:00
xdg MF-549 - Change metadata format from JSON string to JSON object (#706) 2019-04-16 14:58:56 +02:00