diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2024-09-02 13:27:26 +0100 |
---|---|---|
committer | danielhanrahan <daniel.hanrahan@est.tech> | 2024-09-02 13:27:26 +0100 |
commit | aefafba4fee63ef78ee8b4c83b8903d24b5279e3 (patch) | |
tree | f83893d5b8f627d37a2dd45319be1814dea7a0c9 /dmi-stub | |
parent | 85c20a61edec5545bed58544f08f21c16853f205 (diff) |
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 <daniel.hanrahan@est.tech>
Change-Id: Iaf62fc935b5fa8d512deea0cac1d4008ca175bb6
Diffstat (limited to 'dmi-stub')
-rw-r--r-- | dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml | 8 |
1 files changed, 7 insertions, 1 deletions
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 |