aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2022-02-02 12:12:52 +0000
committerAndr� Schmid <andre.schmid@est.tech>2022-02-02 14:30:29 +0000
commitc69801e7a744c6b10b0594e87e6be154f4b7da43 (patch)
tree432aab984027085834cc65fe51c213922c830e9a /catalog-be
parente61740866d27f969cc0b2190bd4c5dd43cef944d (diff)
Improve service import support
Add support for category specific metadata and substitution mapping in service import Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3867 Change-Id: Ib71404942a4a8f174025ccb1b8343164216d8f58
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportManager.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportManager.java
index 93601dfc8c..7958efa3de 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportManager.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportManager.java
@@ -80,6 +80,9 @@ public class ServiceImportManager {
if (serviceMetaData.getVendorRelease() != null) {
service.setVendorRelease(serviceMetaData.getVendorRelease());
}
+ service.setCategorySpecificMetadata(serviceMetaData.getCategorySpecificMetadata());
+ service.setDerivedFromGenericType(serviceMetaData.getDerivedFromGenericType());
+ service.setDerivedFromGenericVersion(serviceMetaData.getDerivedFromGenericVersion());
}
}