summaryrefslogtreecommitdiffstats
path: root/cps-application/src/main/resources/application.yml
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2021-08-19 13:11:00 -0400
committerRenu Kumari <renu.kumari@bell.ca>2021-08-23 11:52:48 -0400
commit0c5979fe48a43d5fbc680d026ea7ec866f60ed9e (patch)
treed48e4f76cecfe7524e6cc4cc649c5e062b5b92e4 /cps-application/src/main/resources/application.yml
parentdb89e9c72388a7eb0a2132f7c25a213a925a0478 (diff)
Process data-updated event asynchronouslymr/526/123402/5
- notification is processed asynchronously using defined threadpool - updated docker-compose and readme to add dataspace filtering variables Issue-ID: CPS-526 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7f827250f45cb9e3db2f060e9b3a089a4eaee05c
Diffstat (limited to 'cps-application/src/main/resources/application.yml')
-rw-r--r--cps-application/src/main/resources/application.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index 91c421bb66..c3d9bd1c19 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -73,7 +73,14 @@ notification:
enabled: false
topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events}
filters:
- enabled-dataspaces: ${DATASPACE_FILTER_PATTERNS:""}
+ enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""}
+ async-executor:
+ core-pool-size: 2
+ max-pool-size: 10
+ queue-capacity: 500
+ wait-for-tasks-to-complete-on-shutdown: true
+ thread-name-prefix: Async-
+
springdoc:
swagger-ui: