{
"swagger" : "2.0",
"info" : {
- "version" : "4.0.3-SNAPSHOT",
+ "version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:46235",
+ "host" : "localhost:39099",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
+ "/v2/dictionary" : {
+ "get" : {
+ "operationId" : "route49",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route49"
+ },
+ "put" : {
+ "operationId" : "route51",
+ "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-2",
+ "x-routeId" : "route51"
+ }
+ },
+ "/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-2",
+ "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-2",
+ "x-routeId" : null
+ },
+ "delete" : {
+ "operationId" : "route53",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route53"
+ }
+ },
+ "/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-2",
+ "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-2",
+ "x-routeId" : null
+ }
+ },
"/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route3",
+ "operationId" : "route34",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route3"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route34"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route13",
+ "operationId" : "route45",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route13"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route45"
}
},
- "/v2/loop/deployLoop/{loopName}" : {
+ "/v2/loop/deploy/{loopName}" : {
"put" : {
- "operationId" : "route8",
+ "operationId" : "route39",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route8"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route39"
}
},
"/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route2",
+ "operationId" : "route33",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route2"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route33"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route14",
+ "operationId" : "route46",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route46"
+ }
+ },
+ "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
+ "put" : {
+ "operationId" : "route40",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route14"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route40"
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
- "operationId" : "route11",
+ "operationId" : "route43",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route11"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route43"
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
- "operationId" : "route10",
+ "operationId" : "route42",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route10"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route42"
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route12",
+ "operationId" : "route44",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route12"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route44"
}
},
"/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
- "operationId" : "route4",
+ "operationId" : "route35",
"produces" : [ "application/xml" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route4"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route35"
}
},
- "/v2/loop/undeployLoop/{loopName}" : {
+ "/v2/loop/undeploy/{loopName}" : {
"put" : {
- "operationId" : "route9",
+ "operationId" : "route41",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route9"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route41"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
- "operationId" : "route5",
+ "operationId" : "route36",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route5"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route36"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
- "operationId" : "route7",
+ "operationId" : "route38",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route7"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route38"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
- "operationId" : "route6",
+ "operationId" : "route37",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route6"
- }
- },
- "/v1/clds/action/{action}/{modelName}?test={test}" : {
- "put" : {
- "operationId" : "route23",
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "action",
- "in" : "path",
- "required" : true,
- "type" : "string"
- }, {
- "name" : "modelName}?test={test",
- "in" : "path",
- "required" : true,
- "type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsModel"
- }
- } ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route23"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route37"
}
},
- "/v1/clds/cldsDetails" : {
+ "/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route15",
+ "operationId" : "route56",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsMonitoringDetails"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route15"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route56"
}
},
- "/v1/clds/cldsInfo" : {
+ "/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/CldsInfo"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route16"
- }
- },
- "/v1/clds/dcae/event?test={test}" : {
- "post" : {
- "operationId" : "route24",
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/DcaeEvent"
- }
- } ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route24"
- }
- },
- "/v1/clds/deploy/{modelName}" : {
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : null
+ },
"put" : {
- "operationId" : "route26",
- "consumes" : [ "application/json" ],
+ "operationId" : "route57",
+ "consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "policyModelType",
"in" : "path",
"required" : true,
"type" : "string"
"name" : "body",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "type" : "string"
}
} ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route26"
- }
- },
- "/v1/clds/model-names" : {
- "get" : {
- "operationId" : "route22",
- "produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/ValueItem"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route22"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route57"
}
},
- "/v1/clds/model/{modelName}" : {
+ "/v2/policyToscaModels/yaml/{policyModelType}" : {
"get" : {
- "operationId" : "route20",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "policyModelType",
"in" : "path",
"required" : true,
"type" : "string"
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "type" : "string"
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route20"
- },
- "put" : {
- "operationId" : "route21",
- "consumes" : [ "application/json" ],
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : null
+ }
+ },
+ "/v2/templates" : {
+ "get" : {
+ "operationId" : "route60",
"produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "modelName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsModel"
- }
- } ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "$ref" : "#/definitions/LoopTemplate"
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route21"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route60"
}
},
- "/v1/clds/model/bpmn/{modelName}" : {
+ "/v2/templates/{templateName}" : {
"get" : {
- "operationId" : "route18",
- "produces" : [ "text/xml" ],
+ "produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "templateName",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/LoopTemplate"
+ }
+ }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route18"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : null
}
},
- "/v1/clds/model/image/{modelName}" : {
+ "/v2/templates/names" : {
"get" : {
- "operationId" : "route19",
- "produces" : [ "text/xml" ],
- "parameters" : [ {
- "name" : "modelName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- } ],
+ "produces" : [ "application/json" ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route19"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : null
}
},
- "/v1/clds/properties" : {
+ "/v1/healthcheck" : {
"get" : {
- "operationId" : "route25",
+ "operationId" : "route61",
"produces" : [ "application/json" ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsHealthCheck"
+ }
+ }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route25"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route61"
}
},
- "/v1/clds/undeploy/{modelName}" : {
- "put" : {
- "operationId" : "route27",
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "modelName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsModel"
- }
- } ],
+ "/v1/user/getUser" : {
+ "get" : {
+ "operationId" : "route62",
+ "produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route27"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route62"
}
- },
- "/v1/cldsTempate/template-names" : {
- "get" : {
- "operationId" : "route32",
- "produces" : [ "application/json" ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/ValueItem"
- }
- }
+ }
+ },
+ "definitions" : {
+ "Dictionary" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route32"
- }
- },
- "/v1/cldsTempate/template/{templateName}" : {
- "get" : {
- "operationId" : "route30",
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "templateName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- } ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsTemplate"
- }
- }
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route30"
- },
- "put" : {
- "operationId" : "route31",
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "templateName",
- "in" : "path",
- "required" : true,
+ "updatedBy" : {
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsTemplate"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsTemplate"
- }
- }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route31"
- }
- },
- "/v1/cldsTempate/template/bpmn/{templateName}" : {
- "get" : {
- "operationId" : "route28",
- "produces" : [ "text/xml" ],
- "parameters" : [ {
- "name" : "templateName",
- "in" : "path",
- "required" : true,
+ "createdBy" : {
"type" : "string"
- } ],
- "responses" : {
- "200" : { }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route28"
- }
- },
- "/v1/cldsTempate/template/image/{templateName}" : {
- "get" : {
- "operationId" : "route29",
- "produces" : [ "text/xml" ],
- "parameters" : [ {
- "name" : "templateName",
- "in" : "path",
- "required" : true,
+ "name" : {
"type" : "string"
- } ],
- "responses" : {
- "200" : { }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route29"
- }
- },
- "/v1/dictionary" : {
- "get" : {
- "operationId" : "route40",
- "produces" : [ "application/json" ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsDictionary"
- }
- }
+ "secondLevelDictionary" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route40"
- }
- },
- "/v1/dictionary/{dictionaryName}" : {
- "put" : {
- "operationId" : "route39",
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "dictionaryName",
- "in" : "path",
- "required" : true,
+ "subDictionaryType" : {
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsDictionary"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsDictionary"
- }
- }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route39"
+ "dictionaryElements" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/DictionaryElement"
+ }
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.tosca.Dictionary"
}
},
- "/v1/dictionary/{dictionaryName}/items" : {
- "get" : {
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "dictionaryName",
- "in" : "path",
- "required" : true,
+ "DictionaryElement" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
"type" : "string"
- } ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsDictionary"
- }
- }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : null
- },
- "put" : {
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "dictionaryName",
- "in" : "path",
- "required" : true,
+ "createdBy" : {
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsDictionaryItem"
- }
- } ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsDictionaryItem"
- }
- }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : null
- }
- },
- "/v1/healthcheck" : {
- "get" : {
- "operationId" : "route17",
- "produces" : [ "application/json" ],
- "responses" : {
- "200" : { }
+ "shortName" : {
+ "type" : "string"
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route17"
- }
- },
- "/v1/tosca/models" : {
- "get" : {
- "operationId" : "route36",
- "produces" : [ "application/json" ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsToscaModel"
- }
- }
+ "name" : {
+ "type" : "string"
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route36"
- }
- },
- "/v1/tosca/models/{toscaModelName}" : {
- "get" : {
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "toscaModelName",
- "in" : "path",
- "required" : true,
+ "description" : {
"type" : "string"
- } ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsToscaModel"
- }
- }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : null
- },
- "put" : {
- "operationId" : "route33",
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "toscaModelName",
- "in" : "path",
- "required" : true,
+ "type" : {
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsToscaModel"
- }
- } ],
- "responses" : {
- "200" : { }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route33"
- }
- },
- "/v1/tosca/models/policyType/{policyType}" : {
- "get" : {
- "operationId" : "route34",
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "policyType",
- "in" : "path",
- "required" : true,
+ "subDictionary" : {
"type" : "string"
- } ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsToscaModel"
- }
- }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route34"
+ "usedByDictionaries" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
}
},
- "/v1/user/getUser" : {
- "get" : {
- "operationId" : "route41",
- "produces" : [ "text/plain" ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route41"
- }
- }
- },
- "definitions" : {
"Loop" : {
"type" : "object",
"properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
"name" : {
"type" : "string"
},
"dcaeDeploymentStatusUrl" : {
"type" : "string"
},
- "dcaeBlueprintId" : {
- "type" : "string"
- },
"svgRepresentation" : {
"type" : "string"
},
"globalPropertiesJson" : {
"$ref" : "#/definitions/JsonObject"
},
- "modelPropertiesJson" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "blueprint" : {
- "type" : "string"
+ "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/LoopLog"
}
+ },
+ "loopTemplate" : {
+ "$ref" : "#/definitions/LoopTemplate"
}
},
"x-className" : {
"format" : "org.onap.clamp.loop.Loop"
}
},
- "JsonArray" : {
+ "JsonPrimitive" : {
"type" : "object",
"properties" : {
- "asString" : {
- "type" : "string"
- },
- "asBoolean" : {
- "type" : "boolean"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
"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"
- },
- "jsonPrimitive" : {
- "type" : "boolean"
- },
- "jsonNull" : {
- "type" : "boolean"
- },
- "jsonObject" : {
- "type" : "boolean"
- },
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "jsonArray" : {
- "type" : "boolean"
- },
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- },
- "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" ]
- },
- "message" : {
- "type" : "string"
- },
- "loop" : {
- "$ref" : "#/definitions/Loop"
- },
- "logInstant" : {
- "type" : "integer",
- "format" : "int64"
- }
- }
- },
- "Number" : {
- "type" : "object"
- },
- "JsonPrimitive" : {
- "type" : "object",
- "properties" : {
"boolean" : {
"type" : "boolean"
},
- "number" : {
- "type" : "boolean"
- },
- "asString" : {
- "type" : "string"
- },
"asBoolean" : {
"type" : "boolean"
},
"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"
"type" : "integer",
"format" : "int32"
},
- "string" : {
+ "number" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
- "type" : "boolean"
+ "asString" : {
+ "type" : "string"
},
- "jsonNull" : {
+ "string" : {
"type" : "boolean"
},
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
"jsonObject" : {
"type" : "boolean"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
"jsonArray" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "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" : {
- "jsonPrimitive" : {
- "type" : "boolean"
- },
- "jsonNull" : {
- "type" : "boolean"
- },
- "jsonObject" : {
- "type" : "boolean"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
- "asString" : {
- "type" : "string"
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "jsonArray" : {
+ "asBoolean" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- },
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
- "asBoolean" : {
- "type" : "boolean"
- },
"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"
"asShort" : {
"type" : "integer",
"format" : "int32"
- }
- },
- "x-className" : {
- "type" : "string",
- "format" : "com.google.gson.JsonObject"
- }
- },
- "OperationalPolicy" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
- },
- "configurationsJson" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "loop" : {
- "$ref" : "#/definitions/Loop"
- },
- "jsonRepresentation" : {
- "$ref" : "#/definitions/JsonObject"
- }
- }
- },
- "JsonNull" : {
- "type" : "object",
- "properties" : {
- "jsonPrimitive" : {
- "type" : "boolean"
- },
- "jsonNull" : {
- "type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
"asString" : {
"type" : "string"
},
- "jsonArray" : {
- "type" : "boolean"
- },
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
- },
- "asBoolean" : {
+ "jsonArray" : {
"type" : "boolean"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
- },
- "asDouble" : {
- "type" : "number",
- "format" : "double"
+ "jsonPrimitive" : {
+ "type" : "boolean"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
+ "jsonNull" : {
+ "type" : "boolean"
},
- "asLong" : {
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "com.google.gson.JsonObject"
+ }
+ },
+ "PolicyModel" : {
+ "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"
+ "policyModelType" : {
+ "type" : "string"
},
- "asBigInteger" : {
- "type" : "integer"
+ "version" : {
+ "type" : "string"
},
- "asShort" : {
- "type" : "integer",
- "format" : "int32"
+ "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"
}
},
- "CldsModelInstance" : {
+ "Service" : {
"type" : "object",
"properties" : {
- "modelInstanceId" : {
+ "serviceUuid" : {
"type" : "string"
},
- "location" : {
+ "name" : {
"type" : "string"
},
- "vmName" : {
+ "version" : {
"type" : "string"
+ },
+ "serviceDetails" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "resourceDetails" : {
+ "$ref" : "#/definitions/JsonObject"
}
}
},
- "CldsModel" : {
+ "LoopTemplateLoopElementModel" : {
"type" : "object",
"properties" : {
- "id" : {
+ "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"
},
- "templateId" : {
+ "jsonRepresentation" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "configurationsJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
+ },
+ "pdpGroup" : {
"type" : "string"
},
- "templateName" : {
+ "pdpSubGroup" : {
"type" : "string"
},
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
- "controlNamePrefix" : {
- "type" : "string"
+ "loop" : {
+ "$ref" : "#/definitions/Loop"
+ },
+ "legacy" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "JsonNull" : {
+ "type" : "object",
+ "properties" : {
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
},
- "controlNameUuid" : {
- "type" : "string"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
},
- "bpmnText" : {
- "type" : "string"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
},
- "propText" : {
- "type" : "string"
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
},
- "imageText" : {
- "type" : "string"
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
},
- "docText" : {
+ "asCharacter" : {
"type" : "string"
},
- "blueprintText" : {
- "type" : "string"
+ "asBigDecimal" : {
+ "type" : "number"
},
- "event" : {
- "$ref" : "#/definitions/CldsEvent"
+ "asBigInteger" : {
+ "type" : "integer"
},
- "status" : {
- "type" : "string"
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "permittedActionCd" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
+ "jsonObject" : {
+ "type" : "boolean"
},
- "cldsModelInstanceList" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/CldsModelInstance"
- }
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
},
- "errorMessageForUi" : {
+ "asString" : {
"type" : "string"
},
- "typeId" : {
- "type" : "string"
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
},
- "typeName" : {
- "type" : "string"
+ "jsonArray" : {
+ "type" : "boolean"
},
- "deploymentId" : {
- "type" : "string"
+ "jsonPrimitive" : {
+ "type" : "boolean"
},
- "deploymentStatusUrl" : {
- "type" : "string"
+ "jsonNull" : {
+ "type" : "boolean"
},
- "controlName" : {
- "type" : "string"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsModel"
}
},
- "CldsEvent" : {
+ "JsonArray" : {
"type" : "object",
"properties" : {
- "id" : {
- "type" : "string"
- },
- "actionCd" : {
- "type" : "string"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "actionStateCd" : {
- "type" : "string"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
- "processInstanceId" : {
- "type" : "string"
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "userid" : {
- "type" : "string"
- }
- }
- },
- "CldsMonitoringDetails" : {
- "type" : "object",
- "properties" : {
- "closeloopName" : {
- "type" : "string"
+ "asBoolean" : {
+ "type" : "boolean"
},
- "modelId" : {
- "type" : "string"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
},
- "modelName" : {
- "type" : "string"
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
},
- "serviceTypeId" : {
- "type" : "string"
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
},
- "deploymentId" : {
+ "asCharacter" : {
"type" : "string"
},
- "templateName" : {
- "type" : "string"
+ "asBigDecimal" : {
+ "type" : "number"
},
- "action" : {
- "type" : "string"
+ "asBigInteger" : {
+ "type" : "integer"
},
- "userid" : {
- "type" : "string"
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "timestamp" : {
- "type" : "string"
- }
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails"
- }
- },
- "CldsInfo" : {
- "type" : "object",
- "properties" : {
- "userName" : {
+ "asString" : {
"type" : "string"
},
- "cldsVersion" : {
- "type" : "string"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
},
- "permissionReadCl" : {
+ "jsonObject" : {
"type" : "boolean"
},
- "permissionUpdateCl" : {
- "type" : "boolean"
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
},
- "permissionReadTemplate" : {
- "type" : "boolean"
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
},
- "permissionUpdateTemplate" : {
+ "jsonArray" : {
"type" : "boolean"
},
- "permissionReadTosca" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "permissionUpdateTosca" : {
+ "jsonNull" : {
"type" : "boolean"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsInfo"
+ "format" : "com.google.gson.JsonArray"
}
},
- "DcaeEvent" : {
+ "LoopLog" : {
"type" : "object",
"properties" : {
- "event" : {
- "type" : "string"
- },
- "artifactName" : {
- "type" : "string"
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "instances" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/CldsModelInstance"
- }
+ "logType" : {
+ "type" : "string",
+ "enum" : [ "INFO", "WARNING", "ERROR" ]
},
- "serviceUUID" : {
+ "logComponent" : {
"type" : "string"
},
- "resourceUUID" : {
+ "message" : {
"type" : "string"
},
- "controlName" : {
- "type" : "string"
+ "loop" : {
+ "$ref" : "#/definitions/Loop"
},
- "cldsActionCd" : {
- "type" : "string"
+ "logInstant" : {
+ "type" : "integer",
+ "format" : "int64"
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.DcaeEvent"
}
},
- "ValueItem" : {
+ "Number" : {
+ "type" : "object"
+ },
+ "ExternalComponent" : {
"type" : "object",
"properties" : {
- "value" : {
+ "state" : {
+ "$ref" : "#/definitions/ExternalComponentState"
+ },
+ "componentName" : {
"type" : "string"
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.ValueItem"
}
},
- "CldsTemplate" : {
+ "LoopTemplate" : {
"type" : "object",
"properties" : {
- "id" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string"
- },
- "controlNamePrefix" : {
- "type" : "string"
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "controlNameUuid" : {
- "type" : "string"
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "bpmnId" : {
+ "updatedBy" : {
"type" : "string"
},
- "bpmnUserid" : {
+ "createdBy" : {
"type" : "string"
},
- "bpmnText" : {
+ "name" : {
"type" : "string"
},
- "imageId" : {
+ "dcaeBlueprintId" : {
"type" : "string"
},
- "imageUserid" : {
+ "blueprint" : {
"type" : "string"
},
- "imageText" : {
+ "svgRepresentation" : {
"type" : "string"
},
- "propId" : {
- "type" : "string"
+ "loopElementModelsUsed" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopTemplateLoopElementModel"
+ }
},
- "propUserid" : {
- "type" : "string"
+ "modelService" : {
+ "$ref" : "#/definitions/Service"
},
- "propText" : {
- "type" : "string"
+ "maximumInstancesAllowed" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "userAuthorizedToUpdate" : {
+ "uniqueBlueprint" : {
"type" : "boolean"
+ },
+ "allowedLoopType" : {
+ "type" : "string",
+ "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsTemplate"
+ "format" : "org.onap.clamp.loop.template.LoopTemplate"
}
},
- "CldsDictionary" : {
+ "ExternalComponentState" : {
"type" : "object",
"properties" : {
- "dictionaryId" : {
- "type" : "string"
- },
- "dictionaryName" : {
- "type" : "string"
- },
- "createdBy" : {
+ "stateName" : {
"type" : "string"
},
- "updatedBy" : {
- "type" : "string"
- },
- "lastUpdatedDate" : {
+ "description" : {
"type" : "string"
},
- "cldsDictionaryItems" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/CldsDictionaryItem"
- }
+ "level" : {
+ "type" : "integer",
+ "format" : "int32"
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsDictionary"
}
},
- "CldsDictionaryItem" : {
+ "LoopElementModel" : {
"type" : "object",
"properties" : {
- "dictElementId" : {
- "type" : "string"
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "dictionaryId" : {
- "type" : "string"
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "dictElementName" : {
+ "updatedBy" : {
"type" : "string"
},
- "dictElementShortName" : {
+ "createdBy" : {
"type" : "string"
},
- "dictElementDesc" : {
+ "name" : {
"type" : "string"
},
- "dictElementType" : {
+ "dcaeBlueprintId" : {
"type" : "string"
},
- "createdBy" : {
+ "blueprint" : {
"type" : "string"
},
- "updatedBy" : {
+ "loopElementType" : {
"type" : "string"
},
- "lastUpdatedDate" : {
+ "shortName" : {
"type" : "string"
+ },
+ "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.CldsDictionaryItem"
}
},
- "CldsToscaModel" : {
+ "CldsHealthCheck" : {
"type" : "object",
"properties" : {
- "revisionId" : {
- "type" : "string"
- },
- "toscaModelYaml" : {
- "type" : "string"
- },
- "version" : {
- "type" : "number",
- "format" : "double"
- },
- "toscaModelJson" : {
- "type" : "string"
- },
- "userId" : {
- "type" : "string"
- },
- "createdDate" : {
- "type" : "string"
- },
- "lastUpdatedDate" : {
- "type" : "string"
- },
- "id" : {
+ "healthCheckComponent" : {
"type" : "string"
},
- "policyType" : {
+ "healthCheckStatus" : {
"type" : "string"
},
- "toscaModelName" : {
+ "description" : {
"type" : "string"
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsToscaModel"
+ "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
}
}
}