Class RepoHealthIndicator
java.lang.Object
com.evolveum.midpoint.web.boot.actuator.RepoHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor
,org.springframework.boot.actuate.health.HealthIndicator
@Component
public class RepoHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.HealthIndicator
Check if database is up and available.
Indicator send query for countObjects(SystemConfigurationType.class)
- Author:
- skublik
-
Constructor Details
-
RepoHealthIndicator
public RepoHealthIndicator()
-
-
Method Details
-
health
public org.springframework.boot.actuate.health.Health health()- Specified by:
health
in interfaceorg.springframework.boot.actuate.health.HealthIndicator
-