boolean eurekaEnabled = configuration().getBoolOrElse("simianarmy.conformity.Eureka.enabled", false);
if (eurekaEnabled) {
LOGGER.info("Initializing Discovery client.");
DiscoveryClient discoveryClient = DiscoveryManager.getInstance().getDiscoveryClient();
ConformityEurekaClient conformityEurekaClient = new BasicConformityEurekaClient(discoveryClient);
if (configuration().getBoolOrElse(
"simianarmy.conformity.rule.InstanceIsHealthyInEureka.enabled", false)) {
ruleEngine.addRule(new InstanceIsHealthyInEureka(conformityEurekaClient));
}
if (configuration().getBoolOrElse(