From 60d00e68661cd3f678c18880cb7a0f3ca1339b48 Mon Sep 17 00:00:00 2001 From: Daniil Palagin Date: Wed, 2 Oct 2024 10:42:21 +0200 Subject: [PATCH] [kbss-cvut/record-manager-ui#139] Add spring-boot-starter-actuator dependency of health checks --- pom.xml | 6 ++++++ src/main/resources/application.properties | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8fc84ec4..7b933886 100644 --- a/pom.xml +++ b/pom.xml @@ -141,6 +141,12 @@ spring-security-test test + + + + org.springframework.boot + spring-boot-starter-actuator + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index efe77d59..e43a0b0e 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,2 @@ -server.servlet.context-path=/record-manager \ No newline at end of file +server.servlet.context-path=/record-manager +management.endpoints.web.exposure.include=health \ No newline at end of file