blob: 64b43ab8c1e5db2824d4c40c1a205b048cfa42fa [file] [log] [blame]
{
"swagger" : "2.0",
"info" : {
"version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
"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",
"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" : "route3"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
"operationId" : "route14",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : { }
},
"x-camelContextId" : "camel-1",
"x-routeId" : "route14"
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
"operationId" : "route8",
"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" : "route8"
}
},
"/v2/loop/getAllNames" : {
"get" : {
"operationId" : "route2",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"type" : "array",
"items" : {
"type" : "string"
}
}
}
},
"x-camelContextId" : "camel-1",
"x-routeId" : "route2"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
"operationId" : "route15",
"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" : "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" : "route12",
"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" : "route12"
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
"operationId" : "route11",
"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" : "route11"
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
"operationId" : "route13",
"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" : "route13"
}
},
"/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
"operationId" : "route4",
"produces" : [ "application/xml" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"type" : "string"
}
}
},
"x-camelContextId" : "camel-1",
"x-routeId" : "route4"
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
"operationId" : "route10",
"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" : "route10"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
"operationId" : "route5",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
}, {
"in" : "body",
"name" : "body",
"required" : true,
"schema" : {
"$ref" : "#/definitions/JsonObject"
}
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"$ref" : "#/definitions/Loop"
}
}
},
"x-camelContextId" : "camel-1",
"x-routeId" : "route5"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
"operationId" : "route7",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
}, {
"in" : "body",
"name" : "body",
"required" : true,
"schema" : {
"$ref" : "#/definitions/MicroServicePolicy"
}
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"$ref" : "#/definitions/MicroServicePolicy"
}
}
},
"x-camelContextId" : "camel-1",
"x-routeId" : "route7"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
"operationId" : "route6",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
}, {
"in" : "body",
"name" : "body",
"required" : true,
"schema" : {
"$ref" : "#/definitions/JsonArray"
}
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"$ref" : "#/definitions/Loop"
}
}
},
"x-camelContextId" : "camel-1",
"x-routeId" : "route6"
}
},
"/v2/policyToscaModels" : {
"get" : {
"operationId" : "route25",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"$ref" : "#/definitions/PolicyModel"
}
}
},
"x-camelContextId" : "camel-1",
"x-routeId" : "route25"
}
},
"/v2/policyToscaModels/{policyModelType}" : {
"get" : {
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "policyModelType",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"$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" : "route26"
}
},
"/v2/policyToscaModels/yaml/{policyModelType}" : {
"get" : {
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "policyModelType",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"type" : "string"
}
}
},
"x-camelContextId" : "camel-1",
"x-routeId" : null
}
},
"/v2/templates" : {
"get" : {
"operationId" : "route29",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
"$ref" : "#/definitions/LoopTemplate"
}
}
},
"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"
}
}
},
"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"
}
}
}
},
"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" : {
"type" : "string"
},
"globalPropertiesJson" : {
"$ref" : "#/definitions/JsonObject"
},
"modelService" : {
"$ref" : "#/definitions/Service"
},
"lastComputedState" : {
"type" : "string",
"enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
},
"components" : {
"type" : "object",
"additionalProperties" : {
"$ref" : "#/definitions/ExternalComponent"
}
},
"operationalPolicies" : {
"type" : "array",
"uniqueItems" : true,
"items" : {
"$ref" : "#/definitions/OperationalPolicy"
}
},
"microServicePolicies" : {
"type" : "array",
"uniqueItems" : true,
"items" : {
"$ref" : "#/definitions/MicroServicePolicy"
}
},
"loopLogs" : {
"type" : "array",
"uniqueItems" : true,
"items" : {
"$ref" : "#/definitions/LoopLog"
}
},
"loopTemplate" : {
"$ref" : "#/definitions/LoopTemplate"
}
},
"x-className" : {
"type" : "string",
"format" : "org.onap.clamp.loop.Loop"
}
},
"JsonPrimitive" : {
"type" : "object",
"properties" : {
"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"
},
"asInt" : {
"type" : "integer",
"format" : "int32"
},
"asByte" : {
"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"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
"jsonArray" : {
"type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
}
},
"MicroServicePolicy" : {
"type" : "object",
"properties" : {
"createdDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedBy" : {
"type" : "string"
},
"createdBy" : {
"type" : "string"
},
"jsonRepresentation" : {
"$ref" : "#/definitions/JsonObject"
},
"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"
}
},
"JsonObject" : {
"type" : "object",
"properties" : {
"asBoolean" : {
"type" : "boolean"
},
"asString" : {
"type" : "string"
},
"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"
},
"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"
}
},
"x-className" : {
"type" : "string",
"format" : "com.google.gson.JsonObject"
}
},
"PolicyModel" : {
"type" : "object",
"properties" : {
"createdDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedBy" : {
"type" : "string"
},
"createdBy" : {
"type" : "string"
},
"policyModelType" : {
"type" : "string"
},
"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"
}
},
"Service" : {
"type" : "object",
"properties" : {
"serviceUuid" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"version" : {
"type" : "string"
},
"serviceDetails" : {
"$ref" : "#/definitions/JsonObject"
},
"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"
},
"updatedDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedBy" : {
"type" : "string"
},
"createdBy" : {
"type" : "string"
},
"jsonRepresentation" : {
"$ref" : "#/definitions/JsonObject"
},
"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"
}
}
},
"JsonNull" : {
"type" : "object",
"properties" : {
"asBoolean" : {
"type" : "boolean"
},
"asString" : {
"type" : "string"
},
"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"
},
"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"
}
}
},
"JsonArray" : {
"type" : "object",
"properties" : {
"asBoolean" : {
"type" : "boolean"
},
"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"
}
},
"LoopLog" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "integer",
"format" : "int64"
},
"logType" : {
"type" : "string",
"enum" : [ "INFO", "WARNING", "ERROR" ]
},
"logComponent" : {
"type" : "string"
},
"message" : {
"type" : "string"
},
"loop" : {
"$ref" : "#/definitions/Loop"
},
"logInstant" : {
"type" : "integer",
"format" : "int64"
}
}
},
"Number" : {
"type" : "object"
},
"ExternalComponent" : {
"type" : "object",
"properties" : {
"state" : {
"$ref" : "#/definitions/ExternalComponentState"
},
"componentName" : {
"type" : "string"
}
}
},
"LoopTemplate" : {
"type" : "object",
"properties" : {
"createdDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedBy" : {
"type" : "string"
},
"createdBy" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"dcaeBlueprintId" : {
"type" : "string"
},
"blueprint" : {
"type" : "string"
},
"svgRepresentation" : {
"type" : "string"
},
"loopElementModelsUsed" : {
"type" : "array",
"uniqueItems" : true,
"items" : {
"$ref" : "#/definitions/LoopTemplateLoopElementModel"
}
},
"modelService" : {
"$ref" : "#/definitions/Service"
},
"maximumInstancesAllowed" : {
"type" : "integer",
"format" : "int32"
},
"uniqueBlueprint" : {
"type" : "boolean"
},
"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"
},
"description" : {
"type" : "string"
},
"level" : {
"type" : "integer",
"format" : "int32"
}
}
},
"LoopElementModel" : {
"type" : "object",
"properties" : {
"createdDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedDate" : {
"type" : "integer",
"format" : "int64"
},
"updatedBy" : {
"type" : "string"
},
"createdBy" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"dcaeBlueprintId" : {
"type" : "string"
},
"blueprint" : {
"type" : "string"
},
"loopElementType" : {
"type" : "string"
},
"shortName" : {
"type" : "string"
},
"policyModels" : {
"type" : "array",
"uniqueItems" : true,
"items" : {
"$ref" : "#/definitions/PolicyModel"
}
},
"usedByLoopTemplates" : {
"type" : "array",
"uniqueItems" : true,
"items" : {
"$ref" : "#/definitions/LoopTemplateLoopElementModel"
}
}
}
},
"CldsHealthCheck" : {
"type" : "object",
"properties" : {
"healthCheckComponent" : {
"type" : "string"
},
"healthCheckStatus" : {
"type" : "string"
},
"description" : {
"type" : "string"
}
},
"x-className" : {
"type" : "string",
"format" : "org.onap.clamp.clds.model.CldsHealthCheck"
}
}
}
}