summaryrefslogtreecommitdiffstats
path: root/docs/swagger
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-09-10 15:57:10 +0200
committersebdet <sebastien.determe@intl.att.com>2019-09-10 16:50:30 +0200
commitc85d40b0cc8f40e5d0e17019878df82170f7bb35 (patch)
treea99cefc721df797a485c3ca57b0f85ad3ef4ae3d /docs/swagger
parentceaa2fc1fee98ca995e1952f107d098633f01eb7 (diff)
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 <sebastien.determe@intl.att.com>
Diffstat (limited to 'docs/swagger')
-rw-r--r--docs/swagger/swagger.json94
-rw-r--r--docs/swagger/swagger.pdf6
2 files changed, 50 insertions, 50 deletions
diff --git a/docs/swagger/swagger.json b/docs/swagger/swagger.json
index 0bd2b077..80ffc2a9 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 967dc9a8..9ae7d6e3 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