add google-service to gateway
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
|
||||
<envs>
|
||||
<env name="TIMEZONE_SERVICE_URI" value="http://localhost:8085" />
|
||||
<env name="GOOGLE_SERVICE_URI" value="http://localhost:8096" />
|
||||
</envs>
|
||||
<option name="FRAME_DEACTIVATION_UPDATE_POLICY" value="UpdateClassesAndResources" />
|
||||
<module name="edge-service.main" />
|
||||
|
@@ -35,10 +35,12 @@ spring:
|
||||
filters:
|
||||
- RewritePath=/health/timezone, /actuator/health
|
||||
|
||||
- id: account-service
|
||||
uri: ${BACKEND_SERVICE_URI:http://backend-service.web:8080}
|
||||
- id: google-service
|
||||
uri: ${GOOGLE_SERVICE_URI:http://google-service.web:8080}
|
||||
predicates:
|
||||
- Path=/v1/account/**
|
||||
- Path=/v1/account/**, /health/google
|
||||
filters:
|
||||
- RewritePath=/health/google, /actuator/health
|
||||
|
||||
- id: token-service
|
||||
uri: ${BACKEND_SERVICE_URI:http://backend-service.web:8080}
|
||||
|
Reference in New Issue
Block a user