CmHandle batch deletion 14/133114/6
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 1 Feb 2023 14:48:52 +0000 (14:48 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 2 Feb 2023 13:30:57 +0000 (13:30 +0000)
commita0aa860665b94ce35ecd6253e69959b7cf08ddb7
tree4832401ba689c78b9c3d94d23eef84903e0fd00c
parent605bec25914adb79403bb43947aa3eb1bfb36fc4
CmHandle batch deletion

- Use plural deleteDataNodes to remove CmHandles in batches,
  falling back to individual delete on error
- Use single deleteDataNode instead of deleteListOrListElement for
  individual delete

Issue-ID: CPS-1464
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: If09f22478df8703290c8fc24aa6fe2a11c90788a
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/inventory/InventoryPersistence.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/inventory/InventoryPersistenceImpl.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplRegistrationSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/inventory/InventoryPersistenceImplSpec.groovy