From 4c2bb7e92e24ac40a24c9424d48f945712858feb Mon Sep 17 00:00:00 2001 From: niamhcore Date: Fri, 30 Apr 2021 14:26:48 +0100 Subject: Add CpsPathQueries.sql and create data inspired by the bookstore model Issue-ID: CPS-363 Signed-off-by: niamhcore Change-Id: I1eaee97d6ced7b0c0676de19d74b4d8262a5e811 --- cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cps-ri/src/main') diff --git a/cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java b/cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java index f48d16590e..554ec45ed6 100644 --- a/cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java @@ -63,7 +63,7 @@ public class CpsPathQuery { private static final Pattern DESCENDANT_ANYWHERE_PATTERN_WITH_MULTIPLE_LEAF_PATTERN = Pattern.compile(DESCENDANT_ANYWHERE_PATTERN + YANG_MULTIPLE_LEAF_VALUE_EQUALS_CONDITION); - private static final String INDIVIDUAL_LEAF_DETAIL_PATTERN = ("\\s{0,9}and\\s{0,9}"); + private static final String INDIVIDUAL_LEAF_DETAIL_PATTERN = ("\\s{1,9}and\\s{1,9}"); private static final Pattern LEAF_VALUE_PATTERN = Pattern.compile("@(\\S+?)=(.*)"); -- cgit 1.2.3-korg