{
"swagger" : "2.0",
"info" : {
- "version" : "4.1.1-SNAPSHOT",
+ "version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:43819",
+ "host" : "localhost:42393",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
- "/v2/loop/{loopName}" : {
+ "/v2/clampInformation" : {
+ "get" : {
+ "operationId" : "route112",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/ClampInformation"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route112"
+ }
+ },
+ "/v2/dictionary" : {
"get" : {
- "operationId" : "route167",
+ "operationId" : "route98",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route98"
+ },
+ "put" : {
+ "operationId" : "route100",
+ "consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "loopName",
- "in" : "path",
+ "in" : "body",
+ "name" : "body",
"required" : true,
- "type" : "string"
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/Loop"
+ "$ref" : "#/definitions/Dictionary"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route167"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route100"
}
},
- "/v2/loop/delete/{loopName}" : {
- "put" : {
- "operationId" : "route177",
+ "/v2/dictionary/{dictionaryName}" : {
+ "get" : {
+ "produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "loopName",
+ "name" : "dictionaryName",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route177"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : null
}
},
- "/v2/loop/deploy/{loopName}" : {
+ "/v2/dictionary/{name}" : {
"put" : {
- "operationId" : "route172",
+ "consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "loopName",
+ "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/Loop"
+ "$ref" : "#/definitions/Dictionary"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route172"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : null
+ },
+ "delete" : {
+ "operationId" : "route102",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route102"
}
},
- "/v2/loop/getAllNames" : {
+ "/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" : {
- "operationId" : "route166",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route166"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : null
}
},
- "/v2/loop/getstatus/{loopName}" : {
+ "/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route178",
+ "operationId" : "route79",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route178"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route79"
}
},
- "/v2/loop/restart/{loopName}" : {
+ "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
"put" : {
- "operationId" : "route175",
+ "operationId" : "route93",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route175"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route93"
}
},
- "/v2/loop/stop/{loopName}" : {
- "put" : {
- "operationId" : "route174",
+ "/v2/loop/create/{loopName}?templateName={templateName}" : {
+ "post" : {
+ "operationId" : "route95",
+ "consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "loopName",
+ "name" : "loopName}?templateName={templateName",
"in" : "path",
"required" : true,
"type" : "string"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route174"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route95"
}
},
- "/v2/loop/submit/{loopName}" : {
+ "/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route176",
- "produces" : [ "application/json" ],
+ "operationId" : "route91",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"type" : "string"
} ],
"responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/Loop"
- }
- }
+ "200" : { }
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route176"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route91"
}
},
- "/v2/loop/svgRepresentation/{loopName}" : {
- "get" : {
- "operationId" : "route168",
- "produces" : [ "application/xml" ],
+ "/v2/loop/deploy/{loopName}" : {
+ "put" : {
+ "operationId" : "route84",
+ "produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"200" : {
"description" : "Output type",
"schema" : {
- "type" : "string"
+ "$ref" : "#/definitions/Loop"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route168"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route84"
}
},
- "/v2/loop/undeploy/{loopName}" : {
- "put" : {
- "operationId" : "route173",
+ "/v2/loop/getAllNames" : {
+ "get" : {
+ "operationId" : "route78",
"produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "loopName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- } ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/Loop"
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route173"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route78"
}
},
- "/v2/loop/updateGlobalProperties/{loopName}" : {
- "post" : {
- "operationId" : "route169",
- "consumes" : [ "application/json" ],
+ "/v2/loop/getstatus/{loopName}" : {
+ "get" : {
+ "operationId" : "route92",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/JsonObject"
- }
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route169"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route92"
}
},
- "/v2/loop/updateMicroservicePolicy/{loopName}" : {
- "post" : {
- "operationId" : "route171",
- "consumes" : [ "application/json" ],
+ "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
+ "put" : {
+ "operationId" : "route85",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"required" : true,
"type" : "string"
}, {
- "in" : "body",
- "name" : "body",
+ "name" : "microServicePolicyName",
+ "in" : "path",
"required" : true,
- "schema" : {
- "$ref" : "#/definitions/MicroServicePolicy"
- }
+ "type" : "string"
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/MicroServicePolicy"
+ "$ref" : "#/definitions/Loop"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route171"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route85"
}
},
- "/v2/loop/updateOperationalPolicies/{loopName}" : {
- "post" : {
- "operationId" : "route170",
- "consumes" : [ "application/json" ],
+ "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
+ "put" : {
+ "operationId" : "route86",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"required" : true,
"type" : "string"
}, {
- "in" : "body",
- "name" : "body",
+ "name" : "operationalPolicyName",
+ "in" : "path",
"required" : true,
- "schema" : {
- "$ref" : "#/definitions/JsonArray"
- }
+ "type" : "string"
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route170"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route86"
}
},
- "/v1/clds/action/{action}/{modelName}?test={test}" : {
+ "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
"put" : {
- "operationId" : "route187",
- "consumes" : [ "application/json" ],
+ "operationId" : "route94",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "action",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
}, {
- "name" : "modelName}?test={test",
+ "name" : "policyType",
"in" : "path",
"required" : true,
"type" : "string"
}, {
- "in" : "body",
- "name" : "body",
+ "name" : "policyVersion",
+ "in" : "path",
"required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsModel"
- }
+ "type" : "string"
} ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route187"
- }
- },
- "/v1/clds/cldsDetails" : {
- "get" : {
- "operationId" : "route179",
- "produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsMonitoringDetails"
+ "$ref" : "#/definitions/Loop"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route179"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route94"
}
},
- "/v1/clds/cldsInfo" : {
- "get" : {
- "operationId" : "route180",
+ "/v2/loop/restart/{loopName}" : {
+ "put" : {
+ "operationId" : "route89",
"produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsInfo"
+ "$ref" : "#/definitions/Loop"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route180"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route89"
}
},
- "/v1/clds/dcae/event?test={test}" : {
- "post" : {
- "operationId" : "route188",
- "consumes" : [ "application/json" ],
+ "/v2/loop/stop/{loopName}" : {
+ "put" : {
+ "operationId" : "route88",
"produces" : [ "application/json" ],
"parameters" : [ {
- "in" : "body",
- "name" : "body",
+ "name" : "loopName",
+ "in" : "path",
"required" : true,
- "schema" : {
- "$ref" : "#/definitions/DcaeEvent"
- }
+ "type" : "string"
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route188"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route88"
}
},
- "/v1/clds/deploy/{modelName}" : {
+ "/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route190",
- "consumes" : [ "application/json" ],
+ "operationId" : "route90",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsModel"
- }
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route190"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route90"
}
},
- "/v1/clds/model-names" : {
+ "/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
- "operationId" : "route186",
- "produces" : [ "application/json" ],
+ "operationId" : "route80",
+ "produces" : [ "application/xml" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/ValueItem"
+ "type" : "string"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route186"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route80"
}
},
- "/v1/clds/model/{modelName}" : {
- "get" : {
- "operationId" : "route184",
+ "/v2/loop/undeploy/{loopName}" : {
+ "put" : {
+ "operationId" : "route87",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "$ref" : "#/definitions/Loop"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route184"
- },
- "put" : {
- "operationId" : "route185",
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route87"
+ }
+ },
+ "/v2/loop/updateGlobalProperties/{loopName}" : {
+ "post" : {
+ "operationId" : "route81",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
"name" : "body",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "$ref" : "#/definitions/JsonObject"
}
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "$ref" : "#/definitions/Loop"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route185"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route81"
}
},
- "/v1/clds/model/bpmn/{modelName}" : {
- "get" : {
- "operationId" : "route182",
- "produces" : [ "text/xml" ],
- "parameters" : [ {
- "name" : "modelName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- } ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route182"
- }
- },
- "/v1/clds/model/image/{modelName}" : {
- "get" : {
- "operationId" : "route183",
- "produces" : [ "text/xml" ],
+ "/v2/loop/updateMicroservicePolicy/{loopName}" : {
+ "post" : {
+ "operationId" : "route83",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/MicroServicePolicy"
+ }
} ],
"responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route183"
- }
- },
- "/v1/clds/properties" : {
- "get" : {
- "operationId" : "route189",
- "produces" : [ "application/json" ],
- "responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/MicroServicePolicy"
+ }
+ }
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route189"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route83"
}
},
- "/v1/clds/undeploy/{modelName}" : {
- "put" : {
- "operationId" : "route191",
+ "/v2/loop/updateOperationalPolicies/{loopName}" : {
+ "post" : {
+ "operationId" : "route82",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
"name" : "body",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "$ref" : "#/definitions/JsonArray"
}
} ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route191"
- }
- },
- "/v1/cldsTempate/template-names" : {
- "get" : {
- "operationId" : "route196",
- "produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/ValueItem"
+ "$ref" : "#/definitions/Loop"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route196"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route82"
}
},
- "/v1/cldsTempate/template/{templateName}" : {
+ "/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route194",
+ "operationId" : "route105",
"produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "templateName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- } ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsTemplate"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route194"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route105"
},
- "put" : {
- "operationId" : "route195",
- "consumes" : [ "application/json" ],
+ "post" : {
+ "operationId" : "route106",
+ "consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "templateName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- }, {
"in" : "body",
"name" : "body",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/CldsTemplate"
+ "type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsTemplate"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route195"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route106"
}
},
- "/v1/cldsTempate/template/bpmn/{templateName}" : {
+ "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
"get" : {
- "operationId" : "route192",
- "produces" : [ "text/xml" ],
+ "produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "templateName",
+ "name" : "policyModelType",
"in" : "path",
"required" : true,
"type" : "string"
- } ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route192"
- }
- },
- "/v1/cldsTempate/template/image/{templateName}" : {
- "get" : {
- "operationId" : "route193",
- "produces" : [ "text/xml" ],
- "parameters" : [ {
- "name" : "templateName",
+ }, {
+ "name" : "policyModelVersion",
"in" : "path",
"required" : true,
"type" : "string"
} ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route193"
- }
- },
- "/v1/dictionary" : {
- "get" : {
- "operationId" : "route204",
- "produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsDictionary"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route204"
- }
- },
- "/v1/dictionary/{dictionaryName}" : {
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : null
+ },
"put" : {
- "operationId" : "route203",
- "consumes" : [ "application/json" ],
+ "operationId" : "route107",
+ "consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "dictionaryName",
+ "name" : "policyModelType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyModelVersion",
"in" : "path",
"required" : true,
"type" : "string"
"name" : "body",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/CldsDictionary"
+ "type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsDictionary"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route203"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route107"
}
},
- "/v1/dictionary/{dictionaryName}/items" : {
+ "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
"get" : {
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "dictionaryName",
+ "name" : "policyModelType",
"in" : "path",
"required" : true,
"type" : "string"
- } ],
- "responses" : {
- "200" : {
- "description" : "Output type",
- "schema" : {
- "$ref" : "#/definitions/CldsDictionary"
- }
- }
- },
- "x-camelContextId" : "camel-5",
- "x-routeId" : null
- },
- "put" : {
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "dictionaryName",
+ }, {
+ "name" : "policyModelVersion",
"in" : "path",
"required" : true,
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsDictionaryItem"
- }
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsDictionaryItem"
+ "type" : "string"
}
}
},
- "x-camelContextId" : "camel-5",
+ "x-camelContextId" : "camel-3",
"x-routeId" : null
}
},
- "/v1/healthcheck" : {
+ "/v2/templates" : {
"get" : {
- "operationId" : "route181",
+ "operationId" : "route111",
"produces" : [ "application/json" ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/LoopTemplate"
+ }
+ }
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route181"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route111"
}
},
- "/v1/tosca/models" : {
+ "/v2/templates/{templateName}" : {
"get" : {
- "operationId" : "route200",
"produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsToscaModel"
+ "$ref" : "#/definitions/LoopTemplate"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route200"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : null
}
},
- "/v1/tosca/models/{toscaModelName}" : {
+ "/v2/templates/{templateName}/svgRepresentation" : {
"get" : {
- "produces" : [ "application/json" ],
+ "produces" : [ "application/xml" ],
"parameters" : [ {
- "name" : "toscaModelName",
+ "name" : "templateName",
"in" : "path",
"required" : true,
"type" : "string"
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsToscaModel"
+ "type" : "string"
}
}
},
- "x-camelContextId" : "camel-5",
+ "x-camelContextId" : "camel-3",
"x-routeId" : null
- },
- "put" : {
- "operationId" : "route197",
- "consumes" : [ "application/json" ],
+ }
+ },
+ "/v2/templates/names" : {
+ "get" : {
"produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "toscaModelName",
- "in" : "path",
- "required" : true,
- "type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsToscaModel"
- }
- } ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route197"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : null
}
},
- "/v1/tosca/models/policyType/{policyType}" : {
+ "/v1/healthcheck" : {
"get" : {
- "operationId" : "route198",
+ "operationId" : "route113",
"produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "policyType",
- "in" : "path",
- "required" : true,
- "type" : "string"
- } ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsToscaModel"
+ "$ref" : "#/definitions/CldsHealthCheck"
}
}
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route198"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route113"
}
},
"/v1/user/getUser" : {
"get" : {
- "operationId" : "route205",
+ "operationId" : "route114",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-5",
- "x-routeId" : "route205"
+ "x-camelContextId" : "camel-3",
+ "x-routeId" : "route114"
}
}
},
"definitions" : {
- "Loop" : {
+ "ClampInformation" : {
"type" : "object",
"properties" : {
- "name" : {
+ "userName" : {
"type" : "string"
},
- "dcaeDeploymentId" : {
+ "cldsVersion" : {
"type" : "string"
},
- "dcaeDeploymentStatusUrl" : {
- "type" : "string"
+ "allPermissions" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.ClampInformation"
+ }
+ },
+ "Dictionary" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "dcaeBlueprintId" : {
- "type" : "string"
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "svgRepresentation" : {
+ "updatedBy" : {
"type" : "string"
},
- "globalPropertiesJson" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "modelPropertiesJson" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "blueprint" : {
+ "createdBy" : {
"type" : "string"
},
- "lastComputedState" : {
- "type" : "string",
- "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
- },
- "components" : {
- "type" : "object",
- "additionalProperties" : {
- "$ref" : "#/definitions/ExternalComponent"
- }
+ "name" : {
+ "type" : "string"
},
- "operationalPolicies" : {
- "type" : "array",
- "uniqueItems" : true,
- "items" : {
- "$ref" : "#/definitions/OperationalPolicy"
- }
+ "secondLevelDictionary" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "microServicePolicies" : {
- "type" : "array",
- "uniqueItems" : true,
- "items" : {
- "$ref" : "#/definitions/MicroServicePolicy"
- }
+ "subDictionaryType" : {
+ "type" : "string"
},
- "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" : {
- "asBoolean" : {
- "type" : "boolean"
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "asString" : {
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
"type" : "string"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "createdBy" : {
+ "type" : "string"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
+ "shortName" : {
+ "type" : "string"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
+ "name" : {
+ "type" : "string"
},
- "asLong" : {
+ "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"
},
- "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"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "lastComputedState" : {
+ "type" : "string",
+ "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
},
- "jsonArray" : {
- "type" : "boolean"
+ "components" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/definitions/ExternalComponent"
+ }
},
- "jsonObject" : {
- "type" : "boolean"
+ "operationalPolicies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/OperationalPolicy"
+ }
},
- "jsonPrimitive" : {
- "type" : "boolean"
+ "microServicePolicies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/MicroServicePolicy"
+ }
},
- "jsonNull" : {
- "type" : "boolean"
+ "loopLogs" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopLog"
+ }
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "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" : {
"asBoolean" : {
"type" : "boolean"
},
- "boolean" : {
- "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"
"type" : "integer",
"format" : "int32"
},
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "boolean" : {
+ "type" : "boolean"
+ },
"string" : {
"type" : "boolean"
},
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
- },
"jsonArray" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "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"
+ },
+ "configurationsJson" : {
"$ref" : "#/definitions/JsonObject"
},
- "shared" : {
- "type" : "boolean"
+ "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" : {
"asBoolean" : {
"type" : "boolean"
},
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
"asString" : {
"type" : "string"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
- },
- "asDouble" : {
- "type" : "number",
- "format" : "double"
- },
- "asFloat" : {
- "type" : "number",
- "format" : "float"
- },
"asLong" : {
"type" : "integer",
"format" : "int64"
"jsonNull" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
}
},
"x-className" : {
"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"
- }
- }
- },
- "OperationalPolicy" : {
+ },
+ "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"
},
- "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" : {
- "asBoolean" : {
- "type" : "boolean"
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "asJsonObject" : {
+ "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"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "pdpSubgroup" : {
+ "type" : "string"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
+ "name" : {
+ "type" : "string"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
+ "loop" : {
+ "$ref" : "#/definitions/Loop"
+ },
+ "legacy" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "JsonNull" : {
+ "type" : "object",
+ "properties" : {
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asString" : {
+ "type" : "string"
},
"asLong" : {
"type" : "integer",
"jsonNull" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- }
- }
- },
- "CldsModelInstance" : {
- "type" : "object",
- "properties" : {
- "modelInstanceId" : {
- "type" : "string"
- },
- "location" : {
- "type" : "string"
- },
- "vmName" : {
- "type" : "string"
- }
- }
- },
- "CldsModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string"
- },
- "templateId" : {
- "type" : "string"
- },
- "templateName" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string"
- },
- "controlNamePrefix" : {
- "type" : "string"
- },
- "controlNameUuid" : {
- "type" : "string"
- },
- "bpmnText" : {
- "type" : "string"
- },
- "propText" : {
- "type" : "string"
- },
- "imageText" : {
- "type" : "string"
- },
- "docText" : {
- "type" : "string"
- },
- "blueprintText" : {
- "type" : "string"
- },
- "event" : {
- "$ref" : "#/definitions/CldsEvent"
- },
- "status" : {
- "type" : "string"
- },
- "permittedActionCd" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "cldsModelInstanceList" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/CldsModelInstance"
- }
- },
- "errorMessageForUi" : {
- "type" : "string"
- },
- "typeId" : {
- "type" : "string"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
- "typeName" : {
- "type" : "string"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
},
- "deploymentId" : {
- "type" : "string"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
},
- "deploymentStatusUrl" : {
- "type" : "string"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
- "controlName" : {
- "type" : "string"
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsModel"
}
},
- "CldsEvent" : {
+ "JsonArray" : {
"type" : "object",
"properties" : {
- "id" : {
- "type" : "string"
+ "asBoolean" : {
+ "type" : "boolean"
},
- "actionCd" : {
+ "asString" : {
"type" : "string"
},
- "actionStateCd" : {
- "type" : "string"
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "processInstanceId" : {
- "type" : "string"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "userid" : {
- "type" : "string"
- }
- }
- },
- "CldsMonitoringDetails" : {
- "type" : "object",
- "properties" : {
- "closeloopName" : {
- "type" : "string"
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
},
- "modelId" : {
+ "asCharacter" : {
"type" : "string"
},
- "modelName" : {
- "type" : "string"
+ "asBigDecimal" : {
+ "type" : "number"
},
- "serviceTypeId" : {
- "type" : "string"
+ "asBigInteger" : {
+ "type" : "integer"
},
- "deploymentId" : {
- "type" : "string"
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "templateName" : {
- "type" : "string"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
},
- "action" : {
- "type" : "string"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
- "userid" : {
- "type" : "string"
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
},
- "timestamp" : {
- "type" : "string"
- }
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails"
- }
- },
- "CldsInfo" : {
- "type" : "object",
- "properties" : {
- "userName" : {
- "type" : "string"
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
},
- "cldsVersion" : {
- "type" : "string"
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
},
- "permissionReadCl" : {
+ "jsonArray" : {
"type" : "boolean"
},
- "permissionUpdateCl" : {
+ "jsonObject" : {
"type" : "boolean"
},
- "permissionReadTemplate" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "permissionUpdateTemplate" : {
+ "jsonNull" : {
"type" : "boolean"
},
- "permissionReadTosca" : {
- "type" : "boolean"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
- "permissionUpdateTosca" : {
- "type" : "boolean"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
}
},
"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" : {
- "type" : "string"
- },
- "updatedBy" : {
+ "stateName" : {
"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" : {
+ "healthCheckComponent" : {
"type" : "string"
},
- "userId" : {
+ "healthCheckStatus" : {
"type" : "string"
},
- "createdDate" : {
- "type" : "string"
- },
- "lastUpdatedDate" : {
- "type" : "string"
- },
- "id" : {
- "type" : "string"
- },
- "policyType" : {
- "type" : "string"
- },
- "toscaModelName" : {
+ "description" : {
"type" : "string"
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsToscaModel"
+ "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
}
}
}