private MatchingDictionary createRequirementIdsNodeTemplateIdsDictionary( List<AgnosticComponent> agnosticComponents) { MatchingDictionary dictionary = new MatchingDictionary(); for (AgnosticComponent agnosticComponent : agnosticComponents) dictionary.addDictionaryEntrys(agnosticComponent.getRequirementsIds(), agnosticComponent); return dictionary; }
private AgnosticComponent buildAgnosticComponent(TNodeTemplate nodeTemplate) throws AgnosticPropertyException, NodeTemplateTypeNotSupportedException, TopologyTemplateFormatException { AgnosticComponent agnosticComponent = AgnosticComponentProvider.createAgnosticComponent(nodeTemplate); agnosticComponent.setAgnosticDeploymentArtifacts(getAgnosticDeploymentArtifacts(nodeTemplate)); return agnosticComponent; }