Skip to content

Commit

Permalink
#13 review health page
Browse files Browse the repository at this point in the history
  • Loading branch information
wisa committed May 13, 2019
1 parent 00494de commit 895a052
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/asciidoc/health.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Each REST API exposes a health resource which simply returns the current status of the service.

When invoked without any access token, the resource simply returns its status. The status code is either ```200 OK``` when the service is up or partialy available, or `503 Service Unavailable' when the service is down or out of service.
When invoked without any access token, the resource simply returns its status. The status code is either ```200 OK``` when the service is up or partialy available, or `503 Service Unavailable` when the service is down or out of service.

.Sample service is up
```json
Expand Down
3 changes: 3 additions & 0 deletions src/main/asciidoc/swagger/health-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ definitions:
properties:
status:
$ref: "#/definitions/HealthLevel"
message:
description: Optional description clarifying the health status of the component
type: string
HealthLevel:
description: Level indicating the health status of the service
type: string
Expand Down

0 comments on commit 895a052

Please sign in to comment.