@Override
  public String getConfigurationValue(String type, String key) {

    Config config = cluster.getDesiredConfigByType(type);

    return config == null ? null : config.getProperties().get(key);
  }
Create a view associated cluster from an Ambari cluster.

@param cluster  the Ambari cluster
ambari-server/src/main/java/org/apache/ambari/server/view/ClusterImpl.java