Log all incoming HTTP requests to NCMP with Authorization Header
[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 management:
43     endpoints:
44         web:
45             exposure:
46                 include: health
47
48 app:
49     ncmp:
50         async-m2m:
51             topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m}
52
53 delay:
54     module-references-delay-ms: ${MODULE_REFERENCES_DELAY_MS:100}
55     module-resources-delay-ms: ${MODULE_RESOURCES_DELAY_MS:1000}
56     data-for-cm-handle-delay-ms: ${DATA_FOR_CM_HANDLE_DELAY_MS:2500}
57
58 logging:
59     level:
60         org:
61             springframework:
62                 web:
63                     filter:
64                         CommonsRequestLoggingFilter: DEBUG