summaryrefslogtreecommitdiffstats
path: root/docker-compose
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-24 09:39:45 -0400
commit86c74c79cb45992d9f2ec134477cae41cd26651b (patch)
tree4bc17c8dca351910f0f411a6007f0db6924af5ab /docker-compose
parent888dcd495ecb63bf678e7234e9dc34e0743cb412 (diff)
Process data-updated event asynchronously
- 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 'docker-compose')
-rw-r--r--docker-compose/README.md8
-rwxr-xr-xdocker-compose/docker-compose.yml3
2 files changed, 8 insertions, 3 deletions
diff --git a/docker-compose/README.md b/docker-compose/README.md
index 11ccf6150b..ceb05446b4 100644
--- a/docker-compose/README.md
+++ b/docker-compose/README.md
@@ -2,6 +2,7 @@
============LICENSE_START=======================================================
Copyright (C) 2020 Pantheon.tech
Modifications Copyright (C) 2020-2021 Nordix Foundation.
+ Modifications Copyright (C) 2021 Bell Canada.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -52,11 +53,12 @@ It starts both Postgres database and CPS services.
1. Edit `docker-compose.yml`
1. uncomment desired service to be deployed, by default `cps-and-ncmp` is enabled. You can comment it and uncomment `cps-standalone` or `ncmp-standalone`.
- 2. To send data-updated events to kafka,
- * uncomment the `zookeeper` and `kafka` services.
- * uncomment environment variables
+ 2. To send data-updated events to kafka,
+ * uncomment the `zookeeper` and `kafka` services.
+ * uncomment environment variables
* `notification.data-updated.enabled: 'true'`
* `KAFKA_BOOTSTRAP_SERVER: kafka:9092`
+ * `NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'`
2. Execute following command from `docker-compose` folder:
Use one of the below version type that has been generated in the local system's docker image list after the build.
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index e659b0879c..d97cbeb847 100755
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -33,6 +33,7 @@ services:
# DB_PASSWORD: ${DB_PASSWORD:-cps}
# #KAFKA_BOOTSTRAP_SERVER: kafka:9092
# #notification.data-updated.enabled: 'true'
+ # #NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
# restart: unless-stopped
# depends_on:
# - dbpostgresql
@@ -53,6 +54,7 @@ services:
# DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!}
# #KAFKA_BOOTSTRAP_SERVER: kafka:9092
# #notification.data-updated.enabled: 'true'
+ # #NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
# restart: unless-stopped
# depends_on:
# - dbpostgresql
@@ -73,6 +75,7 @@ services:
DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!}
#KAFKA_BOOTSTRAP_SERVER: kafka:9092
#notification.data-updated.enabled: 'true'
+ #NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
restart: unless-stopped
depends_on:
- dbpostgresql