-
Notifications
You must be signed in to change notification settings - Fork 0
/
api-gateway.yml
36 lines (33 loc) · 831 Bytes
/
api-gateway.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
server:
port: 8080
compression:
enabled: true
mime-types: application/json,text/css,application/javascript
min-response-size: 2048
# Internationalization
spring.messages.basename: messages/messages
spring:
config:
activate:
on-profile: docker
cloud:
gateway:
routes:
- id: vets-service
uri: http://vets-service:8083
predicates:
- Path=/api/vet/**
filters:
- StripPrefix=2
- id: visits-service
uri: http://visits-service:8082
predicates:
- Path=/api/visit/**
filters:
- StripPrefix=2
- id: customers-service
uri: http://customers-service:8081
predicates:
- Path=/api/customer/**
filters:
- StripPrefix=2