Some checks failed
deploy to hetzner / deploy (push) Failing after 11m18s
Signed-off-by: Peter Siegmund <developer@mars3142.org>
60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
springdoc:
|
|
enable-native-support: true
|
|
api-docs:
|
|
enabled: true
|
|
swagger-ui:
|
|
enabled: true
|
|
path: /swagger-ui.html
|
|
config-url: /v3/api-docs/swagger-config
|
|
urls:
|
|
- url: /v3/api-docs
|
|
name: API Gateway Service
|
|
primaryName: API Gateway Service
|
|
- url: /timezone-service/v3/api-docs
|
|
name: Timezone Service
|
|
primaryName: Timezone Service
|
|
- url: /google-service/v3/api-docs
|
|
name: Google Service
|
|
primaryName: Google Service
|
|
|
|
spring:
|
|
cloud:
|
|
gateway:
|
|
default-filters:
|
|
- name: Retry
|
|
args:
|
|
retries: 3
|
|
methods: GET
|
|
series: SERVER_ERROR
|
|
exceptions: java.io.IOException, java.util.concurrent.TimeoutException
|
|
backoff:
|
|
firstBackoff: 50ms
|
|
maxBackoff: 5000ms
|
|
discovery:
|
|
locator:
|
|
enabled: false
|
|
routes:
|
|
- id: timezone-service
|
|
uri: lb://timezone-service
|
|
predicates:
|
|
- Path=/v1/timezone/**, /health/timezone, /timezone-service/v3/api-docs
|
|
filters:
|
|
- RewritePath=/health/timezone, /actuator/health
|
|
- RewritePath=/timezone-service/(?<segment>.*), /$\{segment}
|
|
|
|
- id: google-service
|
|
uri: lb://google-service
|
|
predicates:
|
|
- Path=/v1/account/**, /health/google, /google-service/v3/api-docs
|
|
filters:
|
|
- RewritePath=/health/google, /actuator/health
|
|
- RewritePath=/google-service/(?<segment>.*), /$\{segment}
|
|
|
|
- id: token-service
|
|
uri: lb://backend-service
|
|
predicates:
|
|
- Path=/v1/token/**, /health/backend, /token-service/v3/api-docs
|
|
filters:
|
|
- RewritePath=/health/backend, /actuator/health
|
|
- RewritePath=/token-service/(?<segment>.*), /$\{segment}
|