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();