{
"swagger" : "2.0",
"info" : {
- "version" : "4.1.2-SNAPSHOT",
+ "version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:40147",
+ "host" : "localhost:40597",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
+ "/v2/dictionary" : {
+ "get" : {
+ "operationId" : "route80",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route80"
+ },
+ "put" : {
+ "operationId" : "route82",
+ "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-3",
+ "x-routeId" : "route82"
+ }
+ },
+ "/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-3",
+ "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-3",
+ "x-routeId" : null
+ },
+ "delete" : {
+ "operationId" : "route84",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route84"
+ }
+ },
+ "/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-3",
+ "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-3",
+ "x-routeId" : null
+ }
+ },
"/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route20",
+ "operationId" : "route65",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route20"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route65"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route30",
+ "operationId" : "route76",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route30"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route76"
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
- "operationId" : "route25",
+ "operationId" : "route70",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route25"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route70"
}
},
"/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route19",
+ "operationId" : "route64",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route19"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route64"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route31",
+ "operationId" : "route77",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route77"
+ }
+ },
+ "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
+ "put" : {
+ "operationId" : "route71",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route31"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route71"
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
- "operationId" : "route28",
+ "operationId" : "route74",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route28"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route74"
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
- "operationId" : "route27",
+ "operationId" : "route73",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route27"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route73"
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route29",
+ "operationId" : "route75",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route29"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route75"
}
},
"/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
- "operationId" : "route21",
+ "operationId" : "route66",
"produces" : [ "application/xml" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route21"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route66"
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
- "operationId" : "route26",
+ "operationId" : "route72",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route26"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route72"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
- "operationId" : "route22",
+ "operationId" : "route67",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route22"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route67"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
- "operationId" : "route24",
+ "operationId" : "route69",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route24"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route69"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
- "operationId" : "route23",
+ "operationId" : "route68",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route23"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route68"
+ }
+ },
+ "/v2/policyToscaModels" : {
+ "get" : {
+ "operationId" : "route87",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route87"
+ }
+ },
+ "/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-3",
+ "x-routeId" : null
+ },
+ "put" : {
+ "operationId" : "route88",
+ "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-3",
+ "x-routeId" : "route88"
+ }
+ },
+ "/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-3",
+ "x-routeId" : null
+ }
+ },
+ "/v2/templates" : {
+ "get" : {
+ "operationId" : "route91",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/LoopTemplate"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route91"
+ }
+ },
+ "/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-3",
+ "x-routeId" : null
}
},
- "/v1/clds/cldsInfo" : {
+ "/v2/templates/names" : {
"get" : {
- "operationId" : "route32",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsInfo"
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
}
}
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route32"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : null
}
},
"/v1/healthcheck" : {
"get" : {
- "operationId" : "route33",
+ "operationId" : "route92",
"produces" : [ "application/json" ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsHealthCheck"
+ }
+ }
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route33"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route92"
}
},
"/v1/user/getUser" : {
"get" : {
- "operationId" : "route34",
+ "operationId" : "route93",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-2",
- "x-routeId" : "route34"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route93"
}
}
},
"definitions" : {
- "Loop" : {
+ "Dictionary" : {
"type" : "object",
"properties" : {
- "name" : {
- "type" : "string"
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "dcaeDeploymentId" : {
- "type" : "string"
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "dcaeDeploymentStatusUrl" : {
+ "updatedBy" : {
"type" : "string"
},
- "dcaeBlueprintId" : {
+ "createdBy" : {
"type" : "string"
},
- "svgRepresentation" : {
+ "name" : {
"type" : "string"
},
- "globalPropertiesJson" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "modelPropertiesJson" : {
- "$ref" : "#/definitions/JsonObject"
+ "secondLevelDictionary" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "blueprint" : {
+ "subDictionaryType" : {
"type" : "string"
},
- "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" : {
+ "dictionaryElements" : {
"type" : "array",
"uniqueItems" : true,
"items" : {
- "$ref" : "#/definitions/LoopLog"
+ "$ref" : "#/definitions/DictionaryElement"
}
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.loop.Loop"
+ "format" : "org.onap.clamp.tosca.Dictionary"
}
},
- "JsonArray" : {
+ "DictionaryElement" : {
"type" : "object",
"properties" : {
- "asString" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
"type" : "string"
},
- "asBoolean" : {
- "type" : "boolean"
+ "createdBy" : {
+ "type" : "string"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "shortName" : {
+ "type" : "string"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
+ "name" : {
+ "type" : "string"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
+ "description" : {
+ "type" : "string"
},
- "asLong" : {
+ "type" : {
+ "type" : "string"
+ },
+ "subDictionary" : {
+ "type" : "string"
+ },
+ "usedByDictionaries" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ }
+ },
+ "Loop" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
"type" : "integer",
"format" : "int64"
},
- "asInt" : {
+ "updatedDate" : {
"type" : "integer",
- "format" : "int32"
+ "format" : "int64"
},
- "asByte" : {
- "type" : "string",
- "format" : "byte"
+ "updatedBy" : {
+ "type" : "string"
},
- "asCharacter" : {
+ "createdBy" : {
"type" : "string"
},
- "asBigDecimal" : {
- "type" : "number"
+ "name" : {
+ "type" : "string"
},
- "asBigInteger" : {
- "type" : "integer"
+ "dcaeDeploymentId" : {
+ "type" : "string"
},
- "asShort" : {
- "type" : "integer",
- "format" : "int32"
+ "dcaeDeploymentStatusUrl" : {
+ "type" : "string"
},
- "asJsonObject" : {
+ "svgRepresentation" : {
+ "type" : "string"
+ },
+ "globalPropertiesJson" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
+ "modelService" : {
+ "$ref" : "#/definitions/Service"
},
- "jsonObject" : {
- "type" : "boolean"
+ "lastComputedState" : {
+ "type" : "string",
+ "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
},
- "jsonNull" : {
- "type" : "boolean"
+ "components" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/definitions/ExternalComponent"
+ }
},
- "jsonArray" : {
- "type" : "boolean"
+ "operationalPolicies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/OperationalPolicy"
+ }
},
- "jsonPrimitive" : {
- "type" : "boolean"
+ "microServicePolicies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/MicroServicePolicy"
+ }
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "loopLogs" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopLog"
+ }
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "loopTemplate" : {
+ "$ref" : "#/definitions/LoopTemplate"
}
},
"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"
- }
+ "format" : "org.onap.clamp.loop.Loop"
}
},
- "Number" : {
- "type" : "object"
- },
"JsonPrimitive" : {
"type" : "object",
"properties" : {
- "boolean" : {
+ "asBoolean" : {
"type" : "boolean"
},
"number" : {
"asString" : {
"type" : "string"
},
- "asBoolean" : {
- "type" : "boolean"
- },
"asNumber" : {
"$ref" : "#/definitions/Number"
},
"type" : "integer",
"format" : "int32"
},
- "string" : {
+ "boolean" : {
"type" : "boolean"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
+ "string" : {
+ "type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
},
- "jsonNull" : {
- "type" : "boolean"
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
},
"jsonArray" : {
"type" : "boolean"
"jsonPrimitive" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
"MicroServicePolicy" : {
"type" : "object",
"properties" : {
- "name" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
"type" : "string"
},
- "modelType" : {
+ "createdBy" : {
"type" : "string"
},
- "properties" : {
+ "jsonRepresentation" : {
"$ref" : "#/definitions/JsonObject"
},
- "shared" : {
- "type" : "boolean"
+ "configurationsJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
},
- "policyTosca" : {
+ "pdpGroup" : {
"type" : "string"
},
- "jsonRepresentation" : {
- "$ref" : "#/definitions/JsonObject"
+ "pdpSubgroup" : {
+ "type" : "string"
+ },
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "context" : {
+ "type" : "string"
+ },
+ "deviceTypeScope" : {
+ "type" : "string"
+ },
+ "shared" : {
+ "type" : "boolean"
},
"usedByLoops" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/Loop"
}
+ },
+ "dcaeDeploymentId" : {
+ "type" : "string"
+ },
+ "dcaeDeploymentStatusUrl" : {
+ "type" : "string"
+ },
+ "dcaeBlueprintId" : {
+ "type" : "string"
}
},
"x-className" : {
"JsonObject" : {
"type" : "object",
"properties" : {
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
"asString" : {
"type" : "string"
},
- "jsonObject" : {
- "type" : "boolean"
- },
- "jsonNull" : {
- "type" : "boolean"
- },
"jsonArray" : {
"type" : "boolean"
},
- "asBoolean" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "jsonNull" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
"format" : "com.google.gson.JsonObject"
}
},
- "ExternalComponent" : {
+ "PolicyModel" : {
"type" : "object",
"properties" : {
- "state" : {
- "$ref" : "#/definitions/ExternalComponentState"
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "componentName" : {
+ "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"
+ }
},
- "OperationalPolicy" : {
+ "Service" : {
"type" : "object",
"properties" : {
+ "serviceUuid" : {
+ "type" : "string"
+ },
"name" : {
"type" : "string"
},
- "configurationsJson" : {
- "$ref" : "#/definitions/JsonObject"
+ "version" : {
+ "type" : "string"
},
- "loop" : {
- "$ref" : "#/definitions/Loop"
+ "serviceDetails" : {
+ "$ref" : "#/definitions/JsonObject"
},
- "jsonRepresentation" : {
+ "resourceDetails" : {
"$ref" : "#/definitions/JsonObject"
}
}
},
- "ExternalComponentState" : {
+ "LoopTemplateLoopElementModel" : {
"type" : "object",
"properties" : {
- "stateName" : {
- "type" : "string"
+ "loopTemplate" : {
+ "$ref" : "#/definitions/LoopTemplate"
},
- "description" : {
- "type" : "string"
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
},
- "level" : {
+ "flowOrder" : {
"type" : "integer",
"format" : "int32"
}
}
},
- "JsonNull" : {
+ "OperationalPolicy" : {
"type" : "object",
"properties" : {
- "asJsonObject" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "jsonRepresentation" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
+ "configurationsJson" : {
+ "$ref" : "#/definitions/JsonObject"
},
- "asString" : {
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
+ },
+ "pdpGroup" : {
"type" : "string"
},
- "jsonObject" : {
+ "pdpSubgroup" : {
+ "type" : "string"
+ },
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "loop" : {
+ "$ref" : "#/definitions/Loop"
+ },
+ "legacy" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "JsonNull" : {
+ "type" : "object",
+ "properties" : {
+ "asBoolean" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonObject" : {
"type" : "boolean"
},
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asString" : {
+ "type" : "string"
+ },
"jsonArray" : {
"type" : "boolean"
},
- "asBoolean" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "jsonNull" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
}
},
- "CldsInfo" : {
+ "JsonArray" : {
"type" : "object",
"properties" : {
- "userName" : {
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asString" : {
"type" : "string"
},
- "cldsVersion" : {
+ "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"
},
- "permissionReadCl" : {
- "type" : "boolean"
+ "asBigDecimal" : {
+ "type" : "number"
},
- "permissionUpdateCl" : {
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "jsonObject" : {
"type" : "boolean"
},
- "permissionReadTemplate" : {
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "jsonArray" : {
"type" : "boolean"
},
- "permissionUpdateTemplate" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "permissionReadTosca" : {
+ "jsonNull" : {
"type" : "boolean"
},
- "permissionUpdateTosca" : {
+ "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.CldsInfo"
+ "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
}
}
}