public Map<String, ConfigProperty> getConfigurationPropertiesWithMetadata(String service, String type) {
    return serviceConfigurations.get(service).get(type);
  }
Get config properties for the specified service and configuration type.

@param service  service name
@param type     configuration type

@return map of property names to values for the specified service and configuration type
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/Stack.java