Class RequireConfigurationElasticHealthCheck

  • All Implemented Interfaces:
    HealthCheck

    public class RequireConfigurationElasticHealthCheck
    extends ElasticHealthCheck
    ElasticHealthCheck that requires configuration to be present in order to actually verify the connection. This is required as some features may be installed but the connection to Elasticsearch may not be configured yet, meaning the opennms:health-check would always fail, which may not be the desired behaviour.
    Author:
    mvrueden
    • Constructor Summary

      Constructors 
      Constructor Description
      RequireConfigurationElasticHealthCheck​(io.searchbox.client.JestClient jestClient, java.lang.String featureName, org.osgi.service.cm.ConfigurationAdmin configAdmin, java.lang.String pid)  
    • Constructor Detail

      • RequireConfigurationElasticHealthCheck

        public RequireConfigurationElasticHealthCheck​(io.searchbox.client.JestClient jestClient,
                                                      java.lang.String featureName,
                                                      org.osgi.service.cm.ConfigurationAdmin configAdmin,
                                                      java.lang.String pid)