diff options
author | shrek2000 <orenkle@amdocs.com> | 2019-03-28 15:54:33 +0200 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2019-03-30 07:53:48 +0000 |
commit | f8a758d32dd151f497f5cb3c7b8208f8faf772c6 (patch) | |
tree | 8f059de017234c76b2c5e863912f5190fcd908c4 /catalog-model/src/main/java | |
parent | 969a4e89e2363f76212623d9e563665804682fcf (diff) |
Fix Node Filter Not Found issue
Add dependent child service to service
Issue-ID: SDC-1987
Change-Id: I2b11f50bb1b88c407d6b1d9d4074a3efad243977
Signed-off-by: shrek2000 <orenkle@amdocs.com>
Diffstat (limited to 'catalog-model/src/main/java')
-rw-r--r-- | catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/ModelConverter.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/ModelConverter.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/ModelConverter.java index 31a445add1..808fdbd4f6 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/ModelConverter.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/utils/ModelConverter.java @@ -1181,6 +1181,9 @@ public class ModelConverter { List<GroupInstance> groupInstances = topologyTemplate.getInstGroups().get(key).getMapToscaDataDefinition().entrySet().stream().map(e -> new GroupInstance(e.getValue())).collect(Collectors.toList()); currComponentInstance.setGroupInstances(groupInstances); } + if(nodeFilterComponents != null && nodeFilterComponents.containsKey(key)){ + currComponentInstance.setNodeFilter(nodeFilterComponents.get(key)); + } if(topologyTemplate.getInstProperties() != null && topologyTemplate.getInstProperties().containsKey(key) && topologyTemplate.getInstProperties().get(key) != null ){ List<PropertyDefinition> instanceProps = topologyTemplate.getInstProperties().get(key).getMapToscaDataDefinition().entrySet().stream().map(e -> new PropertyDefinition(e.getValue())).collect(Collectors.toList()); currComponentInstance.setProperties(instanceProps); |