X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=vid-app-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fvid%2Fcontrollers%2FHealthStatus.java;fp=vid-app-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fvid%2Fcontrollers%2FHealthStatus.java;h=0000000000000000000000000000000000000000;hb=6ad41e3ccd398a2721f41ad61c80b7bb03f7d127;hp=6056c2898199dbeb96931c5dbd3fd65a970f1873;hpb=5ec29ff5e3864f1ba6ecac71f8bffbefa400cf27;p=vid.git 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 index 6056c2898..000000000 --- a/vid-app-common/src/main/java/org/onap/vid/controllers/HealthStatus.java +++ /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; - } -}