de097a67b4e2fdc1a80a5814b4b95b072479e02d
[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 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
21 rest:
22     api:
23         dmi-stub-base-path: /dmi
24
25 spring:
26     main:
27         banner-mode: "off"
28     application:
29         name: "dmi-plugin-demo-and-csit-stub"
30
31     kafka:
32         bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:19092}
33         security:
34             protocol: PLAINTEXT
35         producer:
36             value-serializer: io.cloudevents.kafka.CloudEventSerializer
37             client-id: cps-core
38
39 app:
40     ncmp:
41         async-m2m:
42             topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m}
43
44 delay:
45     module-references-delay-ms: ${MODULE_REFERENCES_DELAY_MS:100}
46     module-resources-delay-ms: ${MODULE_RESOURCES_DELAY_MS:1000}
47     data-for-cm-handle-delay-ms: ${DATA_FOR_CM_HANDLE_DELAY_MS:2500}