"version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:37295",
+ "host" : "localhost:41607",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
+ "/v2/clampInformation" : {
+ "get" : {
+ "operationId" : "route35",
+ "produces" : [ "application/json" ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/ClampInformation"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route35"
+ }
+ },
"/v2/dictionary" : {
"get" : {
- "operationId" : "route18",
+ "operationId" : "route21",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route18"
+ "x-routeId" : "route21"
},
"put" : {
- "operationId" : "route20",
+ "operationId" : "route23",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route20"
+ "x-routeId" : "route23"
}
},
"/v2/dictionary/{dictionaryName}" : {
"x-routeId" : null
},
"delete" : {
- "operationId" : "route22",
+ "operationId" : "route25",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
"200" : { }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route22"
+ "x-routeId" : "route25"
}
},
"/v2/dictionary/{name}/elements/{shortName}" : {
"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" : "route14",
"x-routeId" : "route9"
}
},
+ "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
+ "put" : {
+ "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"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "$ref" : "#/definitions/Loop"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route17"
+ }
+ },
"/v2/loop/restart/{loopName}" : {
"put" : {
"operationId" : "route12",
},
"/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route25",
+ "operationId" : "route28",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route25"
+ "x-routeId" : "route28"
+ },
+ "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" : {
"produces" : [ "application/json" ],
"parameters" : [ {
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
"x-routeId" : null
},
"put" : {
- "operationId" : "route26",
+ "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-1",
- "x-routeId" : "route26"
+ "x-routeId" : "route30"
}
},
- "/v2/policyToscaModels/yaml/{policyModelType}" : {
+ "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
"get" : {
"produces" : [ "application/json" ],
"parameters" : [ {
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
"200" : {
},
"/v2/templates" : {
"get" : {
- "operationId" : "route29",
+ "operationId" : "route34",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route29"
+ "x-routeId" : "route34"
}
},
"/v2/templates/{templateName}" : {
"x-routeId" : null
}
},
+ "/v2/templates/{templateName}/svgRepresentation" : {
+ "get" : {
+ "produces" : [ "application/xml" ],
+ "parameters" : [ {
+ "name" : "templateName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Output type",
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : null
+ }
+ },
"/v2/templates/names" : {
"get" : {
"produces" : [ "application/json" ],
},
"/v1/healthcheck" : {
"get" : {
- "operationId" : "route30",
+ "operationId" : "route36",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
}
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route30"
+ "x-routeId" : "route36"
}
},
"/v1/user/getUser" : {
"get" : {
- "operationId" : "route31",
+ "operationId" : "route37",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
"x-camelContextId" : "camel-1",
- "x-routeId" : "route31"
+ "x-routeId" : "route37"
}
}
},
"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" : {
"JsonPrimitive" : {
"type" : "object",
"properties" : {
- "asBoolean" : {
- "type" : "boolean"
- },
- "number" : {
- "type" : "boolean"
- },
- "asString" : {
- "type" : "string"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
"asDouble" : {
"type" : "number",
"format" : "double"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
- },
"asLong" : {
"type" : "integer",
"format" : "int64"
},
- "asInt" : {
- "type" : "integer",
- "format" : "int32"
+ "boolean" : {
+ "type" : "boolean"
},
- "asByte" : {
- "type" : "string",
- "format" : "byte"
+ "asBoolean" : {
+ "type" : "boolean"
},
- "asCharacter" : {
+ "number" : {
+ "type" : "boolean"
+ },
+ "asString" : {
"type" : "string"
},
"asBigDecimal" : {
"type" : "integer",
"format" : "int32"
},
- "boolean" : {
- "type" : "boolean"
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
},
"string" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "jsonArray" : {
+ "jsonObject" : {
"type" : "boolean"
},
- "jsonObject" : {
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "jsonNull" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonArray" : {
"type" : "boolean"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
"pdpGroup" : {
"type" : "string"
},
- "pdpSubGroup" : {
+ "pdpSubgroup" : {
"type" : "string"
},
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
},
"dcaeBlueprintId" : {
"type" : "string"
- },
- "policyModel" : {
- "$ref" : "#/definitions/PolicyModel"
}
},
"x-className" : {
"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"
},
+ "jsonObject" : {
+ "type" : "boolean"
+ },
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "jsonArray" : {
- "type" : "boolean"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
- "jsonObject" : {
+ "jsonNull" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonArray" : {
"type" : "boolean"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
+ "asBigDecimal" : {
+ "type" : "number"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "asBigInteger" : {
+ "type" : "integer"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
},
"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"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
}
},
"x-className" : {
"pdpGroup" : {
"type" : "string"
},
- "pdpSubGroup" : {
+ "pdpSubgroup" : {
"type" : "string"
},
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
"loop" : {
"$ref" : "#/definitions/Loop"
},
- "policyModel" : {
- "$ref" : "#/definitions/PolicyModel"
+ "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"
},
+ "jsonObject" : {
+ "type" : "boolean"
+ },
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
- },
- "jsonArray" : {
- "type" : "boolean"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
- "jsonObject" : {
+ "jsonNull" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonArray" : {
"type" : "boolean"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
+ "asBigDecimal" : {
+ "type" : "number"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "asBigInteger" : {
+ "type" : "integer"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
},
"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"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
}
}
},
"JsonArray" : {
"type" : "object",
"properties" : {
- "asBoolean" : {
- "type" : "boolean"
- },
- "asString" : {
- "type" : "string"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
"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"
+ "asBoolean" : {
+ "type" : "boolean"
},
- "asCharacter" : {
+ "asString" : {
"type" : "string"
},
"asBigDecimal" : {
"type" : "integer",
"format" : "int32"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "jsonArray" : {
+ "jsonObject" : {
"type" : "boolean"
},
- "jsonObject" : {
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "jsonNull" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonArray" : {
"type" : "boolean"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}