Add Status endpoint

This commit adds a new `/application/status` endpoint that provides only
the Health's status of an application.

Previously, `/application/health` was returning full health details or
only the status depending on configuration. Those two use cases are now
separate in two endpoints that can be configured, secured and enabled
separately.

Closes gh-9721
This commit is contained in:
Stephane Nicoll
2017-08-16 15:30:41 +02:00
parent b9bbe9ee01
commit 19e211a1c2
16 changed files with 667 additions and 158 deletions

View File

@@ -109,6 +109,9 @@ The following technology agnostic endpoints are available:
|`shutdown`
|Allows the application to be gracefully shutdown (not enabled by default).
|`status`
|Show application status information (i.e. `health` status with no additional details)
|`threaddump`
|Performs a thread dump.