Merge "Improve performance of updateDataLeaves"
[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             properties:
25                 spring.deserializer.value.delegate.class: io.cloudevents.kafka.CloudEventDeserializer
26
27 app:
28     ncmp:
29         async-m2m:
30             topic: ncmp-async-m2m
31         avc:
32             subscription-topic: cm-avc-subscription
33             cm-events-topic: cm-events
34             subscription-forward-topic-prefix: ${NCMP_FORWARD_CM_AVC_SUBSCRIPTION:ncmp-dmi-cm-avc-subscription-}
35
36 ncmp:
37     dmi:
38         auth:
39             username: some-user
40             password: some-password
41         api:
42             base-path: dmi
43
44     modules-sync-watchdog:
45         async-executor:
46             parallelism-level: 3
47
48     model-loader:
49         subscription: true
50
51 # Custom Hazelcast Config.
52 hazelcast:
53   cluster-name: "cps-and-ncmp-test-caches"
54   mode:
55     kubernetes:
56       enabled: false
57       service-name: "cps-and-ncmp-service"