-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathapplication-local.yml
35 lines (34 loc) · 1.17 KB
/
application-local.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
# This file is used when ENV=local -- see app/src/docker/docker-compose.yml
# Contrast this file against application-k8s.yml
#
# File application-nonprod.yml will also be loaded due to the spring.profiles.group configuration in application.yml
# In LHDI, Istio's VirtualService is used to redirect and rewrite the request URL
# For ENV=local, Spring Cloud Gateway does this redirection
spring.cloud.gateway:
actuator.verbose.enabled: true
discovery:
locator:
enabled: false
routes:
- id: gateway-route
uri: http://localhost:8060
predicates:
- Path=/abd-vro/**
filters:
# - RewritePath=/abd-vro/(?<path>.*), /$\{path}
- StripPrefix=1
# Each domain API should have one entry with a URI prefix
# Be aware: https://github.com/spring-cloud/spring-cloud-gateway/issues/1759
# because SPRING_WEBFLUX_BASEPATH is set in Helm configuration
- id: app-route
uri: http://${VRO_APP_HOSTNAME:localhost}:8110
predicates:
- Path=/vro-app/**
filters:
- StripPrefix=1
- id: contention-classification-route
uri: http://${VRO_CC_HOSTNAME:localhost}:8120
predicates:
- Path=/contention-classification/**
filters:
- StripPrefix=1