-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgateway-server.yml
62 lines (51 loc) · 1.31 KB
/
gateway-server.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
server:
port: 8072
logstash.host: 3.136.161.26:5000
logging:
config: classpath:logback-delayed.xml
eureka:
instance:
preferIpAddress: true
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: http://eurekaserver:8070/eureka/
spring:
zipkin:
baseUrl: http://zipkin:9411
sleuth:
sampler:
percentage: 1
cloud:
loadbalancer.ribbon.enabled: false
gateway:
routes:
- id: organization-service
uri: lb://organization-service
predicates:
- Path=/organization/**
filters:
- RewritePath=/organization/(?<path>.*), /$\{path}
- RemoveRequestHeader= Cookie,Set-Cookie
- id: licensing-service
uri: lb://licensing-service
predicates:
- Path=/license/**
filters:
- RewritePath=/license/(?<path>.*), /$\{path}
- RemoveRequestHeader= Cookie,Set-Cookie
keycloak:
auth-server-url: http://localhost:8080/auth
bearer-only: true
credentials:
secret: 5988f899-a5bf-4f76-b15f-f1cd0d2c81ba
realm: spmia-realm
resource: ostock
ssl-required: external
use-resource-role-mappings: true
management:
endpoints:
web:
exposure:
include: "*"