Package com.netflix.simianarmy.conformity

Examples of com.netflix.simianarmy.conformity.ConformityRule


            message.append(getHtmlCell(String.format(AHREF_TEMPLATE, clusterUrl, getClusterDisplay(cluster))));
        } else {
            message.append(getHtmlCell(getClusterDisplay(cluster)));
        }
        message.append(getHtmlCell(cluster.getRegion()));
        ConformityRule rule = idToRule.get(conformity.getRuleId());
        String ruleDesc;
        if (rule == null) {
            LOGGER.warn(String.format("Not found rule with name %s", conformity.getRuleId()));
            ruleDesc = conformity.getRuleId();
        } else {
            ruleDesc = rule.getNonconformingReason();
        }
        message.append(getHtmlCell(ruleDesc));
        message.append(getHtmlCell(StringUtils.join(conformity.getFailedComponents(), ",")));
        message.append("</tr>");
        return message.toString();
View Full Code Here

TOP

Related Classes of com.netflix.simianarmy.conformity.ConformityRule

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.