summaryrefslogtreecommitdiffstats
path: root/catalog-model/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-model/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-model/src/main')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadServiceInfo.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadServiceInfo.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadServiceInfo.java
index 1e5c8241c6..26cee8447c 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadServiceInfo.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadServiceInfo.java
@@ -51,12 +51,13 @@ public class UploadServiceInfo {
private List<UploadArtifactInfo> artifactList;
private String contactId, name, serviceIconPath, icon, vendorName, vendorRelease, serviceVendorModelNumber;
private String serviceType = "";
+ private String model;
public UploadServiceInfo(String payloadData, String payloadName, String description, List<String> tags, String invariantUUID, String UUID,
String type, String category, String subcategory, String resourceVendor, String resourceVendorRelease,
String serviceRole, String serviceEcompNaming, String ecompGeneratedNaming, String namingPolicy,
List<UploadArtifactInfo> artifactList, String contactId, String name, String resourceIconPath, String icon,
- String vendorName, String vendorRelease, String serviceVendorModelNumber, String serviceType, String projectCode) {
+ String vendorName, String vendorRelease, String serviceVendorModelNumber, String serviceType, String projectCode, String model) {
this.payloadData = payloadData;
this.payloadName = payloadName;
this.description = description;
@@ -82,6 +83,7 @@ public class UploadServiceInfo {
this.serviceVendorModelNumber = serviceVendorModelNumber;
this.serviceType = serviceType;
this.projectCode = projectCode;
+ this.model = model;
if (category != null) {
String[] arr = category.split("/");
if (arr.length >= 2) {