private List<ClusterConfigEntity> getClusterConfigEntitiesByService(String serviceName) {
    Collection<String> configTypes = serviceConfigTypes.get(serviceName);
    return clusterDAO.getEnabledConfigsByTypes(getClusterId(), new ArrayList<>(configTypes));
  }
Adds Configuration data to the serviceConfigVersionResponse
@param serviceConfigVersionResponse
@param serviceConfigEntity
@return serviceConfigVersionResponse
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java