Class CloudHealthCheck
- java.lang.Object
-
- org.opennms.plugins.cloud.srv.tsaas.CloudHealthCheck
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.health.HealthCheck
public class CloudHealthCheck extends java.lang.Object implements org.opennms.integration.api.v1.health.HealthCheckExposes the health of the cloud service to OIA. Call in karaf shell via opennms:health-check
-
-
Constructor Summary
Constructors Constructor Description CloudHealthCheck(ConfigurationManager cm, TsaasStorage cloud)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()org.opennms.integration.api.v1.health.Responseperform(org.opennms.integration.api.v1.health.Context context)
-
-
-
Constructor Detail
-
CloudHealthCheck
public CloudHealthCheck(ConfigurationManager cm, TsaasStorage cloud)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceorg.opennms.integration.api.v1.health.HealthCheck
-
perform
public org.opennms.integration.api.v1.health.Response perform(org.opennms.integration.api.v1.health.Context context) throws java.lang.Exception- Specified by:
performin interfaceorg.opennms.integration.api.v1.health.HealthCheck- Throws:
java.lang.Exception
-
-