private Map<String, Map<String, String>> buildComponentConfigurations( ConfTreeOperations appConf) { return appConf.getComponents(); }
private Map<String, Map<String, String>> buildComponentConfigurations( ConfTreeOperations appConf) { return appConf.getComponents(); }
private Set<String> getExternalComponents(ConfTreeOperations ops) throws BadConfigException { Set<String> externalComponents = new HashSet<>(); if (ops.getGlobalOptions().containsKey(COMPONENT_TYPE_KEY)) { throw new BadConfigException(COMPONENT_TYPE_KEY + " must be " + "specified per-component, not in global"); } for (Entry<String, Map<String, String>> entry : ops.getComponents() .entrySet()) { if (COMPONENT_AM.equals(entry.getKey())) { continue; } Map<String, String> options = entry.getValue(); if (COMPONENT_TYPE_EXTERNAL_APP.equals(options.get(COMPONENT_TYPE_KEY))) { externalComponents.add(entry.getKey()); } } return externalComponents; }
private Set<String> getExternalComponents(ConfTreeOperations ops) throws BadConfigException { Set<String> externalComponents = new HashSet<>(); if (ops.getGlobalOptions().containsKey(COMPONENT_TYPE_KEY)) { throw new BadConfigException(COMPONENT_TYPE_KEY + " must be " + "specified per-component, not in global"); } for (Entry<String, Map<String, String>> entry : ops.getComponents() .entrySet()) { if (COMPONENT_AM.equals(entry.getKey())) { continue; } Map<String, String> options = entry.getValue(); if (COMPONENT_TYPE_EXTERNAL_APP.equals(options.get(COMPONENT_TYPE_KEY))) { externalComponents.add(entry.getKey()); } } return externalComponents; }
ConfTreeOperations resources = instanceDescription.getResourceOperations(); for (Entry<String, Map<String, String>> entry : resources.getComponents() .entrySet()) { if (COMPONENT_AM.equals(entry.getKey())) {
ConfTreeOperations resources = instanceDescription.getResourceOperations(); for (Entry<String, Map<String, String>> entry : resources.getComponents() .entrySet()) { if (COMPONENT_AM.equals(entry.getKey())) {