blueprint.getName(), e);
}
}
private ApiHealthSummary getExistingServiceHealthStatus(String clusterName) {
ApiHealthSummary summary = ApiHealthSummary.DISABLED;
for (ApiService apiService : apiResourceRootV6.getClustersResource()
.getServicesResource(clusterName).readServices(DataView.SUMMARY)) {
ApiHealthSummary health = apiService.getHealthSummary();
logger.debug("Cluster " + clusterName + " Service "
+ apiService.getType() + " status is " + health);
if (health.ordinal() > summary.ordinal()) {
summary = health;
}
}
logger.debug("Cluster " + clusterName + " Service status is " + summary);
return summary;