From e012d12fecc6be54ab386e4fd73be0baed53cf1a Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Thu, 6 Mar 2025 11:34:08 +0000 Subject: Fix degradation in (de)registration performance - Disabled CPS notifications by default (in yaml and java) - minor refactoring of related production code - Improved unit test regarding notifications being enabled/disabled to get 100% coverage - Removed now redundant test for enable/disable scenarios (2 replaced by 1 better test) Issue-ID: CPS-2684 Change-Id: If43cd9c06c1655e1d49c70c55830c4e3a579a6d4 Signed-off-by: ToineSiebelink --- cps-application/src/main/resources/application.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cps-application') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 6eb9e108be..decc03b263 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -117,11 +117,9 @@ app: topic: ${DMI_DEVICE_HEARTBEAT_TOPIC:dmi-device-heartbeat} cps: data-updated: - change-event-notifications-enabled: ${CPS_CHANGE_EVENT_NOTIFICATIONS_ENABLED:true} + change-event-notifications-enabled: ${CPS_CHANGE_EVENT_NOTIFICATIONS_ENABLED:false} topic: ${CPS_CHANGE_EVENT_TOPIC:cps-data-updated-events} - - notification: enabled: true async: -- cgit 1.2.3-korg