Filter data updated events based on configured pattern

Issue-ID: CPS-469
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I7810990b54c3140677184ea671164b8835a6afbb
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index ac620f6..91c421b 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -72,12 +72,14 @@
     data-updated:

         enabled: false

         topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events}

+        filters:

+            enabled-dataspaces: ${DATASPACE_FILTER_PATTERNS:""}

 

 springdoc:

     swagger-ui:

         url: /openapi.yml

         path: /swagger-ui/index.html

-        

+

 security:

     # comma-separated uri patterns which do not require authorization

     permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs