[Cps Path Parser] Fixes for parent path & normalization 03/138903/4
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 4 Sep 2024 17:15:17 +0000 (18:15 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Wed, 18 Sep 2024 15:03:15 +0000 (16:03 +0100)
commit44cb5c4d60cd73147e469338cfd7a14ba13857b3
tree834e91b820d5fe0f4c21fb05a23e09de0039e5a5
parent9d967bc4a63238d1bd147155b4c3abf95c2ac7c5
[Cps Path Parser] Fixes for parent path & normalization

This commit fixes issues with Cps Path Parser related to
path normalization and parent path generation when using
descendant paths and ancestor axis.

Issue-ID: CPS-2365
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I728fc379b134bd62c39a7085650930450c8a8597
cps-path-parser/src/main/antlr4/org/onap/cps/cpspath/parser/antlr4/CpsPath.g4
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
cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathUtilSpec.groovy