Fix legacy batch response with not found CM-handle 54/140654/3
authordanielhanrahan <daniel.hanrahan@est.tech>
Thu, 17 Apr 2025 17:21:14 +0000 (18:21 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 25 Apr 2025 14:04:19 +0000 (15:04 +0100)
commitb639abf427fb86012fb6358bd5493add3040b02d
treeed6670eca100554408efccdc0e98b2f356337ce4
parentfc43a898186172ca1f65949b04f21170a115bcc5
Fix legacy batch response with not found CM-handle

An unhandled exception leads to the entire batch operation failing,
even if only a single CM handle in the batch was not found. This
fixes the issue by swallowing the exception. Note there is existing
logic in DmiDataOperationsHelper for reporting not-found CM handles.

Issue-ID: CPS-2769
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ifff2c4bd291107480ca7462d721a02f8ea138e58
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/data/DmiDataOperations.java
integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/LegacyBatchDataOperationSpec.groovy