From db6b8f845ac72da59c12831ae8c7efa180f9ace2 Mon Sep 17 00:00:00 2001 From: mpriyank Date: Thu, 14 Dec 2023 13:27:01 +0000 Subject: Remove Notification code for updated events - removed existing code for sending notifications to topic cps.dataupdated events formerly used by cps-temporal - corresponding testware removed or updated - unnecessary to fetch anchor details for delete and replace operation removed which might gain minor performance boost - yaml configurations , documentation removal and update - Added missing test for AsyncConfig to comply with coverage check Issue-ID: CPS-2005 Change-Id: I1848f7f229cb713fe8c0302ea50328e7451652ee Signed-off-by: mpriyank --- .../org/onap/cps/ncmp/rest/executor/CpsNcmpTaskExecutorSpec.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cps-ncmp-rest') diff --git a/cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/executor/CpsNcmpTaskExecutorSpec.groovy b/cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/executor/CpsNcmpTaskExecutorSpec.groovy index 870c36c77..55590168d 100644 --- a/cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/executor/CpsNcmpTaskExecutorSpec.groovy +++ b/cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/executor/CpsNcmpTaskExecutorSpec.groovy @@ -26,7 +26,6 @@ import ch.qos.logback.classic.spi.ILoggingEvent import ch.qos.logback.core.read.ListAppender import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach -import org.onap.cps.notification.NotificationErrorHandler import org.slf4j.LoggerFactory import spock.lang.Specification @@ -44,7 +43,7 @@ class CpsNcmpTaskExecutorSpec extends Specification { @AfterEach void teardown() { - ((Logger) LoggerFactory.getLogger(NotificationErrorHandler.class)).detachAndStopAllAppenders(); + ((Logger) LoggerFactory.getLogger(CpsNcmpTaskExecutor.class)).detachAndStopAllAppenders(); } def 'Execute successful task.'() { -- cgit 1.2.3-korg