elinuxhenrik | 1aa2b7f | 2021-05-31 13:19:09 +0200 | [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://localhost:8433 |
| 31 | predicates: |
| 32 | - Path=/a1-policy/** |
| 33 | - id: A1-EI |
| 34 | uri: https://localhost:8434 |
| 35 | predicates: |
| 36 | - Path=/data-producer/** |
| 37 | management: |
| 38 | endpoint: |
| 39 | gateway: |
| 40 | enabled: true |
| 41 | endpoints: |
| 42 | web: |
| 43 | exposure: |
| 44 | include: "gateway,loggers,logfile,health,info,metrics,threaddump,heapdump" |
| 45 | logging: |
| 46 | level: |
| 47 | ROOT: ERROR |
| 48 | org.springframework: ERROR |
| 49 | org.springframework.cloud.gateway: INFO |
| 50 | reactor.netty: INFO |
| 51 | file: |
| 52 | name: /var/log/nonrtric-gateway/application.log |