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 the HealthCheckService to ascertain whether AM is ready.
Since:
7.1.0
  • Constructor Details

    • ReadinessCheckEndpoint

      @Inject public ReadinessCheckEndpoint(org.forgerock.am.health.HealthCheckService service)
      Creates a new instance of the readiness endpoint.
      Parameters:
      service - the health check service
  • Method Details

    • isReady

      public Response isReady()
      Checks the AM instance is ready.
      Returns:
      the readiness status of the AM instance