blob: f28916854a0cd0664c6a7665160a19d0203a35bc [file] [log] [blame]
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +01001################################################################################
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
17server:
18 port: 9090
19spring:
20 cloud:
21 gateway:
22 httpclient:
23 ssl:
24 useInsecureTrustManager: true
25 wiretap: true
26 httpserver:
27 wiretap: true
28 routes:
29 - id: A1-Policy
30 uri: https://${POLICY_AGENT_DOMAIN_NAME}:${POLICY_AGENT_EXTERNAL_SECURE_PORT}
31 predicates:
32 - Path=/a1-policy/**
33 - id: A1-EI
34 uri: https://${ECS_DOMAIN_NAME}:${ECS_EXTERNAL_SECURE_PORT}
35 predicates:
36 - Path=/ei-producer/**
BjornMagnussonXAce4b14c2021-05-11 15:40:03 +020037 - id: A1-EI2
38 uri: https://${ECS_DOMAIN_NAME}:${ECS_EXTERNAL_SECURE_PORT}
39 predicates:
elinuxhenrikf24a7652021-06-22 11:00:20 +020040 - Path=/data-producer/**,/data-consumer/**
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010041management:
42 endpoint:
43 gateway:
44 enabled: true
45 endpoints:
46 web:
47 exposure:
48 include: "gateway,loggers,logfile,health,info,metrics,threaddump,heapdump"
49logging:
50 level:
51 ROOT: ERROR
52 org.springframework: ERROR
53 org.springframework.cloud.gateway: INFO
54 reactor.netty: INFO
55 file:
56 name: /var/log/nonrtric-gateway/application.log