| { |
| "swagger" : "2.0", |
| "info" : { |
| "version" : "6.1.2-SNAPSHOT", |
| "title" : "Clamp Rest API" |
| }, |
| "host" : "localhost:37747", |
| "basePath" : "/restservices/clds/", |
| "schemes" : [ "http" ], |
| "paths" : { |
| "/v2/clampInformation" : { |
| "get" : { |
| "operationId" : "verb188", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/ClampInformation" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route193" |
| } |
| }, |
| "/v2/dictionary" : { |
| "get" : { |
| "operationId" : "verb173", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Dictionary" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route178" |
| }, |
| "put" : { |
| "operationId" : "verb176", |
| "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-5", |
| "x-routeId" : "route181" |
| } |
| }, |
| "/v2/dictionary/{dictionaryName}" : { |
| "get" : { |
| "operationId" : "verb175", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "dictionaryName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Dictionary" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route180" |
| } |
| }, |
| "/v2/dictionary/{name}" : { |
| "put" : { |
| "operationId" : "verb177", |
| "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-5", |
| "x-routeId" : "route182" |
| }, |
| "delete" : { |
| "operationId" : "verb178", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "name", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route183" |
| } |
| }, |
| "/v2/dictionary/{name}/elements/{shortName}" : { |
| "delete" : { |
| "operationId" : "verb179", |
| "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-5", |
| "x-routeId" : "route184" |
| } |
| }, |
| "/v2/dictionary/secondary/names" : { |
| "get" : { |
| "operationId" : "verb174", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string" |
| } |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route179" |
| } |
| }, |
| "/v2/loop/{loopName}" : { |
| "get" : { |
| "operationId" : "verb154", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route159" |
| } |
| }, |
| "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : { |
| "put" : { |
| "operationId" : "verb167", |
| "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-5", |
| "x-routeId" : "route172" |
| } |
| }, |
| "/v2/loop/create/{loopName}?templateName={templateName}" : { |
| "post" : { |
| "operationId" : "verb169", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "templateName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route174" |
| } |
| }, |
| "/v2/loop/delete/{loopName}" : { |
| "put" : { |
| "operationId" : "verb165", |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route170" |
| } |
| }, |
| "/v2/loop/deploy/{loopName}" : { |
| "put" : { |
| "operationId" : "verb158", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route163" |
| } |
| }, |
| "/v2/loop/getAllNames" : { |
| "get" : { |
| "operationId" : "verb153", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string" |
| } |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route158" |
| } |
| }, |
| "/v2/loop/getstatus/{loopName}" : { |
| "get" : { |
| "operationId" : "verb166", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route171" |
| } |
| }, |
| "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : { |
| "put" : { |
| "operationId" : "verb159", |
| "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-5", |
| "x-routeId" : "route164" |
| } |
| }, |
| "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : { |
| "put" : { |
| "operationId" : "verb160", |
| "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-5", |
| "x-routeId" : "route165" |
| } |
| }, |
| "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : { |
| "put" : { |
| "operationId" : "verb168", |
| "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" |
| }, { |
| "name" : "policyName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route173" |
| } |
| }, |
| "/v2/loop/restart/{loopName}" : { |
| "put" : { |
| "operationId" : "verb163", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route168" |
| } |
| }, |
| "/v2/loop/stop/{loopName}" : { |
| "put" : { |
| "operationId" : "verb162", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route167" |
| } |
| }, |
| "/v2/loop/submit/{loopName}" : { |
| "put" : { |
| "operationId" : "verb164", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route169" |
| } |
| }, |
| "/v2/loop/undeploy/{loopName}" : { |
| "put" : { |
| "operationId" : "verb161", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route166" |
| } |
| }, |
| "/v2/loop/updateGlobalProperties/{loopName}" : { |
| "post" : { |
| "operationId" : "verb155", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "in" : "body", |
| "name" : "body", |
| "required" : true, |
| "schema" : { |
| "$ref" : "#/definitions/JsonObject" |
| } |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route160" |
| } |
| }, |
| "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| "post" : { |
| "operationId" : "verb157", |
| "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-5", |
| "x-routeId" : "route162" |
| } |
| }, |
| "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| "post" : { |
| "operationId" : "verb156", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "loopName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "in" : "body", |
| "name" : "body", |
| "required" : true, |
| "schema" : { |
| "$ref" : "#/definitions/JsonArray" |
| } |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/Loop" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route161" |
| } |
| }, |
| "/v2/policies" : { |
| "get" : { |
| "operationId" : "verb183", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/JsonObject" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route188" |
| } |
| }, |
| "/v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}" : { |
| "post" : { |
| "operationId" : "verb184", |
| "consumes" : [ "application/json" ], |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "policyModelType", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "policyModelVersion", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "policyName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "policyVersion", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "in" : "body", |
| "name" : "body", |
| "required" : true, |
| "schema" : { |
| "$ref" : "#/definitions/JsonElement" |
| } |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/JsonObject" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route189" |
| }, |
| "delete" : { |
| "operationId" : "verb185", |
| "parameters" : [ { |
| "name" : "policyModelType", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "policyModelVersion", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "policyName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| }, { |
| "name" : "policyVersion", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route190" |
| } |
| }, |
| "/v2/policies/pdpDeployment" : { |
| "put" : { |
| "operationId" : "verb186", |
| "consumes" : [ "application/json" ], |
| "parameters" : [ { |
| "in" : "body", |
| "name" : "body", |
| "required" : true, |
| "schema" : { |
| "$ref" : "#/definitions/JsonElement" |
| } |
| } ], |
| "responses" : { |
| "200" : { } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route191" |
| } |
| }, |
| "/v2/policies/policytype" : { |
| "post" : { |
| "operationId" : "verb187", |
| "consumes" : [ "plain/text" ], |
| "parameters" : [ { |
| "in" : "body", |
| "name" : "body", |
| "required" : true, |
| "schema" : { |
| "type" : "string" |
| } |
| } ], |
| "responses" : { |
| "200" : { } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route192" |
| } |
| }, |
| "/v2/policyToscaModels" : { |
| "get" : { |
| "operationId" : "verb180", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/PolicyModel" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route185" |
| } |
| }, |
| "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : { |
| "get" : { |
| "operationId" : "verb181", |
| "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/JsonObject" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route186" |
| } |
| }, |
| "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : { |
| "get" : { |
| "operationId" : "verb182", |
| "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-5", |
| "x-routeId" : "route187" |
| } |
| }, |
| "/v2/templates" : { |
| "get" : { |
| "operationId" : "verb170", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/LoopTemplate" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route175" |
| } |
| }, |
| "/v2/templates/{templateName}" : { |
| "get" : { |
| "operationId" : "verb171", |
| "produces" : [ "application/json" ], |
| "parameters" : [ { |
| "name" : "templateName", |
| "in" : "path", |
| "required" : true, |
| "type" : "string" |
| } ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/LoopTemplate" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route176" |
| } |
| }, |
| "/v2/templates/names" : { |
| "get" : { |
| "operationId" : "verb172", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string" |
| } |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route177" |
| } |
| }, |
| "/v1/healthcheck" : { |
| "get" : { |
| "operationId" : "verb189", |
| "produces" : [ "application/json" ], |
| "responses" : { |
| "200" : { |
| "description" : "Output type", |
| "schema" : { |
| "$ref" : "#/definitions/CldsHealthCheck" |
| } |
| } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route194" |
| } |
| }, |
| "/v1/user/getUser" : { |
| "get" : { |
| "operationId" : "verb190", |
| "produces" : [ "text/plain" ], |
| "responses" : { |
| "200" : { } |
| }, |
| "x-camelContextId" : "camel-5", |
| "x-routeId" : "route195" |
| } |
| } |
| }, |
| "definitions" : { |
| "ClampInformation" : { |
| "type" : "object", |
| "properties" : { |
| "userName" : { |
| "type" : "string" |
| }, |
| "cldsVersion" : { |
| "type" : "string" |
| }, |
| "allPermissions" : { |
| "type" : "array", |
| "items" : { |
| "type" : "string" |
| } |
| } |
| }, |
| "x-className" : { |
| "type" : "string", |
| "format" : "org.onap.policy.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.policy.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" |
| }, |
| "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.policy.clamp.loop.Loop" |
| } |
| }, |
| "JsonPrimitive" : { |
| "type" : "object", |
| "properties" : { |
| "asBoolean" : { |
| "type" : "boolean" |
| }, |
| "boolean" : { |
| "type" : "boolean" |
| }, |
| "number" : { |
| "type" : "boolean" |
| }, |
| "asNumber" : { |
| "$ref" : "#/definitions/Number" |
| }, |
| "asString" : { |
| "type" : "string" |
| }, |
| "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" |
| }, |
| "jsonArray" : { |
| "type" : "boolean" |
| }, |
| "jsonObject" : { |
| "type" : "boolean" |
| }, |
| "jsonPrimitive" : { |
| "type" : "boolean" |
| }, |
| "jsonNull" : { |
| "type" : "boolean" |
| }, |
| "asJsonArray" : { |
| "$ref" : "#/definitions/JsonArray" |
| }, |
| "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.policy.clamp.policy.microservice.MicroServicePolicy" |
| } |
| }, |
| "JsonObject" : { |
| "type" : "object", |
| "properties" : { |
| "asBoolean" : { |
| "type" : "boolean" |
| }, |
| "asJsonObject" : { |
| "$ref" : "#/definitions/JsonObject" |
| }, |
| "jsonArray" : { |
| "type" : "boolean" |
| }, |
| "jsonObject" : { |
| "type" : "boolean" |
| }, |
| "jsonPrimitive" : { |
| "type" : "boolean" |
| }, |
| "jsonNull" : { |
| "type" : "boolean" |
| }, |
| "asJsonArray" : { |
| "$ref" : "#/definitions/JsonArray" |
| }, |
| "asJsonPrimitive" : { |
| "$ref" : "#/definitions/JsonPrimitive" |
| }, |
| "asJsonNull" : { |
| "$ref" : "#/definitions/JsonNull" |
| }, |
| "asNumber" : { |
| "$ref" : "#/definitions/Number" |
| }, |
| "asString" : { |
| "type" : "string" |
| }, |
| "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" |
| } |
| }, |
| "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.policy.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" |
| } |
| } |
| }, |
| "JsonNull" : { |
| "type" : "object", |
| "properties" : { |
| "asBoolean" : { |
| "type" : "boolean" |
| }, |
| "asJsonObject" : { |
| "$ref" : "#/definitions/JsonObject" |
| }, |
| "jsonArray" : { |
| "type" : "boolean" |
| }, |
| "jsonObject" : { |
| "type" : "boolean" |
| }, |
| "jsonPrimitive" : { |
| "type" : "boolean" |
| }, |
| "jsonNull" : { |
| "type" : "boolean" |
| }, |
| "asJsonArray" : { |
| "$ref" : "#/definitions/JsonArray" |
| }, |
| "asJsonPrimitive" : { |
| "$ref" : "#/definitions/JsonPrimitive" |
| }, |
| "asJsonNull" : { |
| "$ref" : "#/definitions/JsonNull" |
| }, |
| "asNumber" : { |
| "$ref" : "#/definitions/Number" |
| }, |
| "asString" : { |
| "type" : "string" |
| }, |
| "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" : "object", |
| "properties" : { |
| "asBoolean" : { |
| "type" : "boolean" |
| }, |
| "asNumber" : { |
| "$ref" : "#/definitions/Number" |
| }, |
| "asString" : { |
| "type" : "string" |
| }, |
| "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" |
| }, |
| "jsonArray" : { |
| "type" : "boolean" |
| }, |
| "jsonObject" : { |
| "type" : "boolean" |
| }, |
| "jsonPrimitive" : { |
| "type" : "boolean" |
| }, |
| "jsonNull" : { |
| "type" : "boolean" |
| }, |
| "asJsonArray" : { |
| "$ref" : "#/definitions/JsonArray" |
| }, |
| "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" |
| }, |
| "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.policy.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" |
| } |
| } |
| } |
| }, |
| "JsonElement" : { |
| "type" : "object", |
| "properties" : { |
| "asBoolean" : { |
| "type" : "boolean" |
| }, |
| "asJsonObject" : { |
| "$ref" : "#/definitions/JsonObject" |
| }, |
| "jsonArray" : { |
| "type" : "boolean" |
| }, |
| "jsonObject" : { |
| "type" : "boolean" |
| }, |
| "jsonPrimitive" : { |
| "type" : "boolean" |
| }, |
| "jsonNull" : { |
| "type" : "boolean" |
| }, |
| "asJsonArray" : { |
| "$ref" : "#/definitions/JsonArray" |
| }, |
| "asJsonPrimitive" : { |
| "$ref" : "#/definitions/JsonPrimitive" |
| }, |
| "asJsonNull" : { |
| "$ref" : "#/definitions/JsonNull" |
| }, |
| "asNumber" : { |
| "$ref" : "#/definitions/Number" |
| }, |
| "asString" : { |
| "type" : "string" |
| }, |
| "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" |
| } |
| }, |
| "x-className" : { |
| "type" : "string", |
| "format" : "com.google.gson.JsonElement" |
| } |
| }, |
| "CldsHealthCheck" : { |
| "type" : "object", |
| "properties" : { |
| "healthCheckComponent" : { |
| "type" : "string" |
| }, |
| "healthCheckStatus" : { |
| "type" : "string" |
| }, |
| "description" : { |
| "type" : "string" |
| } |
| }, |
| "x-className" : { |
| "type" : "string", |
| "format" : "org.onap.policy.clamp.clds.model.CldsHealthCheck" |
| } |
| } |
| } |
| } |