Fix for quickfind with descendants incl. list entries 82/134482/2
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 4 May 2023 13:54:21 +0000 (14:54 +0100)
committerToine Siebelink <toine.siebelink@est.tech>
Thu, 4 May 2023 14:00:21 +0000 (14:00 +0000)
commit2438ee427139f03a2b9b39406c3f04088a43bc29
treecbb77f309f38b41532efd327704763cfd353d8fa
parentce3451d10315b54238b886491779b3975f326e02
Fix for quickfind with descendants incl. list entries

- add specialized regex
- fixed legacy issues with absolute paths (added ^ in regex's)
- split into 2 methods for normal queries and quickfind
- fixed order of private methods
- Most code 'cherry picked by hand' from https://gerrit.onap.org/r/c/cps/+/134481

Issue-ID: CPS-1671
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I37988ac24d9b8d4df7a249b79068910c15a6cd20
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java
cps-ri/src/main/java/org/onap/cps/spi/repository/FragmentQueryBuilder.java
integration-test/src/test/groovy/org/onap/cps/integration/functional/CpsQueryServiceIntegrationSpec.groovy