Package com.netflix.simianarmy.aws.janitor.rule.asg

Examples of com.netflix.simianarmy.aws.janitor.rule.asg.DummyASGInstanceValidator


        if (discoveryEnabled) {
            LOGGER.info("Initializing Discovery client.");
            instanceValidator = new DiscoveryASGInstanceValidator(DiscoveryManager.getInstance().getDiscoveryClient());
        } else {
            LOGGER.info("Discovery/Eureka is not enabled, use the dummy instance validator.");
            instanceValidator = new DummyASGInstanceValidator();
        }
        if (configuration().getBoolOrElse("simianarmy.janitor.rule.oldEmptyASGRule.enabled", false)) {
            ruleEngine.addRule(new OldEmptyASGRule(monkeyCalendar,
                    (int) configuration().getNumOrElse(
                            "simianarmy.janitor.rule.oldEmptyASGRule.launchConfigAgeThreshold", 50),
View Full Code Here

TOP

Related Classes of com.netflix.simianarmy.aws.janitor.rule.asg.DummyASGInstanceValidator

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.