Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Rework tosca converter
[clamp.git]
/
docs
/
swagger
/
swagger.json
diff --git
a/docs/swagger/swagger.json
b/docs/swagger/swagger.json
index
5307c15
..
e35fba2
100644
(file)
--- a/
docs/swagger/swagger.json
+++ b/
docs/swagger/swagger.json
@@
-4,13
+4,13
@@
"version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
"version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:
3297
7",
+ "host" : "localhost:
4059
7",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
"/v2/dictionary" : {
"get" : {
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
"/v2/dictionary" : {
"get" : {
- "operationId" : "route
111
",
+ "operationId" : "route
80
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-20,11
+20,11
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
111
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
80
"
},
"put" : {
},
"put" : {
- "operationId" : "route
113
",
+ "operationId" : "route
82
",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-43,8
+43,8
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
113
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
82
"
}
},
"/v2/dictionary/{dictionaryName}" : {
}
},
"/v2/dictionary/{dictionaryName}" : {
@@
-64,7
+64,7
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
+ "x-camelContextId" : "camel-
3
",
"x-routeId" : null
}
},
"x-routeId" : null
}
},
@@
-93,11
+93,11
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
+ "x-camelContextId" : "camel-
3
",
"x-routeId" : null
},
"delete" : {
"x-routeId" : null
},
"delete" : {
- "operationId" : "route
115
",
+ "operationId" : "route
84
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
@@
-108,8
+108,8
@@
"responses" : {
"200" : { }
},
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
115
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
84
"
}
},
"/v2/dictionary/{name}/elements/{shortName}" : {
}
},
"/v2/dictionary/{name}/elements/{shortName}" : {
@@
-129,7
+129,7
@@
"responses" : {
"200" : { }
},
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-
4
",
+ "x-camelContextId" : "camel-
3
",
"x-routeId" : null
}
},
"x-routeId" : null
}
},
@@
-147,13
+147,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
+ "x-camelContextId" : "camel-
3
",
"x-routeId" : null
}
},
"/v2/loop/{loopName}" : {
"get" : {
"x-routeId" : null
}
},
"/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route
96
",
+ "operationId" : "route
65
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-169,13
+169,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
96
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
65
"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route
107
",
+ "operationId" : "route
76
",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
@@
-185,13
+185,13
@@
"responses" : {
"200" : { }
},
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
107
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
76
"
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
- "operationId" : "route
101
",
+ "operationId" : "route
70
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-207,13
+207,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
101
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
70
"
}
},
"/v2/loop/getAllNames" : {
"get" : {
}
},
"/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route
95
",
+ "operationId" : "route
64
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-226,13
+226,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
95
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
64
"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route
108
",
+ "operationId" : "route
77
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-248,13
+248,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
108
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
77
"
}
},
"/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
"put" : {
}
},
"/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
"put" : {
- "operationId" : "route
102
",
+ "operationId" : "route
71
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-270,13
+270,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
102
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
71
"
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
- "operationId" : "route
105
",
+ "operationId" : "route
74
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-292,13
+292,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
105
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
74
"
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
- "operationId" : "route
104
",
+ "operationId" : "route
73
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-314,13
+314,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
104
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
73
"
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route
106
",
+ "operationId" : "route
75
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-336,13
+336,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
106
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
75
"
}
},
"/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
}
},
"/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
- "operationId" : "route
97
",
+ "operationId" : "route
66
",
"produces" : [ "application/xml" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/xml" ],
"parameters" : [ {
"name" : "loopName",
@@
-358,13
+358,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
97
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
66
"
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
- "operationId" : "route
103
",
+ "operationId" : "route
72
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-380,13
+380,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
103
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
72
"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
- "operationId" : "route
98
",
+ "operationId" : "route
67
",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-410,13
+410,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
98
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
67
"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
- "operationId" : "route
100
",
+ "operationId" : "route
69
",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-440,13
+440,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
100
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
69
"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
- "operationId" : "route
99
",
+ "operationId" : "route
68
",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-470,13
+470,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
99
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
68
"
}
},
"/v2/policyToscaModels" : {
"get" : {
}
},
"/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route
118
",
+ "operationId" : "route
87
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-486,8
+486,8
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
118
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
87
"
}
},
"/v2/policyToscaModels/{policyModelType}" : {
}
},
"/v2/policyToscaModels/{policyModelType}" : {
@@
-507,11
+507,11
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
+ "x-camelContextId" : "camel-
3
",
"x-routeId" : null
},
"put" : {
"x-routeId" : null
},
"put" : {
- "operationId" : "route
119
",
+ "operationId" : "route
88
",
"consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-535,8
+535,8
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
119
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
88
"
}
},
"/v2/policyToscaModels/yaml/{policyModelType}" : {
}
},
"/v2/policyToscaModels/yaml/{policyModelType}" : {
@@
-556,13
+556,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
+ "x-camelContextId" : "camel-
3
",
"x-routeId" : null
}
},
"/v2/templates" : {
"get" : {
"x-routeId" : null
}
},
"/v2/templates" : {
"get" : {
- "operationId" : "route
122
",
+ "operationId" : "route
91
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-572,8
+572,8
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
122
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
91
"
}
},
"/v2/templates/{templateName}" : {
}
},
"/v2/templates/{templateName}" : {
@@
-593,7
+593,7
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
+ "x-camelContextId" : "camel-
3
",
"x-routeId" : null
}
},
"x-routeId" : null
}
},
@@
-611,13
+611,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
+ "x-camelContextId" : "camel-
3
",
"x-routeId" : null
}
},
"/v1/healthcheck" : {
"get" : {
"x-routeId" : null
}
},
"/v1/healthcheck" : {
"get" : {
- "operationId" : "route
123
",
+ "operationId" : "route
92
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-627,19
+627,19
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
123
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
92
"
}
},
"/v1/user/getUser" : {
"get" : {
}
},
"/v1/user/getUser" : {
"get" : {
- "operationId" : "route
124
",
+ "operationId" : "route
93
",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-
4
",
- "x-routeId" : "route
124
"
+ "x-camelContextId" : "camel-
3
",
+ "x-routeId" : "route
93
"
}
}
},
}
}
},
@@
-854,19
+854,16
@@
"string" : {
"type" : "boolean"
},
"string" : {
"type" : "boolean"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
+ "jsonObject" : {
+ "type" : "boolean"
},
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
},
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
- "
jsonArray
" : {
- "
type" : "boolean
"
+ "
asJsonObject
" : {
+ "
$ref" : "#/definitions/JsonObject
"
},
},
- "json
Object
" : {
+ "json
Array
" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
"jsonPrimitive" : {
@@
-875,6
+872,9
@@
"jsonNull" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
@@
-909,6
+909,12
@@
"pdpGroup" : {
"type" : "string"
},
"pdpGroup" : {
"type" : "string"
},
+ "pdpSubgroup" : {
+ "type" : "string"
+ },
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
@@
-936,9
+942,6
@@
},
"dcaeBlueprintId" : {
"type" : "string"
},
"dcaeBlueprintId" : {
"type" : "string"
- },
- "policyModel" : {
- "$ref" : "#/definitions/PolicyModel"
}
},
"x-className" : {
}
},
"x-className" : {
@@
-952,30
+955,30
@@
"asBoolean" : {
"type" : "boolean"
},
"asBoolean" : {
"type" : "boolean"
},
- "
asJsonPrimitive
" : {
- "
$ref" : "#/definitions/JsonPrimitive
"
+ "
jsonObject
" : {
+ "
type" : "boolean
"
},
},
- "as
String
" : {
- "
type" : "string
"
+ "as
JsonArray
" : {
+ "
$ref" : "#/definitions/JsonArray
"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "as
JsonArray
" : {
- "
$ref" : "#/definitions/JsonArray
"
+ "as
String
" : {
+ "
type" : "string
"
},
"jsonArray" : {
"type" : "boolean"
},
},
"jsonArray" : {
"type" : "boolean"
},
- "jsonObject" : {
- "type" : "boolean"
- },
"jsonPrimitive" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
@@
-1056,6
+1059,9
@@
"items" : {
"$ref" : "#/definitions/LoopElementModel"
}
"items" : {
"$ref" : "#/definitions/LoopElementModel"
}
+ },
+ "policyPdpGroup" : {
+ "$ref" : "#/definitions/JsonObject"
}
},
"x-className" : {
}
},
"x-className" : {
@@
-1127,14
+1133,20
@@
"pdpGroup" : {
"type" : "string"
},
"pdpGroup" : {
"type" : "string"
},
+ "pdpSubgroup" : {
+ "type" : "string"
+ },
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
"loop" : {
"$ref" : "#/definitions/Loop"
},
"name" : {
"type" : "string"
},
"loop" : {
"$ref" : "#/definitions/Loop"
},
- "
policyModel
" : {
- "
$ref" : "#/definitions/PolicyModel
"
+ "
legacy
" : {
+ "
type" : "boolean
"
}
}
},
}
}
},
@@
-1144,30
+1156,30
@@
"asBoolean" : {
"type" : "boolean"
},
"asBoolean" : {
"type" : "boolean"
},
- "
asJsonPrimitive
" : {
- "
$ref" : "#/definitions/JsonPrimitive
"
+ "
jsonObject
" : {
+ "
type" : "boolean
"
},
},
- "as
String
" : {
- "
type" : "string
"
+ "as
JsonArray
" : {
+ "
$ref" : "#/definitions/JsonArray
"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "as
JsonArray
" : {
- "
$ref" : "#/definitions/JsonArray
"
+ "as
String
" : {
+ "
type" : "string
"
},
"jsonArray" : {
"type" : "boolean"
},
},
"jsonArray" : {
"type" : "boolean"
},
- "jsonObject" : {
- "type" : "boolean"
- },
"jsonPrimitive" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
@@
-1254,19
+1266,16
@@
"type" : "integer",
"format" : "int32"
},
"type" : "integer",
"format" : "int32"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
- },
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
+ "jsonObject" : {
+ "type" : "boolean"
},
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
},
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
- "
jsonArray
" : {
- "
type" : "boolean
"
+ "
asJsonObject
" : {
+ "
$ref" : "#/definitions/JsonObject
"
},
},
- "json
Object
" : {
+ "json
Array
" : {
"type" : "boolean"
},
"jsonPrimitive" : {
"type" : "boolean"
},
"jsonPrimitive" : {
@@
-1275,6
+1284,9
@@
"jsonNull" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}