Merge "Replace deprecated WebSecurityConfigurerAdapter"
[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         avc:
30             subscription-topic: cm-avc-subscription
31             cm-events-topic: cm-events
32             subscription-forward-topic-prefix: ${NCMP_FORWARD_CM_AVC_SUBSCRIPTION:ncmp-dmi-cm-avc-subscription-}
33
34 ncmp:
35     dmi:
36         auth:
37             username: some-user
38             password: some-password
39         api:
40             base-path: dmi
41
42     modules-sync-watchdog:
43         async-executor:
44             parallelism-level: 3
45
46     model-loader:
47         subscription: true
48
49 # Custom Hazelcast Config.
50 hazelcast:
51   cluster-name: "cps-and-ncmp-test-caches"
52   mode:
53     kubernetes:
54       enabled: false
55       service-name: "cps-and-ncmp-service"