From e339099a100434b8a55a2f2514b68d06a923d0c1 Mon Sep 17 00:00:00 2001 From: Kai Zimmermann Date: Mon, 2 Oct 2017 12:39:24 +0200 Subject: [PATCH] Active health check in device simulator. (#586) Signed-off-by: kaizimmerm --- examples/hawkbit-device-simulator/pom.xml | 4 ++++ .../src/main/resources/application.properties | 2 ++ hawkbit-runtime/hawkbit-update-server/pom.xml | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/examples/hawkbit-device-simulator/pom.xml b/examples/hawkbit-device-simulator/pom.xml index b3f612df4..d9d8fd23a 100644 --- a/examples/hawkbit-device-simulator/pom.xml +++ b/examples/hawkbit-device-simulator/pom.xml @@ -91,6 +91,10 @@ org.springframework.boot spring-boot-starter + + org.springframework.boot + spring-boot-starter-actuator + com.vaadin vaadin-spring-boot-starter diff --git a/examples/hawkbit-device-simulator/src/main/resources/application.properties b/examples/hawkbit-device-simulator/src/main/resources/application.properties index 647e6a852..cc71f9039 100644 --- a/examples/hawkbit-device-simulator/src/main/resources/application.properties +++ b/examples/hawkbit-device-simulator/src/main/resources/application.properties @@ -24,6 +24,8 @@ hawkbit.device.simulator.attributes[1].value=1.1 hawkbit.device.simulator.attributes[2].key=serial hawkbit.device.simulator.attributes[2].value=${random.value} +endpoints.health.enabled=true + ## Configuration for local RabbitMQ integration spring.rabbitmq.username=guest spring.rabbitmq.password=guest diff --git a/hawkbit-runtime/hawkbit-update-server/pom.xml b/hawkbit-runtime/hawkbit-update-server/pom.xml index 1d6d087ac..df4eef86d 100644 --- a/hawkbit-runtime/hawkbit-update-server/pom.xml +++ b/hawkbit-runtime/hawkbit-update-server/pom.xml @@ -61,7 +61,10 @@ hawkbit-boot-starter ${project.version} - + + org.springframework.boot + spring-boot-starter-actuator + com.h2database h2