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