public Map<String, String> getConfigurationProperties(String categoryName) {
    Map<String, String> properties = null;

    List<AmbariConfigurationEntity> entities = ambariConfigurationDAO.findByCategory(categoryName);
    if (entities != null) {
      properties = new HashMap<>();
      for (AmbariConfigurationEntity entity : entities) {
        properties.put(entity.getPropertyName(), entity.getPropertyValue());
      }
    }

    return properties;
  }
Get the properties associated with a configuration category

@param categoryName the name of the requested category
@return a map of property names to values; or null if the data does not exist
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariServerConfigurationHandler.java