ResourceInstance createServiceConfigResource(String clusterName) {
    Map<Resource.Type,String> mapIds = new HashMap<>();
    mapIds.put(Resource.Type.Cluster, clusterName);
    mapIds.put(Resource.Type.ServiceConfigVersion, null);

    return createResource(Resource.Type.ServiceConfigVersion, mapIds);
  }
Handles URL: /clusters/{clusterId}/configurations/service_config_versions
Get all service configuration versions for a cluster and service.

@param headers http headers
@param ui      uri info
@return service config version collection resource representation
ambari-server/src/main/java/org/apache/ambari/server/api/services/ServiceConfigVersionService.java