aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be-plugins/etsi-nfv-nsd-csar-plugin
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2020-12-15 13:47:47 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-01-12 13:54:34 +0000
commit1f4756dab7b29843a89fb42943ae3dc0ee8b1ae9 (patch)
tree61420d2955a039dfa71442e2f214e9be78b4b0ac /catalog-be-plugins/etsi-nfv-nsd-csar-plugin
parent34a57758c3518b32778daf1df937cdd8c0cf2c6b (diff)
Remove NSD subst. mappings prop. and attr.
Remove from the NSD generation the substitution_mappings properties and attribute generation. It is not part of the Network Service Descriptor SOL001 specification. Change-Id: Ieab0a5d571d5b7afe999d74a103a563a2abc72ed Issue-ID: SDC-3434 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-be-plugins/etsi-nfv-nsd-csar-plugin')
-rw-r--r--catalog-be-plugins/etsi-nfv-nsd-csar-plugin/src/main/java/org/openecomp/sdc/be/plugins/etsi/nfv/nsd/generator/NsDescriptorGeneratorImpl.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/catalog-be-plugins/etsi-nfv-nsd-csar-plugin/src/main/java/org/openecomp/sdc/be/plugins/etsi/nfv/nsd/generator/NsDescriptorGeneratorImpl.java b/catalog-be-plugins/etsi-nfv-nsd-csar-plugin/src/main/java/org/openecomp/sdc/be/plugins/etsi/nfv/nsd/generator/NsDescriptorGeneratorImpl.java
index 801f1ee8e6..271fc196bf 100644
--- a/catalog-be-plugins/etsi-nfv-nsd-csar-plugin/src/main/java/org/openecomp/sdc/be/plugins/etsi/nfv/nsd/generator/NsDescriptorGeneratorImpl.java
+++ b/catalog-be-plugins/etsi-nfv-nsd-csar-plugin/src/main/java/org/openecomp/sdc/be/plugins/etsi/nfv/nsd/generator/NsDescriptorGeneratorImpl.java
@@ -228,8 +228,6 @@ public class NsDescriptorGeneratorImpl implements NsDescriptorGenerator {
if (onapSubstitutionMapping != null) {
substitutionMapping.setRequirements(onapSubstitutionMapping.getRequirements());
substitutionMapping.setCapabilities(onapSubstitutionMapping.getCapabilities());
- substitutionMapping.setProperties(onapSubstitutionMapping.getProperties());
- substitutionMapping.setAttributes(onapSubstitutionMapping.getAttributes());
}
componentToscaTemplate.getTopology_template().setSubstitution_mappings(substitutionMapping);
}