forked from absmach/magistrala
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MF-1308 - Use IETF Health Check standard (absmach#1541)
* MF-1308 - Use IETF Health Check standard Signed-off-by: Manuel Imperiale <[email protected]> * Add nginx health endpoint Signed-off-by: Manuel Imperiale <[email protected]> * Rm github.com/nelkinda dependency Signed-off-by: Manuel Imperiale <[email protected]> * Check error Signed-off-by: Manuel Imperiale <[email protected]> * Replace Version by Health in the CLI and SDK Signed-off-by: Manuel Imperiale <[email protected]> * Fix typo Signed-off-by: Manuel Imperiale <[email protected]> * Use new build flag go:build Signed-off-by: Manuel Imperiale <[email protected]> * Revert wrong renaming Signed-off-by: Manuel Imperiale <[email protected]> * sdk health test Signed-off-by: Manuel Imperiale <[email protected]> * Add /health endpoint to openapi doc Signed-off-by: Manuel Imperiale <[email protected]> * Use const for description message Signed-off-by: Manuel Imperiale <[email protected]> * Add version and build time during build Signed-off-by: Manuel Imperiale <[email protected]> * Time format Signed-off-by: Manuel Imperiale <[email protected]> * Add version and commit using git and build args Signed-off-by: Manuel Imperiale <[email protected]> * Add comments Signed-off-by: Manuel Imperiale <[email protected]> * Add tests Signed-off-by: Manuel Imperiale <[email protected]> * Add missing api properties Signed-off-by: Manuel Imperiale <[email protected]> * Fix api Signed-off-by: Manuel Imperiale <[email protected]> * Use ./schemas/HealthInfo.yml as Signed-off-by: Manuel Imperiale <[email protected]> * Fix example Signed-off-by: Manuel Imperiale <[email protected]> * Use content type application/health+json Signed-off-by: Manuel Imperiale <[email protected]> * Set Makefile variables only if empty Signed-off-by: Manuel Imperiale <[email protected]> * Fix typo Signed-off-by: Manuel Imperiale <[email protected]> Signed-off-by: skovacevic <[email protected]>
- Loading branch information
Showing
66 changed files
with
456 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
type: object | ||
properties: | ||
status: | ||
type: string | ||
description: Service status. | ||
enum: | ||
- pass | ||
version: | ||
type: string | ||
description: Service version. | ||
example: 0.0.1 | ||
commit: | ||
type: string | ||
description: Service commit hash. | ||
example: 7d6f4dc4f7f0c1fa3dc24eddfb18bb5073ff4f62 | ||
description: | ||
type: string | ||
description: Service description. | ||
example: <service_name> service | ||
build_time: | ||
type: string | ||
description: Service build time. | ||
example: 1970-01-01_00:00:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.