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