From ae5a47388dae38c51b437e448ae6a23fa9a77591 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Tue, 13 Sep 2022 12:51:21 +0100 Subject: Handle partial failure (improvements) - catching of failures on retry of individual nodes - extract cm handle id from xpaths (can only report xpaths in cps core) - add test for same Issue-ID: CPS-1232 Issue-ID: CPS-1126 Signed-off-by: ToineSiebelink Change-Id: Ice2032c8b15fea97ae0aaa4d1ed642b3499228fa --- .../org/onap/cps/spi/exceptions/AlreadyDefinedExceptionBatch.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cps-service') diff --git a/cps-service/src/main/java/org/onap/cps/spi/exceptions/AlreadyDefinedExceptionBatch.java b/cps-service/src/main/java/org/onap/cps/spi/exceptions/AlreadyDefinedExceptionBatch.java index a5ce6fde2..0ba656aa1 100644 --- a/cps-service/src/main/java/org/onap/cps/spi/exceptions/AlreadyDefinedExceptionBatch.java +++ b/cps-service/src/main/java/org/onap/cps/spi/exceptions/AlreadyDefinedExceptionBatch.java @@ -26,9 +26,9 @@ import lombok.Getter; public class AlreadyDefinedExceptionBatch extends RuntimeException { @Getter - private final Collection alreadyDefinedCmHandleIds; + private final Collection alreadyDefinedXpaths; - public AlreadyDefinedExceptionBatch(final Collection alreadyDefinedCmHandleIds) { - this.alreadyDefinedCmHandleIds = alreadyDefinedCmHandleIds; + public AlreadyDefinedExceptionBatch(final Collection alreadyDefinedXPaths) { + this.alreadyDefinedXpaths = alreadyDefinedXPaths; } } -- cgit 1.2.3-korg