-
Notifications
You must be signed in to change notification settings - Fork 0
/
zuul-routes.yml
30 lines (30 loc) · 913 Bytes
/
zuul-routes.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
# Zuul properties
# Removes the direct route for a service connected to Eureka (i.e. - without this, a user can just go to zuul.com/<serviceId>/** and would still work). This way, all routes to any service must go through a specified path.
zuul:
ignored-services: "*"
routes:
command-api-command:
path: /vehicles/**/command
stripPrefix: false
serviceId: COMMAND-API
vehicle-state-state:
path: /vehicles/**/state
stripPrefix: false
serviceId: VEHICLE-STATE
scheduler-api-schedule:
path: /vehicles/**/schedule
stripPrefix: false
serviceId: SCHEDULER-API
textreturn:
path: /vehicles/**/sayHello
stripPrefix: false
serviceId: TEXTRETURN
textretur1n:
path: /vehicles/**/**/sayHello
stripPrefix: false
serviceId: TEXTRETURN
SendErrorFilter:
error:
disable: false
pre:
disable: false