aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2025-03-06 11:34:08 +0000
committerToineSiebelink <toine.siebelink@est.tech>2025-03-06 15:28:00 +0000
commite012d12fecc6be54ab386e4fd73be0baed53cf1a (patch)
treee4bfa0d7649e24bbdf090e15f53b08f743a541b9 /cps-application
parent1337752d3175309a66a50fe04aa9b289a33e4290 (diff)
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 <toine.siebelink@est.tech>
Diffstat (limited to 'cps-application')
-rw-r--r--cps-application/src/main/resources/application.yml4
1 files changed, 1 insertions, 3 deletions
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: