Merge "Refactor WriteSubJobSpec to make use of test REST endpoint of write job"
[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 cps:
20     tracing:
21         sampler:
22             jaeger_remote:
23                 endpoint: http://jaeger-Remote-test-url
24         exporter:
25             endpoint: http://exporter-test-url
26         enabled: true
27
28 spring:
29     kafka:
30         producer:
31             value-serializer: io.cloudevents.kafka.CloudEventSerializer
32         consumer:
33             value-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer
34             properties:
35                 spring.deserializer.value.delegate.class: io.cloudevents.kafka.CloudEventDeserializer
36
37 app:
38     ncmp:
39         async-m2m:
40             topic: ncmp-async-m2m
41         avc:
42             cm-subscription-ncmp-in: subscription
43             cm-events-topic: cm-events
44             cm-subscription-dmi-in: ${CM_SUBSCRIPTION_DMI_IN_TOPIC:ncmp-dmi-cm-avc-subscription}
45
46 ncmp:
47     dmi:
48         httpclient:
49             data-services:
50                 maximumInMemorySizeInMegabytes: 1
51                 maximumConnectionsTotal: 2
52                 pendingAcquireMaxCount: 3
53                 connectionTimeoutInSeconds: 4
54                 readTimeoutInSeconds: 5
55                 writeTimeoutInSeconds: 6
56             model-services:
57                 maximumInMemorySizeInMegabytes: 11
58                 maximumConnectionsTotal: 12
59                 pendingAcquireMaxCount: 13
60                 connectionTimeoutInSeconds: 14
61                 readTimeoutInSeconds: 15
62                 writeTimeoutInSeconds: 16
63             healthCheckServices:
64                 maximumInMemorySizeInMegabytes: 21
65                 maximumConnectionsTotal: 22
66                 pendingAcquireMaxCount: 23
67                 connectionTimeoutInSeconds: 24
68                 readTimeoutInSeconds: 25
69                 writeTimeoutInSeconds: 26
70         auth:
71             username: some-user
72             password: some-password
73             enabled: true
74         api:
75             base-path: dmi
76     timers:
77         trust-level:
78             dmi-availability-watchdog-ms: 30000
79
80     policy-executor:
81         enabled: true
82         defaultDecision: "some default decision"
83         server:
84             address: http://localhost
85             port: 8785
86         httpclient:
87             all-services:
88                 maximumInMemorySizeInMegabytes: 31
89                 maximumConnectionsTotal: 32
90                 pendingAcquireMaxCount: 33
91                 connectionTimeoutInSeconds: 34
92                 readTimeoutInSeconds: 35
93                 writeTimeoutInSeconds: 36
94
95 # Custom Hazelcast Config.
96 hazelcast:
97   cluster-name: "cps-and-ncmp-test-caches"
98   instance-config-name: "cps-and-ncmp-hazelcast-instance-test-config"
99   mode:
100     kubernetes:
101       enabled: false
102       service-name: "cps-and-ncmp-service"