NONRTRIC-924: RANPM - Add control-panel to Kubernetes deployment
[nonrtric/plt/ranpm.git] / install / helm / nonrtricgateway / resources / config / application.yaml
1 ################################################################################
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
17 server:
18   port: 9090
19 spring:
20   cloud:
21     gateway:
22       httpclient:
23         ssl:
24           useInsecureTrustManager: true
25         wiretap: true
26       httpserver:
27         wiretap: true
28       routes:
29       - id: A1-EI
30         uri: http://informationservice:8083
31         predicates:
32         - Path=/data-producer/**,/data-consumer/**
33 #      - id: A1-EI2
34 #uri: http://ics:8083
35 management:
36   endpoint:
37     gateway:
38       enabled: true
39   endpoints:
40     web:
41       exposure:
42         include: "gateway,loggers,logfile,health,info,metrics,threaddump,heapdump"
43 logging:
44   level:
45     ROOT: ERROR
46     org.springframework: ERROR
47     org.springframework.cloud.gateway: INFO
48     reactor.netty: INFO
49   file:
50     name: /var/log/nonrtric-gateway/application.log