{
"swagger" : "2.0",
"info" : {
- "version" : "5.0.0-SNAPSHOT",
+ "version" : "5.1.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:32977",
+ "host" : "localhost:44217",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
+ "/v2/clampInformation" : {
+ "get" : {
+ "operationId" : "route34",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/ClampInformation"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route34"
+ }
+ },
"/v2/dictionary" : {
"get" : {
- "operationId" : "route111",
+ "operationId" : "route19",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route111"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route19"
},
"put" : {
- "operationId" : "route113",
+ "operationId" : "route22",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route113"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route22"
}
},
"/v2/dictionary/{dictionaryName}" : {
"get" : {
+ "operationId" : "route21",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "dictionaryName",
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : null
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route21"
}
},
"/v2/dictionary/{name}" : {
"put" : {
+ "operationId" : "route23",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : null
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route23"
},
"delete" : {
- "operationId" : "route115",
+ "operationId" : "route24",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route115"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route24"
}
},
"/v2/dictionary/{name}/elements/{shortName}" : {
"delete" : {
+ "operationId" : "route25",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : null
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route25"
}
},
"/v2/dictionary/secondary/names" : {
"get" : {
+ "operationId" : "route20",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : null
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route20"
}
},
"/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route96",
+ "operationId" : "route3",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route96"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route3"
+ }
+ },
+ "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
+ "put" : {
+ "operationId" : "route16",
+ "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-1",
+ "x-routeId" : "route16"
+ }
+ },
+ "/v2/loop/create/{loopName}?templateName={templateName}" : {
+ "post" : {
+ "operationId" : "route18",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName}?templateName={templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route18"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route107",
+ "operationId" : "route14",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route107"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route14"
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
- "operationId" : "route101",
+ "operationId" : "route7",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route101"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route7"
}
},
"/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route95",
+ "operationId" : "route2",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route95"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route2"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route108",
+ "operationId" : "route15",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route108"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route15"
}
},
- "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
+ "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
"put" : {
- "operationId" : "route102",
+ "operationId" : "route8",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "microServicePolicyName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route102"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route8"
}
},
- "/v2/loop/restart/{loopName}" : {
+ "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
"put" : {
- "operationId" : "route105",
+ "operationId" : "route9",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "operationalPolicyName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route105"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route9"
}
},
- "/v2/loop/stop/{loopName}" : {
+ "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
"put" : {
- "operationId" : "route104",
+ "operationId" : "route17",
"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" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route104"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route17"
}
},
- "/v2/loop/submit/{loopName}" : {
+ "/v2/loop/restart/{loopName}" : {
"put" : {
- "operationId" : "route106",
+ "operationId" : "route12",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route106"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route12"
}
},
- "/v2/loop/svgRepresentation/{loopName}" : {
- "get" : {
- "operationId" : "route97",
- "produces" : [ "application/xml" ],
+ "/v2/loop/stop/{loopName}" : {
+ "put" : {
+ "operationId" : "route11",
+ "produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"200" : {
"description" : "Output type",
"schema" : {
- "type" : "string"
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route11"
+ }
+ },
+ "/v2/loop/submit/{loopName}" : {
+ "put" : {
+ "operationId" : "route13",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route97"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route13"
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
- "operationId" : "route103",
+ "operationId" : "route10",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route103"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route10"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
- "operationId" : "route98",
+ "operationId" : "route4",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route98"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route4"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
- "operationId" : "route100",
+ "operationId" : "route6",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route100"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route6"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
- "operationId" : "route99",
+ "operationId" : "route5",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route99"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route5"
}
},
"/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route118",
+ "operationId" : "route26",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route118"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route26"
+ },
+ "post" : {
+ "operationId" : "route29",
+ "consumes" : [ "plain/text" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/PolicyModel"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route29"
}
},
- "/v2/policyToscaModels/{policyModelType}" : {
+ "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
"get" : {
+ "operationId" : "route27",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "policyModelType",
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : null
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route27"
},
"put" : {
- "operationId" : "route119",
+ "operationId" : "route30",
"consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
}, {
"in" : "body",
"name" : "body",
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route119"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route30"
}
},
- "/v2/policyToscaModels/yaml/{policyModelType}" : {
+ "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
"get" : {
+ "operationId" : "route28",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "policyModelType",
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : null
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route28"
}
},
"/v2/templates" : {
"get" : {
- "operationId" : "route122",
+ "operationId" : "route31",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route122"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route31"
}
},
"/v2/templates/{templateName}" : {
"get" : {
+ "operationId" : "route32",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "templateName",
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : null
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route32"
}
},
"/v2/templates/names" : {
"get" : {
+ "operationId" : "route33",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : null
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route33"
}
},
"/v1/healthcheck" : {
"get" : {
- "operationId" : "route123",
+ "operationId" : "route35",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route123"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route35"
}
},
"/v1/user/getUser" : {
"get" : {
- "operationId" : "route124",
+ "operationId" : "route36",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route124"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route36"
}
}
},
"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" : {
"dcaeDeploymentStatusUrl" : {
"type" : "string"
},
- "svgRepresentation" : {
- "type" : "string"
- },
"globalPropertiesJson" : {
"$ref" : "#/definitions/JsonObject"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
},
"jsonArray" : {
"type" : "boolean"
"jsonNull" : {
"type" : "boolean"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
}
}
},
"pdpGroup" : {
"type" : "string"
},
+ "pdpSubgroup" : {
+ "type" : "string"
+ },
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
"dcaeBlueprintId" : {
"type" : "string"
},
- "policyModel" : {
- "$ref" : "#/definitions/PolicyModel"
+ "legacy" : {
+ "type" : "boolean"
}
},
"x-className" : {
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- },
- "jsonArray" : {
- "type" : "boolean"
- },
- "jsonObject" : {
- "type" : "boolean"
- },
- "jsonPrimitive" : {
- "type" : "boolean"
- },
- "jsonNull" : {
- "type" : "boolean"
- },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
"asShort" : {
"type" : "integer",
"format" : "int32"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
}
},
"x-className" : {
"items" : {
"$ref" : "#/definitions/LoopElementModel"
}
+ },
+ "policyPdpGroup" : {
+ "$ref" : "#/definitions/JsonObject"
}
},
"x-className" : {
"pdpGroup" : {
"type" : "string"
},
+ "pdpSubgroup" : {
+ "type" : "string"
+ },
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
"loop" : {
"$ref" : "#/definitions/Loop"
},
- "policyModel" : {
- "$ref" : "#/definitions/PolicyModel"
+ "legacy" : {
+ "type" : "boolean"
}
}
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- },
- "jsonArray" : {
- "type" : "boolean"
- },
- "jsonObject" : {
- "type" : "boolean"
- },
- "jsonPrimitive" : {
- "type" : "boolean"
- },
- "jsonNull" : {
- "type" : "boolean"
- },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
"asShort" : {
"type" : "integer",
"format" : "int32"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
}
}
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
},
"jsonArray" : {
"type" : "boolean"
"jsonNull" : {
"type" : "boolean"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
}
},
"x-className" : {
"blueprint" : {
"type" : "string"
},
- "svgRepresentation" : {
- "type" : "string"
- },
"loopElementModelsUsed" : {
"type" : "array",
"uniqueItems" : true,