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;