Normalize parent xpath when building datanodes in CpsDataService 81/135181/3
authordanielhanrahan <daniel.hanrahan@est.tech>
Mon, 26 Jun 2023 12:21:21 +0000 (13:21 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Tue, 27 Jun 2023 18:49:00 +0000 (19:49 +0100)
commite3eb74579dddeb1a96c52bbf7b96e00d0e7198a9
treed2c54723089c8fdecf844bcd2c50098594c5012d
parentede42ea3e267d321713cff1daf44d8627ada933d
Normalize parent xpath when building datanodes in CpsDataService

Data nodes are being saved with non-normalized xpaths, resuling in
data nodes that cannot be operated on. This affects all operations
including get, query, update, and delete.

Issue-ID: CPS-1765
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I5352182d79daec67805753ca5943b1a86c18159f
cps-service/src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java
integration-test/src/test/groovy/org/onap/cps/integration/functional/CpsDataServiceIntegrationSpec.groovy