this.monitorRegistry = cc.getMonitorRegistry();
}
@Override
public HealthSummaryResponse isHealthy(final RequestContext ctx, TimeConstraints timeConstraints) throws HealthException {
HealthSummaryResponse response = new HealthSummaryResponse();
if (isSystemInService()) {
response.setHealthy(getHealth());
} else {
response.setHealthy(RestrictedHealthStatus.FAIL);
}
return response;
}