From dbf10db6f468075293d61e7bbeb9006fd15cfce6 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Wed, 21 Dec 2022 09:29:54 +0000 Subject: CpsPath Query Optimization - Optimized CpsPathqueries with descendants that only care about the xpath (no attribuets checks) - Use native query with regular expression for target xpath and descendants - Refactored so existing sql-geneartion code can be re-used in different repository implementations - Adjusted related performance test expectations Issue-ID: CPS-1421 Signed-off-by: ToineSiebelink Change-Id: I3a807a14478c4b3272a5335d31c9aa3615eb2bee --- .../src/test/groovy/org/onap/cps/cpspath/parser/CpsPathUtilSpec.groovy | 1 + 1 file changed, 1 insertion(+) (limited to 'cps-path-parser') diff --git a/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathUtilSpec.groovy b/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathUtilSpec.groovy index 662e42b6b..df2e9d72c 100644 --- a/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathUtilSpec.groovy +++ b/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/CpsPathUtilSpec.groovy @@ -85,4 +85,5 @@ class CpsPathUtilSpec extends Specification { // In CI this actually takes about 3-5 sec which is approx. 50+ parser executions per millisecond! assert setupStopWatch.getTotalTimeMillis() < 10000 } + } -- cgit 1.2.3-korg