X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-ncmp-service%2Fsrc%2Ftest%2Fresources%2Fapplication.yml;h=df34f844d246b72704218760d641c4c35bfd9963;hb=c6a545daaaeac6136d91852cc4f8609eaf7ebe7f;hp=e66f23d23f9ef6617d1afc1765e84000cb6fb228;hpb=3b72dbb767aae4d0c53ada2d82d9dfa0a0d76597;p=cps.git diff --git a/cps-ncmp-service/src/test/resources/application.yml b/cps-ncmp-service/src/test/resources/application.yml index e66f23d23..df34f844d 100644 --- a/cps-ncmp-service/src/test/resources/application.yml +++ b/cps-ncmp-service/src/test/resources/application.yml @@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (C) 2021-2022 Nordix Foundation +# Copyright (C) 2021-2023 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,11 +16,22 @@ # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= +spring: + kafka: + producer: + value-serializer: io.cloudevents.kafka.CloudEventSerializer + consumer: + properties: + spring.deserializer.value.delegate.class: io.cloudevents.kafka.CloudEventDeserializer + app: ncmp: + async-m2m: + topic: ncmp-async-m2m avc: subscription-topic: cm-avc-subscription cm-events-topic: cm-events + subscription-forward-topic-prefix: ${NCMP_FORWARD_CM_AVC_SUBSCRIPTION:ncmp-dmi-cm-avc-subscription-} ncmp: dmi: @@ -35,4 +46,12 @@ ncmp: parallelism-level: 3 model-loader: - subscription: true \ No newline at end of file + subscription: true + +# Custom Hazelcast Config. +hazelcast: + cluster-name: "cps-and-ncmp-test-caches" + mode: + kubernetes: + enabled: false + service-name: "cps-and-ncmp-service" \ No newline at end of file