X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-application%2Fsrc%2Fmain%2Fresources%2Fapplication.yml;h=4f3072eb91ed2690988b49a9f4e490c7c486d264;hb=ff52b94907002d2d2910567e1ad5f55e66008eb8;hp=3edb20cd1ffa187f36a0a4295264bf74e4d8feb0;hpb=6658f50ddbfbd13469f24aefc8a6002d8807a7eb;p=cps.git diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 3edb20cd1..4f3072eb9 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