Merge from ECOMP's repository
[vid.git] / vid-app-common / src / main / java / org / onap / vid / controllers / HealthStatus.java
diff --git a/vid-app-common/src/main/java/org/onap/vid/controllers/HealthStatus.java b/vid-app-common/src/main/java/org/onap/vid/controllers/HealthStatus.java
deleted file mode 100644 (file)
index 6056c28..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.onap.vid.controllers;
-
-import org.springframework.http.HttpStatus;
-
-/**
- * Model for JSON response with health-check results.
- */
-public final class HealthStatus {
-
-    private final int statusCode;
-    private final String detailedMsg;
-    private final String date;
-
-    public HealthStatus(HttpStatus code, String date, String detailedMsg) {
-        this.statusCode = code.value();
-        this.detailedMsg = detailedMsg;
-        this.date = date;
-    }
-
-    public int getStatusCode() {
-        return statusCode;
-    }
-
-    public String getDetailedMsg() {
-        return detailedMsg;
-    }
-
-    public String getDate() {
-        return date;
-    }
-}