summaryrefslogtreecommitdiffstats
path: root/catalog-model
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2021-01-20 12:20:40 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-01-25 13:49:59 +0000
commit87eec9a2ad04e1cbe1304f23071ac6d85bdd5503 (patch)
treef85a732f610fa83fe6e82c735c43aa6dc42f4800 /catalog-model
parentc2db9023e1da5b41b02bff9e5e9396c9a4e2dde7 (diff)
Handle ETSI versions in NSD Plugin
The plugin now considers the ETSI version in the component metadata to generate the correct imports of nsd types, i.e., aligned with the provided version. Change-Id: I54aee04722a4434eac59ea8b70c4f30f5c81645e Issue-ID: SDC-3447 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-model')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java
index 7b188ac978..64660ec15f 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Component.java
@@ -94,6 +94,7 @@ public abstract class Component implements PropertiesOwner {
public void setCategorySpecificMetadata(final Map<String, String> categorySpecificMetadata) {
componentMetadataDefinition.getMetadataDataDefinition().setCategorySpecificMetadata(categorySpecificMetadata);
}
+
public Map<String, String> getCategorySpecificMetadata() {
final Map<String, String> categorySpecificMetadata = componentMetadataDefinition.getMetadataDataDefinition().getCategorySpecificMetadata();
return categorySpecificMetadata == null ? Collections.emptyMap() : categorySpecificMetadata;