From 37f0466aeb6dad6e1ca93e6fdba1f40fa8f519da Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Wed, 18 Sep 2024 08:29:33 +0200 Subject: [PATCH] add health for timezone-service Signed-off-by: Peter Siegmund --- src/main/resources/application-dev.yaml | 2 ++ src/main/resources/application.yaml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application-dev.yaml b/src/main/resources/application-dev.yaml index e69de29..ac5756a 100644 --- a/src/main/resources/application-dev.yaml +++ b/src/main/resources/application-dev.yaml @@ -0,0 +1,2 @@ +server: + port: 8090 diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 6cca3d9..4e17db0 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -31,7 +31,9 @@ spring: - id: timezone-service uri: ${TIMEZONE_SERVICE_URI:http://timezone-service.web:8080} predicates: - - Path=/v1/timezone/** + - Path=/v1/timezone/**, /health/timezone + filters: + - RewritePath=/health/timezone, /actuator/health - id: account-service uri: ${BACKEND_SERVICE_URI:http://backend-service.web:8080}