summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2017-06-22 18:23:07 +0300
committerTal Gitelman <tg851x@intl.att.com>2017-06-22 18:23:07 +0300
commit68ccc45de18f41cddb79de33a245bceb3b063ffb (patch)
treed80619a8539a8a03f68304c23eef7e3790ca63c6 /openecomp-be/lib/openecomp-sdc-vendor-software-product-lib
parent7d92498efd0ea61097b241287c004965d46b2c12 (diff)
[sdc] - latest code changes
Change-Id: I861387094b000367218bb417624fe50d3c37f70e Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-vendor-software-product-lib')
-rw-r--r--openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/VendorSoftwareProductDaoImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/VendorSoftwareProductDaoImpl.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/VendorSoftwareProductDaoImpl.java
index c0a215fff5..2251c2700e 100644
--- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/VendorSoftwareProductDaoImpl.java
+++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/VendorSoftwareProductDaoImpl.java
@@ -139,6 +139,10 @@ public class VendorSoftwareProductDaoImpl implements VendorSoftwareProductDao {
@Override
public void updateProcess(ProcessEntity processEntity) {
+ ProcessEntity process = processDao.get(new ProcessEntity(processEntity.getVspId(), processEntity.getVersion(),
+ processEntity.getComponentId(), processEntity.getId()));
+ processEntity.setArtifact(process.getArtifact());
+ processEntity.setArtifactName(process.getArtifactName());
processDao.update(processEntity);
}