Bug: Update operation executes on a data node that is not present in the database 33/142033/8
authorArpit Singh <AS00745003@techmahindra.com>
Thu, 11 Sep 2025 06:46:46 +0000 (12:16 +0530)
committerArpit Singh <AS00745003@techmahindra.com>
Thu, 18 Sep 2025 07:48:55 +0000 (13:18 +0530)
commit0ac47ab5fa485a327e6fdb0775c6431c047661a5
treea0f806e9b4771d355aa899ed2bc7d4ee9b1737df
parentb51398c3336d1f238f7077df6c4af80ea642c641
Bug: Update operation executes on a data node that is not present in the database

Failing test where an attempt is made to update a data node that does not exist
in database.
The test shows that no exception is thrown when such datanode is
updated.

Issue-ID: CPS-2980
Change-Id: Ia42b66016be4e880e6207916c4f98b9aa3069dad
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
cps-ri/src/main/java/org/onap/cps/ri/CpsDataPersistenceServiceImpl.java
cps-ri/src/test/groovy/org/onap/cps/ri/CpsDataPersistenceServiceImplSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/DataServiceIntegrationSpec.groovy