public void addResourceConfiguration(Resource.Type type, ResourceConfig config) {
    resourceConfigurations.put(type, config);
  }
Add a resource configuration for the given type.

@param type    the resource type
@param config  the configuration
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java