From aefafba4fee63ef78ee8b4c83b8903d24b5279e3 Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Mon, 2 Sep 2024 13:27:26 +0100 Subject: Expose healthchecks for DMI stub This allows using /actuator/health/readiness probe, etc. This is part of a larger story to add healthchecks to docker-compose used in CSITs and k6. Issue-ID: CPS-2376 Signed-off-by: danielhanrahan Change-Id: Iaf62fc935b5fa8d512deea0cac1d4008ca175bb6 --- .../src/main/resources/application.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml index 71bccc9a..541cd6b1 100644 --- a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml +++ b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml @@ -44,6 +44,12 @@ management: web: exposure: include: health + endpoint: + health: + show-details: always + # kubernetes probes: liveness and readiness + probes: + enabled: true app: ncmp: @@ -63,4 +69,4 @@ logging: springframework: web: filter: - CommonsRequestLoggingFilter: DEBUG \ No newline at end of file + CommonsRequestLoggingFilter: DEBUG -- cgit 1.2.3-korg