31 lines
618 B
YAML
31 lines
618 B
YAML
server:
|
|
port: 8080
|
|
spring:
|
|
profiles:
|
|
active: header_route
|
|
|
|
---
|
|
spring:
|
|
cloud:
|
|
gateway:
|
|
routes:
|
|
- id: after_route
|
|
uri: http://httpbin.org:80/get
|
|
predicates:
|
|
- After=2017-01-20T17:42:47.789-07:00[America/Denver]
|
|
profiles: after_route
|
|
|
|
---
|
|
spring:
|
|
cloud:
|
|
gateway:
|
|
routes:
|
|
- id: header_route
|
|
uri: http://httpbin.org:80/get
|
|
predicates:
|
|
- Header=X-Request-Id, \d+
|
|
- id: after_route
|
|
uri: http://httpbin.org:80/
|
|
predicates:
|
|
- After=2017-01-20T17:42:47.789-07:00[America/Denver]
|
|
profiles: header_route |