ICS sample producer and consumer
[nonrtric.git] / sample-services / ics-producer-consumer / docker-compose / nonrtric-gateway / config / application-nonrtricgateway.yaml
1 ################################################################################
2 #   Copyright (c) 2021 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://informationcoordinatorservice:8083
31         predicates:
32         - Path=/data-producer/**,/data-consumer/**
33 management:
34   endpoint:
35     gateway:
36       enabled: true
37   endpoints:
38     web:
39       exposure:
40         include: "gateway,loggers,logfile,health,info,metrics,threaddump,heapdump"
41 logging:
42   level:
43     ROOT: ERROR
44     org.springframework: ERROR
45     org.springframework.cloud.gateway: INFO
46     reactor.netty: INFO
47   file:
48     name: /var/log/nonrtric-gateway/application.log