From 2cd8b98223bd49975fcca0ec7f1d4673a4163074 Mon Sep 17 00:00:00 2001 From: JosephKeenan Date: Mon, 23 May 2022 15:43:05 +0100 Subject: Async request response dmi -> NCMP -Added Async for passthrough running and operational -Build will fail until cps is merged https://gerrit.onap.org/r/c/cps/+/128685 Issue-ID: CPS-830 Change-Id: Iedbfab109f5cd777a5be8eed7414758d0f5ec05c Signed-off-by: JosephKeenan Signed-off-by: ToineSiebelink Signed-off-by: JosephKeenan --- src/main/resources/application.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/main/resources/application.yml') diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8be97d2d..6ad9d58d 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -45,19 +45,24 @@ spring: pathmatch: matching-strategy: ANT_PATH_MATCHER kafka: - bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER} + bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092} security: protocol: PLAINTEXT producer: key-serializer: org.apache.kafka.common.serialization.StringSerializer value-serializer: org.springframework.kafka.support.serializer.JsonSerializer - client-id: dmi-plugin + client-id: ncmp-dmi-plugin app: ncmp: - async-m2m: + async: topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m} +notification: + async: + executor: + time-out-value-in-ms: 2000 + # Actuator management: server: @@ -106,4 +111,4 @@ springdoc: urlsPrimaryName: query urls: - name: query - url: /api-docs/openapi.yaml \ No newline at end of file + url: /api-docs/openapi.yaml -- cgit 1.2.3-korg