From c85d40b0cc8f40e5d0e17019878df82170f7bb35 Mon Sep 17 00:00:00 2001 From: sebdet Date: Tue, 10 Sep 2019 15:57:10 +0200 Subject: Repair healthcheck HealthCheck was always returning 200 even if the db was not up and running Issue-ID: CLAMP-494 Change-Id: I85aa427a212c6cde568d3863d1ab1a1a11c71f16 Signed-off-by: sebdet --- docs/swagger/swagger.json | 94 +++++++++++++++++++++++------------------------ docs/swagger/swagger.pdf | 6 +-- 2 files changed, 50 insertions(+), 50 deletions(-) (limited to 'docs/swagger') diff --git a/docs/swagger/swagger.json b/docs/swagger/swagger.json index 0bd2b077e..80ffc2a9e 100644 --- a/docs/swagger/swagger.json +++ b/docs/swagger/swagger.json @@ -4,7 +4,7 @@ "version" : "4.1.2-SNAPSHOT", "title" : "Clamp Rest API" }, - "host" : "localhost:40147", + "host" : "localhost:36829", "basePath" : "/restservices/clds/", "schemes" : [ "http" ], "paths" : { @@ -419,12 +419,12 @@ "asString" : { "type" : "string" }, - "asBoolean" : { - "type" : "boolean" - }, "asNumber" : { "$ref" : "#/definitions/Number" }, + "asBoolean" : { + "type" : "boolean" + }, "asDouble" : { "type" : "number", "format" : "double" @@ -464,23 +464,23 @@ "asJsonPrimitive" : { "$ref" : "#/definitions/JsonPrimitive" }, - "jsonObject" : { + "jsonPrimitive" : { "type" : "boolean" }, - "jsonNull" : { - "type" : "boolean" + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" }, - "jsonArray" : { + "jsonObject" : { "type" : "boolean" }, - "jsonPrimitive" : { + "jsonNull" : { "type" : "boolean" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" - }, "asJsonNull" : { "$ref" : "#/definitions/JsonNull" + }, + "jsonArray" : { + "type" : "boolean" } }, "x-className" : { @@ -529,12 +529,12 @@ "asString" : { "type" : "string" }, - "asBoolean" : { - "type" : "boolean" - }, "asNumber" : { "$ref" : "#/definitions/Number" }, + "asBoolean" : { + "type" : "boolean" + }, "asDouble" : { "type" : "number", "format" : "double" @@ -577,23 +577,23 @@ "asJsonPrimitive" : { "$ref" : "#/definitions/JsonPrimitive" }, - "jsonObject" : { + "jsonPrimitive" : { "type" : "boolean" }, - "jsonNull" : { - "type" : "boolean" + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" }, - "jsonArray" : { + "jsonObject" : { "type" : "boolean" }, - "jsonPrimitive" : { + "jsonNull" : { "type" : "boolean" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" - }, "asJsonNull" : { "$ref" : "#/definitions/JsonNull" + }, + "jsonArray" : { + "type" : "boolean" } } }, @@ -643,29 +643,29 @@ "asString" : { "type" : "string" }, - "jsonObject" : { + "jsonPrimitive" : { "type" : "boolean" }, - "jsonNull" : { - "type" : "boolean" + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" }, - "jsonArray" : { + "jsonObject" : { "type" : "boolean" }, - "asBoolean" : { - "type" : "boolean" + "asNumber" : { + "$ref" : "#/definitions/Number" }, - "jsonPrimitive" : { + "jsonNull" : { "type" : "boolean" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" - }, "asJsonNull" : { "$ref" : "#/definitions/JsonNull" }, - "asNumber" : { - "$ref" : "#/definitions/Number" + "jsonArray" : { + "type" : "boolean" + }, + "asBoolean" : { + "type" : "boolean" }, "asDouble" : { "type" : "number", @@ -761,29 +761,29 @@ "asString" : { "type" : "string" }, - "jsonObject" : { + "jsonPrimitive" : { "type" : "boolean" }, - "jsonNull" : { - "type" : "boolean" + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" }, - "jsonArray" : { + "jsonObject" : { "type" : "boolean" }, - "asBoolean" : { - "type" : "boolean" + "asNumber" : { + "$ref" : "#/definitions/Number" }, - "jsonPrimitive" : { + "jsonNull" : { "type" : "boolean" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" - }, "asJsonNull" : { "$ref" : "#/definitions/JsonNull" }, - "asNumber" : { - "$ref" : "#/definitions/Number" + "jsonArray" : { + "type" : "boolean" + }, + "asBoolean" : { + "type" : "boolean" }, "asDouble" : { "type" : "number", diff --git a/docs/swagger/swagger.pdf b/docs/swagger/swagger.pdf index 967dc9a89..9ae7d6e31 100644 --- a/docs/swagger/swagger.pdf +++ b/docs/swagger/swagger.pdf @@ -4,8 +4,8 @@ << /Title (Clamp Rest API) /Creator (Asciidoctor PDF 1.5.0.alpha.10, based on Prawn 1.3.0) /Producer (Asciidoctor PDF 1.5.0.alpha.10, based on Prawn 1.3.0) -/CreationDate (D:20190909171618+02'00') -/ModDate (D:20190909171618+02'00') +/CreationDate (D:20190910155046+02'00') +/ModDate (D:20190910155046+02'00') >> endobj 2 0 obj @@ -3407,7 +3407,7 @@ ET BT 71.30850000000001 592.176 Td /F1.0 10.5 Tf -<203a206c6f63616c686f73743a3430313437> Tj +<203a206c6f63616c686f73743a3336383239> Tj ET 0.000 0.000 0.000 SCN -- cgit 1.2.3-korg