private ServiceConfigVersionRequest createRequest(Map<String, Object> properties) {
    String clusterName = (String) properties.get(CLUSTER_NAME_PROPERTY_ID);
    String serviceName = (String) properties.get(SERVICE_NAME_PROPERTY_ID);
    String user = (String) properties.get(USER_PROPERTY_ID);
    Boolean isCurrent = Boolean.valueOf((String) properties.get(IS_CURRENT_PROPERTY_ID));
    Object versionObject = properties.get(SERVICE_CONFIG_VERSION_PROPERTY_ID);
    Long version = versionObject == null ? null : Long.valueOf(versionObject.toString());

    return new ServiceConfigVersionRequest(clusterName, serviceName, version, null, null, user, isCurrent);
  }
Constructor

@param managementController  the associated management controller
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceConfigVersionResourceProvider.java