-
{
- "swagger":"2.0",
- "info":{
- "version":"3.0.0-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" : "5.0.0-SNAPSHOT",
+ "title" : "Clamp Rest API"
+ },
+ "host" : "localhost:39237",
+ "basePath" : "/restservices/clds/",
+ "schemes" : [ "http" ],
+ "paths" : {
+ "/v2/dictionary" : {
+ "get" : {
+ "operationId" : "route49",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
}
+ }
},
- "/clds/cldsDetails":{
- "get":{
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/CldsMonitoringDetails"
- }
- }
- }
- }
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route49"
+ },
+ "put" : {
+ "operationId" : "route51",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
}
+ }
},
- "/clds/cldsInfo":{
- "get":{
- "consumes":[
- ],
- "produces":[
- "application/json"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "$ref":"#/definitions/CldsInfo"
- }
- }
- }
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route51"
+ }
+ },
+ "/v2/dictionary/{dictionaryName}" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "dictionaryName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
}
+ }
},
- "/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-2",
+ "x-routeId" : null
+ }
+ },
+ "/v2/dictionary/{name}" : {
+ "put" : {
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
}
+ }
},
- "/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-2",
+ "x-routeId" : null
+ },
+ "delete" : {
+ "operationId" : "route53",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
},
- "/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-2",
+ "x-routeId" : "route53"
+ }
+ },
+ "/v2/dictionary/{name}/elements/{shortName}" : {
+ "delete" : {
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "shortName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
},
- "/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-2",
+ "x-routeId" : null
+ }
+ },
+ "/v2/dictionary/secondary/names" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
}
+ }
},
- "/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-2",
+ "x-routeId" : null
+ }
+ },
+ "/v2/loop/{loopName}" : {
+ "get" : {
+ "operationId" : "route34",
+ "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-2",
+ "x-routeId" : "route34"
+ }
+ },
+ "/v2/loop/delete/{loopName}" : {
+ "put" : {
+ "operationId" : "route45",
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
},
- "/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-2",
+ "x-routeId" : "route45"
+ }
+ },
+ "/v2/loop/deploy/{loopName}" : {
+ "put" : {
+ "operationId" : "route39",
+ "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-2",
+ "x-routeId" : "route39"
+ }
+ },
+ "/v2/loop/getAllNames" : {
+ "get" : {
+ "operationId" : "route33",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
}
+ }
},
- "/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-2",
+ "x-routeId" : "route33"
+ }
+ },
+ "/v2/loop/getstatus/{loopName}" : {
+ "get" : {
+ "operationId" : "route46",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/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-2",
+ "x-routeId" : "route46"
+ }
+ },
+ "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
+ "put" : {
+ "operationId" : "route40",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "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-2",
+ "x-routeId" : "route40"
+ }
+ },
+ "/v2/loop/restart/{loopName}" : {
+ "put" : {
+ "operationId" : "route43",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/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-2",
+ "x-routeId" : "route43"
+ }
+ },
+ "/v2/loop/stop/{loopName}" : {
+ "put" : {
+ "operationId" : "route42",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/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-2",
+ "x-routeId" : "route42"
+ }
+ },
+ "/v2/loop/submit/{loopName}" : {
+ "put" : {
+ "operationId" : "route44",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/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-2",
+ "x-routeId" : "route44"
+ }
+ },
+ "/v2/loop/svgRepresentation/{loopName}" : {
+ "get" : {
+ "operationId" : "route35",
+ "produces" : [ "application/xml" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "string"
}
+ }
},
- "/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-2",
+ "x-routeId" : "route35"
+ }
+ },
+ "/v2/loop/undeploy/{loopName}" : {
+ "put" : {
+ "operationId" : "route41",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
+ }
},
- "/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-2",
+ "x-routeId" : "route41"
+ }
+ },
+ "/v2/loop/updateGlobalProperties/{loopName}" : {
+ "post" : {
+ "operationId" : "route36",
+ "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"
}
+ }
},
- "/user/getUser":{
- "get":{
- "description":"REST service that returns the username.",
- "consumes":[
- ],
- "produces":[
- "text/plain"
- ],
- "parameters":[
- ],
- "responses":{
- "200":{
- "description":"OK",
- "headers":{
- },
- "schema":{
- "type":"string"
- }
- }
- }
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route36"
+ }
+ },
+ "/v2/loop/updateMicroservicePolicy/{loopName}" : {
+ "post" : {
+ "operationId" : "route38",
+ "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-2",
+ "x-routeId" : "route38"
+ }
},
- "definitions":{
- "CldsEvent":{
- "properties":{
- "actionAndStateCd":{
- "type":"boolean"
- },
- "actionCd":{
- "type":"boolean"
- },
- "actionStateCd":{
- "type":"boolean"
- },
- "id":{
- "type":"string"
- },
- "processInstanceId":{
- "type":"string"
- },
- "userid":{
- "type":"string"
- }
+ "/v2/loop/updateOperationalPolicies/{loopName}" : {
+ "post" : {
+ "operationId" : "route37",
+ "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"
}
+ }
},
- "CldsHealthCheck":{
- "properties":{
- "description":{
- "type":"string"
- },
- "healthCheckComponent":{
- "type":"string"
- },
- "healthCheckStatus":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route37"
+ }
+ },
+ "/v2/policyToscaModels" : {
+ "get" : {
+ "operationId" : "route56",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
}
+ }
},
- "CldsInfo":{
- "properties":{
- "cldsVersion":{
- "type":"string"
- },
- "permissionReadCl":{
- "type":"boolean"
- },
- "permissionReadTemplate":{
- "type":"boolean"
- },
- "permissionUpdateCl":{
- "type":"boolean"
- },
- "permissionUpdateTemplate":{
- "type":"boolean"
- },
- "userName":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route56"
+ }
+ },
+ "/v2/policyToscaModels/{policyModelType}" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "policyModelType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
}
+ }
},
- "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-2",
+ "x-routeId" : null
+ },
+ "put" : {
+ "operationId" : "route57",
+ "consumes" : [ "plain/text" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "policyModelType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
}
+ }
},
- "CldsModelInstance":{
- "properties":{
- "location":{
- "type":"string"
- },
- "modelInstanceId":{
- "type":"string"
- },
- "vmName":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route57"
+ }
+ },
+ "/v2/policyToscaModels/yaml/{policyModelType}" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "policyModelType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "string"
}
+ }
},
- "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-2",
+ "x-routeId" : null
+ }
+ },
+ "/v2/templates" : {
+ "get" : {
+ "operationId" : "route60",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/LoopTemplate"
}
+ }
},
- "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-2",
+ "x-routeId" : "route60"
+ }
+ },
+ "/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"
}
+ }
},
- "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-2",
+ "x-routeId" : null
+ }
+ },
+ "/v2/templates/names" : {
+ "get" : {
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
}
+ }
},
- "ValueItem":{
- "properties":{
- "value":{
- "type":"string"
- }
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : null
+ }
+ },
+ "/v1/healthcheck" : {
+ "get" : {
+ "operationId" : "route61",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsHealthCheck"
}
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route61"
+ }
+ },
+ "/v1/user/getUser" : {
+ "get" : {
+ "operationId" : "route62",
+ "produces" : [ "text/plain" ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route62"
+ }
+ }
+ },
+ "definitions" : {
+ "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" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "dcaeDeploymentId" : {
+ "type" : "string"
+ },
+ "dcaeDeploymentStatusUrl" : {
+ "type" : "string"
+ },
+ "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"
+ }
+ },
+ "JsonPrimitive" : {
+ "type" : "object",
+ "properties" : {
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "boolean" : {
+ "type" : "boolean"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "number" : {
+ "type" : "boolean"
+ },
+ "asString" : {
+ "type" : "string"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "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"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ }
+ }
+ },
+ "MicroServicePolicy" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "jsonRepresentation" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "configurationsJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
+ },
+ "pdpGroup" : {
+ "type" : "string"
+ },
+ "pdpSubgroup" : {
+ "type" : "string"
+ },
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "context" : {
+ "type" : "string"
+ },
+ "deviceTypeScope" : {
+ "type" : "string"
+ },
+ "shared" : {
+ "type" : "boolean"
+ },
+ "usedByLoops" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ },
+ "dcaeDeploymentId" : {
+ "type" : "string"
+ },
+ "dcaeDeploymentStatusUrl" : {
+ "type" : "string"
+ },
+ "dcaeBlueprintId" : {
+ "type" : "string"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
+ }
+ },
+ "JsonObject" : {
+ "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"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "com.google.gson.JsonObject"
+ }
+ },
+ "PolicyModel" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "policyModelType" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "policyModelTosca" : {
+ "type" : "string"
+ },
+ "policyAcronym" : {
+ "type" : "string"
+ },
+ "usedByElementModels" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopElementModel"
+ }
+ },
+ "policyPdpGroup" : {
+ "$ref" : "#/definitions/JsonObject"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.loop.template.PolicyModel"
+ }
+ },
+ "Service" : {
+ "type" : "object",
+ "properties" : {
+ "serviceUuid" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "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"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "jsonRepresentation" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "configurationsJson" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "loopElementModel" : {
+ "$ref" : "#/definitions/LoopElementModel"
+ },
+ "pdpGroup" : {
+ "type" : "string"
+ },
+ "pdpSubgroup" : {
+ "type" : "string"
+ },
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "loop" : {
+ "$ref" : "#/definitions/Loop"
+ },
+ "legacy" : {
+ "type" : "boolean"
+ }
+ }
+ },
+ "JsonNull" : {
+ "type" : "object",
+ "properties" : {
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asString" : {
+ "type" : "string"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "JsonArray" : {
+ "type" : "object",
+ "properties" : {
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asString" : {
+ "type" : "string"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "com.google.gson.JsonArray"
+ }
+ },
+ "LoopLog" : {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "logType" : {
+ "type" : "string",
+ "enum" : [ "INFO", "WARNING", "ERROR" ]
+ },
+ "logComponent" : {
+ "type" : "string"
+ },
+ "message" : {
+ "type" : "string"
+ },
+ "loop" : {
+ "$ref" : "#/definitions/Loop"
+ },
+ "logInstant" : {
+ "type" : "integer",
+ "format" : "int64"
+ }
+ }
+ },
+ "Number" : {
+ "type" : "object"
+ },
+ "ExternalComponent" : {
+ "type" : "object",
+ "properties" : {
+ "state" : {
+ "$ref" : "#/definitions/ExternalComponentState"
+ },
+ "componentName" : {
+ "type" : "string"
+ }
+ }
+ },
+ "LoopTemplate" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "dcaeBlueprintId" : {
+ "type" : "string"
+ },
+ "blueprint" : {
+ "type" : "string"
+ },
+ "svgRepresentation" : {
+ "type" : "string"
+ },
+ "loopElementModelsUsed" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopTemplateLoopElementModel"
+ }
+ },
+ "modelService" : {
+ "$ref" : "#/definitions/Service"
+ },
+ "maximumInstancesAllowed" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "uniqueBlueprint" : {
+ "type" : "boolean"
+ },
+ "allowedLoopType" : {
+ "type" : "string",
+ "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.loop.template.LoopTemplate"
+ }
+ },
+ "ExternalComponentState" : {
+ "type" : "object",
+ "properties" : {
+ "stateName" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "level" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ }
+ },
+ "LoopElementModel" : {
+ "type" : "object",
+ "properties" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "dcaeBlueprintId" : {
+ "type" : "string"
+ },
+ "blueprint" : {
+ "type" : "string"
+ },
+ "loopElementType" : {
+ "type" : "string"
+ },
+ "shortName" : {
+ "type" : "string"
+ },
+ "policyModels" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
+ },
+ "usedByLoopTemplates" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopTemplateLoopElementModel"
+ }
+ }
+ }
+ },
+ "CldsHealthCheck" : {
+ "type" : "object",
+ "properties" : {
+ "healthCheckComponent" : {
+ "type" : "string"
+ },
+ "healthCheckStatus" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
}
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
+ }
}
+ }
}
\ No newline at end of file