Set CPS Project Status to 'Mature'
[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: 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         httpclient:
40             connectionTimeoutInSeconds: 180
41         auth:
42             username: some-user
43             password: some-password
44             enabled: true
45         api:
46             base-path: dmi
47     timers:
48         trust-level:
49             dmi-availability-watchdog-ms: 30000
50
51     modules-sync-watchdog:
52         async-executor:
53             parallelism-level: 3
54
55
56 # Custom Hazelcast Config.
57 hazelcast:
58   cluster-name: "cps-and-ncmp-test-caches"
59   mode:
60     kubernetes:
61       enabled: false
62       service-name: "cps-and-ncmp-service"