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