Merge "Addition of missing license to INFO.yaml"
[cps.git] / cps-application / src / main / resources / application.yml
index 1bcb496..4f3072e 100644 (file)
@@ -1,5 +1,6 @@
 #  ============LICENSE_START=======================================================\r
 #  Modification (C) 2021 Nordix Foundation\r
+#  Modification Copyright (C) 2021 Bell Canada.\r
 #  ================================================================================\r
 #  Licensed under the Apache License, Version 2.0 (the "License");\r
 #  you may not use this file except in compliance with the License.\r
@@ -57,12 +58,25 @@ spring:
             max-file-size: 100MB\r
             max-request-size: 100MB\r
 \r
+    kafka:\r
+        bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092}\r
+        security:\r
+            protocol: PLAINTEXT\r
+        producer:\r
+            value-serializer: org.springframework.kafka.support.serializer.JsonSerializer\r
+            client-id: cps-core\r
+\r
+notification:\r
+    data-updated:\r
+        enabled: false\r
+        topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events}\r
+\r
 security:\r
     # comma-separated uri patterns which do not require authorization\r
     permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs\r
     auth:\r
-        username: ${CPS_USERNAME:cpsuser}\r
-        password: ${CPS_PASSWORD:cpsr0cks!}\r
+        username: ${CPS_USERNAME}\r
+        password: ${CPS_PASSWORD}\r
 \r
 # Actuator\r
 management:\r