Merge "CM SUBSCRIPTION: add new subscription for non existing xpath"
[cps.git] / cps-ncmp-service / src / test / resources / application.yml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2021-2024 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             cm-subscription-ncmp-in: subscription
34             cm-events-topic: cm-events
35             cm-subscription-dmi-in: ${CM_SUBSCRIPTION_DMI_IN_TOPIC:ncmp-dmi-cm-avc-subscription}
36
37 ncmp:
38     dmi:
39         httpclient:
40             connectionTimeoutInSeconds: 123
41             maximumInMemorySizeInMegabytes: 16
42         auth:
43             username: some-user
44             password: some-password
45             enabled: true
46         api:
47             base-path: dmi
48     timers:
49         trust-level:
50             dmi-availability-watchdog-ms: 30000
51
52     modules-sync-watchdog:
53         async-executor:
54             parallelism-level: 3
55
56
57 # Custom Hazelcast Config.
58 hazelcast:
59   cluster-name: "cps-and-ncmp-test-caches"
60   mode:
61     kubernetes:
62       enabled: false
63       service-name: "cps-and-ncmp-service"