Class RRServiceHealthCheck
java.lang.Object
org.gcube.informationsystem.resourceregistry.health.RRServiceHealthCheck
- All Implemented Interfaces:
org.gcube.common.health.api.HealthCheck
Health check implementation indicating the general availability and readiness
of the Resource Registry Service.
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLabel representing the service in health check reports -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RR_SERVICE_LABEL
Label representing the service in health check reports- See Also:
-
-
Constructor Details
-
RRServiceHealthCheck
public RRServiceHealthCheck()
-
-
Method Details
-
getName
Returns the name or label associated with this specific health check.- Specified by:
getNamein interfaceorg.gcube.common.health.api.HealthCheck- Returns:
- The label for the Resource Registry Service
-
check
public org.gcube.common.health.api.response.HealthCheckResponse check()Evaluates the current operational status of the Resource Registry service.- Specified by:
checkin interfaceorg.gcube.common.health.api.HealthCheck- Returns:
- A
HealthCheckResponseindicating whether the service is UP or DOWN.
-