X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fswagger%2Fswagger.json;h=c818ee24f4c5ea207d9a3b068dad00b237e6de78;hb=03d382d6be6ff6b98d2e2b391f2dd34081731cfe;hp=15329f99d5cd8588ce1c9ad324b658dfc4a1128e;hpb=ab9bc444f84f2cbb89747543657de3a54e4554b8;p=clamp.git diff --git a/docs/swagger/swagger.json b/docs/swagger/swagger.json index 15329f99..c818ee24 100644 --- a/docs/swagger/swagger.json +++ b/docs/swagger/swagger.json @@ -1,16 +1,16 @@ { "swagger" : "2.0", "info" : { - "version" : "5.0.5-SNAPSHOT", + "version" : "5.1.0-SNAPSHOT", "title" : "Clamp Rest API" }, - "host" : "localhost:40065", + "host" : "localhost:44217", "basePath" : "/restservices/clds/", "schemes" : [ "http" ], "paths" : { "/v2/clampInformation" : { "get" : { - "operationId" : "route74", + "operationId" : "route34", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -20,13 +20,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route74" + "x-camelContextId" : "camel-1", + "x-routeId" : "route34" } }, "/v2/dictionary" : { "get" : { - "operationId" : "route58", + "operationId" : "route19", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -36,11 +36,11 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route58" + "x-camelContextId" : "camel-1", + "x-routeId" : "route19" }, "put" : { - "operationId" : "route61", + "operationId" : "route22", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -59,13 +59,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route61" + "x-camelContextId" : "camel-1", + "x-routeId" : "route22" } }, "/v2/dictionary/{dictionaryName}" : { "get" : { - "operationId" : "route60", + "operationId" : "route21", "produces" : [ "application/json" ], "parameters" : [ { "name" : "dictionaryName", @@ -81,13 +81,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route60" + "x-camelContextId" : "camel-1", + "x-routeId" : "route21" } }, "/v2/dictionary/{name}" : { "put" : { - "operationId" : "route62", + "operationId" : "route23", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -111,11 +111,11 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route62" + "x-camelContextId" : "camel-1", + "x-routeId" : "route23" }, "delete" : { - "operationId" : "route63", + "operationId" : "route24", "produces" : [ "application/json" ], "parameters" : [ { "name" : "name", @@ -126,13 +126,13 @@ "responses" : { "200" : { } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route63" + "x-camelContextId" : "camel-1", + "x-routeId" : "route24" } }, "/v2/dictionary/{name}/elements/{shortName}" : { "delete" : { - "operationId" : "route64", + "operationId" : "route25", "produces" : [ "application/json" ], "parameters" : [ { "name" : "name", @@ -148,13 +148,13 @@ "responses" : { "200" : { } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route64" + "x-camelContextId" : "camel-1", + "x-routeId" : "route25" } }, "/v2/dictionary/secondary/names" : { "get" : { - "operationId" : "route59", + "operationId" : "route20", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -167,13 +167,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route59" + "x-camelContextId" : "camel-1", + "x-routeId" : "route20" } }, "/v2/loop/{loopName}" : { "get" : { - "operationId" : "route41", + "operationId" : "route3", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -189,13 +189,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route41" + "x-camelContextId" : "camel-1", + "x-routeId" : "route3" } }, "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : { "put" : { - "operationId" : "route55", + "operationId" : "route16", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -221,13 +221,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route55" + "x-camelContextId" : "camel-1", + "x-routeId" : "route16" } }, "/v2/loop/create/{loopName}?templateName={templateName}" : { "post" : { - "operationId" : "route57", + "operationId" : "route18", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -244,13 +244,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route57" + "x-camelContextId" : "camel-1", + "x-routeId" : "route18" } }, "/v2/loop/delete/{loopName}" : { "put" : { - "operationId" : "route53", + "operationId" : "route14", "parameters" : [ { "name" : "loopName", "in" : "path", @@ -260,13 +260,13 @@ "responses" : { "200" : { } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route53" + "x-camelContextId" : "camel-1", + "x-routeId" : "route14" } }, "/v2/loop/deploy/{loopName}" : { "put" : { - "operationId" : "route46", + "operationId" : "route7", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -282,13 +282,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route46" + "x-camelContextId" : "camel-1", + "x-routeId" : "route7" } }, "/v2/loop/getAllNames" : { "get" : { - "operationId" : "route40", + "operationId" : "route2", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -301,13 +301,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route40" + "x-camelContextId" : "camel-1", + "x-routeId" : "route2" } }, "/v2/loop/getstatus/{loopName}" : { "get" : { - "operationId" : "route54", + "operationId" : "route15", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -323,13 +323,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route54" + "x-camelContextId" : "camel-1", + "x-routeId" : "route15" } }, "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : { "put" : { - "operationId" : "route47", + "operationId" : "route8", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -350,13 +350,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route47" + "x-camelContextId" : "camel-1", + "x-routeId" : "route8" } }, "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : { "put" : { - "operationId" : "route48", + "operationId" : "route9", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -377,13 +377,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route48" + "x-camelContextId" : "camel-1", + "x-routeId" : "route9" } }, "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : { "put" : { - "operationId" : "route56", + "operationId" : "route17", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -414,13 +414,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route56" + "x-camelContextId" : "camel-1", + "x-routeId" : "route17" } }, "/v2/loop/restart/{loopName}" : { "put" : { - "operationId" : "route51", + "operationId" : "route12", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -436,13 +436,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route51" + "x-camelContextId" : "camel-1", + "x-routeId" : "route12" } }, "/v2/loop/stop/{loopName}" : { "put" : { - "operationId" : "route50", + "operationId" : "route11", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -458,13 +458,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route50" + "x-camelContextId" : "camel-1", + "x-routeId" : "route11" } }, "/v2/loop/submit/{loopName}" : { "put" : { - "operationId" : "route52", + "operationId" : "route13", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -480,35 +480,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route52" - } - }, - "/v2/loop/svgRepresentation/{loopName}" : { - "get" : { - "operationId" : "route42", - "produces" : [ "application/xml" ], - "parameters" : [ { - "name" : "loopName", - "in" : "path", - "required" : true, - "type" : "string" - } ], - "responses" : { - "200" : { - "description" : "Output type", - "schema" : { - "type" : "string" - } - } - }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route42" + "x-camelContextId" : "camel-1", + "x-routeId" : "route13" } }, "/v2/loop/undeploy/{loopName}" : { "put" : { - "operationId" : "route49", + "operationId" : "route10", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -524,13 +502,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route49" + "x-camelContextId" : "camel-1", + "x-routeId" : "route10" } }, "/v2/loop/updateGlobalProperties/{loopName}" : { "post" : { - "operationId" : "route43", + "operationId" : "route4", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -554,13 +532,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route43" + "x-camelContextId" : "camel-1", + "x-routeId" : "route4" } }, "/v2/loop/updateMicroservicePolicy/{loopName}" : { "post" : { - "operationId" : "route45", + "operationId" : "route6", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -584,13 +562,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route45" + "x-camelContextId" : "camel-1", + "x-routeId" : "route6" } }, "/v2/loop/updateOperationalPolicies/{loopName}" : { "post" : { - "operationId" : "route44", + "operationId" : "route5", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -614,13 +592,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route44" + "x-camelContextId" : "camel-1", + "x-routeId" : "route5" } }, "/v2/policyToscaModels" : { "get" : { - "operationId" : "route65", + "operationId" : "route26", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -630,11 +608,11 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route65" + "x-camelContextId" : "camel-1", + "x-routeId" : "route26" }, "post" : { - "operationId" : "route68", + "operationId" : "route29", "consumes" : [ "plain/text" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -653,13 +631,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route68" + "x-camelContextId" : "camel-1", + "x-routeId" : "route29" } }, "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : { "get" : { - "operationId" : "route66", + "operationId" : "route27", "produces" : [ "application/json" ], "parameters" : [ { "name" : "policyModelType", @@ -680,11 +658,11 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route66" + "x-camelContextId" : "camel-1", + "x-routeId" : "route27" }, "put" : { - "operationId" : "route69", + "operationId" : "route30", "consumes" : [ "plain/text" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -713,13 +691,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route69" + "x-camelContextId" : "camel-1", + "x-routeId" : "route30" } }, "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : { "get" : { - "operationId" : "route67", + "operationId" : "route28", "produces" : [ "application/json" ], "parameters" : [ { "name" : "policyModelType", @@ -740,13 +718,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route67" + "x-camelContextId" : "camel-1", + "x-routeId" : "route28" } }, "/v2/templates" : { "get" : { - "operationId" : "route70", + "operationId" : "route31", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -756,13 +734,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route70" + "x-camelContextId" : "camel-1", + "x-routeId" : "route31" } }, "/v2/templates/{templateName}" : { "get" : { - "operationId" : "route71", + "operationId" : "route32", "produces" : [ "application/json" ], "parameters" : [ { "name" : "templateName", @@ -778,35 +756,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route71" - } - }, - "/v2/templates/{templateName}/svgRepresentation" : { - "get" : { - "operationId" : "route73", - "produces" : [ "application/xml" ], - "parameters" : [ { - "name" : "templateName", - "in" : "path", - "required" : true, - "type" : "string" - } ], - "responses" : { - "200" : { - "description" : "Output type", - "schema" : { - "type" : "string" - } - } - }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route73" + "x-camelContextId" : "camel-1", + "x-routeId" : "route32" } }, "/v2/templates/names" : { "get" : { - "operationId" : "route72", + "operationId" : "route33", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -819,13 +775,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route72" + "x-camelContextId" : "camel-1", + "x-routeId" : "route33" } }, "/v1/healthcheck" : { "get" : { - "operationId" : "route75", + "operationId" : "route35", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -835,19 +791,19 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route75" + "x-camelContextId" : "camel-1", + "x-routeId" : "route35" } }, "/v1/user/getUser" : { "get" : { - "operationId" : "route76", + "operationId" : "route36", "produces" : [ "text/plain" ], "responses" : { "200" : { } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route76" + "x-camelContextId" : "camel-1", + "x-routeId" : "route36" } } }, @@ -980,9 +936,6 @@ "dcaeDeploymentStatusUrl" : { "type" : "string" }, - "svgRepresentation" : { - "type" : "string" - }, "globalPropertiesJson" : { "$ref" : "#/definitions/JsonObject" }, @@ -1032,15 +985,26 @@ "JsonPrimitive" : { "type" : "object", "properties" : { - "boolean" : { - "type" : "boolean" - }, "asBoolean" : { "type" : "boolean" }, "number" : { "type" : "boolean" }, + "asString" : { + "type" : "string" + }, + "asNumber" : { + "$ref" : "#/definitions/Number" + }, + "asDouble" : { + "type" : "number", + "format" : "double" + }, + "asFloat" : { + "type" : "number", + "format" : "float" + }, "asLong" : { "type" : "integer", "format" : "int64" @@ -1066,21 +1030,22 @@ "type" : "integer", "format" : "int32" }, - "asNumber" : { - "$ref" : "#/definitions/Number" + "boolean" : { + "type" : "boolean" }, - "asString" : { - "type" : "string" + "string" : { + "type" : "boolean" }, - "asDouble" : { - "type" : "number", - "format" : "double" + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" }, - "asFloat" : { - "type" : "number", - "format" : "float" + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" }, - "string" : { + "asJsonNull" : { + "$ref" : "#/definitions/JsonNull" + }, + "jsonArray" : { "type" : "boolean" }, "jsonObject" : { @@ -1092,20 +1057,8 @@ "jsonNull" : { "type" : "boolean" }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, "asJsonArray" : { "$ref" : "#/definitions/JsonArray" - }, - "jsonArray" : { - "type" : "boolean" - }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "asJsonNull" : { - "$ref" : "#/definitions/JsonNull" } } }, @@ -1187,6 +1140,29 @@ "asBoolean" : { "type" : "boolean" }, + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" + }, + "asString" : { + "type" : "string" + }, + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, + "asJsonNull" : { + "$ref" : "#/definitions/JsonNull" + }, + "asNumber" : { + "$ref" : "#/definitions/Number" + }, + "asDouble" : { + "type" : "number", + "format" : "double" + }, + "asFloat" : { + "type" : "number", + "format" : "float" + }, "asLong" : { "type" : "integer", "format" : "int64" @@ -1212,6 +1188,9 @@ "type" : "integer", "format" : "int32" }, + "jsonArray" : { + "type" : "boolean" + }, "jsonObject" : { "type" : "boolean" }, @@ -1221,34 +1200,8 @@ "jsonNull" : { "type" : "boolean" }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, "asJsonArray" : { "$ref" : "#/definitions/JsonArray" - }, - "jsonArray" : { - "type" : "boolean" - }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "asJsonNull" : { - "$ref" : "#/definitions/JsonNull" - }, - "asNumber" : { - "$ref" : "#/definitions/Number" - }, - "asString" : { - "type" : "string" - }, - "asDouble" : { - "type" : "number", - "format" : "double" - }, - "asFloat" : { - "type" : "number", - "format" : "float" } }, "x-className" : { @@ -1388,6 +1341,29 @@ "asBoolean" : { "type" : "boolean" }, + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" + }, + "asString" : { + "type" : "string" + }, + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, + "asJsonNull" : { + "$ref" : "#/definitions/JsonNull" + }, + "asNumber" : { + "$ref" : "#/definitions/Number" + }, + "asDouble" : { + "type" : "number", + "format" : "double" + }, + "asFloat" : { + "type" : "number", + "format" : "float" + }, "asLong" : { "type" : "integer", "format" : "int64" @@ -1413,6 +1389,9 @@ "type" : "integer", "format" : "int32" }, + "jsonArray" : { + "type" : "boolean" + }, "jsonObject" : { "type" : "boolean" }, @@ -1422,27 +1401,23 @@ "jsonNull" : { "type" : "boolean" }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, "asJsonArray" : { "$ref" : "#/definitions/JsonArray" - }, - "jsonArray" : { + } + } + }, + "JsonArray" : { + "type" : "object", + "properties" : { + "asBoolean" : { "type" : "boolean" }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "asJsonNull" : { - "$ref" : "#/definitions/JsonNull" + "asString" : { + "type" : "string" }, "asNumber" : { "$ref" : "#/definitions/Number" }, - "asString" : { - "type" : "string" - }, "asDouble" : { "type" : "number", "format" : "double" @@ -1450,14 +1425,6 @@ "asFloat" : { "type" : "number", "format" : "float" - } - } - }, - "JsonArray" : { - "type" : "object", - "properties" : { - "asBoolean" : { - "type" : "boolean" }, "asLong" : { "type" : "integer", @@ -1484,19 +1451,17 @@ "type" : "integer", "format" : "int32" }, - "asNumber" : { - "$ref" : "#/definitions/Number" + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" }, - "asString" : { - "type" : "string" + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" }, - "asDouble" : { - "type" : "number", - "format" : "double" + "asJsonNull" : { + "$ref" : "#/definitions/JsonNull" }, - "asFloat" : { - "type" : "number", - "format" : "float" + "jsonArray" : { + "type" : "boolean" }, "jsonObject" : { "type" : "boolean" @@ -1507,20 +1472,8 @@ "jsonNull" : { "type" : "boolean" }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, "asJsonArray" : { "$ref" : "#/definitions/JsonArray" - }, - "jsonArray" : { - "type" : "boolean" - }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "asJsonNull" : { - "$ref" : "#/definitions/JsonNull" } }, "x-className" : { @@ -1594,9 +1547,6 @@ "blueprint" : { "type" : "string" }, - "svgRepresentation" : { - "type" : "string" - }, "loopElementModelsUsed" : { "type" : "array", "uniqueItems" : true,