-
{
- "swagger":"2.0",
- "info":{
- "version":"2.0.2-SNAPSHOT",
- "title":"clamp"
- },
- "host":"",
- "basePath":"/clamp/restservices/clds/v1",
- "schemes":[
- "http"
- ],
- "paths":{
- "/clds/action/{action}/{modelName}":{
- "put":{
- "description":"REST service that saves and processes an action for a CLDS model by name.",
- "consumes":[
- "application/json"
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"action",
- "in":"path",
- "required":true
- },
- {
- "type":"string",
- "name":"modelName",
- "in":"path",
- "required":true
- },
- {
- "type":"string",
- "name":"test",
- "in":"query",
- "required":true
- },
- {
- "name":"body",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- },
- "500":{
- "description":"Internal Server Error",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- }
+ "swagger" : "2.0",
+ "info" : {
+ "version" : "4.1.1-SNAPSHOT",
+ "title" : "Clamp Rest API"
+ },
+ "host" : "localhost:43819",
+ "basePath" : "/restservices/clds/",
+ "schemes" : [ "http" ],
+ "paths" : {
+ "/v2/loop/{loopName}" : {
+ "get" : {
+ "operationId" : "route167",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/clds/cldsDetails":{
- "get":{
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/CldsMonitoringDetails"
- }
- }
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route167"
+ }
+ },
+ "/v2/loop/delete/{loopName}" : {
+ "put" : {
+ "operationId" : "route177",
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
},
- "/clds/cldsInfo":{
- "get":{
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsInfo"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route177"
+ }
+ },
+ "/v2/loop/deploy/{loopName}" : {
+ "put" : {
+ "operationId" : "route172",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/clds/dcae/event":{
- "post":{
- "description":"REST service that accepts events for a model.",
- "consumes":[
- "application/json"
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"test",
- "in":"query",
- "required":true
- },
- {
- "name":"body",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/DcaeEvent"
- }
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route172"
+ }
+ },
+ "/v2/loop/getAllNames" : {
+ "get" : {
+ "operationId" : "route166",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
}
+ }
},
- "/clds/deploy/{modelName}":{
- "put":{
- "consumes":[
- "application/json"
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"modelName",
- "in":"path",
- "required":true
- },
- {
- "name":"body",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- },
- "500":{
- "description":"Internal Server Error",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route166"
+ }
+ },
+ "/v2/loop/getstatus/{loopName}" : {
+ "get" : {
+ "operationId" : "route178",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/clds/healthcheck":{
- "get":{
- "description":"REST service that retrieves clds healthcheck information.",
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsHealthCheck"
- }
- },
- "500":{
- "description":"Internal Server Error",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsHealthCheck"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route178"
+ }
+ },
+ "/v2/loop/restart/{loopName}" : {
+ "put" : {
+ "operationId" : "route175",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/clds/model-names":{
- "get":{
- "description":"REST service that retrieves a list of CLDS model names.",
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/ValueItem"
- }
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route175"
+ }
+ },
+ "/v2/loop/stop/{loopName}" : {
+ "put" : {
+ "operationId" : "route174",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/clds/model/bpmn/{modelName}":{
- "get":{
- "description":"REST service that retrieves BPMN for a CLDS model name from the database.\n This is subset of the json getModel. This is only expected to be used for\n testing purposes, not by the UI.",
- "consumes":[
- ],
- "produces":[
- "text/xml"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"modelName",
- "in":"path",
- "required":true
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route174"
+ }
+ },
+ "/v2/loop/submit/{loopName}" : {
+ "put" : {
+ "operationId" : "route176",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/clds/model/image/{modelName}":{
- "get":{
- "description":"REST service that retrieves image for a CLDS model name from the\n database. This is subset of the json getModel. This is only expected to\n be used for testing purposes, not by the UI.",
- "consumes":[
- ],
- "produces":[
- "text/xml"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"modelName",
- "in":"path",
- "required":true
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route176"
+ }
+ },
+ "/v2/loop/svgRepresentation/{loopName}" : {
+ "get" : {
+ "operationId" : "route168",
+ "produces" : [ "application/xml" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "string"
}
+ }
},
- "/clds/model/{modelName}":{
- "get":{
- "description":"REST service that retrieves a CLDS model by name from the database.",
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"modelName",
- "in":"path",
- "required":true
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- }
- },
- "put":{
- "description":"REST service that saves a CLDS model by name in the database.",
- "consumes":[
- "application/json"
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"modelName",
- "in":"path",
- "required":true
- },
- {
- "name":"body",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route168"
+ }
+ },
+ "/v2/loop/undeploy/{loopName}" : {
+ "put" : {
+ "operationId" : "route173",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/clds/properties":{
- "get":{
- "description":"REST service that retrieves total properties required by UI",
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route173"
+ }
+ },
+ "/v2/loop/updateGlobalProperties/{loopName}" : {
+ "post" : {
+ "operationId" : "route169",
+ "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"
}
+ }
},
- "/clds/properties/{serviceInvariantUUID}":{
- "get":{
- "description":"REST service that retrieves total properties by using invariantUUID based\n on refresh and non refresh",
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"serviceInvariantUUID",
- "in":"path",
- "required":true
- },
- {
- "type":"boolean",
- "name":"refresh",
- "in":"query",
- "required":false,
- "default":"false"
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route169"
+ }
+ },
+ "/v2/loop/updateMicroservicePolicy/{loopName}" : {
+ "post" : {
+ "operationId" : "route171",
+ "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"
}
+ }
},
- "/clds/sdc/services":{
- "get":{
- "description":"REST service that retrieves sdc services",
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route171"
+ }
+ },
+ "/v2/loop/updateOperationalPolicies/{loopName}" : {
+ "post" : {
+ "operationId" : "route170",
+ "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"
}
+ }
},
- "/clds/undeploy/{modelName}":{
- "put":{
- "consumes":[
- "application/json"
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"modelName",
- "in":"path",
- "required":true
- },
- {
- "name":"body",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- },
- "500":{
- "description":"Internal Server Error",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsModel"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route170"
+ }
+ },
+ "/v1/clds/action/{action}/{modelName}?test={test}" : {
+ "put" : {
+ "operationId" : "route187",
+ "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-5",
+ "x-routeId" : "route187"
+ }
+ },
+ "/v1/clds/cldsDetails" : {
+ "get" : {
+ "operationId" : "route179",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsMonitoringDetails"
}
+ }
},
- "/cldsTempate/template-names":{
- "get":{
- "description":"REST service that retrieves a list of CLDS template names.",
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/ValueItem"
- }
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route179"
+ }
+ },
+ "/v1/clds/cldsInfo" : {
+ "get" : {
+ "operationId" : "route180",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsInfo"
}
+ }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route180"
+ }
+ },
+ "/v1/clds/dcae/event?test={test}" : {
+ "post" : {
+ "operationId" : "route188",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/DcaeEvent"
+ }
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route188"
+ }
+ },
+ "/v1/clds/deploy/{modelName}" : {
+ "put" : {
+ "operationId" : "route190",
+ "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"
+ }
+ } ],
+ "responses" : {
+ "200" : { }
},
- "/cldsTempate/template/bpmn/{templateName}":{
- "get":{
- "description":"REST service that retrieves BPMN for a CLDS template name from the\n database. This is subset of the json getModel. This is only expected to\n be used for testing purposes, not by the UI.",
- "consumes":[
- ],
- "produces":[
- "text/xml"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"templateName",
- "in":"path",
- "required":true
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route190"
+ }
+ },
+ "/v1/clds/model-names" : {
+ "get" : {
+ "operationId" : "route186",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/ValueItem"
}
+ }
},
- "/cldsTempate/template/image/{templateName}":{
- "get":{
- "description":"REST service that retrieves image for a CLDS template name from the\n database. This is subset of the json getModel. This is only expected to\n be used for testing purposes, not by the UI.",
- "consumes":[
- ],
- "produces":[
- "text/xml"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"templateName",
- "in":"path",
- "required":true
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route186"
+ }
+ },
+ "/v1/clds/model/{modelName}" : {
+ "get" : {
+ "operationId" : "route184",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "modelName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsModel"
}
+ }
},
- "/cldsTempate/template/{templateName}":{
- "get":{
- "description":"REST service that retrieves a CLDS template by name from the database.",
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"templateName",
- "in":"path",
- "required":true
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsTemplate"
- }
- }
- }
- },
- "put":{
- "description":"REST service that saves a CLDS template by name in the database.",
- "consumes":[
- "application/json"
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"templateName",
- "in":"path",
- "required":true
- },
- {
- "name":"body",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/CldsTemplate"
- }
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsTemplate"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route184"
+ },
+ "put" : {
+ "operationId" : "route185",
+ "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"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsModel"
}
+ }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route185"
+ }
+ },
+ "/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" ],
+ "parameters" : [ {
+ "name" : "modelName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
},
- "/user/{userName}":{
- "get":{
- "description":"REST service that returns the username.",
- "consumes":[
- ],
- "produces":[
- "text/plain"
- ],
- "parameters":[
- {
- "type":"string",
- "name":"userName",
- "in":"path",
- "required":true
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route183"
+ }
+ },
+ "/v1/clds/properties" : {
+ "get" : {
+ "operationId" : "route189",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route189"
+ }
+ },
+ "/v1/clds/undeploy/{modelName}" : {
+ "put" : {
+ "operationId" : "route191",
+ "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"
+ }
+ } ],
+ "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"
}
- }
+ }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route196"
+ }
},
- "definitions":{
- "CldsEvent":{
- "properties":{
- "actionAndStateCd":{
- "type":"boolean"
- },
- "actionCd":{
- "type":"boolean"
- },
- "actionStateCd":{
- "type":"boolean"
- },
- "id":{
- "type":"string"
- },
- "processInstanceId":{
- "type":"string"
- },
- "userid":{
- "type":"string"
- }
+ "/v1/cldsTempate/template/{templateName}" : {
+ "get" : {
+ "operationId" : "route194",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsTemplate"
}
+ }
},
- "CldsHealthCheck":{
- "properties":{
- "description":{
- "type":"string"
- },
- "healthCheckComponent":{
- "type":"string"
- },
- "healthCheckStatus":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route194"
+ },
+ "put" : {
+ "operationId" : "route195",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/CldsTemplate"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsTemplate"
}
+ }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route195"
+ }
+ },
+ "/v1/cldsTempate/template/bpmn/{templateName}" : {
+ "get" : {
+ "operationId" : "route192",
+ "produces" : [ "text/xml" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
},
- "CldsInfo":{
- "properties":{
- "cldsVersion":{
- "type":"string"
- },
- "permissionReadCl":{
- "type":"boolean"
- },
- "permissionReadTemplate":{
- "type":"boolean"
- },
- "permissionUpdateCl":{
- "type":"boolean"
- },
- "permissionUpdateTemplate":{
- "type":"boolean"
- },
- "userName":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route192"
+ }
+ },
+ "/v1/cldsTempate/template/image/{templateName}" : {
+ "get" : {
+ "operationId" : "route193",
+ "produces" : [ "text/xml" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "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"
}
+ }
},
- "CldsModel":{
- "properties":{
- "blueprintText":{
- "type":"string"
- },
- "bpmnText":{
- "type":"string"
- },
- "cldsModelInstanceList":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/CldsModelInstance"
- }
- },
- "controlName":{
- "type":"string"
- },
- "controlNamePrefix":{
- "type":"string"
- },
- "controlNameUuid":{
- "type":"string"
- },
- "deploymentId":{
- "type":"string"
- },
- "docText":{
- "type":"string"
- },
- "event":{
- "$ref":"#/definitions/CldsEvent"
- },
- "id":{
- "type":"string"
- },
- "imageText":{
- "type":"string"
- },
- "name":{
- "type":"string"
- },
- "permittedActionCd":{
- "type":"array",
- "items":{
- "type":"string"
- }
- },
- "propText":{
- "type":"string"
- },
- "status":{
- "type":"string"
- },
- "templateId":{
- "type":"string"
- },
- "templateName":{
- "type":"string"
- },
- "typeId":{
- "type":"string"
- },
- "typeName":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route204"
+ }
+ },
+ "/v1/dictionary/{dictionaryName}" : {
+ "put" : {
+ "operationId" : "route203",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "dictionaryName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/CldsDictionary"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsDictionary"
}
+ }
},
- "CldsModelInstance":{
- "properties":{
- "location":{
- "type":"string"
- },
- "modelInstanceId":{
- "type":"string"
- },
- "vmName":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route203"
+ }
+ },
+ "/v1/dictionary/{dictionaryName}/items" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "dictionaryName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsDictionary"
}
+ }
},
- "CldsMonitoringDetails":{
- "properties":{
- "action":{
- "type":"string"
- },
- "closeloopName":{
- "type":"string"
- },
- "deploymentId":{
- "type":"string"
- },
- "modelName":{
- "type":"string"
- },
- "serviceTypeId":{
- "type":"string"
- },
- "templateName":{
- "type":"string"
- },
- "timestamp":{
- "type":"string"
- },
- "userid":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : null
+ },
+ "put" : {
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "dictionaryName",
+ "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"
}
+ }
},
- "CldsTemplate":{
- "properties":{
- "bpmnId":{
- "type":"string"
- },
- "bpmnText":{
- "type":"string"
- },
- "bpmnUserid":{
- "type":"string"
- },
- "controlNamePrefix":{
- "type":"string"
- },
- "controlNameUuid":{
- "type":"string"
- },
- "id":{
- "type":"string"
- },
- "imageId":{
- "type":"string"
- },
- "imageText":{
- "type":"string"
- },
- "imageUserid":{
- "type":"string"
- },
- "name":{
- "type":"string"
- },
- "propId":{
- "type":"string"
- },
- "propText":{
- "type":"string"
- },
- "propUserid":{
- "type":"string"
- },
- "userAuthorizedToUpdate":{
- "type":"boolean"
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : null
+ }
+ },
+ "/v1/healthcheck" : {
+ "get" : {
+ "operationId" : "route181",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route181"
+ }
+ },
+ "/v1/tosca/models" : {
+ "get" : {
+ "operationId" : "route200",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsToscaModel"
}
+ }
},
- "DcaeEvent":{
- "properties":{
- "artifactName":{
- "type":"string"
- },
- "cldsActionCd":{
- "type":"string"
- },
- "controlName":{
- "type":"string"
- },
- "event":{
- "type":"string"
- },
- "instances":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/CldsModelInstance"
- }
- },
- "resourceUUID":{
- "type":"string"
- },
- "serviceUUID":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route200"
+ }
+ },
+ "/v1/tosca/models/{toscaModelName}" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "toscaModelName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsToscaModel"
}
+ }
},
- "ValueItem":{
- "properties":{
- "value":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : null
+ },
+ "put" : {
+ "operationId" : "route197",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "toscaModelName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/CldsToscaModel"
+ }
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route197"
+ }
+ },
+ "/v1/tosca/models/policyType/{policyType}" : {
+ "get" : {
+ "operationId" : "route198",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "policyType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsToscaModel"
}
+ }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route198"
+ }
+ },
+ "/v1/user/getUser" : {
+ "get" : {
+ "operationId" : "route205",
+ "produces" : [ "text/plain" ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route205"
+ }
+ }
+ },
+ "definitions" : {
+ "Loop" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "dcaeDeploymentId" : {
+ "type" : "string"
+ },
+ "dcaeDeploymentStatusUrl" : {
+ "type" : "string"
+ },
+ "dcaeBlueprintId" : {
+ "type" : "string"
+ },
+ "svgRepresentation" : {
+ "type" : "string"
+ },
+ "globalPropertiesJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "modelPropertiesJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "blueprint" : {
+ "type" : "string"
+ },
+ "lastComputedState" : {
+ "type" : "string",
+ "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
+ },
+ "components" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/definitions/ExternalComponent"
+ }
+ },
+ "operationalPolicies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/OperationalPolicy"
+ }
+ },
+ "microServicePolicies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/MicroServicePolicy"
+ }
+ },
+ "loopLogs" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopLog"
+ }
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.loop.Loop"
+ }
+ },
+ "JsonArray" : {
+ "type" : "object",
+ "properties" : {
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asString" : {
+ "type" : "string"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "com.google.gson.JsonArray"
+ }
+ },
+ "LoopLog" : {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "logType" : {
+ "type" : "string",
+ "enum" : [ "INFO", "WARNING", "ERROR" ]
+ },
+ "logComponent" : {
+ "type" : "string"
+ },
+ "message" : {
+ "type" : "string"
+ },
+ "loop" : {
+ "$ref" : "#/definitions/Loop"
+ },
+ "logInstant" : {
+ "type" : "integer",
+ "format" : "int64"
+ }
+ }
+ },
+ "Number" : {
+ "type" : "object"
+ },
+ "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"
+ },
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "string" : {
+ "type" : "boolean"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ }
+ }
+ },
+ "MicroServicePolicy" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "modelType" : {
+ "type" : "string"
+ },
+ "properties" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "shared" : {
+ "type" : "boolean"
+ },
+ "policyTosca" : {
+ "type" : "string"
+ },
+ "jsonRepresentation" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "usedByLoops" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
+ }
+ },
+ "JsonObject" : {
+ "type" : "object",
+ "properties" : {
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "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"
+ },
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "com.google.gson.JsonObject"
+ }
+ },
+ "ExternalComponent" : {
+ "type" : "object",
+ "properties" : {
+ "state" : {
+ "$ref" : "#/definitions/ExternalComponentState"
+ },
+ "componentName" : {
+ "type" : "string"
+ }
+ }
+ },
+ "OperationalPolicy" : {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "configurationsJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "loop" : {
+ "$ref" : "#/definitions/Loop"
+ },
+ "jsonRepresentation" : {
+ "$ref" : "#/definitions/JsonObject"
+ }
+ }
+ },
+ "ExternalComponentState" : {
+ "type" : "object",
+ "properties" : {
+ "stateName" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "level" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "JsonNull" : {
+ "type" : "object",
+ "properties" : {
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "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"
+ },
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "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"
+ },
+ "typeName" : {
+ "type" : "string"
+ },
+ "deploymentId" : {
+ "type" : "string"
+ },
+ "deploymentStatusUrl" : {
+ "type" : "string"
+ },
+ "controlName" : {
+ "type" : "string"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.CldsModel"
+ }
+ },
+ "CldsEvent" : {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "string"
+ },
+ "actionCd" : {
+ "type" : "string"
+ },
+ "actionStateCd" : {
+ "type" : "string"
+ },
+ "processInstanceId" : {
+ "type" : "string"
+ },
+ "userid" : {
+ "type" : "string"
+ }
+ }
+ },
+ "CldsMonitoringDetails" : {
+ "type" : "object",
+ "properties" : {
+ "closeloopName" : {
+ "type" : "string"
+ },
+ "modelId" : {
+ "type" : "string"
+ },
+ "modelName" : {
+ "type" : "string"
+ },
+ "serviceTypeId" : {
+ "type" : "string"
+ },
+ "deploymentId" : {
+ "type" : "string"
+ },
+ "templateName" : {
+ "type" : "string"
+ },
+ "action" : {
+ "type" : "string"
+ },
+ "userid" : {
+ "type" : "string"
+ },
+ "timestamp" : {
+ "type" : "string"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails"
+ }
+ },
+ "CldsInfo" : {
+ "type" : "object",
+ "properties" : {
+ "userName" : {
+ "type" : "string"
+ },
+ "cldsVersion" : {
+ "type" : "string"
+ },
+ "permissionReadCl" : {
+ "type" : "boolean"
+ },
+ "permissionUpdateCl" : {
+ "type" : "boolean"
+ },
+ "permissionReadTemplate" : {
+ "type" : "boolean"
+ },
+ "permissionUpdateTemplate" : {
+ "type" : "boolean"
+ },
+ "permissionReadTosca" : {
+ "type" : "boolean"
+ },
+ "permissionUpdateTosca" : {
+ "type" : "boolean"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.CldsInfo"
+ }
+ },
+ "DcaeEvent" : {
+ "type" : "object",
+ "properties" : {
+ "event" : {
+ "type" : "string"
+ },
+ "artifactName" : {
+ "type" : "string"
+ },
+ "instances" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/CldsModelInstance"
+ }
+ },
+ "serviceUUID" : {
+ "type" : "string"
+ },
+ "resourceUUID" : {
+ "type" : "string"
+ },
+ "controlName" : {
+ "type" : "string"
+ },
+ "cldsActionCd" : {
+ "type" : "string"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.DcaeEvent"
+ }
+ },
+ "ValueItem" : {
+ "type" : "object",
+ "properties" : {
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.ValueItem"
+ }
+ },
+ "CldsTemplate" : {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "controlNamePrefix" : {
+ "type" : "string"
+ },
+ "controlNameUuid" : {
+ "type" : "string"
+ },
+ "bpmnId" : {
+ "type" : "string"
+ },
+ "bpmnUserid" : {
+ "type" : "string"
+ },
+ "bpmnText" : {
+ "type" : "string"
+ },
+ "imageId" : {
+ "type" : "string"
+ },
+ "imageUserid" : {
+ "type" : "string"
+ },
+ "imageText" : {
+ "type" : "string"
+ },
+ "propId" : {
+ "type" : "string"
+ },
+ "propUserid" : {
+ "type" : "string"
+ },
+ "propText" : {
+ "type" : "string"
+ },
+ "userAuthorizedToUpdate" : {
+ "type" : "boolean"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.CldsTemplate"
+ }
+ },
+ "CldsDictionary" : {
+ "type" : "object",
+ "properties" : {
+ "dictionaryId" : {
+ "type" : "string"
+ },
+ "dictionaryName" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "lastUpdatedDate" : {
+ "type" : "string"
+ },
+ "cldsDictionaryItems" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/CldsDictionaryItem"
+ }
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.CldsDictionary"
+ }
+ },
+ "CldsDictionaryItem" : {
+ "type" : "object",
+ "properties" : {
+ "dictElementId" : {
+ "type" : "string"
+ },
+ "dictionaryId" : {
+ "type" : "string"
+ },
+ "dictElementName" : {
+ "type" : "string"
+ },
+ "dictElementShortName" : {
+ "type" : "string"
+ },
+ "dictElementDesc" : {
+ "type" : "string"
+ },
+ "dictElementType" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "lastUpdatedDate" : {
+ "type" : "string"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.CldsDictionaryItem"
+ }
+ },
+ "CldsToscaModel" : {
+ "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" : {
+ "type" : "string"
+ },
+ "policyType" : {
+ "type" : "string"
+ },
+ "toscaModelName" : {
+ "type" : "string"
}
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.CldsToscaModel"
+ }
}
+ }
}
\ No newline at end of file