diff --git a/docs/api_docs/bundle.yaml b/docs/api_docs/bundle.yaml index 768bae68..b6b67134 100644 --- a/docs/api_docs/bundle.yaml +++ b/docs/api_docs/bundle.yaml @@ -4,7 +4,7 @@ info: Flagr is a feature flagging, A/B testing and dynamic configuration microservice title: Flagr - version: 1.0.7 + version: 1.0.8 tags: - name: flag description: Everything about the flag @@ -18,6 +18,8 @@ tags: description: Variants are the possible outcomes of flag evaluation - name: evaluation description: Evaluation is the process of evaluating a flag given the entity context + - name: health + description: Check if Flagr is healthy x-tagGroups: - name: Flag Management tags: @@ -29,6 +31,9 @@ x-tagGroups: - name: Flag Evaluation tags: - evaluation + - name: Health Check + tags: + - health consumes: - application/json produces: diff --git a/docs/images/flagr_arch.png b/docs/images/flagr_arch.png index d7d7f0a5..9ceff0a3 100644 Binary files a/docs/images/flagr_arch.png and b/docs/images/flagr_arch.png differ diff --git a/swagger/index.yaml b/swagger/index.yaml index 8e9c331b..7e6d84fb 100644 --- a/swagger/index.yaml +++ b/swagger/index.yaml @@ -3,7 +3,7 @@ swagger: "2.0" info: description: Flagr is a feature flagging, A/B testing and dynamic configuration microservice title: Flagr - version: 1.0.7 + version: 1.0.8 tags: - name: flag description: Everything about the flag @@ -17,6 +17,8 @@ tags: description: Variants are the possible outcomes of flag evaluation - name: evaluation description: Evaluation is the process of evaluating a flag given the entity context + - name: health + description: Check if Flagr is healthy x-tagGroups: - name: Flag Management tags: @@ -28,6 +30,9 @@ x-tagGroups: - name: Flag Evaluation tags: - evaluation + - name: Health Check + tags: + - health consumes: - application/json produces: diff --git a/swagger_gen/restapi/doc.go b/swagger_gen/restapi/doc.go index a747c412..aedecadc 100644 --- a/swagger_gen/restapi/doc.go +++ b/swagger_gen/restapi/doc.go @@ -9,7 +9,7 @@ Flagr is a feature flagging, A/B testing and dynamic configuration microservice http Host: localhost BasePath: /api/v1 - Version: 1.0.7 + Version: 1.0.8 Consumes: - application/json diff --git a/swagger_gen/restapi/embedded_spec.go b/swagger_gen/restapi/embedded_spec.go index 5e7456e2..5df1bcd8 100644 --- a/swagger_gen/restapi/embedded_spec.go +++ b/swagger_gen/restapi/embedded_spec.go @@ -31,7 +31,7 @@ func init() { "info": { "description": "Flagr is a feature flagging, A/B testing and dynamic configuration microservice", "title": "Flagr", - "version": "1.0.7" + "version": "1.0.8" }, "basePath": "/api/v1", "paths": { @@ -1624,6 +1624,10 @@ func init() { { "description": "Evaluation is the process of evaluating a flag given the entity context", "name": "evaluation" + }, + { + "description": "Check if Flagr is healthy", + "name": "health" } ], "x-tagGroups": [ @@ -1642,6 +1646,12 @@ func init() { "tags": [ "evaluation" ] + }, + { + "name": "Health Check", + "tags": [ + "health" + ] } ] }`)) @@ -1659,7 +1669,7 @@ func init() { "info": { "description": "Flagr is a feature flagging, A/B testing and dynamic configuration microservice", "title": "Flagr", - "version": "1.0.7" + "version": "1.0.8" }, "basePath": "/api/v1", "paths": { @@ -3252,6 +3262,10 @@ func init() { { "description": "Evaluation is the process of evaluating a flag given the entity context", "name": "evaluation" + }, + { + "description": "Check if Flagr is healthy", + "name": "health" } ], "x-tagGroups": [ @@ -3270,6 +3284,12 @@ func init() { "tags": [ "evaluation" ] + }, + { + "name": "Health Check", + "tags": [ + "health" + ] } ] }`))