|
By the MAGNOLIA-9244 has been introduced HealthCheckRegistry. Implement and register a health check REST endpoint responding to GET request on /.rest/health, /.rest/health/started, /.rest/health/live and /.rest/health/ready urls delegating to the HealthCheckRegistry.
The endpoint will respond with HTTP Status 200:
on /.rest/health if all registered HealthChecks in HealthCheckRegistry respond with status UP,
on /.rest/health/started if all registered Startup HealthChecks in HealthCheckRegistry respond with status UP,
on /.rest/health/live if all registered Liveness HealthChecks in HealthCheckRegistry respond with status UP,
on /.rest/health/ready if all registered ReadinessHealthChecks in HealthCheckRegistry respond with status UP, otherwise will respond with Status 503.
|