From: danielhanrahan Date: Mon, 2 Sep 2024 12:27:26 +0000 (+0100) Subject: Expose healthchecks for DMI stub X-Git-Tag: 1.6.0~26 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=aefafba4fee63ef78ee8b4c83b8903d24b5279e3;p=cps%2Fncmp-dmi-plugin.git 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 --- 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