NCMP: NCMP search API fixed to handle cps path that is ancestor axis as 02/138402/6
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Mon, 8 Jul 2024 16:40:38 +0000 (17:40 +0100)
committerSourabh Sourabh <sourabh.sourabh@est.tech>
Tue, 9 Jul 2024 15:20:30 +0000 (15:20 +0000)
commit8f3103dd1eaf5d537cd085dd8fab5ef39d7d914d
treeb75ea2ae5bb23be19f6642b23548f07f06884f86
parent735cc72cdf706de32e4b55848da1d5242ba1be26
NCMP: NCMP search API fixed to handle cps path that is ancestor axis as
well

- Cps path builder is fixed to handle ancestor axis that is target as well while quering.

Issue-ID: CPS-2308
Change-Id: Iaf215851ada17d21516ae83fa142ac77ff1c6c19
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
cps-path-parser/src/main/java/org/onap/cps/cpspath/parser/CpsPathBuilder.java
cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathQuerySpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/CpsQueryServiceIntegrationSpec.groovy