add google-service to gateway

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-09-18 09:30:16 +02:00
parent 37f0466aeb
commit a6b2184ba2
2 changed files with 6 additions and 3 deletions

View File

@@ -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" />

View File

@@ -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}