Specify a model while creating a VSP
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / vendor-software-products-rest / vendor-software-products-rest-services / src / main / java / org / openecomp / sdcrests / vsp / rest / mapping / MapVspDescriptionDtoToVspDetails.java
index 4c9c16d..418a512 100644 (file)
@@ -3,6 +3,7 @@
  * SDC
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2021 Nordix Foundation.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,5 +49,6 @@ public class MapVspDescriptionDtoToVspDetails extends MappingBase<VspDescription
             target.setLicenseAgreement(licensingData.getLicenseAgreement());
             target.setFeatureGroups(licensingData.getFeatureGroups());
         }
+        target.setModelIdList(source.getSelectedModelList());
     }
 }