blob: 079daa253ca7ed20a3255d25bda1865e8293b04c [file] [log] [blame]
xg353y2aad6d62018-05-18 17:59:06 +02001{
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02002 "swagger" : "2.0",
3 "info" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02004 "version" : "4.0.3-SNAPSHOT",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02005 "title" : "Clamp Rest API"
6 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02007 "host" : "localhost:46235",
8 "basePath" : "/restservices/clds/",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02009 "schemes" : [ "http" ],
10 "paths" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020011 "/v2/loop/{loopName}" : {
12 "get" : {
13 "operationId" : "route3",
14 "produces" : [ "application/json" ],
15 "parameters" : [ {
16 "name" : "loopName",
17 "in" : "path",
18 "required" : true,
19 "type" : "string"
20 } ],
21 "responses" : {
22 "200" : {
23 "description" : "Output type",
24 "schema" : {
25 "$ref" : "#/definitions/Loop"
26 }
27 }
28 },
29 "x-camelContextId" : "camel-1",
30 "x-routeId" : "route3"
31 }
32 },
33 "/v2/loop/delete/{loopName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020034 "put" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020035 "operationId" : "route13",
36 "parameters" : [ {
37 "name" : "loopName",
38 "in" : "path",
39 "required" : true,
40 "type" : "string"
41 } ],
42 "responses" : {
43 "200" : { }
44 },
45 "x-camelContextId" : "camel-1",
46 "x-routeId" : "route13"
47 }
48 },
49 "/v2/loop/deployLoop/{loopName}" : {
50 "put" : {
51 "operationId" : "route8",
52 "produces" : [ "application/json" ],
53 "parameters" : [ {
54 "name" : "loopName",
55 "in" : "path",
56 "required" : true,
57 "type" : "string"
58 } ],
59 "responses" : {
60 "200" : {
61 "description" : "Output type",
62 "schema" : {
63 "$ref" : "#/definitions/Loop"
64 }
65 }
66 },
67 "x-camelContextId" : "camel-1",
68 "x-routeId" : "route8"
69 }
70 },
71 "/v2/loop/getAllNames" : {
72 "get" : {
73 "operationId" : "route2",
74 "produces" : [ "application/json" ],
75 "responses" : {
76 "200" : {
77 "description" : "Output type",
78 "schema" : {
79 "type" : "array",
80 "items" : {
81 "type" : "string"
82 }
83 }
84 }
85 },
86 "x-camelContextId" : "camel-1",
87 "x-routeId" : "route2"
88 }
89 },
90 "/v2/loop/getstatus/{loopName}" : {
91 "get" : {
92 "operationId" : "route14",
93 "produces" : [ "application/json" ],
94 "parameters" : [ {
95 "name" : "loopName",
96 "in" : "path",
97 "required" : true,
98 "type" : "string"
99 } ],
100 "responses" : {
101 "200" : {
102 "description" : "Output type",
103 "schema" : {
104 "$ref" : "#/definitions/Loop"
105 }
106 }
107 },
108 "x-camelContextId" : "camel-1",
109 "x-routeId" : "route14"
110 }
111 },
112 "/v2/loop/restart/{loopName}" : {
113 "put" : {
114 "operationId" : "route11",
115 "produces" : [ "application/json" ],
116 "parameters" : [ {
117 "name" : "loopName",
118 "in" : "path",
119 "required" : true,
120 "type" : "string"
121 } ],
122 "responses" : {
123 "200" : {
124 "description" : "Output type",
125 "schema" : {
126 "$ref" : "#/definitions/Loop"
127 }
128 }
129 },
130 "x-camelContextId" : "camel-1",
131 "x-routeId" : "route11"
132 }
133 },
134 "/v2/loop/stop/{loopName}" : {
135 "put" : {
136 "operationId" : "route10",
137 "produces" : [ "application/json" ],
138 "parameters" : [ {
139 "name" : "loopName",
140 "in" : "path",
141 "required" : true,
142 "type" : "string"
143 } ],
144 "responses" : {
145 "200" : {
146 "description" : "Output type",
147 "schema" : {
148 "$ref" : "#/definitions/Loop"
149 }
150 }
151 },
152 "x-camelContextId" : "camel-1",
153 "x-routeId" : "route10"
154 }
155 },
156 "/v2/loop/submit/{loopName}" : {
157 "put" : {
158 "operationId" : "route12",
159 "produces" : [ "application/json" ],
160 "parameters" : [ {
161 "name" : "loopName",
162 "in" : "path",
163 "required" : true,
164 "type" : "string"
165 } ],
166 "responses" : {
167 "200" : {
168 "description" : "Output type",
169 "schema" : {
170 "$ref" : "#/definitions/Loop"
171 }
172 }
173 },
174 "x-camelContextId" : "camel-1",
175 "x-routeId" : "route12"
176 }
177 },
178 "/v2/loop/svgRepresentation/{loopName}" : {
179 "get" : {
180 "operationId" : "route4",
181 "produces" : [ "application/xml" ],
182 "parameters" : [ {
183 "name" : "loopName",
184 "in" : "path",
185 "required" : true,
186 "type" : "string"
187 } ],
188 "responses" : {
189 "200" : {
190 "description" : "Output type",
191 "schema" : {
192 "type" : "string"
193 }
194 }
195 },
196 "x-camelContextId" : "camel-1",
197 "x-routeId" : "route4"
198 }
199 },
200 "/v2/loop/undeployLoop/{loopName}" : {
201 "put" : {
202 "operationId" : "route9",
203 "produces" : [ "application/json" ],
204 "parameters" : [ {
205 "name" : "loopName",
206 "in" : "path",
207 "required" : true,
208 "type" : "string"
209 } ],
210 "responses" : {
211 "200" : {
212 "description" : "Output type",
213 "schema" : {
214 "$ref" : "#/definitions/Loop"
215 }
216 }
217 },
218 "x-camelContextId" : "camel-1",
219 "x-routeId" : "route9"
220 }
221 },
222 "/v2/loop/updateGlobalProperties/{loopName}" : {
223 "post" : {
224 "operationId" : "route5",
225 "consumes" : [ "application/json" ],
226 "produces" : [ "application/json" ],
227 "parameters" : [ {
228 "name" : "loopName",
229 "in" : "path",
230 "required" : true,
231 "type" : "string"
232 }, {
233 "in" : "body",
234 "name" : "body",
235 "required" : true,
236 "schema" : {
237 "$ref" : "#/definitions/JsonObject"
238 }
239 } ],
240 "responses" : {
241 "200" : {
242 "description" : "Output type",
243 "schema" : {
244 "$ref" : "#/definitions/Loop"
245 }
246 }
247 },
248 "x-camelContextId" : "camel-1",
249 "x-routeId" : "route5"
250 }
251 },
252 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
253 "post" : {
254 "operationId" : "route7",
255 "consumes" : [ "application/json" ],
256 "produces" : [ "application/json" ],
257 "parameters" : [ {
258 "name" : "loopName",
259 "in" : "path",
260 "required" : true,
261 "type" : "string"
262 }, {
263 "in" : "body",
264 "name" : "body",
265 "required" : true,
266 "schema" : {
267 "$ref" : "#/definitions/MicroServicePolicy"
268 }
269 } ],
270 "responses" : {
271 "200" : {
272 "description" : "Output type",
273 "schema" : {
274 "$ref" : "#/definitions/MicroServicePolicy"
275 }
276 }
277 },
278 "x-camelContextId" : "camel-1",
279 "x-routeId" : "route7"
280 }
281 },
282 "/v2/loop/updateOperationalPolicies/{loopName}" : {
283 "post" : {
284 "operationId" : "route6",
285 "consumes" : [ "application/json" ],
286 "produces" : [ "application/json" ],
287 "parameters" : [ {
288 "name" : "loopName",
289 "in" : "path",
290 "required" : true,
291 "type" : "string"
292 }, {
293 "in" : "body",
294 "name" : "body",
295 "required" : true,
296 "schema" : {
297 "$ref" : "#/definitions/JsonArray"
298 }
299 } ],
300 "responses" : {
301 "200" : {
302 "description" : "Output type",
303 "schema" : {
304 "$ref" : "#/definitions/Loop"
305 }
306 }
307 },
308 "x-camelContextId" : "camel-1",
309 "x-routeId" : "route6"
310 }
311 },
312 "/v1/clds/action/{action}/{modelName}?test={test}" : {
313 "put" : {
314 "operationId" : "route23",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200315 "consumes" : [ "application/json" ],
316 "produces" : [ "application/json" ],
317 "parameters" : [ {
318 "name" : "action",
319 "in" : "path",
320 "required" : true,
321 "type" : "string"
322 }, {
323 "name" : "modelName}?test={test",
324 "in" : "path",
325 "required" : true,
326 "type" : "string"
327 }, {
328 "in" : "body",
329 "name" : "body",
330 "required" : true,
331 "schema" : {
332 "$ref" : "#/definitions/CldsModel"
333 }
334 } ],
335 "responses" : {
336 "200" : { }
337 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200338 "x-camelContextId" : "camel-1",
339 "x-routeId" : "route23"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200340 }
xg353y2aad6d62018-05-18 17:59:06 +0200341 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200342 "/v1/clds/cldsDetails" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200343 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200344 "operationId" : "route15",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200345 "produces" : [ "application/json" ],
346 "responses" : {
347 "200" : {
348 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200349 "schema" : {
350 "$ref" : "#/definitions/CldsMonitoringDetails"
xg353y2aad6d62018-05-18 17:59:06 +0200351 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200352 }
xg353y2aad6d62018-05-18 17:59:06 +0200353 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200354 "x-camelContextId" : "camel-1",
355 "x-routeId" : "route15"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200356 }
xg353y2aad6d62018-05-18 17:59:06 +0200357 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200358 "/v1/clds/cldsInfo" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200359 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200360 "operationId" : "route16",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200361 "produces" : [ "application/json" ],
362 "responses" : {
363 "200" : {
364 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200365 "schema" : {
366 "$ref" : "#/definitions/CldsInfo"
xg353y2aad6d62018-05-18 17:59:06 +0200367 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200368 }
xg353y2aad6d62018-05-18 17:59:06 +0200369 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200370 "x-camelContextId" : "camel-1",
371 "x-routeId" : "route16"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200372 }
373 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200374 "/v1/clds/dcae/event?test={test}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200375 "post" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200376 "operationId" : "route24",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200377 "consumes" : [ "application/json" ],
378 "produces" : [ "application/json" ],
379 "parameters" : [ {
380 "in" : "body",
381 "name" : "body",
382 "required" : true,
383 "schema" : {
384 "$ref" : "#/definitions/DcaeEvent"
385 }
386 } ],
387 "responses" : {
388 "200" : { }
xg353y2aad6d62018-05-18 17:59:06 +0200389 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200390 "x-camelContextId" : "camel-1",
391 "x-routeId" : "route24"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200392 }
393 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200394 "/v1/clds/deploy/{modelName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200395 "put" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200396 "operationId" : "route26",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200397 "consumes" : [ "application/json" ],
398 "produces" : [ "application/json" ],
399 "parameters" : [ {
400 "name" : "modelName",
401 "in" : "path",
402 "required" : true,
403 "type" : "string"
404 }, {
405 "in" : "body",
406 "name" : "body",
407 "required" : true,
408 "schema" : {
409 "$ref" : "#/definitions/CldsModel"
410 }
411 } ],
412 "responses" : {
413 "200" : { }
xg353y2aad6d62018-05-18 17:59:06 +0200414 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200415 "x-camelContextId" : "camel-1",
416 "x-routeId" : "route26"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200417 }
418 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200419 "/v1/clds/model-names" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200420 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200421 "operationId" : "route22",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200422 "produces" : [ "application/json" ],
423 "responses" : {
424 "200" : {
425 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200426 "schema" : {
427 "$ref" : "#/definitions/ValueItem"
xg353y2aad6d62018-05-18 17:59:06 +0200428 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200429 }
xg353y2aad6d62018-05-18 17:59:06 +0200430 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200431 "x-camelContextId" : "camel-1",
432 "x-routeId" : "route22"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200433 }
434 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200435 "/v1/clds/model/{modelName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200436 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200437 "operationId" : "route20",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200438 "produces" : [ "application/json" ],
439 "parameters" : [ {
440 "name" : "modelName",
441 "in" : "path",
442 "required" : true,
443 "type" : "string"
444 } ],
445 "responses" : {
446 "200" : {
447 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200448 "schema" : {
449 "$ref" : "#/definitions/CldsModel"
xg353y2aad6d62018-05-18 17:59:06 +0200450 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200451 }
xg353y2aad6d62018-05-18 17:59:06 +0200452 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200453 "x-camelContextId" : "camel-1",
454 "x-routeId" : "route20"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200455 },
456 "put" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200457 "operationId" : "route21",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200458 "consumes" : [ "application/json" ],
459 "produces" : [ "application/json" ],
460 "parameters" : [ {
461 "name" : "modelName",
462 "in" : "path",
463 "required" : true,
464 "type" : "string"
465 }, {
466 "in" : "body",
467 "name" : "body",
468 "required" : true,
469 "schema" : {
470 "$ref" : "#/definitions/CldsModel"
471 }
472 } ],
473 "responses" : {
474 "200" : {
475 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200476 "schema" : {
477 "$ref" : "#/definitions/CldsModel"
xg353y2aad6d62018-05-18 17:59:06 +0200478 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200479 }
xg353y2aad6d62018-05-18 17:59:06 +0200480 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200481 "x-camelContextId" : "camel-1",
482 "x-routeId" : "route21"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200483 }
484 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200485 "/v1/clds/model/bpmn/{modelName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200486 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200487 "operationId" : "route18",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200488 "produces" : [ "text/xml" ],
489 "parameters" : [ {
490 "name" : "modelName",
491 "in" : "path",
492 "required" : true,
493 "type" : "string"
494 } ],
495 "responses" : {
496 "200" : { }
xg353y2aad6d62018-05-18 17:59:06 +0200497 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200498 "x-camelContextId" : "camel-1",
499 "x-routeId" : "route18"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200500 }
501 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200502 "/v1/clds/model/image/{modelName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200503 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200504 "operationId" : "route19",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200505 "produces" : [ "text/xml" ],
506 "parameters" : [ {
507 "name" : "modelName",
508 "in" : "path",
509 "required" : true,
510 "type" : "string"
511 } ],
512 "responses" : {
513 "200" : { }
xg353y2aad6d62018-05-18 17:59:06 +0200514 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200515 "x-camelContextId" : "camel-1",
516 "x-routeId" : "route19"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200517 }
518 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200519 "/v1/clds/properties" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200520 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200521 "operationId" : "route25",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200522 "produces" : [ "application/json" ],
523 "responses" : {
524 "200" : { }
525 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200526 "x-camelContextId" : "camel-1",
527 "x-routeId" : "route25"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200528 }
529 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200530 "/v1/clds/undeploy/{modelName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200531 "put" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200532 "operationId" : "route27",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200533 "consumes" : [ "application/json" ],
534 "produces" : [ "application/json" ],
535 "parameters" : [ {
536 "name" : "modelName",
537 "in" : "path",
538 "required" : true,
539 "type" : "string"
540 }, {
541 "in" : "body",
542 "name" : "body",
543 "required" : true,
544 "schema" : {
545 "$ref" : "#/definitions/CldsModel"
546 }
547 } ],
548 "responses" : {
549 "200" : { }
550 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200551 "x-camelContextId" : "camel-1",
552 "x-routeId" : "route27"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200553 }
554 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200555 "/v1/cldsTempate/template-names" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200556 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200557 "operationId" : "route32",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200558 "produces" : [ "application/json" ],
559 "responses" : {
560 "200" : {
561 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200562 "schema" : {
563 "$ref" : "#/definitions/ValueItem"
xg353y2aad6d62018-05-18 17:59:06 +0200564 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200565 }
566 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200567 "x-camelContextId" : "camel-1",
568 "x-routeId" : "route32"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200569 }
570 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200571 "/v1/cldsTempate/template/{templateName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200572 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200573 "operationId" : "route30",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200574 "produces" : [ "application/json" ],
575 "parameters" : [ {
576 "name" : "templateName",
577 "in" : "path",
578 "required" : true,
579 "type" : "string"
580 } ],
581 "responses" : {
582 "200" : {
583 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200584 "schema" : {
585 "$ref" : "#/definitions/CldsTemplate"
586 }
587 }
588 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200589 "x-camelContextId" : "camel-1",
590 "x-routeId" : "route30"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200591 },
592 "put" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200593 "operationId" : "route31",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200594 "consumes" : [ "application/json" ],
595 "produces" : [ "application/json" ],
596 "parameters" : [ {
597 "name" : "templateName",
598 "in" : "path",
599 "required" : true,
600 "type" : "string"
601 }, {
602 "in" : "body",
603 "name" : "body",
604 "required" : true,
605 "schema" : {
606 "$ref" : "#/definitions/CldsTemplate"
607 }
608 } ],
609 "responses" : {
610 "200" : {
611 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200612 "schema" : {
613 "$ref" : "#/definitions/CldsTemplate"
614 }
615 }
616 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200617 "x-camelContextId" : "camel-1",
618 "x-routeId" : "route31"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200619 }
620 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200621 "/v1/cldsTempate/template/bpmn/{templateName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200622 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200623 "operationId" : "route28",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200624 "produces" : [ "text/xml" ],
625 "parameters" : [ {
626 "name" : "templateName",
627 "in" : "path",
628 "required" : true,
629 "type" : "string"
630 } ],
631 "responses" : {
632 "200" : { }
633 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200634 "x-camelContextId" : "camel-1",
635 "x-routeId" : "route28"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200636 }
637 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200638 "/v1/cldsTempate/template/image/{templateName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200639 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200640 "operationId" : "route29",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200641 "produces" : [ "text/xml" ],
642 "parameters" : [ {
643 "name" : "templateName",
644 "in" : "path",
645 "required" : true,
646 "type" : "string"
647 } ],
648 "responses" : {
649 "200" : { }
650 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200651 "x-camelContextId" : "camel-1",
652 "x-routeId" : "route29"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200653 }
654 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200655 "/v1/dictionary" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200656 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200657 "operationId" : "route40",
sebdet4d1e6b92018-10-23 16:54:02 +0200658 "produces" : [ "application/json" ],
659 "responses" : {
660 "200" : {
661 "description" : "Output type",
sebdet4d1e6b92018-10-23 16:54:02 +0200662 "schema" : {
663 "$ref" : "#/definitions/CldsDictionary"
664 }
665 }
666 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200667 "x-camelContextId" : "camel-1",
668 "x-routeId" : "route40"
sebdet4d1e6b92018-10-23 16:54:02 +0200669 }
670 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200671 "/v1/dictionary/{dictionaryName}" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200672 "put" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200673 "operationId" : "route39",
sebdet4d1e6b92018-10-23 16:54:02 +0200674 "consumes" : [ "application/json" ],
675 "produces" : [ "application/json" ],
676 "parameters" : [ {
677 "name" : "dictionaryName",
678 "in" : "path",
679 "required" : true,
680 "type" : "string"
681 }, {
682 "in" : "body",
683 "name" : "body",
684 "required" : true,
685 "schema" : {
686 "$ref" : "#/definitions/CldsDictionary"
687 }
688 } ],
689 "responses" : {
690 "200" : {
691 "description" : "Output type",
sebdet4d1e6b92018-10-23 16:54:02 +0200692 "schema" : {
693 "$ref" : "#/definitions/CldsDictionary"
694 }
695 }
696 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200697 "x-camelContextId" : "camel-1",
698 "x-routeId" : "route39"
sebdet4d1e6b92018-10-23 16:54:02 +0200699 }
700 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200701 "/v1/dictionary/{dictionaryName}/items" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200702 "get" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200703 "produces" : [ "application/json" ],
704 "parameters" : [ {
705 "name" : "dictionaryName",
706 "in" : "path",
707 "required" : true,
708 "type" : "string"
709 } ],
710 "responses" : {
711 "200" : {
712 "description" : "Output type",
sebdet4d1e6b92018-10-23 16:54:02 +0200713 "schema" : {
714 "$ref" : "#/definitions/CldsDictionary"
715 }
716 }
717 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200718 "x-camelContextId" : "camel-1",
719 "x-routeId" : null
sebdet4d1e6b92018-10-23 16:54:02 +0200720 },
721 "put" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200722 "consumes" : [ "application/json" ],
723 "produces" : [ "application/json" ],
724 "parameters" : [ {
725 "name" : "dictionaryName",
726 "in" : "path",
727 "required" : true,
728 "type" : "string"
729 }, {
730 "in" : "body",
731 "name" : "body",
732 "required" : true,
733 "schema" : {
734 "$ref" : "#/definitions/CldsDictionaryItem"
735 }
736 } ],
737 "responses" : {
738 "200" : {
739 "description" : "Output type",
sebdet4d1e6b92018-10-23 16:54:02 +0200740 "schema" : {
741 "$ref" : "#/definitions/CldsDictionaryItem"
742 }
743 }
744 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200745 "x-camelContextId" : "camel-1",
746 "x-routeId" : null
sebdet4d1e6b92018-10-23 16:54:02 +0200747 }
748 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200749 "/v1/healthcheck" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200750 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200751 "operationId" : "route17",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200752 "produces" : [ "application/json" ],
753 "responses" : {
754 "200" : { }
755 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200756 "x-camelContextId" : "camel-1",
757 "x-routeId" : "route17"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200758 }
759 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200760 "/v1/tosca/models" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200761 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200762 "operationId" : "route36",
sebdet4d1e6b92018-10-23 16:54:02 +0200763 "produces" : [ "application/json" ],
764 "responses" : {
765 "200" : {
766 "description" : "Output type",
sebdet4d1e6b92018-10-23 16:54:02 +0200767 "schema" : {
768 "$ref" : "#/definitions/CldsToscaModel"
769 }
770 }
771 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200772 "x-camelContextId" : "camel-1",
773 "x-routeId" : "route36"
sebdet4d1e6b92018-10-23 16:54:02 +0200774 }
775 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200776 "/v1/tosca/models/{toscaModelName}" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200777 "get" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200778 "produces" : [ "application/json" ],
779 "parameters" : [ {
780 "name" : "toscaModelName",
781 "in" : "path",
782 "required" : true,
783 "type" : "string"
784 } ],
785 "responses" : {
786 "200" : {
787 "description" : "Output type",
sebdet4d1e6b92018-10-23 16:54:02 +0200788 "schema" : {
789 "$ref" : "#/definitions/CldsToscaModel"
790 }
791 }
792 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200793 "x-camelContextId" : "camel-1",
794 "x-routeId" : null
sebdet4d1e6b92018-10-23 16:54:02 +0200795 },
796 "put" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200797 "operationId" : "route33",
sebdet4d1e6b92018-10-23 16:54:02 +0200798 "consumes" : [ "application/json" ],
799 "produces" : [ "application/json" ],
800 "parameters" : [ {
801 "name" : "toscaModelName",
802 "in" : "path",
803 "required" : true,
804 "type" : "string"
805 }, {
806 "in" : "body",
807 "name" : "body",
808 "required" : true,
809 "schema" : {
810 "$ref" : "#/definitions/CldsToscaModel"
811 }
812 } ],
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200813 "responses" : {
814 "200" : { }
815 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200816 "x-camelContextId" : "camel-1",
817 "x-routeId" : "route33"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200818 }
sebdet4d1e6b92018-10-23 16:54:02 +0200819 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200820 "/v1/tosca/models/policyType/{policyType}" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200821 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200822 "operationId" : "route34",
sebdet4d1e6b92018-10-23 16:54:02 +0200823 "produces" : [ "application/json" ],
824 "parameters" : [ {
825 "name" : "policyType",
826 "in" : "path",
827 "required" : true,
828 "type" : "string"
829 } ],
830 "responses" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200831 "200" : {
832 "description" : "Output type",
833 "schema" : {
834 "$ref" : "#/definitions/CldsToscaModel"
835 }
836 }
sebdet4d1e6b92018-10-23 16:54:02 +0200837 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200838 "x-camelContextId" : "camel-1",
839 "x-routeId" : "route34"
sebdet4d1e6b92018-10-23 16:54:02 +0200840 }
841 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200842 "/v1/user/getUser" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200843 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200844 "operationId" : "route41",
sebdet4d1e6b92018-10-23 16:54:02 +0200845 "produces" : [ "text/plain" ],
846 "responses" : {
847 "200" : { }
848 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200849 "x-camelContextId" : "camel-1",
850 "x-routeId" : "route41"
sebdet4d1e6b92018-10-23 16:54:02 +0200851 }
xg353y2aad6d62018-05-18 17:59:06 +0200852 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200853 },
854 "definitions" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200855 "Loop" : {
856 "type" : "object",
857 "properties" : {
858 "name" : {
859 "type" : "string"
860 },
861 "dcaeDeploymentId" : {
862 "type" : "string"
863 },
864 "dcaeDeploymentStatusUrl" : {
865 "type" : "string"
866 },
867 "dcaeBlueprintId" : {
868 "type" : "string"
869 },
870 "svgRepresentation" : {
871 "type" : "string"
872 },
873 "globalPropertiesJson" : {
874 "$ref" : "#/definitions/JsonObject"
875 },
876 "modelPropertiesJson" : {
877 "$ref" : "#/definitions/JsonObject"
878 },
879 "blueprint" : {
880 "type" : "string"
881 },
882 "lastComputedState" : {
883 "type" : "string",
884 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
885 },
886 "operationalPolicies" : {
887 "type" : "array",
888 "uniqueItems" : true,
889 "items" : {
890 "$ref" : "#/definitions/OperationalPolicy"
891 }
892 },
893 "microServicePolicies" : {
894 "type" : "array",
895 "uniqueItems" : true,
896 "items" : {
897 "$ref" : "#/definitions/MicroServicePolicy"
898 }
899 },
900 "loopLogs" : {
901 "type" : "array",
902 "uniqueItems" : true,
903 "items" : {
904 "$ref" : "#/definitions/LoopLog"
905 }
906 }
907 },
908 "x-className" : {
909 "type" : "string",
910 "format" : "org.onap.clamp.loop.Loop"
911 }
912 },
913 "JsonArray" : {
914 "type" : "object",
915 "properties" : {
916 "asString" : {
917 "type" : "string"
918 },
919 "asBoolean" : {
920 "type" : "boolean"
921 },
922 "asNumber" : {
923 "$ref" : "#/definitions/Number"
924 },
925 "asDouble" : {
926 "type" : "number",
927 "format" : "double"
928 },
929 "asFloat" : {
930 "type" : "number",
931 "format" : "float"
932 },
933 "asLong" : {
934 "type" : "integer",
935 "format" : "int64"
936 },
937 "asInt" : {
938 "type" : "integer",
939 "format" : "int32"
940 },
941 "asByte" : {
942 "type" : "string",
943 "format" : "byte"
944 },
945 "asCharacter" : {
946 "type" : "string"
947 },
948 "asBigDecimal" : {
949 "type" : "number"
950 },
951 "asBigInteger" : {
952 "type" : "integer"
953 },
954 "asShort" : {
955 "type" : "integer",
956 "format" : "int32"
957 },
958 "jsonPrimitive" : {
959 "type" : "boolean"
960 },
961 "jsonNull" : {
962 "type" : "boolean"
963 },
964 "jsonObject" : {
965 "type" : "boolean"
966 },
967 "asJsonObject" : {
968 "$ref" : "#/definitions/JsonObject"
969 },
970 "jsonArray" : {
971 "type" : "boolean"
972 },
973 "asJsonArray" : {
974 "$ref" : "#/definitions/JsonArray"
975 },
976 "asJsonPrimitive" : {
977 "$ref" : "#/definitions/JsonPrimitive"
978 },
979 "asJsonNull" : {
980 "$ref" : "#/definitions/JsonNull"
981 }
982 },
983 "x-className" : {
984 "type" : "string",
985 "format" : "com.google.gson.JsonArray"
986 }
987 },
988 "LoopLog" : {
989 "type" : "object",
990 "properties" : {
991 "id" : {
992 "type" : "integer",
993 "format" : "int64"
994 },
995 "logType" : {
996 "type" : "string",
997 "enum" : [ "INFO", "WARNING", "ERROR" ]
998 },
999 "message" : {
1000 "type" : "string"
1001 },
1002 "loop" : {
1003 "$ref" : "#/definitions/Loop"
1004 },
1005 "logInstant" : {
1006 "type" : "integer",
1007 "format" : "int64"
1008 }
1009 }
1010 },
1011 "Number" : {
1012 "type" : "object"
1013 },
1014 "JsonPrimitive" : {
1015 "type" : "object",
1016 "properties" : {
1017 "boolean" : {
1018 "type" : "boolean"
1019 },
1020 "number" : {
1021 "type" : "boolean"
1022 },
1023 "asString" : {
1024 "type" : "string"
1025 },
1026 "asBoolean" : {
1027 "type" : "boolean"
1028 },
1029 "asNumber" : {
1030 "$ref" : "#/definitions/Number"
1031 },
1032 "asDouble" : {
1033 "type" : "number",
1034 "format" : "double"
1035 },
1036 "asFloat" : {
1037 "type" : "number",
1038 "format" : "float"
1039 },
1040 "asLong" : {
1041 "type" : "integer",
1042 "format" : "int64"
1043 },
1044 "asInt" : {
1045 "type" : "integer",
1046 "format" : "int32"
1047 },
1048 "asByte" : {
1049 "type" : "string",
1050 "format" : "byte"
1051 },
1052 "asCharacter" : {
1053 "type" : "string"
1054 },
1055 "asBigDecimal" : {
1056 "type" : "number"
1057 },
1058 "asBigInteger" : {
1059 "type" : "integer"
1060 },
1061 "asShort" : {
1062 "type" : "integer",
1063 "format" : "int32"
1064 },
1065 "string" : {
1066 "type" : "boolean"
1067 },
1068 "jsonPrimitive" : {
1069 "type" : "boolean"
1070 },
1071 "jsonNull" : {
1072 "type" : "boolean"
1073 },
1074 "jsonObject" : {
1075 "type" : "boolean"
1076 },
1077 "asJsonObject" : {
1078 "$ref" : "#/definitions/JsonObject"
1079 },
1080 "jsonArray" : {
1081 "type" : "boolean"
1082 },
1083 "asJsonArray" : {
1084 "$ref" : "#/definitions/JsonArray"
1085 },
1086 "asJsonPrimitive" : {
1087 "$ref" : "#/definitions/JsonPrimitive"
1088 },
1089 "asJsonNull" : {
1090 "$ref" : "#/definitions/JsonNull"
1091 }
1092 }
1093 },
1094 "MicroServicePolicy" : {
1095 "type" : "object",
1096 "properties" : {
1097 "name" : {
1098 "type" : "string"
1099 },
1100 "modelType" : {
1101 "type" : "string"
1102 },
1103 "properties" : {
1104 "$ref" : "#/definitions/JsonObject"
1105 },
1106 "shared" : {
1107 "type" : "boolean"
1108 },
1109 "policyTosca" : {
1110 "type" : "string"
1111 },
1112 "jsonRepresentation" : {
1113 "$ref" : "#/definitions/JsonObject"
1114 },
1115 "usedByLoops" : {
1116 "type" : "array",
1117 "uniqueItems" : true,
1118 "items" : {
1119 "$ref" : "#/definitions/Loop"
1120 }
1121 }
1122 },
1123 "x-className" : {
1124 "type" : "string",
1125 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1126 }
1127 },
1128 "JsonObject" : {
1129 "type" : "object",
1130 "properties" : {
1131 "jsonPrimitive" : {
1132 "type" : "boolean"
1133 },
1134 "jsonNull" : {
1135 "type" : "boolean"
1136 },
1137 "jsonObject" : {
1138 "type" : "boolean"
1139 },
1140 "asJsonObject" : {
1141 "$ref" : "#/definitions/JsonObject"
1142 },
1143 "asString" : {
1144 "type" : "string"
1145 },
1146 "jsonArray" : {
1147 "type" : "boolean"
1148 },
1149 "asJsonArray" : {
1150 "$ref" : "#/definitions/JsonArray"
1151 },
1152 "asJsonPrimitive" : {
1153 "$ref" : "#/definitions/JsonPrimitive"
1154 },
1155 "asJsonNull" : {
1156 "$ref" : "#/definitions/JsonNull"
1157 },
1158 "asBoolean" : {
1159 "type" : "boolean"
1160 },
1161 "asNumber" : {
1162 "$ref" : "#/definitions/Number"
1163 },
1164 "asDouble" : {
1165 "type" : "number",
1166 "format" : "double"
1167 },
1168 "asFloat" : {
1169 "type" : "number",
1170 "format" : "float"
1171 },
1172 "asLong" : {
1173 "type" : "integer",
1174 "format" : "int64"
1175 },
1176 "asInt" : {
1177 "type" : "integer",
1178 "format" : "int32"
1179 },
1180 "asByte" : {
1181 "type" : "string",
1182 "format" : "byte"
1183 },
1184 "asCharacter" : {
1185 "type" : "string"
1186 },
1187 "asBigDecimal" : {
1188 "type" : "number"
1189 },
1190 "asBigInteger" : {
1191 "type" : "integer"
1192 },
1193 "asShort" : {
1194 "type" : "integer",
1195 "format" : "int32"
1196 }
1197 },
1198 "x-className" : {
1199 "type" : "string",
1200 "format" : "com.google.gson.JsonObject"
1201 }
1202 },
1203 "OperationalPolicy" : {
1204 "type" : "object",
1205 "properties" : {
1206 "name" : {
1207 "type" : "string"
1208 },
1209 "configurationsJson" : {
1210 "$ref" : "#/definitions/JsonObject"
1211 },
1212 "loop" : {
1213 "$ref" : "#/definitions/Loop"
1214 },
1215 "jsonRepresentation" : {
1216 "$ref" : "#/definitions/JsonObject"
1217 }
1218 }
1219 },
1220 "JsonNull" : {
1221 "type" : "object",
1222 "properties" : {
1223 "jsonPrimitive" : {
1224 "type" : "boolean"
1225 },
1226 "jsonNull" : {
1227 "type" : "boolean"
1228 },
1229 "jsonObject" : {
1230 "type" : "boolean"
1231 },
1232 "asJsonObject" : {
1233 "$ref" : "#/definitions/JsonObject"
1234 },
1235 "asString" : {
1236 "type" : "string"
1237 },
1238 "jsonArray" : {
1239 "type" : "boolean"
1240 },
1241 "asJsonArray" : {
1242 "$ref" : "#/definitions/JsonArray"
1243 },
1244 "asJsonPrimitive" : {
1245 "$ref" : "#/definitions/JsonPrimitive"
1246 },
1247 "asJsonNull" : {
1248 "$ref" : "#/definitions/JsonNull"
1249 },
1250 "asBoolean" : {
1251 "type" : "boolean"
1252 },
1253 "asNumber" : {
1254 "$ref" : "#/definitions/Number"
1255 },
1256 "asDouble" : {
1257 "type" : "number",
1258 "format" : "double"
1259 },
1260 "asFloat" : {
1261 "type" : "number",
1262 "format" : "float"
1263 },
1264 "asLong" : {
1265 "type" : "integer",
1266 "format" : "int64"
1267 },
1268 "asInt" : {
1269 "type" : "integer",
1270 "format" : "int32"
1271 },
1272 "asByte" : {
1273 "type" : "string",
1274 "format" : "byte"
1275 },
1276 "asCharacter" : {
1277 "type" : "string"
1278 },
1279 "asBigDecimal" : {
1280 "type" : "number"
1281 },
1282 "asBigInteger" : {
1283 "type" : "integer"
1284 },
1285 "asShort" : {
1286 "type" : "integer",
1287 "format" : "int32"
1288 }
1289 }
1290 },
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001291 "CldsModelInstance" : {
1292 "type" : "object",
1293 "properties" : {
1294 "modelInstanceId" : {
1295 "type" : "string"
1296 },
1297 "location" : {
1298 "type" : "string"
1299 },
1300 "vmName" : {
1301 "type" : "string"
1302 }
1303 }
1304 },
1305 "CldsModel" : {
1306 "type" : "object",
1307 "properties" : {
1308 "id" : {
1309 "type" : "string"
1310 },
1311 "templateId" : {
1312 "type" : "string"
1313 },
1314 "templateName" : {
1315 "type" : "string"
1316 },
1317 "name" : {
1318 "type" : "string"
1319 },
1320 "controlNamePrefix" : {
1321 "type" : "string"
1322 },
1323 "controlNameUuid" : {
1324 "type" : "string"
1325 },
1326 "bpmnText" : {
1327 "type" : "string"
1328 },
1329 "propText" : {
1330 "type" : "string"
1331 },
1332 "imageText" : {
1333 "type" : "string"
1334 },
1335 "docText" : {
1336 "type" : "string"
1337 },
1338 "blueprintText" : {
1339 "type" : "string"
1340 },
1341 "event" : {
1342 "$ref" : "#/definitions/CldsEvent"
1343 },
1344 "status" : {
1345 "type" : "string"
1346 },
1347 "permittedActionCd" : {
1348 "type" : "array",
1349 "items" : {
1350 "type" : "string"
1351 }
1352 },
1353 "cldsModelInstanceList" : {
1354 "type" : "array",
1355 "items" : {
1356 "$ref" : "#/definitions/CldsModelInstance"
1357 }
1358 },
sebdet4d1e6b92018-10-23 16:54:02 +02001359 "errorMessageForUi" : {
1360 "type" : "string"
1361 },
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001362 "typeId" : {
1363 "type" : "string"
1364 },
1365 "typeName" : {
1366 "type" : "string"
1367 },
1368 "deploymentId" : {
1369 "type" : "string"
1370 },
osgn422waeb7db72018-11-24 14:57:43 +01001371 "deploymentStatusUrl" : {
1372 "type" : "string"
1373 },
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001374 "controlName" : {
1375 "type" : "string"
1376 }
1377 },
1378 "x-className" : {
1379 "type" : "string",
1380 "format" : "org.onap.clamp.clds.model.CldsModel"
1381 }
1382 },
1383 "CldsEvent" : {
1384 "type" : "object",
1385 "properties" : {
1386 "id" : {
1387 "type" : "string"
1388 },
1389 "actionCd" : {
1390 "type" : "string"
1391 },
1392 "actionStateCd" : {
1393 "type" : "string"
1394 },
1395 "processInstanceId" : {
1396 "type" : "string"
1397 },
1398 "userid" : {
1399 "type" : "string"
1400 }
1401 }
1402 },
1403 "CldsMonitoringDetails" : {
1404 "type" : "object",
1405 "properties" : {
1406 "closeloopName" : {
1407 "type" : "string"
1408 },
xg353yaef5d4b2019-02-11 13:50:16 +01001409 "modelId" : {
1410 "type" : "string"
1411 },
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001412 "modelName" : {
1413 "type" : "string"
1414 },
1415 "serviceTypeId" : {
1416 "type" : "string"
1417 },
1418 "deploymentId" : {
1419 "type" : "string"
1420 },
1421 "templateName" : {
1422 "type" : "string"
1423 },
1424 "action" : {
1425 "type" : "string"
1426 },
1427 "userid" : {
1428 "type" : "string"
1429 },
1430 "timestamp" : {
1431 "type" : "string"
1432 }
1433 },
1434 "x-className" : {
1435 "type" : "string",
1436 "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails"
1437 }
1438 },
1439 "CldsInfo" : {
1440 "type" : "object",
1441 "properties" : {
1442 "userName" : {
1443 "type" : "string"
1444 },
1445 "cldsVersion" : {
1446 "type" : "string"
1447 },
1448 "permissionReadCl" : {
1449 "type" : "boolean"
1450 },
1451 "permissionUpdateCl" : {
1452 "type" : "boolean"
1453 },
1454 "permissionReadTemplate" : {
1455 "type" : "boolean"
1456 },
1457 "permissionUpdateTemplate" : {
1458 "type" : "boolean"
sebdet4d1e6b92018-10-23 16:54:02 +02001459 },
1460 "permissionReadTosca" : {
1461 "type" : "boolean"
1462 },
1463 "permissionUpdateTosca" : {
1464 "type" : "boolean"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001465 }
1466 },
1467 "x-className" : {
1468 "type" : "string",
1469 "format" : "org.onap.clamp.clds.model.CldsInfo"
1470 }
1471 },
1472 "DcaeEvent" : {
1473 "type" : "object",
1474 "properties" : {
1475 "event" : {
1476 "type" : "string"
1477 },
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001478 "artifactName" : {
1479 "type" : "string"
1480 },
1481 "instances" : {
1482 "type" : "array",
1483 "items" : {
1484 "$ref" : "#/definitions/CldsModelInstance"
1485 }
1486 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001487 "serviceUUID" : {
1488 "type" : "string"
1489 },
1490 "resourceUUID" : {
1491 "type" : "string"
1492 },
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001493 "controlName" : {
1494 "type" : "string"
1495 },
1496 "cldsActionCd" : {
1497 "type" : "string"
1498 }
1499 },
1500 "x-className" : {
1501 "type" : "string",
1502 "format" : "org.onap.clamp.clds.model.DcaeEvent"
1503 }
1504 },
1505 "ValueItem" : {
1506 "type" : "object",
1507 "properties" : {
1508 "value" : {
1509 "type" : "string"
1510 }
1511 },
1512 "x-className" : {
1513 "type" : "string",
1514 "format" : "org.onap.clamp.clds.model.ValueItem"
1515 }
1516 },
1517 "CldsTemplate" : {
1518 "type" : "object",
1519 "properties" : {
1520 "id" : {
1521 "type" : "string"
1522 },
1523 "name" : {
1524 "type" : "string"
1525 },
1526 "controlNamePrefix" : {
1527 "type" : "string"
1528 },
1529 "controlNameUuid" : {
1530 "type" : "string"
1531 },
1532 "bpmnId" : {
1533 "type" : "string"
1534 },
1535 "bpmnUserid" : {
1536 "type" : "string"
1537 },
1538 "bpmnText" : {
1539 "type" : "string"
1540 },
1541 "imageId" : {
1542 "type" : "string"
1543 },
1544 "imageUserid" : {
1545 "type" : "string"
1546 },
1547 "imageText" : {
1548 "type" : "string"
1549 },
1550 "propId" : {
1551 "type" : "string"
1552 },
1553 "propUserid" : {
1554 "type" : "string"
1555 },
1556 "propText" : {
1557 "type" : "string"
1558 },
1559 "userAuthorizedToUpdate" : {
1560 "type" : "boolean"
1561 }
1562 },
1563 "x-className" : {
1564 "type" : "string",
1565 "format" : "org.onap.clamp.clds.model.CldsTemplate"
1566 }
sebdet4d1e6b92018-10-23 16:54:02 +02001567 },
1568 "CldsDictionary" : {
1569 "type" : "object",
1570 "properties" : {
1571 "dictionaryId" : {
1572 "type" : "string"
1573 },
1574 "dictionaryName" : {
1575 "type" : "string"
1576 },
1577 "createdBy" : {
1578 "type" : "string"
1579 },
1580 "updatedBy" : {
1581 "type" : "string"
1582 },
1583 "lastUpdatedDate" : {
1584 "type" : "string"
1585 },
1586 "cldsDictionaryItems" : {
1587 "type" : "array",
1588 "items" : {
1589 "$ref" : "#/definitions/CldsDictionaryItem"
1590 }
1591 }
1592 },
1593 "x-className" : {
1594 "type" : "string",
1595 "format" : "org.onap.clamp.clds.model.CldsDictionary"
1596 }
1597 },
1598 "CldsDictionaryItem" : {
1599 "type" : "object",
1600 "properties" : {
1601 "dictElementId" : {
1602 "type" : "string"
1603 },
1604 "dictionaryId" : {
1605 "type" : "string"
1606 },
1607 "dictElementName" : {
1608 "type" : "string"
1609 },
1610 "dictElementShortName" : {
1611 "type" : "string"
1612 },
1613 "dictElementDesc" : {
1614 "type" : "string"
1615 },
1616 "dictElementType" : {
1617 "type" : "string"
1618 },
1619 "createdBy" : {
1620 "type" : "string"
1621 },
1622 "updatedBy" : {
1623 "type" : "string"
1624 },
1625 "lastUpdatedDate" : {
1626 "type" : "string"
1627 }
1628 },
1629 "x-className" : {
1630 "type" : "string",
1631 "format" : "org.onap.clamp.clds.model.CldsDictionaryItem"
1632 }
1633 },
1634 "CldsToscaModel" : {
1635 "type" : "object",
1636 "properties" : {
1637 "revisionId" : {
1638 "type" : "string"
1639 },
1640 "toscaModelYaml" : {
1641 "type" : "string"
1642 },
1643 "version" : {
1644 "type" : "number",
1645 "format" : "double"
1646 },
1647 "toscaModelJson" : {
1648 "type" : "string"
1649 },
1650 "userId" : {
1651 "type" : "string"
1652 },
1653 "createdDate" : {
1654 "type" : "string"
1655 },
1656 "lastUpdatedDate" : {
1657 "type" : "string"
1658 },
1659 "id" : {
1660 "type" : "string"
1661 },
1662 "policyType" : {
1663 "type" : "string"
1664 },
1665 "toscaModelName" : {
1666 "type" : "string"
1667 }
1668 },
1669 "x-className" : {
1670 "type" : "string",
1671 "format" : "org.onap.clamp.clds.model.CldsToscaModel"
1672 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001673 }
1674 }
xg353y2aad6d62018-05-18 17:59:06 +02001675}