{
"swagger" : "2.0",
"info" : {
- "version" : "4.1.2-SNAPSHOT",
+ "version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:34219",
+ "host" : "localhost:46561",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
+ "/v2/clampInformation" : {
+ "get" : {
+ "operationId" : "route74",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/ClampInformation"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route74"
+ }
+ },
+ "/v2/dictionary" : {
+ "get" : {
+ "operationId" : "route58",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route58"
+ },
+ "put" : {
+ "operationId" : "route61",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route61"
+ }
+ },
+ "/v2/dictionary/{dictionaryName}" : {
+ "get" : {
+ "operationId" : "route60",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "dictionaryName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route60"
+ }
+ },
+ "/v2/dictionary/{name}" : {
+ "put" : {
+ "operationId" : "route62",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Dictionary"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route62"
+ },
+ "delete" : {
+ "operationId" : "route63",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route63"
+ }
+ },
+ "/v2/dictionary/{name}/elements/{shortName}" : {
+ "delete" : {
+ "operationId" : "route64",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "name",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "shortName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route64"
+ }
+ },
+ "/v2/dictionary/secondary/names" : {
+ "get" : {
+ "operationId" : "route59",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route59"
+ }
+ },
"/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route3",
+ "operationId" : "route41",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route41"
+ }
+ },
+ "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
+ "put" : {
+ "operationId" : "route55",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route55"
+ }
+ },
+ "/v2/loop/create/{loopName}?templateName={templateName}" : {
+ "post" : {
+ "operationId" : "route57",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName}?templateName={templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route3"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route57"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route13",
+ "operationId" : "route53",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route13"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route53"
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
- "operationId" : "route8",
+ "operationId" : "route46",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route8"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route46"
}
},
"/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route2",
+ "operationId" : "route40",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route2"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route40"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route14",
+ "operationId" : "route54",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route54"
+ }
+ },
+ "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
+ "put" : {
+ "operationId" : "route47",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "microServicePolicyName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route47"
+ }
+ },
+ "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
+ "put" : {
+ "operationId" : "route48",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "operationalPolicyName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route48"
+ }
+ },
+ "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
+ "put" : {
+ "operationId" : "route56",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route14"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route56"
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
- "operationId" : "route11",
+ "operationId" : "route51",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route11"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route51"
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
- "operationId" : "route10",
+ "operationId" : "route50",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route10"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route50"
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route12",
+ "operationId" : "route52",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route12"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route52"
}
},
"/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
- "operationId" : "route4",
+ "operationId" : "route42",
"produces" : [ "application/xml" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route4"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route42"
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
- "operationId" : "route9",
+ "operationId" : "route49",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route9"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route49"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
- "operationId" : "route5",
+ "operationId" : "route43",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route5"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route43"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
- "operationId" : "route7",
+ "operationId" : "route45",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route7"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route45"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
- "operationId" : "route6",
+ "operationId" : "route44",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route6"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route44"
}
},
- "/v1/clds/cldsInfo" : {
+ "/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route15",
+ "operationId" : "route65",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsInfo"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route15"
- }
- },
- "/v1/healthcheck" : {
- "get" : {
- "operationId" : "route16",
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route65"
+ },
+ "post" : {
+ "operationId" : "route68",
+ "consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
+ "parameters" : [ {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/CldsHealthCheck"
+ "$ref" : "#/definitions/PolicyModel"
}
}
},
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route16"
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route68"
}
},
- "/v1/user/getUser" : {
+ "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
"get" : {
- "operationId" : "route17",
- "produces" : [ "text/plain" ],
- "responses" : {
- "200" : { }
- },
- "x-camelContextId" : "camel-1",
- "x-routeId" : "route17"
- }
- }
- },
- "definitions" : {
+ "operationId" : "route66",
+ "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-2",
+ "x-routeId" : "route66"
+ },
+ "put" : {
+ "operationId" : "route69",
+ "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-2",
+ "x-routeId" : "route69"
+ }
+ },
+ "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
+ "get" : {
+ "operationId" : "route67",
+ "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-2",
+ "x-routeId" : "route67"
+ }
+ },
+ "/v2/templates" : {
+ "get" : {
+ "operationId" : "route70",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/LoopTemplate"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route70"
+ }
+ },
+ "/v2/templates/{templateName}" : {
+ "get" : {
+ "operationId" : "route71",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/LoopTemplate"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route71"
+ }
+ },
+ "/v2/templates/{templateName}/svgRepresentation" : {
+ "get" : {
+ "operationId" : "route73",
+ "produces" : [ "application/xml" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route73"
+ }
+ },
+ "/v2/templates/names" : {
+ "get" : {
+ "operationId" : "route72",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route72"
+ }
+ },
+ "/v1/healthcheck" : {
+ "get" : {
+ "operationId" : "route75",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/CldsHealthCheck"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route75"
+ }
+ },
+ "/v1/user/getUser" : {
+ "get" : {
+ "operationId" : "route76",
+ "produces" : [ "text/plain" ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-2",
+ "x-routeId" : "route76"
+ }
+ }
+ },
+ "definitions" : {
+ "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" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
+ "type" : "string"
+ },
+ "createdBy" : {
+ "type" : "string"
+ },
"name" : {
"type" : "string"
},
"dcaeDeploymentStatusUrl" : {
"type" : "string"
},
- "dcaeBlueprintId" : {
- "type" : "string"
- },
"svgRepresentation" : {
"type" : "string"
},
"globalPropertiesJson" : {
"$ref" : "#/definitions/JsonObject"
},
- "modelPropertiesJson" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "blueprint" : {
- "type" : "string"
+ "modelService" : {
+ "$ref" : "#/definitions/Service"
},
"lastComputedState" : {
"type" : "string",
"items" : {
"$ref" : "#/definitions/LoopLog"
}
+ },
+ "loopTemplate" : {
+ "$ref" : "#/definitions/LoopTemplate"
}
},
"x-className" : {
"format" : "org.onap.clamp.loop.Loop"
}
},
- "JsonArray" : {
+ "JsonPrimitive" : {
"type" : "object",
"properties" : {
"asBoolean" : {
"type" : "boolean"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "number" : {
+ "type" : "boolean"
+ },
+ "string" : {
+ "type" : "boolean"
+ },
+ "boolean" : {
+ "type" : "boolean"
},
"asString" : {
"type" : "string"
"type" : "number",
"format" : "double"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
- },
"asLong" : {
"type" : "integer",
"format" : "int64"
"type" : "integer",
"format" : "int32"
},
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
"asByte" : {
"type" : "string",
"format" : "byte"
"type" : "integer",
"format" : "int32"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
+ "jsonArray" : {
+ "type" : "boolean"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
- "jsonArray" : {
+ "jsonObject" : {
"type" : "boolean"
},
- "jsonObject" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ }
+ }
+ },
+ "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" : {
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asString" : {
+ "type" : "string"
+ },
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "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"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
"jsonPrimitive" : {
"type" : "boolean"
},
+ "jsonNull" : {
+ "type" : "boolean"
+ },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
}
},
"x-className" : {
"type" : "string",
- "format" : "com.google.gson.JsonArray"
+ "format" : "com.google.gson.JsonObject"
}
},
- "LoopLog" : {
+ "PolicyModel" : {
"type" : "object",
"properties" : {
- "id" : {
+ "createdDate" : {
"type" : "integer",
"format" : "int64"
},
- "logType" : {
- "type" : "string",
- "enum" : [ "INFO", "WARNING", "ERROR" ]
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "logComponent" : {
+ "updatedBy" : {
"type" : "string"
},
- "message" : {
+ "createdBy" : {
"type" : "string"
},
- "loop" : {
- "$ref" : "#/definitions/Loop"
+ "policyModelType" : {
+ "type" : "string"
},
- "logInstant" : {
- "type" : "integer",
- "format" : "int64"
+ "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"
}
},
- "Number" : {
- "type" : "object"
+ "Service" : {
+ "type" : "object",
+ "properties" : {
+ "serviceUuid" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "serviceDetails" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "resourceDetails" : {
+ "$ref" : "#/definitions/JsonObject"
+ }
+ }
},
- "JsonPrimitive" : {
+ "LoopTemplateLoopElementModel" : {
"type" : "object",
"properties" : {
- "boolean" : {
- "type" : "boolean"
+ "loopTemplate" : {
+ "$ref" : "#/definitions/LoopTemplate"
},
- "number" : {
- "type" : "boolean"
+ "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" : {
"asBoolean" : {
"type" : "boolean"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
- },
"asString" : {
"type" : "string"
},
"asDouble" : {
"type" : "number",
- "format" : "double"
- },
- "asFloat" : {
- "type" : "number",
- "format" : "float"
+ "format" : "double"
},
"asLong" : {
"type" : "integer",
"type" : "integer",
"format" : "int32"
},
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
"asByte" : {
"type" : "string",
"format" : "byte"
"type" : "integer",
"format" : "int32"
},
- "string" : {
- "type" : "boolean"
- },
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
- },
- "jsonArray" : {
- "type" : "boolean"
- },
"jsonObject" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "jsonNull" : {
"type" : "boolean"
},
"asJsonObject" : {
},
"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"
- }
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
}
},
- "JsonObject" : {
+ "JsonArray" : {
"type" : "object",
"properties" : {
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
- },
"asBoolean" : {
"type" : "boolean"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
- },
"asString" : {
"type" : "string"
},
"type" : "number",
"format" : "double"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
- },
"asLong" : {
"type" : "integer",
"format" : "int64"
"type" : "integer",
"format" : "int32"
},
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
"asByte" : {
"type" : "string",
"format" : "byte"
"jsonArray" : {
"type" : "boolean"
},
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
"jsonObject" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "jsonNull" : {
"type" : "boolean"
},
"asJsonObject" : {
},
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
}
},
"x-className" : {
"type" : "string",
- "format" : "com.google.gson.JsonObject"
+ "format" : "com.google.gson.JsonArray"
}
},
- "ExternalComponent" : {
+ "LoopLog" : {
"type" : "object",
"properties" : {
- "state" : {
- "$ref" : "#/definitions/ExternalComponentState"
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "componentName" : {
- "type" : "string"
- }
- }
- },
- "OperationalPolicy" : {
- "type" : "object",
- "properties" : {
- "name" : {
+ "logType" : {
+ "type" : "string",
+ "enum" : [ "INFO", "WARNING", "ERROR" ]
+ },
+ "logComponent" : {
"type" : "string"
},
- "configurationsJson" : {
- "$ref" : "#/definitions/JsonObject"
+ "message" : {
+ "type" : "string"
},
"loop" : {
"$ref" : "#/definitions/Loop"
},
- "jsonRepresentation" : {
- "$ref" : "#/definitions/JsonObject"
+ "logInstant" : {
+ "type" : "integer",
+ "format" : "int64"
}
}
},
- "ExternalComponentState" : {
+ "Number" : {
+ "type" : "object"
+ },
+ "ExternalComponent" : {
"type" : "object",
"properties" : {
- "stateName" : {
- "type" : "string"
+ "state" : {
+ "$ref" : "#/definitions/ExternalComponentState"
},
- "description" : {
+ "componentName" : {
"type" : "string"
- },
- "level" : {
- "type" : "integer",
- "format" : "int32"
}
}
},
- "JsonNull" : {
+ "LoopTemplate" : {
"type" : "object",
"properties" : {
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
- },
- "asBoolean" : {
- "type" : "boolean"
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "asString" : {
+ "updatedBy" : {
"type" : "string"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
- },
- "asFloat" : {
- "type" : "number",
- "format" : "float"
+ "createdBy" : {
+ "type" : "string"
},
- "asLong" : {
- "type" : "integer",
- "format" : "int64"
+ "name" : {
+ "type" : "string"
},
- "asInt" : {
- "type" : "integer",
- "format" : "int32"
+ "dcaeBlueprintId" : {
+ "type" : "string"
},
- "asByte" : {
- "type" : "string",
- "format" : "byte"
+ "blueprint" : {
+ "type" : "string"
},
- "asCharacter" : {
+ "svgRepresentation" : {
"type" : "string"
},
- "asBigDecimal" : {
- "type" : "number"
+ "loopElementModelsUsed" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopTemplateLoopElementModel"
+ }
},
- "asBigInteger" : {
- "type" : "integer"
+ "modelService" : {
+ "$ref" : "#/definitions/Service"
},
- "asShort" : {
+ "maximumInstancesAllowed" : {
"type" : "integer",
"format" : "int32"
},
- "jsonArray" : {
- "type" : "boolean"
- },
- "jsonObject" : {
+ "uniqueBlueprint" : {
"type" : "boolean"
},
- "jsonNull" : {
- "type" : "boolean"
- },
- "jsonPrimitive" : {
- "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"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
+ "description" : {
+ "type" : "string"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "level" : {
+ "type" : "integer",
+ "format" : "int32"
}
}
},
- "CldsInfo" : {
+ "LoopElementModel" : {
"type" : "object",
"properties" : {
- "userName" : {
+ "createdDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedDate" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "updatedBy" : {
"type" : "string"
},
- "cldsVersion" : {
+ "createdBy" : {
"type" : "string"
},
- "permissionReadCl" : {
- "type" : "boolean"
+ "name" : {
+ "type" : "string"
},
- "permissionUpdateCl" : {
- "type" : "boolean"
+ "dcaeBlueprintId" : {
+ "type" : "string"
},
- "permissionReadTemplate" : {
- "type" : "boolean"
+ "blueprint" : {
+ "type" : "string"
},
- "permissionUpdateTemplate" : {
- "type" : "boolean"
+ "loopElementType" : {
+ "type" : "string"
},
- "permissionReadTosca" : {
- "type" : "boolean"
+ "shortName" : {
+ "type" : "string"
},
- "permissionUpdateTosca" : {
- "type" : "boolean"
+ "policyModels" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
+ },
+ "usedByLoopTemplates" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/LoopTemplateLoopElementModel"
+ }
}
- },
- "x-className" : {
- "type" : "string",
- "format" : "org.onap.clamp.clds.model.CldsInfo"
}
},
"CldsHealthCheck" : {