Add fix for posting nodes with xPath with '/' 19/132819/8
authoremaclee <lee.anjella.macabuhay@est.tech>
Wed, 21 Dec 2022 09:29:24 +0000 (09:29 +0000)
committeremaclee <lee.anjella.macabuhay@est.tech>
Thu, 22 Dec 2022 09:44:40 +0000 (09:44 +0000)
commit5452b5ea786a3e7def19c1f328c43ec264da38d5
treeb7988ce69ee08cc3121c50785b7baac887dcf9ad
parente52d0cbf970f1de982fb64f1a052646457b81f52
Add fix for posting nodes with xPath with '/'

- YangUtils method changed from using REGEX to cps path parser
- unit test added for cps path util

Issue-ID: CPS-1433
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: Ibb9efdd09423f9bade4a4a557d7d9ed49aa44ef4
cps-path-parser/src/main/java/org/onap/cps/cpspath/parser/CpsPathBuilder.java
cps-path-parser/src/main/java/org/onap/cps/cpspath/parser/CpsPathQuery.java
cps-path-parser/src/main/java/org/onap/cps/cpspath/parser/CpsPathUtil.java
cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathUtilSpec.groovy
cps-service/pom.xml
cps-service/src/main/java/org/onap/cps/utils/YangUtils.java
cps-service/src/test/groovy/org/onap/cps/utils/JsonObjectMapperSpec.groovy
cps-service/src/test/resources/bookstore.json
csit/data/test-tree.json
csit/tests/cps-data/cps-data.robot
docs/release-notes.rst