BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 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-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/** |
BjornMagnussonXA | ce4b14c | 2021-05-11 15:40:03 +0200 | [diff] [blame] | 37 | - id: A1-EI2 |
| 38 | uri: https://${ECS_DOMAIN_NAME}:${ECS_EXTERNAL_SECURE_PORT} |
| 39 | predicates: |
elinuxhenrik | f24a765 | 2021-06-22 11:00:20 +0200 | [diff] [blame] | 40 | - Path=/data-producer/**,/data-consumer/** |
BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 41 | management: |
| 42 | endpoint: |
| 43 | gateway: |
| 44 | enabled: true |
| 45 | endpoints: |
| 46 | web: |
| 47 | exposure: |
| 48 | include: "gateway,loggers,logfile,health,info,metrics,threaddump,heapdump" |
| 49 | logging: |
| 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 |