Send new module set tag to DMI during model upgrade 95/140095/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Mon, 27 Jan 2025 16:55:10 +0000 (16:55 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Tue, 28 Jan 2025 10:13:57 +0000 (10:13 +0000)
commitd91020d983c686977158d0900eddda9f2bb1058c
tree1678b41a5bb23e082024b4e49b335e9b033a8636
parent8ef2400744c93c1c13f8ac1ae7eae1c0969989f8
Send new module set tag to DMI during model upgrade

Previously, DMI would receive old module set tag in the
request body. The tag being upgrade to is the expected one.

Issue-ID: CPS-2589
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I0554136f0d4c55d687b575313d932f6bcab15c92
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/DmiModelOperations.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleOperationsUtils.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncService.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/inventory/sync/DmiModelOperationsSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncServiceSpec.groovy