{
"swagger" : "2.0",
"info" : {
- "version" : "3.0.0-SNAPSHOT",
+ "version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "0.0.0.0",
- "basePath" : "/restservices/clds/v1/",
+ "host" : "localhost:41607",
+ "basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
- "/clds/action/{action}/{modelName}?test={test}" : {
+ "/v2/clampInformation" : {
+ "get" : {
+ "operationId" : "route35",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/ClampInformation"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route35"
+ }
+ },
+ "/v2/dictionary" : {
+ "get" : {
+ "operationId" : "route21",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route21"
+ },
"put" : {
- "operationId" : "route10",
+ "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"
+ "$ref" : "#/definitions/Dictionary"
}
} ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route10"
- }
- },
- "/clds/cldsDetails" : {
- "get" : {
- "operationId" : "route2",
- "produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
- "responseSchema" : {
- "$ref" : "#/definitions/CldsMonitoringDetails"
- },
"schema" : {
- "$ref" : "#/definitions/CldsMonitoringDetails"
+ "$ref" : "#/definitions/Dictionary"
}
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route2"
+ "x-routeId" : "route23"
}
},
- "/clds/cldsInfo" : {
+ "/v2/dictionary/{dictionaryName}" : {
"get" : {
- "operationId" : "route3",
"produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "dictionaryName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
"responses" : {
"200" : {
"description" : "Output type",
- "responseSchema" : {
- "$ref" : "#/definitions/CldsInfo"
- },
"schema" : {
- "$ref" : "#/definitions/CldsInfo"
+ "$ref" : "#/definitions/Dictionary"
}
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route3"
+ "x-routeId" : null
}
},
- "/clds/dcae/event?test={test}" : {
- "post" : {
- "operationId" : "route11",
+ "/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/DcaeEvent"
+ "$ref" : "#/definitions/Dictionary"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
}
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : null
+ },
+ "delete" : {
+ "operationId" : "route25",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : { }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route11"
+ "x-routeId" : "route25"
}
},
- "/clds/deploy/{modelName}" : {
- "put" : {
- "operationId" : "route15",
- "consumes" : [ "application/json" ],
+ "/v2/dictionary/{name}/elements/{shortName}" : {
+ "delete" : {
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "name",
"in" : "path",
"required" : true,
"type" : "string"
}, {
- "in" : "body",
- "name" : "body",
+ "name" : "shortName",
+ "in" : "path",
"required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsModel"
- }
+ "type" : "string"
} ],
"responses" : {
"200" : { }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route15"
+ "x-routeId" : null
}
},
- "/clds/model-names" : {
+ "/v2/dictionary/secondary/names" : {
"get" : {
- "operationId" : "route9",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
- "responseSchema" : {
- "$ref" : "#/definitions/ValueItem"
- },
"schema" : {
- "$ref" : "#/definitions/ValueItem"
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
}
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route9"
+ "x-routeId" : null
}
},
- "/clds/model/{modelName}" : {
+ "/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route7",
+ "operationId" : "route3",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
"responses" : {
"200" : {
"description" : "Output type",
- "responseSchema" : {
- "$ref" : "#/definitions/CldsModel"
- },
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "$ref" : "#/definitions/Loop"
}
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route7"
- },
+ "x-routeId" : "route3"
+ }
+ },
+ "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
"put" : {
- "operationId" : "route8",
- "consumes" : [ "application/json" ],
+ "operationId" : "route16",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
}, {
- "in" : "body",
- "name" : "body",
+ "name" : "policyType",
+ "in" : "path",
"required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "type" : "string"
+ }, {
+ "name" : "policyVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
}
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route16"
+ }
+ },
+ "/v2/loop/create/{loopName}?templateName={templateName}" : {
+ "post" : {
+ "operationId" : "route18",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName}?templateName={templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
"description" : "Output type",
- "responseSchema" : {
- "$ref" : "#/definitions/CldsModel"
- },
"schema" : {
- "$ref" : "#/definitions/CldsModel"
+ "$ref" : "#/definitions/Loop"
}
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route8"
+ "x-routeId" : "route18"
}
},
- "/clds/model/bpmn/{modelName}" : {
- "get" : {
- "operationId" : "route5",
- "produces" : [ "text/xml" ],
+ "/v2/loop/delete/{loopName}" : {
+ "put" : {
+ "operationId" : "route14",
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
"200" : { }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route5"
+ "x-routeId" : "route14"
}
},
- "/clds/model/image/{modelName}" : {
- "get" : {
- "operationId" : "route6",
- "produces" : [ "text/xml" ],
+ "/v2/loop/deploy/{loopName}" : {
+ "put" : {
+ "operationId" : "route8",
+ "produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route6"
+ "x-routeId" : "route8"
}
},
- "/clds/properties" : {
+ "/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route13",
+ "operationId" : "route2",
"produces" : [ "application/json" ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route13"
+ "x-routeId" : "route2"
}
},
- "/clds/properties/{serviceInvariantUUID}?refresh={refresh}" : {
+ "/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route14",
+ "operationId" : "route15",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "serviceInvariantUUID}?refresh={refresh",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route14"
+ "x-routeId" : "route15"
}
},
- "/clds/sdc/services" : {
- "get" : {
- "operationId" : "route12",
+ "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
+ "put" : {
+ "operationId" : "route9",
"produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route12"
+ "x-routeId" : "route9"
}
},
- "/clds/undeploy/{modelName}" : {
+ "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
"put" : {
- "operationId" : "route16",
- "consumes" : [ "application/json" ],
+ "operationId" : "route17",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "modelName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
}, {
- "in" : "body",
- "name" : "body",
+ "name" : "policyType",
+ "in" : "path",
"required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsModel"
- }
+ "type" : "string"
+ }, {
+ "name" : "policyVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route16"
+ "x-routeId" : "route17"
}
},
- "/cldsTempate/template-names" : {
- "get" : {
- "operationId" : "route21",
+ "/v2/loop/restart/{loopName}" : {
+ "put" : {
+ "operationId" : "route12",
"produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
"responses" : {
"200" : {
"description" : "Output type",
- "responseSchema" : {
- "$ref" : "#/definitions/ValueItem"
- },
"schema" : {
- "$ref" : "#/definitions/ValueItem"
+ "$ref" : "#/definitions/Loop"
}
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route21"
+ "x-routeId" : "route12"
}
},
- "/cldsTempate/template/{templateName}" : {
- "get" : {
- "operationId" : "route19",
+ "/v2/loop/stop/{loopName}" : {
+ "put" : {
+ "operationId" : "route11",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "templateName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
"responses" : {
"200" : {
"description" : "Output type",
- "responseSchema" : {
- "$ref" : "#/definitions/CldsTemplate"
- },
"schema" : {
- "$ref" : "#/definitions/CldsTemplate"
+ "$ref" : "#/definitions/Loop"
}
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route19"
- },
+ "x-routeId" : "route11"
+ }
+ },
+ "/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route20",
- "consumes" : [ "application/json" ],
+ "operationId" : "route13",
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "templateName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "$ref" : "#/definitions/CldsTemplate"
- }
} ],
"responses" : {
"200" : {
"description" : "Output type",
- "responseSchema" : {
- "$ref" : "#/definitions/CldsTemplate"
- },
"schema" : {
- "$ref" : "#/definitions/CldsTemplate"
+ "$ref" : "#/definitions/Loop"
}
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route20"
+ "x-routeId" : "route13"
}
},
- "/cldsTempate/template/bpmn/{templateName}" : {
+ "/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
- "operationId" : "route17",
- "produces" : [ "text/xml" ],
+ "operationId" : "route4",
+ "produces" : [ "application/xml" ],
"parameters" : [ {
- "name" : "templateName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "string"
+ }
+ }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route17"
+ "x-routeId" : "route4"
}
},
- "/cldsTempate/template/image/{templateName}" : {
- "get" : {
- "operationId" : "route18",
- "produces" : [ "text/xml" ],
+ "/v2/loop/undeploy/{loopName}" : {
+ "put" : {
+ "operationId" : "route10",
+ "produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "templateName",
+ "name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route18"
+ "x-routeId" : "route10"
+ }
+ },
+ "/v2/loop/updateGlobalProperties/{loopName}" : {
+ "post" : {
+ "operationId" : "route5",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/JsonObject"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route5"
}
},
- "/healthcheck" : {
+ "/v2/loop/updateMicroservicePolicy/{loopName}" : {
+ "post" : {
+ "operationId" : "route7",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/MicroServicePolicy"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/MicroServicePolicy"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route7"
+ }
+ },
+ "/v2/loop/updateOperationalPolicies/{loopName}" : {
+ "post" : {
+ "operationId" : "route6",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/JsonArray"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route6"
+ }
+ },
+ "/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route4",
+ "operationId" : "route28",
"produces" : [ "application/json" ],
"responses" : {
- "200" : { }
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
+ }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route4"
+ "x-routeId" : "route28"
+ },
+ "post" : {
+ "operationId" : "route29",
+ "consumes" : [ "plain/text" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route29"
+ }
+ },
+ "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "policyModelType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : null
+ },
+ "put" : {
+ "operationId" : "route30",
+ "consumes" : [ "plain/text" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "policyModelType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route30"
}
},
- "/user/getUser" : {
+ "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
"get" : {
- "operationId" : "route22",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "policyModelType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : null
+ }
+ },
+ "/v2/templates" : {
+ "get" : {
+ "operationId" : "route34",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/LoopTemplate"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route34"
+ }
+ },
+ "/v2/templates/{templateName}" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/LoopTemplate"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : null
+ }
+ },
+ "/v2/templates/{templateName}/svgRepresentation" : {
+ "get" : {
+ "produces" : [ "application/xml" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : null
+ }
+ },
+ "/v2/templates/names" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : null
+ }
+ },
+ "/v1/healthcheck" : {
+ "get" : {
+ "operationId" : "route36",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsHealthCheck"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route36"
+ }
+ },
+ "/v1/user/getUser" : {
+ "get" : {
+ "operationId" : "route37",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route22"
+ "x-routeId" : "route37"
}
}
},
"definitions" : {
- "CldsModelInstance" : {
+ "ClampInformation" : {
+ "type" : "object",
+ "properties" : {
+ "userName" : {
+ "type" : "string"
+ },
+ "cldsVersion" : {
+ "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"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "secondLevelDictionary" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "subDictionaryType" : {
+ "type" : "string"
+ },
+ "dictionaryElements" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/DictionaryElement"
+ }
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.tosca.Dictionary"
+ }
+ },
+ "DictionaryElement" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "shortName" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "subDictionary" : {
+ "type" : "string"
+ },
+ "usedByDictionaries" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ }
+ },
+ "Loop" : {
"type" : "object",
"properties" : {
- "modelInstanceId" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "dcaeDeploymentId" : {
"type" : "string"
},
- "location" : {
+ "dcaeDeploymentStatusUrl" : {
"type" : "string"
},
- "vmName" : {
+ "svgRepresentation" : {
"type" : "string"
+ },
+ "globalPropertiesJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "modelService" : {
+ "$ref" : "#/definitions/Service"
+ },
+ "lastComputedState" : {
+ "type" : "string",
+ "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
+ },
+ "components" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/definitions/ExternalComponent"
+ }
+ },
+ "operationalPolicies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/OperationalPolicy"
+ }
+ },
+ "microServicePolicies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/MicroServicePolicy"
+ }
+ },
+ "loopLogs" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopLog"
+ }
+ },
+ "loopTemplate" : {
+ "$ref" : "#/definitions/LoopTemplate"
}
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.loop.Loop"
}
},
- "CldsModel" : {
+ "JsonPrimitive" : {
"type" : "object",
"properties" : {
- "id" : {
- "type" : "string"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "templateId" : {
- "type" : "string"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
- "templateName" : {
- "type" : "string"
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "name" : {
- "type" : "string"
+ "boolean" : {
+ "type" : "boolean"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "number" : {
+ "type" : "boolean"
},
- "controlNamePrefix" : {
+ "asString" : {
"type" : "string"
},
- "controlNameUuid" : {
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
"type" : "string"
},
- "bpmnText" : {
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "string" : {
+ "type" : "boolean"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ }
+ }
+ },
+ "MicroServicePolicy" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
"type" : "string"
},
- "propText" : {
+ "createdBy" : {
"type" : "string"
},
- "imageText" : {
+ "jsonRepresentation" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "configurationsJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
+ },
+ "pdpGroup" : {
"type" : "string"
},
- "docText" : {
+ "pdpSubgroup" : {
"type" : "string"
},
- "blueprintText" : {
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
+ "name" : {
"type" : "string"
},
- "event" : {
- "$ref" : "#/definitions/CldsEvent"
+ "context" : {
+ "type" : "string"
},
- "status" : {
+ "deviceTypeScope" : {
"type" : "string"
},
- "permittedActionCd" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
+ "shared" : {
+ "type" : "boolean"
},
- "cldsModelInstanceList" : {
+ "usedByLoops" : {
"type" : "array",
+ "uniqueItems" : true,
"items" : {
- "$ref" : "#/definitions/CldsModelInstance"
+ "$ref" : "#/definitions/Loop"
}
},
- "typeId" : {
+ "dcaeDeploymentId" : {
+ "type" : "string"
+ },
+ "dcaeDeploymentStatusUrl" : {
"type" : "string"
},
- "typeName" : {
+ "dcaeBlueprintId" : {
"type" : "string"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
+ }
+ },
+ "JsonObject" : {
+ "type" : "object",
+ "properties" : {
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "deploymentId" : {
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asString" : {
"type" : "string"
},
- "controlName" : {
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
"type" : "string"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsModel"
+ "format" : "com.google.gson.JsonObject"
}
},
- "CldsEvent" : {
+ "PolicyModel" : {
"type" : "object",
"properties" : {
- "id" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
"type" : "string"
},
- "actionCd" : {
+ "policyModelType" : {
"type" : "string"
},
- "actionStateCd" : {
+ "version" : {
"type" : "string"
},
- "processInstanceId" : {
+ "policyModelTosca" : {
"type" : "string"
},
- "userid" : {
+ "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"
}
},
- "CldsMonitoringDetails" : {
+ "Service" : {
"type" : "object",
"properties" : {
- "closeloopName" : {
+ "serviceUuid" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "version" : {
"type" : "string"
},
- "modelName" : {
+ "serviceDetails" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "resourceDetails" : {
+ "$ref" : "#/definitions/JsonObject"
+ }
+ }
+ },
+ "LoopTemplateLoopElementModel" : {
+ "type" : "object",
+ "properties" : {
+ "loopTemplate" : {
+ "$ref" : "#/definitions/LoopTemplate"
+ },
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
+ },
+ "flowOrder" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "OperationalPolicy" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
"type" : "string"
},
- "serviceTypeId" : {
+ "createdBy" : {
"type" : "string"
},
- "deploymentId" : {
+ "jsonRepresentation" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "configurationsJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
+ },
+ "pdpGroup" : {
"type" : "string"
},
- "templateName" : {
+ "pdpSubgroup" : {
"type" : "string"
},
- "action" : {
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
+ "name" : {
"type" : "string"
},
- "userid" : {
+ "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"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asString" : {
"type" : "string"
},
- "timestamp" : {
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
"type" : "string"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails"
}
},
- "CldsInfo" : {
+ "JsonArray" : {
"type" : "object",
"properties" : {
- "userName" : {
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asString" : {
"type" : "string"
},
- "cldsVersion" : {
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
"type" : "string"
},
- "permissionReadCl" : {
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "jsonObject" : {
"type" : "boolean"
},
- "permissionUpdateCl" : {
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "jsonNull" : {
"type" : "boolean"
},
- "permissionReadTemplate" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "permissionUpdateTemplate" : {
+ "jsonArray" : {
"type" : "boolean"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsInfo"
+ "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"
+ }
}
},
- "DcaeEvent" : {
+ "LoopTemplate" : {
"type" : "object",
"properties" : {
- "event" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "name" : {
"type" : "string"
},
- "serviceUUID" : {
+ "dcaeBlueprintId" : {
"type" : "string"
},
- "resourceUUID" : {
+ "blueprint" : {
"type" : "string"
},
- "artifactName" : {
+ "svgRepresentation" : {
"type" : "string"
},
- "instances" : {
+ "loopElementModelsUsed" : {
"type" : "array",
+ "uniqueItems" : true,
"items" : {
- "$ref" : "#/definitions/CldsModelInstance"
+ "$ref" : "#/definitions/LoopTemplateLoopElementModel"
}
},
- "controlName" : {
- "type" : "string"
+ "modelService" : {
+ "$ref" : "#/definitions/Service"
},
- "cldsActionCd" : {
- "type" : "string"
+ "maximumInstancesAllowed" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "uniqueBlueprint" : {
+ "type" : "boolean"
+ },
+ "allowedLoopType" : {
+ "type" : "string",
+ "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.clds.model.DcaeEvent"
+ "format" : "org.onap.clamp.loop.template.LoopTemplate"
}
},
- "ValueItem" : {
+ "ExternalComponentState" : {
"type" : "object",
"properties" : {
- "value" : {
+ "stateName" : {
+ "type" : "string"
+ },
+ "description" : {
"type" : "string"
+ },
+ "level" : {
+ "type" : "integer",
+ "format" : "int32"
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.ValueItem"
}
},
- "CldsTemplate" : {
+ "LoopElementModel" : {
"type" : "object",
"properties" : {
- "id" : {
- "type" : "string"
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "name" : {
- "type" : "string"
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "controlNamePrefix" : {
+ "updatedBy" : {
"type" : "string"
},
- "controlNameUuid" : {
+ "createdBy" : {
"type" : "string"
},
- "bpmnId" : {
+ "name" : {
"type" : "string"
},
- "bpmnUserid" : {
+ "dcaeBlueprintId" : {
"type" : "string"
},
- "bpmnText" : {
+ "blueprint" : {
"type" : "string"
},
- "imageId" : {
+ "loopElementType" : {
"type" : "string"
},
- "imageUserid" : {
+ "shortName" : {
"type" : "string"
},
- "imageText" : {
- "type" : "string"
+ "policyModels" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
},
- "propId" : {
+ "usedByLoopTemplates" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopTemplateLoopElementModel"
+ }
+ }
+ }
+ },
+ "CldsHealthCheck" : {
+ "type" : "object",
+ "properties" : {
+ "healthCheckComponent" : {
"type" : "string"
},
- "propUserid" : {
+ "healthCheckStatus" : {
"type" : "string"
},
- "propText" : {
+ "description" : {
"type" : "string"
- },
- "userAuthorizedToUpdate" : {
- "type" : "boolean"
}
},
"x-className" : {
"type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsTemplate"
+ "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
}
}
}