Merge "Updating the Kafka listener compliance to could events and legacy"
[cps.git] / cps-ncmp-service / src / test / resources / application.yml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2021-2023 Nordix Foundation
3 #  ================================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #        http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18
19 spring:
20     kafka:
21         producer:
22             value-serializer: io.cloudevents.kafka.CloudEventSerializer
23         consumer:
24             value-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer
25             properties:
26                 spring.deserializer.value.delegate.class: io.cloudevents.kafka.CloudEventDeserializer
27
28 app:
29     ncmp:
30         async-m2m:
31             topic: ncmp-async-m2m
32         avc:
33             subscription-topic: cm-avc-subscription
34             cm-events-topic: cm-events
35             subscription-forward-topic-prefix: ${NCMP_FORWARD_CM_AVC_SUBSCRIPTION:ncmp-dmi-cm-avc-subscription-}
36
37 ncmp:
38     dmi:
39         auth:
40             username: some-user
41             password: some-password
42         api:
43             base-path: dmi
44
45     modules-sync-watchdog:
46         async-executor:
47             parallelism-level: 3
48
49     model-loader:
50         subscription: true
51
52 # Custom Hazelcast Config.
53 hazelcast:
54   cluster-name: "cps-and-ncmp-test-caches"
55   mode:
56     kubernetes:
57       enabled: false
58       service-name: "cps-and-ncmp-service"