Package org.forgerock.am.health
Class ReadinessCheckEndpoint
- java.lang.Object
-
- org.forgerock.am.health.ReadinessCheckEndpoint
-
public class ReadinessCheckEndpoint extends Object
CHF endpoint that reports AMs readiness, pertaining to the characteristics laid out in the Kubernetes documentation for the readiness probe. This endpoint calls out to theHealthCheckService
to ascertain whether AM is ready.- Since:
- 7.1.0
-
-
Constructor Summary
Constructors Constructor Description ReadinessCheckEndpoint(org.forgerock.am.health.HealthCheckService service)
Creates a new instance of the readiness endpoint.
-
-
-
Method Detail
-
isReady
public Response isReady()
Checks the AM instance is ready.- Returns:
- the readiness status of the AM instance
-
-