X-Git-Url: https://gerrit.onap.org/r/gitweb?p=clamp.git;a=blobdiff_plain;f=docs%2Fswagger%2Fswagger.json;h=c818ee24f4c5ea207d9a3b068dad00b237e6de78;hp=25b09a700396f4d7b368ec310c92512b24695c6c;hb=03d382d6be6ff6b98d2e2b391f2dd34081731cfe;hpb=cbd9d5262bc29f352732ff3d3f7fbf941e8d851f diff --git a/docs/swagger/swagger.json b/docs/swagger/swagger.json index 25b09a70..c818ee24 100644 --- a/docs/swagger/swagger.json +++ b/docs/swagger/swagger.json @@ -4,13 +4,13 @@ "version" : "5.1.0-SNAPSHOT", "title" : "Clamp Rest API" }, - "host" : "localhost:37033", + "host" : "localhost:44217", "basePath" : "/restservices/clds/", "schemes" : [ "http" ], "paths" : { "/v2/clampInformation" : { "get" : { - "operationId" : "route112", + "operationId" : "route34", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -20,13 +20,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route112" + "x-camelContextId" : "camel-1", + "x-routeId" : "route34" } }, "/v2/dictionary" : { "get" : { - "operationId" : "route96", + "operationId" : "route19", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -36,11 +36,11 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route96" + "x-camelContextId" : "camel-1", + "x-routeId" : "route19" }, "put" : { - "operationId" : "route99", + "operationId" : "route22", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -59,13 +59,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route99" + "x-camelContextId" : "camel-1", + "x-routeId" : "route22" } }, "/v2/dictionary/{dictionaryName}" : { "get" : { - "operationId" : "route98", + "operationId" : "route21", "produces" : [ "application/json" ], "parameters" : [ { "name" : "dictionaryName", @@ -81,13 +81,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route98" + "x-camelContextId" : "camel-1", + "x-routeId" : "route21" } }, "/v2/dictionary/{name}" : { "put" : { - "operationId" : "route100", + "operationId" : "route23", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -111,11 +111,11 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route100" + "x-camelContextId" : "camel-1", + "x-routeId" : "route23" }, "delete" : { - "operationId" : "route101", + "operationId" : "route24", "produces" : [ "application/json" ], "parameters" : [ { "name" : "name", @@ -126,13 +126,13 @@ "responses" : { "200" : { } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route101" + "x-camelContextId" : "camel-1", + "x-routeId" : "route24" } }, "/v2/dictionary/{name}/elements/{shortName}" : { "delete" : { - "operationId" : "route102", + "operationId" : "route25", "produces" : [ "application/json" ], "parameters" : [ { "name" : "name", @@ -148,13 +148,13 @@ "responses" : { "200" : { } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route102" + "x-camelContextId" : "camel-1", + "x-routeId" : "route25" } }, "/v2/dictionary/secondary/names" : { "get" : { - "operationId" : "route97", + "operationId" : "route20", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -167,13 +167,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route97" + "x-camelContextId" : "camel-1", + "x-routeId" : "route20" } }, "/v2/loop/{loopName}" : { "get" : { - "operationId" : "route79", + "operationId" : "route3", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -189,13 +189,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route79" + "x-camelContextId" : "camel-1", + "x-routeId" : "route3" } }, "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : { "put" : { - "operationId" : "route93", + "operationId" : "route16", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -221,13 +221,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route93" + "x-camelContextId" : "camel-1", + "x-routeId" : "route16" } }, "/v2/loop/create/{loopName}?templateName={templateName}" : { "post" : { - "operationId" : "route95", + "operationId" : "route18", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -244,13 +244,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route95" + "x-camelContextId" : "camel-1", + "x-routeId" : "route18" } }, "/v2/loop/delete/{loopName}" : { "put" : { - "operationId" : "route91", + "operationId" : "route14", "parameters" : [ { "name" : "loopName", "in" : "path", @@ -260,13 +260,13 @@ "responses" : { "200" : { } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route91" + "x-camelContextId" : "camel-1", + "x-routeId" : "route14" } }, "/v2/loop/deploy/{loopName}" : { "put" : { - "operationId" : "route84", + "operationId" : "route7", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -282,13 +282,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route84" + "x-camelContextId" : "camel-1", + "x-routeId" : "route7" } }, "/v2/loop/getAllNames" : { "get" : { - "operationId" : "route78", + "operationId" : "route2", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -301,13 +301,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route78" + "x-camelContextId" : "camel-1", + "x-routeId" : "route2" } }, "/v2/loop/getstatus/{loopName}" : { "get" : { - "operationId" : "route92", + "operationId" : "route15", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -323,13 +323,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route92" + "x-camelContextId" : "camel-1", + "x-routeId" : "route15" } }, "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : { "put" : { - "operationId" : "route85", + "operationId" : "route8", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -350,13 +350,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route85" + "x-camelContextId" : "camel-1", + "x-routeId" : "route8" } }, "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : { "put" : { - "operationId" : "route86", + "operationId" : "route9", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -377,13 +377,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route86" + "x-camelContextId" : "camel-1", + "x-routeId" : "route9" } }, "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : { "put" : { - "operationId" : "route94", + "operationId" : "route17", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -414,13 +414,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route94" + "x-camelContextId" : "camel-1", + "x-routeId" : "route17" } }, "/v2/loop/restart/{loopName}" : { "put" : { - "operationId" : "route89", + "operationId" : "route12", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -436,13 +436,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route89" + "x-camelContextId" : "camel-1", + "x-routeId" : "route12" } }, "/v2/loop/stop/{loopName}" : { "put" : { - "operationId" : "route88", + "operationId" : "route11", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -458,13 +458,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route88" + "x-camelContextId" : "camel-1", + "x-routeId" : "route11" } }, "/v2/loop/submit/{loopName}" : { "put" : { - "operationId" : "route90", + "operationId" : "route13", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -480,35 +480,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route90" - } - }, - "/v2/loop/svgRepresentation/{loopName}" : { - "get" : { - "operationId" : "route80", - "produces" : [ "application/xml" ], - "parameters" : [ { - "name" : "loopName", - "in" : "path", - "required" : true, - "type" : "string" - } ], - "responses" : { - "200" : { - "description" : "Output type", - "schema" : { - "type" : "string" - } - } - }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route80" + "x-camelContextId" : "camel-1", + "x-routeId" : "route13" } }, "/v2/loop/undeploy/{loopName}" : { "put" : { - "operationId" : "route87", + "operationId" : "route10", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -524,13 +502,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route87" + "x-camelContextId" : "camel-1", + "x-routeId" : "route10" } }, "/v2/loop/updateGlobalProperties/{loopName}" : { "post" : { - "operationId" : "route81", + "operationId" : "route4", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -554,13 +532,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route81" + "x-camelContextId" : "camel-1", + "x-routeId" : "route4" } }, "/v2/loop/updateMicroservicePolicy/{loopName}" : { "post" : { - "operationId" : "route83", + "operationId" : "route6", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -584,13 +562,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route83" + "x-camelContextId" : "camel-1", + "x-routeId" : "route6" } }, "/v2/loop/updateOperationalPolicies/{loopName}" : { "post" : { - "operationId" : "route82", + "operationId" : "route5", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -614,13 +592,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route82" + "x-camelContextId" : "camel-1", + "x-routeId" : "route5" } }, "/v2/policyToscaModels" : { "get" : { - "operationId" : "route103", + "operationId" : "route26", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -630,11 +608,11 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route103" + "x-camelContextId" : "camel-1", + "x-routeId" : "route26" }, "post" : { - "operationId" : "route106", + "operationId" : "route29", "consumes" : [ "plain/text" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -653,13 +631,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route106" + "x-camelContextId" : "camel-1", + "x-routeId" : "route29" } }, "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : { "get" : { - "operationId" : "route104", + "operationId" : "route27", "produces" : [ "application/json" ], "parameters" : [ { "name" : "policyModelType", @@ -680,11 +658,11 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route104" + "x-camelContextId" : "camel-1", + "x-routeId" : "route27" }, "put" : { - "operationId" : "route107", + "operationId" : "route30", "consumes" : [ "plain/text" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -713,13 +691,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route107" + "x-camelContextId" : "camel-1", + "x-routeId" : "route30" } }, "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : { "get" : { - "operationId" : "route105", + "operationId" : "route28", "produces" : [ "application/json" ], "parameters" : [ { "name" : "policyModelType", @@ -740,13 +718,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route105" + "x-camelContextId" : "camel-1", + "x-routeId" : "route28" } }, "/v2/templates" : { "get" : { - "operationId" : "route108", + "operationId" : "route31", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -756,13 +734,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route108" + "x-camelContextId" : "camel-1", + "x-routeId" : "route31" } }, "/v2/templates/{templateName}" : { "get" : { - "operationId" : "route109", + "operationId" : "route32", "produces" : [ "application/json" ], "parameters" : [ { "name" : "templateName", @@ -778,35 +756,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route109" - } - }, - "/v2/templates/{templateName}/svgRepresentation" : { - "get" : { - "operationId" : "route111", - "produces" : [ "application/xml" ], - "parameters" : [ { - "name" : "templateName", - "in" : "path", - "required" : true, - "type" : "string" - } ], - "responses" : { - "200" : { - "description" : "Output type", - "schema" : { - "type" : "string" - } - } - }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route111" + "x-camelContextId" : "camel-1", + "x-routeId" : "route32" } }, "/v2/templates/names" : { "get" : { - "operationId" : "route110", + "operationId" : "route33", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -819,13 +775,13 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route110" + "x-camelContextId" : "camel-1", + "x-routeId" : "route33" } }, "/v1/healthcheck" : { "get" : { - "operationId" : "route113", + "operationId" : "route35", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -835,19 +791,19 @@ } } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route113" + "x-camelContextId" : "camel-1", + "x-routeId" : "route35" } }, "/v1/user/getUser" : { "get" : { - "operationId" : "route114", + "operationId" : "route36", "produces" : [ "text/plain" ], "responses" : { "200" : { } }, - "x-camelContextId" : "camel-3", - "x-routeId" : "route114" + "x-camelContextId" : "camel-1", + "x-routeId" : "route36" } } }, @@ -980,9 +936,6 @@ "dcaeDeploymentStatusUrl" : { "type" : "string" }, - "svgRepresentation" : { - "type" : "string" - }, "globalPropertiesJson" : { "$ref" : "#/definitions/JsonObject" }, @@ -1041,19 +994,6 @@ "asString" : { "type" : "string" }, - "asCharacter" : { - "type" : "string" - }, - "asBigDecimal" : { - "type" : "number" - }, - "asBigInteger" : { - "type" : "integer" - }, - "asShort" : { - "type" : "integer", - "format" : "int32" - }, "asNumber" : { "$ref" : "#/definitions/Number" }, @@ -1077,23 +1017,39 @@ "type" : "string", "format" : "byte" }, + "asCharacter" : { + "type" : "string" + }, + "asBigDecimal" : { + "type" : "number" + }, + "asBigInteger" : { + "type" : "integer" + }, + "asShort" : { + "type" : "integer", + "format" : "int32" + }, "boolean" : { "type" : "boolean" }, "string" : { "type" : "boolean" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" }, "asJsonObject" : { "$ref" : "#/definitions/JsonObject" }, + "asJsonNull" : { + "$ref" : "#/definitions/JsonNull" + }, "jsonArray" : { "type" : "boolean" }, - "asJsonNull" : { - "$ref" : "#/definitions/JsonNull" + "jsonObject" : { + "type" : "boolean" }, "jsonPrimitive" : { "type" : "boolean" @@ -1101,11 +1057,8 @@ "jsonNull" : { "type" : "boolean" }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "jsonObject" : { - "type" : "boolean" + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" } } }, @@ -1187,30 +1140,14 @@ "asBoolean" : { "type" : "boolean" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" - }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" }, "asString" : { "type" : "string" }, - "asCharacter" : { - "type" : "string" - }, - "asBigDecimal" : { - "type" : "number" - }, - "asBigInteger" : { - "type" : "integer" - }, - "asShort" : { - "type" : "integer", - "format" : "int32" - }, - "jsonArray" : { - "type" : "boolean" + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" }, "asJsonNull" : { "$ref" : "#/definitions/JsonNull" @@ -1218,15 +1155,6 @@ "asNumber" : { "$ref" : "#/definitions/Number" }, - "jsonPrimitive" : { - "type" : "boolean" - }, - "jsonNull" : { - "type" : "boolean" - }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, "asDouble" : { "type" : "number", "format" : "double" @@ -1247,8 +1175,33 @@ "type" : "string", "format" : "byte" }, + "asCharacter" : { + "type" : "string" + }, + "asBigDecimal" : { + "type" : "number" + }, + "asBigInteger" : { + "type" : "integer" + }, + "asShort" : { + "type" : "integer", + "format" : "int32" + }, + "jsonArray" : { + "type" : "boolean" + }, "jsonObject" : { "type" : "boolean" + }, + "jsonPrimitive" : { + "type" : "boolean" + }, + "jsonNull" : { + "type" : "boolean" + }, + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" } }, "x-className" : { @@ -1388,30 +1341,14 @@ "asBoolean" : { "type" : "boolean" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" - }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" }, "asString" : { "type" : "string" }, - "asCharacter" : { - "type" : "string" - }, - "asBigDecimal" : { - "type" : "number" - }, - "asBigInteger" : { - "type" : "integer" - }, - "asShort" : { - "type" : "integer", - "format" : "int32" - }, - "jsonArray" : { - "type" : "boolean" + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" }, "asJsonNull" : { "$ref" : "#/definitions/JsonNull" @@ -1419,15 +1356,6 @@ "asNumber" : { "$ref" : "#/definitions/Number" }, - "jsonPrimitive" : { - "type" : "boolean" - }, - "jsonNull" : { - "type" : "boolean" - }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, "asDouble" : { "type" : "number", "format" : "double" @@ -1448,8 +1376,33 @@ "type" : "string", "format" : "byte" }, + "asCharacter" : { + "type" : "string" + }, + "asBigDecimal" : { + "type" : "number" + }, + "asBigInteger" : { + "type" : "integer" + }, + "asShort" : { + "type" : "integer", + "format" : "int32" + }, + "jsonArray" : { + "type" : "boolean" + }, "jsonObject" : { "type" : "boolean" + }, + "jsonPrimitive" : { + "type" : "boolean" + }, + "jsonNull" : { + "type" : "boolean" + }, + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" } } }, @@ -1462,19 +1415,6 @@ "asString" : { "type" : "string" }, - "asCharacter" : { - "type" : "string" - }, - "asBigDecimal" : { - "type" : "number" - }, - "asBigInteger" : { - "type" : "integer" - }, - "asShort" : { - "type" : "integer", - "format" : "int32" - }, "asNumber" : { "$ref" : "#/definitions/Number" }, @@ -1498,17 +1438,33 @@ "type" : "string", "format" : "byte" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" + "asCharacter" : { + "type" : "string" + }, + "asBigDecimal" : { + "type" : "number" + }, + "asBigInteger" : { + "type" : "integer" + }, + "asShort" : { + "type" : "integer", + "format" : "int32" + }, + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" }, "asJsonObject" : { "$ref" : "#/definitions/JsonObject" }, + "asJsonNull" : { + "$ref" : "#/definitions/JsonNull" + }, "jsonArray" : { "type" : "boolean" }, - "asJsonNull" : { - "$ref" : "#/definitions/JsonNull" + "jsonObject" : { + "type" : "boolean" }, "jsonPrimitive" : { "type" : "boolean" @@ -1516,11 +1472,8 @@ "jsonNull" : { "type" : "boolean" }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "jsonObject" : { - "type" : "boolean" + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" } }, "x-className" : { @@ -1594,9 +1547,6 @@ "blueprint" : { "type" : "string" }, - "svgRepresentation" : { - "type" : "string" - }, "loopElementModelsUsed" : { "type" : "array", "uniqueItems" : true,