From 40993732b302ce43ae1dbedbda44cc0113e9b6f2 Mon Sep 17 00:00:00 2001 From: Piotr Jaszczyk Date: Wed, 23 Jan 2019 09:51:50 +0100 Subject: Change Health Status when shutting down Change-Id: I889c934f29d34c1211c6e07f18cb16bbe35d711f Issue-ID: DCAEGEN2-1065 Signed-off-by: Piotr Jaszczyk --- .../org/onap/dcae/collectors/veshv/healthcheck/api/HealthDescription.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'sources/hv-collector-health-check/src/main') diff --git a/sources/hv-collector-health-check/src/main/kotlin/org/onap/dcae/collectors/veshv/healthcheck/api/HealthDescription.kt b/sources/hv-collector-health-check/src/main/kotlin/org/onap/dcae/collectors/veshv/healthcheck/api/HealthDescription.kt index 4758fb6b..21f8da5b 100644 --- a/sources/hv-collector-health-check/src/main/kotlin/org/onap/dcae/collectors/veshv/healthcheck/api/HealthDescription.kt +++ b/sources/hv-collector-health-check/src/main/kotlin/org/onap/dcae/collectors/veshv/healthcheck/api/HealthDescription.kt @@ -28,6 +28,7 @@ enum class HealthDescription(val message: String, val status: HealthStatus) { STARTING("Component is starting", HealthStatus.OUT_OF_SERVICE), HEALTHY("Healthy", HealthStatus.UP), BUSY("Processing at least one request", HealthStatus.UP), + SHUTTING_DOWN("Component is scheduled to shut down", HealthStatus.DOWN), IDLE("No simulation is in progress at the moment", HealthStatus.UP), /* Configuration related */ RETRYING_FOR_DYNAMIC_CONFIGURATION("Dynamic configuration not available. Retrying.", HealthStatus.OUT_OF_SERVICE), -- cgit 1.2.3-korg