Limit max connections in DMI stub
[cps.git] / dmi-plugin-demo-and-csit-stub / dmi-plugin-demo-and-csit-stub-service / src / main / resources / application.yml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2023-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 server:
19     port: 8092
20     jetty:
21         threads:
22             max: 25
23
24 rest:
25     api:
26         dmi-stub-base-path: /dmi
27
28 spring:
29     main:
30         banner-mode: "off"
31     application:
32         name: "dmi-plugin-demo-and-csit-stub"
33
34     kafka:
35         bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:19092}
36         security:
37             protocol: PLAINTEXT
38         producer:
39             value-serializer: io.cloudevents.kafka.CloudEventSerializer
40             client-id: cps-core
41
42 app:
43     ncmp:
44         async-m2m:
45             topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m}
46
47 delay:
48     module-references-delay-ms: ${MODULE_REFERENCES_DELAY_MS:100}
49     module-resources-delay-ms: ${MODULE_RESOURCES_DELAY_MS:1000}
50     data-for-cm-handle-delay-ms: ${DATA_FOR_CM_HANDLE_DELAY_MS:2500}