diff options
author | ojasdubey <ojas.dubey@amdocs.com> | 2017-11-14 12:55:54 +0530 |
---|---|---|
committer | ojasdubey <ojas.dubey@amdocs.com> | 2017-11-14 18:17:53 +0530 |
commit | e6834bd54f7d37c78d3c8fcab176dbe5128287f2 (patch) | |
tree | e32c05c2a8516609975416d82e1a5095460e2a1a /openecomp-be/lib | |
parent | d1746c4f5fe77754a57c77f55d657a352972a06e (diff) |
Fixing update HEAT
1. Update component dependencies based on new Heat
2. Retain VSP data on Heat re-upload
3. Unit tests
4. Code reformatting and refactoring for compliance
Issue ID: SDC-655
Change-Id: Ib4822d3e7ec69293d2d544044909f0a22ab224ac
Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'openecomp-be/lib')
1 files changed, 0 insertions, 21 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 bdd6677738..832f36b3b9 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 @@ -195,33 +195,12 @@ public class VendorSoftwareProductDaoImpl implements VendorSoftwareProductDao { @Override public void deleteUploadData(String vspId, Version version) { - networkDao.deleteAll(vspId, version); - //nicDao.deleteByVspId(vspId, version); - //artifactDao.delete(vspId, version); - //templateDao.deleteAll(vspId, version); enrichedServiceModelDao.deleteAll(vspId, version); serviceModelDao.deleteAll(vspId, version); - //processDao.deleteVspAll(vspId,version); componentDao.deleteAll(vspId, version); - vspInfoDao.deleteAll(vspId, version); - -// uploadDataDao.deleteContentDataAndValidationData(vspId, version); - -// enrichArtifactDao.deleteAll(vspId, version); -// artifactDao.deleteAll(vspId, version); } - /* @Override - public void updateVspLatestModificationTime(String vspId, Version version) { - *//* if (Objects.isNull(vspId) || Objects.isNull(version)) { - return; - } - - VspDetails retrieved = getVendorSoftwareProductInfo(new VspDetails(vspId, version)); - updateVendorSoftwareProductInfo(retrieved);*//* - } -*/ @Override public void createComponentDependencyModel(List<ComponentDependencyModelEntity> componentDependencyModel, String vspId, |