* MF-1308 - Use IETF Health Check standard
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add nginx health endpoint
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm github.com/nelkinda dependency
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Check error
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Replace Version by Health in the CLI and SDK
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use new build flag go:build
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert wrong renaming
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* sdk health test
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add /health endpoint to openapi doc
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use const for description message
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add version and build time during build
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Time format
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add version and commit using git and build args
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add comments
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add missing api properties
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix api
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use ./schemas/HealthInfo.yml as
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix example
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use content type application/health+json
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Set Makefile variables only if empty
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* NOISSUE - Fix bootstrap token naming and interfaces named args
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix CI bot
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use owner for repository layer
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use ThingID to update certs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix logging typo
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update API tests and service mock
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix API docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Provide secured bootstrapping
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix test and mock methods signatures
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix typos
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add encrypte bootstrap test
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove duplicated docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Use secret key to encrypt bootstrap request
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Use secret key for secure bootstrapping
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Move encryption to ConfigReader
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove ConfigReader from Service
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add reader tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update API docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Unset key env variable
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add endpoint test for secure bootstrap
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add initial Bootstrap event producer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add operation name to events
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add ES path for BS events
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add BS event sourcing tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add connections update events
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Extract event XADD to separeate method
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add header comments
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix service docs typo
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update BS service README.md
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update Service method tests
Tests for handler methods are not added.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>