Revert "Inconsistency With JSON Response(List Items) Using ReplaceANode API" 63/142263/2
authorArpit Singh <AS00745003@techmahindra.com>
Wed, 15 Oct 2025 09:10:00 +0000 (14:40 +0530)
committerArpit Singh <AS00745003@techmahindra.com>
Wed, 15 Oct 2025 11:43:56 +0000 (17:13 +0530)
commit7afbb975ecf486e2802a229459133c7ee93944d5
tree3af2864297a1f342617fc920b3e559f21222f85e
parentcf8d4dec598cafe4b61a1d1adffbb6ad8187ecf5
Revert "Inconsistency With JSON Response(List Items) Using ReplaceANode API"

- This reverts commit 30d460ae43131d5fef3de041dcbcd2943702724a associated
  with CPS-2800.
- Due to logical errors in the previous patch, any data node added
  using Replace a node with descendants API gets added at the root level
  instead of the specific xpath.
- Suitable approach is to revert the patch and rework on a new patch set
  with corrected logic.

Issue-ID: CPS-3013
Change-Id: I5bc5441ffed039332b8e64eb9d6037771174de4e
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
cps-rest/docs/openapi/cpsData.yml
cps-rest/src/main/java/org/onap/cps/rest/controller/DataRestController.java
cps-rest/src/test/groovy/org/onap/cps/rest/controller/DataRestControllerSpec.groovy
cps-ri/src/main/java/org/onap/cps/ri/CpsDataPersistenceServiceImpl.java
cps-ri/src/test/groovy/org/onap/cps/ri/CpsDataPersistenceServiceImplSpec.groovy
cps-service/src/main/java/org/onap/cps/api/CpsDataService.java
cps-service/src/main/java/org/onap/cps/impl/CpsDataServiceImpl.java
cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java
docs/api/swagger/cps/openapi.yaml