[Cps Path Parser] Remove unneeded validation in grammar 83/138883/2
authordanielhanrahan <daniel.hanrahan@est.tech>
Sat, 31 Aug 2024 21:06:12 +0000 (22:06 +0100)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Wed, 4 Sep 2024 14:58:01 +0000 (14:58 +0000)
commitbbc81d85bda5e9c446e3218e30b1ba5bdf3dc3e0
tree9136c0b07fb60888e5ce88f172bd4bd0f6a0e053
parentdbf8b078373b9e92f19b3522a8d43e33cea91317
[Cps Path Parser] Remove unneeded validation in grammar

The invalid prefix/postfix is not needed; existing tests show
that PathParsingException is thrown in for invalid paths.

Issue-ID: CPS-2365
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I202f0ca0bc5eb768fc3af711180405882dafc22d
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