summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2021-12-06 08:56:50 +0000
committerKrupaNagabhushan <krupa.nagabhushan@est.tech>2021-12-06 08:56:50 +0000
commitfbc285a47209b763ef3bf7b64e7e0c6e3e1a5202 (patch)
tree21a17e0f569aadfe6a1d3066cb9dca0c5a989c22 /catalog-be/src/main
parent6c32cbc7343bd56f62007451071c4b26c875382f (diff)
Fix import service to persist its model name
Issue-ID: SDC-3801 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ibf3fc8b1a2a8871058e763d915accec5c72375ec
Diffstat (limited to 'catalog-be/src/main')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportManager.java1
1 files changed, 1 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 9fba1c7164..93601dfc8c 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
@@ -73,6 +73,7 @@ public class ServiceImportManager {
serviceMetadataDataDefinition.getServiceVendorModelNumber();
service.setServiceType("");
service.setProjectCode(serviceMetaData.getProjectCode());
+ service.setModel(serviceMetaData.getModel());
if (serviceMetaData.getVendorName() != null) {
service.setVendorName(serviceMetaData.getVendorName());
}