X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fswagger%2Fswagger.json;h=64b43ab8c1e5db2824d4c40c1a205b048cfa42fa;hb=ae6a9829f0c572cb4789812ea65871132ec861fd;hp=ab7e827b617f72703ffd48d9d8db5639090e311c;hpb=5b410e6f81aaa11c65e6dd2c3b841eed21ee1c38;p=clamp.git diff --git a/docs/swagger/swagger.json b/docs/swagger/swagger.json index ab7e827b..64b43ab8 100644 --- a/docs/swagger/swagger.json +++ b/docs/swagger/swagger.json @@ -1,13 +1,156 @@ { "swagger" : "2.0", "info" : { - "version" : "4.1.2-SNAPSHOT", + "version" : "5.0.0-SNAPSHOT", "title" : "Clamp Rest API" }, - "host" : "localhost:38405", + "host" : "localhost:37295", "basePath" : "/restservices/clds/", "schemes" : [ "http" ], "paths" : { + "/v2/dictionary" : { + "get" : { + "operationId" : "route18", + "produces" : [ "application/json" ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/Dictionary" + } + } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : "route18" + }, + "put" : { + "operationId" : "route20", + "consumes" : [ "application/json" ], + "produces" : [ "application/json" ], + "parameters" : [ { + "in" : "body", + "name" : "body", + "required" : true, + "schema" : { + "$ref" : "#/definitions/Dictionary" + } + } ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/Dictionary" + } + } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : "route20" + } + }, + "/v2/dictionary/{dictionaryName}" : { + "get" : { + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "dictionaryName", + "in" : "path", + "required" : true, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/Dictionary" + } + } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : null + } + }, + "/v2/dictionary/{name}" : { + "put" : { + "consumes" : [ "application/json" ], + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "name", + "in" : "path", + "required" : true, + "type" : "string" + }, { + "in" : "body", + "name" : "body", + "required" : true, + "schema" : { + "$ref" : "#/definitions/Dictionary" + } + } ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/Dictionary" + } + } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : null + }, + "delete" : { + "operationId" : "route22", + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "name", + "in" : "path", + "required" : true, + "type" : "string" + } ], + "responses" : { + "200" : { } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : "route22" + } + }, + "/v2/dictionary/{name}/elements/{shortName}" : { + "delete" : { + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "name", + "in" : "path", + "required" : true, + "type" : "string" + }, { + "name" : "shortName", + "in" : "path", + "required" : true, + "type" : "string" + } ], + "responses" : { + "200" : { } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : null + } + }, + "/v2/dictionary/secondary/names" : { + "get" : { + "produces" : [ "application/json" ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "type" : "array", + "items" : { + "type" : "string" + } + } + } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : null + } + }, "/v2/loop/{loopName}" : { "get" : { "operationId" : "route3", @@ -32,7 +175,7 @@ }, "/v2/loop/delete/{loopName}" : { "put" : { - "operationId" : "route13", + "operationId" : "route14", "parameters" : [ { "name" : "loopName", "in" : "path", @@ -43,7 +186,7 @@ "200" : { } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route13" + "x-routeId" : "route14" } }, "/v2/loop/deploy/{loopName}" : { @@ -89,7 +232,7 @@ }, "/v2/loop/getstatus/{loopName}" : { "get" : { - "operationId" : "route14", + "operationId" : "route15", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -106,12 +249,34 @@ } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route14" + "x-routeId" : "route15" + } + }, + "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : { + "put" : { + "operationId" : "route9", + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "loopName", + "in" : "path", + "required" : true, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/Loop" + } + } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : "route9" } }, "/v2/loop/restart/{loopName}" : { "put" : { - "operationId" : "route11", + "operationId" : "route12", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -128,12 +293,12 @@ } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route11" + "x-routeId" : "route12" } }, "/v2/loop/stop/{loopName}" : { "put" : { - "operationId" : "route10", + "operationId" : "route11", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -150,12 +315,12 @@ } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route10" + "x-routeId" : "route11" } }, "/v2/loop/submit/{loopName}" : { "put" : { - "operationId" : "route12", + "operationId" : "route13", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -172,7 +337,7 @@ } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route12" + "x-routeId" : "route13" } }, "/v2/loop/svgRepresentation/{loopName}" : { @@ -199,7 +364,7 @@ }, "/v2/loop/undeploy/{loopName}" : { "put" : { - "operationId" : "route9", + "operationId" : "route10", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -216,7 +381,7 @@ } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route9" + "x-routeId" : "route10" } }, "/v2/loop/updateGlobalProperties/{loopName}" : { @@ -309,64 +474,281 @@ "x-routeId" : "route6" } }, - "/v1/clds/cldsInfo" : { + "/v2/policyToscaModels" : { "get" : { - "operationId" : "route15", + "operationId" : "route25", "produces" : [ "application/json" ], "responses" : { "200" : { "description" : "Output type", "schema" : { - "$ref" : "#/definitions/CldsInfo" + "$ref" : "#/definitions/PolicyModel" } } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route15" + "x-routeId" : "route25" } }, - "/v1/healthcheck" : { + "/v2/policyToscaModels/{policyModelType}" : { "get" : { - "operationId" : "route16", "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "policyModelType", + "in" : "path", + "required" : true, + "type" : "string" + } ], "responses" : { "200" : { "description" : "Output type", "schema" : { - "$ref" : "#/definitions/CldsHealthCheck" + "$ref" : "#/definitions/PolicyModel" + } + } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : null + }, + "put" : { + "operationId" : "route26", + "consumes" : [ "plain/text" ], + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "policyModelType", + "in" : "path", + "required" : true, + "type" : "string" + }, { + "in" : "body", + "name" : "body", + "required" : true, + "schema" : { + "type" : "string" + } + } ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/PolicyModel" } } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route16" + "x-routeId" : "route26" } }, - "/v1/user/getUser" : { + "/v2/policyToscaModels/yaml/{policyModelType}" : { "get" : { - "operationId" : "route17", - "produces" : [ "text/plain" ], + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "policyModelType", + "in" : "path", + "required" : true, + "type" : "string" + } ], "responses" : { - "200" : { } + "200" : { + "description" : "Output type", + "schema" : { + "type" : "string" + } + } }, "x-camelContextId" : "camel-1", - "x-routeId" : "route17" + "x-routeId" : null } - } - }, - "definitions" : { - "Loop" : { - "type" : "object", - "properties" : { - "name" : { - "type" : "string" + }, + "/v2/templates" : { + "get" : { + "operationId" : "route29", + "produces" : [ "application/json" ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/LoopTemplate" + } + } }, - "dcaeDeploymentId" : { + "x-camelContextId" : "camel-1", + "x-routeId" : "route29" + } + }, + "/v2/templates/{templateName}" : { + "get" : { + "produces" : [ "application/json" ], + "parameters" : [ { + "name" : "templateName", + "in" : "path", + "required" : true, "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/LoopTemplate" + } + } }, - "dcaeDeploymentStatusUrl" : { - "type" : "string" + "x-camelContextId" : "camel-1", + "x-routeId" : null + } + }, + "/v2/templates/names" : { + "get" : { + "produces" : [ "application/json" ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "type" : "array", + "items" : { + "type" : "string" + } + } + } }, - "dcaeBlueprintId" : { + "x-camelContextId" : "camel-1", + "x-routeId" : null + } + }, + "/v1/healthcheck" : { + "get" : { + "operationId" : "route30", + "produces" : [ "application/json" ], + "responses" : { + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/CldsHealthCheck" + } + } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : "route30" + } + }, + "/v1/user/getUser" : { + "get" : { + "operationId" : "route31", + "produces" : [ "text/plain" ], + "responses" : { + "200" : { } + }, + "x-camelContextId" : "camel-1", + "x-routeId" : "route31" + } + } + }, + "definitions" : { + "Dictionary" : { + "type" : "object", + "properties" : { + "createdDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedBy" : { + "type" : "string" + }, + "createdBy" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "secondLevelDictionary" : { + "type" : "integer", + "format" : "int32" + }, + "subDictionaryType" : { + "type" : "string" + }, + "dictionaryElements" : { + "type" : "array", + "uniqueItems" : true, + "items" : { + "$ref" : "#/definitions/DictionaryElement" + } + } + }, + "x-className" : { + "type" : "string", + "format" : "org.onap.clamp.tosca.Dictionary" + } + }, + "DictionaryElement" : { + "type" : "object", + "properties" : { + "createdDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedBy" : { + "type" : "string" + }, + "createdBy" : { + "type" : "string" + }, + "shortName" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "description" : { + "type" : "string" + }, + "type" : { + "type" : "string" + }, + "subDictionary" : { + "type" : "string" + }, + "usedByDictionaries" : { + "type" : "array", + "uniqueItems" : true, + "items" : { + "$ref" : "#/definitions/Dictionary" + } + } + } + }, + "Loop" : { + "type" : "object", + "properties" : { + "createdDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedBy" : { + "type" : "string" + }, + "createdBy" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "dcaeDeploymentId" : { + "type" : "string" + }, + "dcaeDeploymentStatusUrl" : { "type" : "string" }, "svgRepresentation" : { @@ -375,11 +757,8 @@ "globalPropertiesJson" : { "$ref" : "#/definitions/JsonObject" }, - "modelPropertiesJson" : { - "$ref" : "#/definitions/JsonObject" - }, - "blueprint" : { - "type" : "string" + "modelService" : { + "$ref" : "#/definitions/Service" }, "lastComputedState" : { "type" : "string", @@ -411,6 +790,9 @@ "items" : { "$ref" : "#/definitions/LoopLog" } + }, + "loopTemplate" : { + "$ref" : "#/definitions/LoopTemplate" } }, "x-className" : { @@ -418,18 +800,21 @@ "format" : "org.onap.clamp.loop.Loop" } }, - "JsonArray" : { + "JsonPrimitive" : { "type" : "object", "properties" : { + "asBoolean" : { + "type" : "boolean" + }, + "number" : { + "type" : "boolean" + }, "asString" : { "type" : "string" }, "asNumber" : { "$ref" : "#/definitions/Number" }, - "asBoolean" : { - "type" : "boolean" - }, "asDouble" : { "type" : "number", "format" : "double" @@ -463,83 +848,143 @@ "type" : "integer", "format" : "int32" }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" + "boolean" : { + "type" : "boolean" }, - "jsonPrimitive" : { + "string" : { "type" : "boolean" }, "asJsonArray" : { "$ref" : "#/definitions/JsonArray" }, + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, + "jsonArray" : { + "type" : "boolean" + }, "jsonObject" : { "type" : "boolean" }, + "jsonPrimitive" : { + "type" : "boolean" + }, "jsonNull" : { "type" : "boolean" }, + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" + }, "asJsonNull" : { "$ref" : "#/definitions/JsonNull" - }, - "jsonArray" : { - "type" : "boolean" } - }, - "x-className" : { - "type" : "string", - "format" : "com.google.gson.JsonArray" } }, - "LoopLog" : { + "MicroServicePolicy" : { "type" : "object", "properties" : { - "id" : { + "createdDate" : { "type" : "integer", "format" : "int64" }, - "logType" : { - "type" : "string", - "enum" : [ "INFO", "WARNING", "ERROR" ] + "updatedDate" : { + "type" : "integer", + "format" : "int64" }, - "logComponent" : { + "updatedBy" : { "type" : "string" }, - "message" : { + "createdBy" : { "type" : "string" }, - "loop" : { - "$ref" : "#/definitions/Loop" + "jsonRepresentation" : { + "$ref" : "#/definitions/JsonObject" }, - "logInstant" : { - "type" : "integer", - "format" : "int64" + "configurationsJson" : { + "$ref" : "#/definitions/JsonObject" + }, + "loopElementModel" : { + "$ref" : "#/definitions/LoopElementModel" + }, + "pdpGroup" : { + "type" : "string" + }, + "pdpSubGroup" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "context" : { + "type" : "string" + }, + "deviceTypeScope" : { + "type" : "string" + }, + "shared" : { + "type" : "boolean" + }, + "usedByLoops" : { + "type" : "array", + "uniqueItems" : true, + "items" : { + "$ref" : "#/definitions/Loop" + } + }, + "dcaeDeploymentId" : { + "type" : "string" + }, + "dcaeDeploymentStatusUrl" : { + "type" : "string" + }, + "dcaeBlueprintId" : { + "type" : "string" + }, + "policyModel" : { + "$ref" : "#/definitions/PolicyModel" } + }, + "x-className" : { + "type" : "string", + "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy" } }, - "Number" : { - "type" : "object" - }, - "JsonPrimitive" : { + "JsonObject" : { "type" : "object", "properties" : { - "boolean" : { - "type" : "boolean" - }, - "number" : { + "asBoolean" : { "type" : "boolean" }, "asString" : { "type" : "string" }, - "asNumber" : { - "$ref" : "#/definitions/Number" + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" }, - "asBoolean" : { + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, + "jsonArray" : { + "type" : "boolean" + }, + "jsonObject" : { + "type" : "boolean" + }, + "jsonPrimitive" : { + "type" : "boolean" + }, + "jsonNull" : { "type" : "boolean" }, + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" + }, + "asJsonNull" : { + "$ref" : "#/definitions/JsonNull" + }, + "asNumber" : { + "$ref" : "#/definitions/Number" + }, "asDouble" : { "type" : "number", "format" : "double" @@ -572,105 +1017,171 @@ "asShort" : { "type" : "integer", "format" : "int32" + } + }, + "x-className" : { + "type" : "string", + "format" : "com.google.gson.JsonObject" + } + }, + "PolicyModel" : { + "type" : "object", + "properties" : { + "createdDate" : { + "type" : "integer", + "format" : "int64" }, - "string" : { - "type" : "boolean" - }, - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, - "jsonPrimitive" : { - "type" : "boolean" - }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" + "updatedDate" : { + "type" : "integer", + "format" : "int64" }, - "jsonObject" : { - "type" : "boolean" + "updatedBy" : { + "type" : "string" }, - "jsonNull" : { - "type" : "boolean" + "createdBy" : { + "type" : "string" }, - "asJsonNull" : { - "$ref" : "#/definitions/JsonNull" + "policyModelType" : { + "type" : "string" }, - "jsonArray" : { - "type" : "boolean" + "version" : { + "type" : "string" + }, + "policyModelTosca" : { + "type" : "string" + }, + "policyAcronym" : { + "type" : "string" + }, + "usedByElementModels" : { + "type" : "array", + "uniqueItems" : true, + "items" : { + "$ref" : "#/definitions/LoopElementModel" + } + }, + "policyPdpGroup" : { + "$ref" : "#/definitions/JsonObject" } + }, + "x-className" : { + "type" : "string", + "format" : "org.onap.clamp.loop.template.PolicyModel" } }, - "MicroServicePolicy" : { + "Service" : { "type" : "object", "properties" : { + "serviceUuid" : { + "type" : "string" + }, "name" : { "type" : "string" }, - "modelType" : { + "version" : { "type" : "string" }, - "properties" : { + "serviceDetails" : { "$ref" : "#/definitions/JsonObject" }, - "shared" : { - "type" : "boolean" + "resourceDetails" : { + "$ref" : "#/definitions/JsonObject" + } + } + }, + "LoopTemplateLoopElementModel" : { + "type" : "object", + "properties" : { + "loopTemplate" : { + "$ref" : "#/definitions/LoopTemplate" + }, + "loopElementModel" : { + "$ref" : "#/definitions/LoopElementModel" + }, + "flowOrder" : { + "type" : "integer", + "format" : "int32" + } + } + }, + "OperationalPolicy" : { + "type" : "object", + "properties" : { + "createdDate" : { + "type" : "integer", + "format" : "int64" }, - "policyTosca" : { + "updatedDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedBy" : { + "type" : "string" + }, + "createdBy" : { "type" : "string" }, "jsonRepresentation" : { "$ref" : "#/definitions/JsonObject" }, - "usedByLoops" : { - "type" : "array", - "uniqueItems" : true, - "items" : { - "$ref" : "#/definitions/Loop" - } + "configurationsJson" : { + "$ref" : "#/definitions/JsonObject" + }, + "loopElementModel" : { + "$ref" : "#/definitions/LoopElementModel" + }, + "pdpGroup" : { + "type" : "string" + }, + "pdpSubGroup" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "loop" : { + "$ref" : "#/definitions/Loop" + }, + "policyModel" : { + "$ref" : "#/definitions/PolicyModel" } - }, - "x-className" : { - "type" : "string", - "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy" } }, - "JsonObject" : { + "JsonNull" : { "type" : "object", "properties" : { - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" + "asBoolean" : { + "type" : "boolean" }, "asString" : { "type" : "string" }, + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" + }, "asJsonObject" : { "$ref" : "#/definitions/JsonObject" }, - "jsonPrimitive" : { + "jsonArray" : { "type" : "boolean" }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" - }, "jsonObject" : { "type" : "boolean" }, - "asNumber" : { - "$ref" : "#/definitions/Number" + "jsonPrimitive" : { + "type" : "boolean" }, "jsonNull" : { "type" : "boolean" }, + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" + }, "asJsonNull" : { "$ref" : "#/definitions/JsonNull" }, - "jsonArray" : { - "type" : "boolean" - }, - "asBoolean" : { - "type" : "boolean" + "asNumber" : { + "$ref" : "#/definitions/Number" }, "asDouble" : { "type" : "number", @@ -705,157 +1216,240 @@ "type" : "integer", "format" : "int32" } - }, - "x-className" : { - "type" : "string", - "format" : "com.google.gson.JsonObject" } }, - "ExternalComponent" : { + "JsonArray" : { "type" : "object", "properties" : { - "state" : { - "$ref" : "#/definitions/ExternalComponentState" + "asBoolean" : { + "type" : "boolean" }, - "componentName" : { + "asString" : { "type" : "string" + }, + "asNumber" : { + "$ref" : "#/definitions/Number" + }, + "asDouble" : { + "type" : "number", + "format" : "double" + }, + "asFloat" : { + "type" : "number", + "format" : "float" + }, + "asLong" : { + "type" : "integer", + "format" : "int64" + }, + "asInt" : { + "type" : "integer", + "format" : "int32" + }, + "asByte" : { + "type" : "string", + "format" : "byte" + }, + "asCharacter" : { + "type" : "string" + }, + "asBigDecimal" : { + "type" : "number" + }, + "asBigInteger" : { + "type" : "integer" + }, + "asShort" : { + "type" : "integer", + "format" : "int32" + }, + "asJsonArray" : { + "$ref" : "#/definitions/JsonArray" + }, + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, + "jsonArray" : { + "type" : "boolean" + }, + "jsonObject" : { + "type" : "boolean" + }, + "jsonPrimitive" : { + "type" : "boolean" + }, + "jsonNull" : { + "type" : "boolean" + }, + "asJsonPrimitive" : { + "$ref" : "#/definitions/JsonPrimitive" + }, + "asJsonNull" : { + "$ref" : "#/definitions/JsonNull" } + }, + "x-className" : { + "type" : "string", + "format" : "com.google.gson.JsonArray" } }, - "OperationalPolicy" : { + "LoopLog" : { "type" : "object", "properties" : { - "name" : { + "id" : { + "type" : "integer", + "format" : "int64" + }, + "logType" : { + "type" : "string", + "enum" : [ "INFO", "WARNING", "ERROR" ] + }, + "logComponent" : { "type" : "string" }, - "configurationsJson" : { - "$ref" : "#/definitions/JsonObject" + "message" : { + "type" : "string" }, "loop" : { "$ref" : "#/definitions/Loop" }, - "jsonRepresentation" : { - "$ref" : "#/definitions/JsonObject" + "logInstant" : { + "type" : "integer", + "format" : "int64" } } }, - "ExternalComponentState" : { + "Number" : { + "type" : "object" + }, + "ExternalComponent" : { "type" : "object", "properties" : { - "stateName" : { - "type" : "string" + "state" : { + "$ref" : "#/definitions/ExternalComponentState" }, - "description" : { + "componentName" : { "type" : "string" - }, - "level" : { - "type" : "integer", - "format" : "int32" } } }, - "JsonNull" : { + "LoopTemplate" : { "type" : "object", "properties" : { - "asJsonPrimitive" : { - "$ref" : "#/definitions/JsonPrimitive" - }, - "asString" : { - "type" : "string" - }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, - "jsonPrimitive" : { - "type" : "boolean" - }, - "asJsonArray" : { - "$ref" : "#/definitions/JsonArray" + "createdDate" : { + "type" : "integer", + "format" : "int64" }, - "jsonObject" : { - "type" : "boolean" + "updatedDate" : { + "type" : "integer", + "format" : "int64" }, - "asNumber" : { - "$ref" : "#/definitions/Number" + "updatedBy" : { + "type" : "string" }, - "jsonNull" : { - "type" : "boolean" + "createdBy" : { + "type" : "string" }, - "asJsonNull" : { - "$ref" : "#/definitions/JsonNull" + "name" : { + "type" : "string" }, - "jsonArray" : { - "type" : "boolean" + "dcaeBlueprintId" : { + "type" : "string" }, - "asBoolean" : { - "type" : "boolean" + "blueprint" : { + "type" : "string" }, - "asDouble" : { - "type" : "number", - "format" : "double" + "svgRepresentation" : { + "type" : "string" }, - "asFloat" : { - "type" : "number", - "format" : "float" + "loopElementModelsUsed" : { + "type" : "array", + "uniqueItems" : true, + "items" : { + "$ref" : "#/definitions/LoopTemplateLoopElementModel" + } }, - "asLong" : { - "type" : "integer", - "format" : "int64" + "modelService" : { + "$ref" : "#/definitions/Service" }, - "asInt" : { + "maximumInstancesAllowed" : { "type" : "integer", "format" : "int32" }, - "asByte" : { - "type" : "string", - "format" : "byte" + "uniqueBlueprint" : { + "type" : "boolean" }, - "asCharacter" : { + "allowedLoopType" : { + "type" : "string", + "enum" : [ "OPEN", "CLOSED", "HYBRID" ] + } + }, + "x-className" : { + "type" : "string", + "format" : "org.onap.clamp.loop.template.LoopTemplate" + } + }, + "ExternalComponentState" : { + "type" : "object", + "properties" : { + "stateName" : { "type" : "string" }, - "asBigDecimal" : { - "type" : "number" - }, - "asBigInteger" : { - "type" : "integer" + "description" : { + "type" : "string" }, - "asShort" : { + "level" : { "type" : "integer", "format" : "int32" } } }, - "CldsInfo" : { + "LoopElementModel" : { "type" : "object", "properties" : { - "userName" : { + "createdDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedDate" : { + "type" : "integer", + "format" : "int64" + }, + "updatedBy" : { "type" : "string" }, - "cldsVersion" : { + "createdBy" : { "type" : "string" }, - "permissionReadCl" : { - "type" : "boolean" + "name" : { + "type" : "string" }, - "permissionUpdateCl" : { - "type" : "boolean" + "dcaeBlueprintId" : { + "type" : "string" }, - "permissionReadTemplate" : { - "type" : "boolean" + "blueprint" : { + "type" : "string" }, - "permissionUpdateTemplate" : { - "type" : "boolean" + "loopElementType" : { + "type" : "string" }, - "permissionReadTosca" : { - "type" : "boolean" + "shortName" : { + "type" : "string" }, - "permissionUpdateTosca" : { - "type" : "boolean" + "policyModels" : { + "type" : "array", + "uniqueItems" : true, + "items" : { + "$ref" : "#/definitions/PolicyModel" + } + }, + "usedByLoopTemplates" : { + "type" : "array", + "uniqueItems" : true, + "items" : { + "$ref" : "#/definitions/LoopTemplateLoopElementModel" + } } - }, - "x-className" : { - "type" : "string", - "format" : "org.onap.clamp.clds.model.CldsInfo" } }, "CldsHealthCheck" : {