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" />
|
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
|
||||||
<envs>
|
<envs>
|
||||||
<env name="TIMEZONE_SERVICE_URI" value="http://localhost:8085" />
|
<env name="TIMEZONE_SERVICE_URI" value="http://localhost:8085" />
|
||||||
|
<env name="GOOGLE_SERVICE_URI" value="http://localhost:8096" />
|
||||||
</envs>
|
</envs>
|
||||||
<option name="FRAME_DEACTIVATION_UPDATE_POLICY" value="UpdateClassesAndResources" />
|
<option name="FRAME_DEACTIVATION_UPDATE_POLICY" value="UpdateClassesAndResources" />
|
||||||
<module name="edge-service.main" />
|
<module name="edge-service.main" />
|
||||||
|
@@ -35,10 +35,12 @@ spring:
|
|||||||
filters:
|
filters:
|
||||||
- RewritePath=/health/timezone, /actuator/health
|
- RewritePath=/health/timezone, /actuator/health
|
||||||
|
|
||||||
- id: account-service
|
- id: google-service
|
||||||
uri: ${BACKEND_SERVICE_URI:http://backend-service.web:8080}
|
uri: ${GOOGLE_SERVICE_URI:http://google-service.web:8080}
|
||||||
predicates:
|
predicates:
|
||||||
- Path=/v1/account/**
|
- Path=/v1/account/**, /health/google
|
||||||
|
filters:
|
||||||
|
- RewritePath=/health/google, /actuator/health
|
||||||
|
|
||||||
- id: token-service
|
- id: token-service
|
||||||
uri: ${BACKEND_SERVICE_URI:http://backend-service.web:8080}
|
uri: ${BACKEND_SERVICE_URI:http://backend-service.web:8080}
|
||||||
|
Reference in New Issue
Block a user