private Set<Resource> getConfigurationResources(Set<String> requestedIds, Map<String, Object> propertyMap) throws NoSuchResourceException {
    Set<Resource> resources = new HashSet<>();

    String serviceName = getStringProperty(propertyMap, CONFIGURATION_SERVICE_NAME_PROPERTY_ID);
    String componentName = getStringProperty(propertyMap, CONFIGURATION_COMPONENT_NAME_PROPERTY_ID);
    String categoryName = getStringProperty(propertyMap, CONFIGURATION_CATEGORY_PROPERTY_ID);

    RootServiceComponentConfigurationHandler handler = rootServiceComponentConfigurationHandlerFactory.getInstance(serviceName, componentName, categoryName);

    if (handler != null) {
      Map<String, RootServiceComponentConfiguration> configurations = handler.getComponentConfigurations(categoryName);

      if (configurations == null) {
        throw new NoSuchResourceException(categoryName);
      } else {
        for (Map.Entry<String, RootServiceComponentConfiguration> entry : configurations.entrySet()) {
          resources.add(toResource(serviceName, componentName, entry.getKey(), entry.getValue().getProperties(), entry.getValue().getPropertyTypes(), requestedIds));
        }
      }
    }

    return resources;
  }
Retrieves the requested configuration resources

@param requestedIds the requested properties ids
@param propertyMap  the request properties
@return a set of resources built from the found data
@throws NoSuchResourceException if the requested resource was not found
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RootServiceComponentConfigurationResourceProvider.java