Package com.netflix.simianarmy.aws.conformity.rule

Examples of com.netflix.simianarmy.aws.conformity.rule.BasicConformityEurekaClient


        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(
View Full Code Here

TOP

Related Classes of com.netflix.simianarmy.aws.conformity.rule.BasicConformityEurekaClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.