summaryrefslogtreecommitdiffstats
path: root/cps-application/src/main
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-07-07 13:39:00 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-07 13:39:00 +0000
commitb72f69b466ccd0e8fa5be8baa94bea50651f16db (patch)
treea1bae8fed8d1349b8a966a71d0100786e5d7df4a /cps-application/src/main
parentd32354171c15651c24b8e7f99c1164b75411489a (diff)
parentff52b94907002d2d2910567e1ad5f55e66008eb8 (diff)
Merge "Sending Data Updated Event to kafka"
Diffstat (limited to 'cps-application/src/main')
-rw-r--r--cps-application/src/main/resources/application.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index 3edb20cd1f..4f3072eb91 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -1,5 +1,6 @@
# ============LICENSE_START=======================================================
# Modification (C) 2021 Nordix Foundation
+# Modification 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.
@@ -57,6 +58,19 @@ spring:
max-file-size: 100MB
max-request-size: 100MB
+ kafka:
+ bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092}
+ security:
+ protocol: PLAINTEXT
+ producer:
+ value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
+ client-id: cps-core
+
+notification:
+ data-updated:
+ enabled: false
+ topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events}
+
security:
# comma-separated uri patterns which do not require authorization
permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs