blob: e7f946f06d4abcdadf619a9a4e523563fa07c747 [file] [log] [blame]
RehanRazae838dbd2021-02-02 11:24:34 +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: policytypes
30 uri: https://policy-agent:8433
31 predicates:
32 - Path=/a1-policy/v2/policy-types/**
33 - id: policies
34 uri: https://policy-agent:8433
35 predicates:
36 - Path=/a1-policy/v2/policies/**
Lathishfe7a1e72021-02-03 13:34:37 +000037 - id: rics
38 uri: https://policy-agent:8433
39 predicates:
40 - Path=/a1-policy/v2/rics/**
41 - id: ei-producer
42 uri: https://ecs:8434
43 predicates:
44 - Path=/ei-producer/v1/eiproducers/**
RehanRazae838dbd2021-02-02 11:24:34 +010045management:
46 endpoint:
47 gateway:
48 enabled: true
49 endpoints:
50 web:
51 exposure:
52 include: "gateway,loggers,logfile,health,info,metrics,threaddump,heapdump"
53logging:
54 level:
55 ROOT: ERROR
56 org.springframework: ERROR
57 org.springframework.cloud.gateway: INFO
58 reactor.netty: INFO
59 file:
Lathishfe7a1e72021-02-03 13:34:37 +000060 name: /var/log/nonrtric-gateway/application.log