blob: 25b09a700396f4d7b368ec310c92512b24695c6c [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" : {
sebdet061ecec2020-05-13 09:34:05 +02004 "version" : "5.1.0-SNAPSHOT",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02005 "title" : "Clamp Rest API"
6 },
sebdet061ecec2020-05-13 09:34:05 +02007 "host" : "localhost:37033",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02008 "basePath" : "/restservices/clds/",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02009 "schemes" : [ "http" ],
10 "paths" : {
sebdet723de7f2020-03-12 14:38:07 -070011 "/v2/clampInformation" : {
12 "get" : {
sebdet061ecec2020-05-13 09:34:05 +020013 "operationId" : "route112",
sebdet723de7f2020-03-12 14:38:07 -070014 "produces" : [ "application/json" ],
15 "responses" : {
16 "200" : {
17 "description" : "Output type",
18 "schema" : {
19 "$ref" : "#/definitions/ClampInformation"
20 }
21 }
22 },
sebdet061ecec2020-05-13 09:34:05 +020023 "x-camelContextId" : "camel-3",
24 "x-routeId" : "route112"
sebdet723de7f2020-03-12 14:38:07 -070025 }
26 },
sebdet3b7f6692020-02-17 06:03:31 -080027 "/v2/dictionary" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020028 "get" : {
sebdet061ecec2020-05-13 09:34:05 +020029 "operationId" : "route96",
sebdet3b7f6692020-02-17 06:03:31 -080030 "produces" : [ "application/json" ],
31 "responses" : {
32 "200" : {
33 "description" : "Output type",
34 "schema" : {
35 "$ref" : "#/definitions/Dictionary"
36 }
37 }
38 },
sebdet061ecec2020-05-13 09:34:05 +020039 "x-camelContextId" : "camel-3",
40 "x-routeId" : "route96"
sebdet3b7f6692020-02-17 06:03:31 -080041 },
42 "put" : {
sebdet061ecec2020-05-13 09:34:05 +020043 "operationId" : "route99",
sebdet3b7f6692020-02-17 06:03:31 -080044 "consumes" : [ "application/json" ],
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020045 "produces" : [ "application/json" ],
46 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -080047 "in" : "body",
48 "name" : "body",
49 "required" : true,
50 "schema" : {
51 "$ref" : "#/definitions/Dictionary"
52 }
53 } ],
54 "responses" : {
55 "200" : {
56 "description" : "Output type",
57 "schema" : {
58 "$ref" : "#/definitions/Dictionary"
59 }
60 }
61 },
sebdet061ecec2020-05-13 09:34:05 +020062 "x-camelContextId" : "camel-3",
63 "x-routeId" : "route99"
sebdet3b7f6692020-02-17 06:03:31 -080064 }
65 },
66 "/v2/dictionary/{dictionaryName}" : {
67 "get" : {
sebdet061ecec2020-05-13 09:34:05 +020068 "operationId" : "route98",
sebdet3b7f6692020-02-17 06:03:31 -080069 "produces" : [ "application/json" ],
70 "parameters" : [ {
71 "name" : "dictionaryName",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020072 "in" : "path",
73 "required" : true,
74 "type" : "string"
75 } ],
76 "responses" : {
77 "200" : {
78 "description" : "Output type",
79 "schema" : {
sebdet3b7f6692020-02-17 06:03:31 -080080 "$ref" : "#/definitions/Dictionary"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020081 }
82 }
83 },
sebdet061ecec2020-05-13 09:34:05 +020084 "x-camelContextId" : "camel-3",
85 "x-routeId" : "route98"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020086 }
87 },
sebdet3b7f6692020-02-17 06:03:31 -080088 "/v2/dictionary/{name}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020089 "put" : {
sebdet061ecec2020-05-13 09:34:05 +020090 "operationId" : "route100",
sebdet3b7f6692020-02-17 06:03:31 -080091 "consumes" : [ "application/json" ],
92 "produces" : [ "application/json" ],
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020093 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -080094 "name" : "name",
95 "in" : "path",
96 "required" : true,
97 "type" : "string"
98 }, {
99 "in" : "body",
100 "name" : "body",
101 "required" : true,
102 "schema" : {
103 "$ref" : "#/definitions/Dictionary"
104 }
105 } ],
106 "responses" : {
107 "200" : {
108 "description" : "Output type",
109 "schema" : {
110 "$ref" : "#/definitions/Dictionary"
111 }
112 }
113 },
sebdet061ecec2020-05-13 09:34:05 +0200114 "x-camelContextId" : "camel-3",
115 "x-routeId" : "route100"
sebdet3b7f6692020-02-17 06:03:31 -0800116 },
117 "delete" : {
sebdet061ecec2020-05-13 09:34:05 +0200118 "operationId" : "route101",
sebdet3b7f6692020-02-17 06:03:31 -0800119 "produces" : [ "application/json" ],
120 "parameters" : [ {
121 "name" : "name",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200122 "in" : "path",
123 "required" : true,
124 "type" : "string"
125 } ],
126 "responses" : {
127 "200" : { }
128 },
sebdet061ecec2020-05-13 09:34:05 +0200129 "x-camelContextId" : "camel-3",
130 "x-routeId" : "route101"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200131 }
132 },
sebdet3b7f6692020-02-17 06:03:31 -0800133 "/v2/dictionary/{name}/elements/{shortName}" : {
134 "delete" : {
sebdet061ecec2020-05-13 09:34:05 +0200135 "operationId" : "route102",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200136 "produces" : [ "application/json" ],
137 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -0800138 "name" : "name",
139 "in" : "path",
140 "required" : true,
141 "type" : "string"
142 }, {
143 "name" : "shortName",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200144 "in" : "path",
145 "required" : true,
146 "type" : "string"
147 } ],
148 "responses" : {
sebdet3b7f6692020-02-17 06:03:31 -0800149 "200" : { }
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200150 },
sebdet061ecec2020-05-13 09:34:05 +0200151 "x-camelContextId" : "camel-3",
152 "x-routeId" : "route102"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200153 }
154 },
sebdet3b7f6692020-02-17 06:03:31 -0800155 "/v2/dictionary/secondary/names" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200156 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200157 "operationId" : "route97",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200158 "produces" : [ "application/json" ],
159 "responses" : {
160 "200" : {
161 "description" : "Output type",
162 "schema" : {
163 "type" : "array",
164 "items" : {
165 "type" : "string"
166 }
167 }
168 }
169 },
sebdet061ecec2020-05-13 09:34:05 +0200170 "x-camelContextId" : "camel-3",
171 "x-routeId" : "route97"
sebdet3b7f6692020-02-17 06:03:31 -0800172 }
173 },
174 "/v2/loop/{loopName}" : {
175 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200176 "operationId" : "route79",
sebdet3b7f6692020-02-17 06:03:31 -0800177 "produces" : [ "application/json" ],
178 "parameters" : [ {
179 "name" : "loopName",
180 "in" : "path",
181 "required" : true,
182 "type" : "string"
183 } ],
184 "responses" : {
185 "200" : {
186 "description" : "Output type",
187 "schema" : {
188 "$ref" : "#/definitions/Loop"
189 }
190 }
191 },
sebdet061ecec2020-05-13 09:34:05 +0200192 "x-camelContextId" : "camel-3",
193 "x-routeId" : "route79"
sebdet723de7f2020-03-12 14:38:07 -0700194 }
195 },
196 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
197 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200198 "operationId" : "route93",
sebdet723de7f2020-03-12 14:38:07 -0700199 "produces" : [ "application/json" ],
200 "parameters" : [ {
201 "name" : "loopName",
202 "in" : "path",
203 "required" : true,
204 "type" : "string"
205 }, {
206 "name" : "policyType",
207 "in" : "path",
208 "required" : true,
209 "type" : "string"
210 }, {
211 "name" : "policyVersion",
212 "in" : "path",
213 "required" : true,
214 "type" : "string"
215 } ],
216 "responses" : {
217 "200" : {
218 "description" : "Output type",
219 "schema" : {
220 "$ref" : "#/definitions/Loop"
221 }
222 }
223 },
sebdet061ecec2020-05-13 09:34:05 +0200224 "x-camelContextId" : "camel-3",
225 "x-routeId" : "route93"
sebdet723de7f2020-03-12 14:38:07 -0700226 }
227 },
228 "/v2/loop/create/{loopName}?templateName={templateName}" : {
229 "post" : {
sebdet061ecec2020-05-13 09:34:05 +0200230 "operationId" : "route95",
sebdet723de7f2020-03-12 14:38:07 -0700231 "consumes" : [ "application/json" ],
232 "produces" : [ "application/json" ],
233 "parameters" : [ {
234 "name" : "loopName}?templateName={templateName",
235 "in" : "path",
236 "required" : true,
237 "type" : "string"
238 } ],
239 "responses" : {
240 "200" : {
241 "description" : "Output type",
242 "schema" : {
243 "$ref" : "#/definitions/Loop"
244 }
245 }
246 },
sebdet061ecec2020-05-13 09:34:05 +0200247 "x-camelContextId" : "camel-3",
248 "x-routeId" : "route95"
sebdet3b7f6692020-02-17 06:03:31 -0800249 }
250 },
251 "/v2/loop/delete/{loopName}" : {
252 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200253 "operationId" : "route91",
sebdet3b7f6692020-02-17 06:03:31 -0800254 "parameters" : [ {
255 "name" : "loopName",
256 "in" : "path",
257 "required" : true,
258 "type" : "string"
259 } ],
260 "responses" : {
261 "200" : { }
262 },
sebdet061ecec2020-05-13 09:34:05 +0200263 "x-camelContextId" : "camel-3",
264 "x-routeId" : "route91"
sebdet3b7f6692020-02-17 06:03:31 -0800265 }
266 },
267 "/v2/loop/deploy/{loopName}" : {
268 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200269 "operationId" : "route84",
sebdet3b7f6692020-02-17 06:03:31 -0800270 "produces" : [ "application/json" ],
271 "parameters" : [ {
272 "name" : "loopName",
273 "in" : "path",
274 "required" : true,
275 "type" : "string"
276 } ],
277 "responses" : {
278 "200" : {
279 "description" : "Output type",
280 "schema" : {
281 "$ref" : "#/definitions/Loop"
282 }
283 }
284 },
sebdet061ecec2020-05-13 09:34:05 +0200285 "x-camelContextId" : "camel-3",
286 "x-routeId" : "route84"
sebdet3b7f6692020-02-17 06:03:31 -0800287 }
288 },
289 "/v2/loop/getAllNames" : {
290 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200291 "operationId" : "route78",
sebdet3b7f6692020-02-17 06:03:31 -0800292 "produces" : [ "application/json" ],
293 "responses" : {
294 "200" : {
295 "description" : "Output type",
296 "schema" : {
297 "type" : "array",
298 "items" : {
299 "type" : "string"
300 }
301 }
302 }
303 },
sebdet061ecec2020-05-13 09:34:05 +0200304 "x-camelContextId" : "camel-3",
305 "x-routeId" : "route78"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200306 }
307 },
308 "/v2/loop/getstatus/{loopName}" : {
309 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200310 "operationId" : "route92",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200311 "produces" : [ "application/json" ],
312 "parameters" : [ {
313 "name" : "loopName",
314 "in" : "path",
315 "required" : true,
316 "type" : "string"
317 } ],
318 "responses" : {
319 "200" : {
320 "description" : "Output type",
321 "schema" : {
322 "$ref" : "#/definitions/Loop"
323 }
324 }
325 },
sebdet061ecec2020-05-13 09:34:05 +0200326 "x-camelContextId" : "camel-3",
327 "x-routeId" : "route92"
sebdet3b7f6692020-02-17 06:03:31 -0800328 }
329 },
sebdetafac3122020-03-19 10:29:30 -0700330 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
sebdet3b7f6692020-02-17 06:03:31 -0800331 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200332 "operationId" : "route85",
sebdet3b7f6692020-02-17 06:03:31 -0800333 "produces" : [ "application/json" ],
334 "parameters" : [ {
335 "name" : "loopName",
336 "in" : "path",
337 "required" : true,
338 "type" : "string"
sebdetafac3122020-03-19 10:29:30 -0700339 }, {
340 "name" : "microServicePolicyName",
341 "in" : "path",
342 "required" : true,
343 "type" : "string"
sebdet3b7f6692020-02-17 06:03:31 -0800344 } ],
345 "responses" : {
346 "200" : {
347 "description" : "Output type",
348 "schema" : {
349 "$ref" : "#/definitions/Loop"
350 }
351 }
352 },
sebdet061ecec2020-05-13 09:34:05 +0200353 "x-camelContextId" : "camel-3",
354 "x-routeId" : "route85"
sebdetafac3122020-03-19 10:29:30 -0700355 }
356 },
357 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
358 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200359 "operationId" : "route86",
sebdetafac3122020-03-19 10:29:30 -0700360 "produces" : [ "application/json" ],
361 "parameters" : [ {
362 "name" : "loopName",
363 "in" : "path",
364 "required" : true,
365 "type" : "string"
366 }, {
367 "name" : "operationalPolicyName",
368 "in" : "path",
369 "required" : true,
370 "type" : "string"
371 } ],
372 "responses" : {
373 "200" : {
374 "description" : "Output type",
375 "schema" : {
376 "$ref" : "#/definitions/Loop"
377 }
378 }
379 },
sebdet061ecec2020-05-13 09:34:05 +0200380 "x-camelContextId" : "camel-3",
381 "x-routeId" : "route86"
sebdet723de7f2020-03-12 14:38:07 -0700382 }
383 },
sebdetab9bc442020-04-23 03:01:37 +0200384 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
sebdet723de7f2020-03-12 14:38:07 -0700385 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200386 "operationId" : "route94",
sebdet723de7f2020-03-12 14:38:07 -0700387 "produces" : [ "application/json" ],
388 "parameters" : [ {
389 "name" : "loopName",
390 "in" : "path",
391 "required" : true,
392 "type" : "string"
393 }, {
394 "name" : "policyType",
395 "in" : "path",
396 "required" : true,
397 "type" : "string"
398 }, {
399 "name" : "policyVersion",
400 "in" : "path",
401 "required" : true,
402 "type" : "string"
sebdetab9bc442020-04-23 03:01:37 +0200403 }, {
404 "name" : "policyName",
405 "in" : "path",
406 "required" : true,
407 "type" : "string"
sebdet723de7f2020-03-12 14:38:07 -0700408 } ],
409 "responses" : {
410 "200" : {
411 "description" : "Output type",
412 "schema" : {
413 "$ref" : "#/definitions/Loop"
414 }
415 }
416 },
sebdet061ecec2020-05-13 09:34:05 +0200417 "x-camelContextId" : "camel-3",
418 "x-routeId" : "route94"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200419 }
420 },
421 "/v2/loop/restart/{loopName}" : {
422 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200423 "operationId" : "route89",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200424 "produces" : [ "application/json" ],
425 "parameters" : [ {
426 "name" : "loopName",
427 "in" : "path",
428 "required" : true,
429 "type" : "string"
430 } ],
431 "responses" : {
432 "200" : {
433 "description" : "Output type",
434 "schema" : {
435 "$ref" : "#/definitions/Loop"
436 }
437 }
438 },
sebdet061ecec2020-05-13 09:34:05 +0200439 "x-camelContextId" : "camel-3",
440 "x-routeId" : "route89"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200441 }
442 },
443 "/v2/loop/stop/{loopName}" : {
444 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200445 "operationId" : "route88",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200446 "produces" : [ "application/json" ],
447 "parameters" : [ {
448 "name" : "loopName",
449 "in" : "path",
450 "required" : true,
451 "type" : "string"
452 } ],
453 "responses" : {
454 "200" : {
455 "description" : "Output type",
456 "schema" : {
457 "$ref" : "#/definitions/Loop"
458 }
459 }
460 },
sebdet061ecec2020-05-13 09:34:05 +0200461 "x-camelContextId" : "camel-3",
462 "x-routeId" : "route88"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200463 }
464 },
465 "/v2/loop/submit/{loopName}" : {
466 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200467 "operationId" : "route90",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200468 "produces" : [ "application/json" ],
469 "parameters" : [ {
470 "name" : "loopName",
471 "in" : "path",
472 "required" : true,
473 "type" : "string"
474 } ],
475 "responses" : {
476 "200" : {
477 "description" : "Output type",
478 "schema" : {
479 "$ref" : "#/definitions/Loop"
480 }
481 }
482 },
sebdet061ecec2020-05-13 09:34:05 +0200483 "x-camelContextId" : "camel-3",
484 "x-routeId" : "route90"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200485 }
486 },
487 "/v2/loop/svgRepresentation/{loopName}" : {
488 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200489 "operationId" : "route80",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200490 "produces" : [ "application/xml" ],
491 "parameters" : [ {
492 "name" : "loopName",
493 "in" : "path",
494 "required" : true,
495 "type" : "string"
496 } ],
497 "responses" : {
498 "200" : {
499 "description" : "Output type",
500 "schema" : {
501 "type" : "string"
502 }
503 }
504 },
sebdet061ecec2020-05-13 09:34:05 +0200505 "x-camelContextId" : "camel-3",
506 "x-routeId" : "route80"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200507 }
508 },
sebdet101193d2019-09-05 18:25:59 +0200509 "/v2/loop/undeploy/{loopName}" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200510 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200511 "operationId" : "route87",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200512 "produces" : [ "application/json" ],
513 "parameters" : [ {
514 "name" : "loopName",
515 "in" : "path",
516 "required" : true,
517 "type" : "string"
518 } ],
519 "responses" : {
520 "200" : {
521 "description" : "Output type",
522 "schema" : {
523 "$ref" : "#/definitions/Loop"
524 }
525 }
526 },
sebdet061ecec2020-05-13 09:34:05 +0200527 "x-camelContextId" : "camel-3",
528 "x-routeId" : "route87"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200529 }
530 },
531 "/v2/loop/updateGlobalProperties/{loopName}" : {
532 "post" : {
sebdet061ecec2020-05-13 09:34:05 +0200533 "operationId" : "route81",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200534 "consumes" : [ "application/json" ],
535 "produces" : [ "application/json" ],
536 "parameters" : [ {
537 "name" : "loopName",
538 "in" : "path",
539 "required" : true,
540 "type" : "string"
541 }, {
542 "in" : "body",
543 "name" : "body",
544 "required" : true,
545 "schema" : {
546 "$ref" : "#/definitions/JsonObject"
547 }
548 } ],
549 "responses" : {
550 "200" : {
551 "description" : "Output type",
552 "schema" : {
553 "$ref" : "#/definitions/Loop"
554 }
555 }
556 },
sebdet061ecec2020-05-13 09:34:05 +0200557 "x-camelContextId" : "camel-3",
558 "x-routeId" : "route81"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200559 }
560 },
561 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
562 "post" : {
sebdet061ecec2020-05-13 09:34:05 +0200563 "operationId" : "route83",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200564 "consumes" : [ "application/json" ],
565 "produces" : [ "application/json" ],
566 "parameters" : [ {
567 "name" : "loopName",
568 "in" : "path",
569 "required" : true,
570 "type" : "string"
571 }, {
572 "in" : "body",
573 "name" : "body",
574 "required" : true,
575 "schema" : {
576 "$ref" : "#/definitions/MicroServicePolicy"
577 }
578 } ],
579 "responses" : {
580 "200" : {
581 "description" : "Output type",
582 "schema" : {
583 "$ref" : "#/definitions/MicroServicePolicy"
584 }
585 }
586 },
sebdet061ecec2020-05-13 09:34:05 +0200587 "x-camelContextId" : "camel-3",
588 "x-routeId" : "route83"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200589 }
590 },
591 "/v2/loop/updateOperationalPolicies/{loopName}" : {
592 "post" : {
sebdet061ecec2020-05-13 09:34:05 +0200593 "operationId" : "route82",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200594 "consumes" : [ "application/json" ],
595 "produces" : [ "application/json" ],
596 "parameters" : [ {
597 "name" : "loopName",
598 "in" : "path",
599 "required" : true,
600 "type" : "string"
601 }, {
602 "in" : "body",
603 "name" : "body",
604 "required" : true,
605 "schema" : {
606 "$ref" : "#/definitions/JsonArray"
607 }
608 } ],
609 "responses" : {
610 "200" : {
611 "description" : "Output type",
612 "schema" : {
613 "$ref" : "#/definitions/Loop"
614 }
615 }
616 },
sebdet061ecec2020-05-13 09:34:05 +0200617 "x-camelContextId" : "camel-3",
618 "x-routeId" : "route82"
sebdet3b7f6692020-02-17 06:03:31 -0800619 }
620 },
621 "/v2/policyToscaModels" : {
622 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200623 "operationId" : "route103",
sebdet3b7f6692020-02-17 06:03:31 -0800624 "produces" : [ "application/json" ],
625 "responses" : {
626 "200" : {
627 "description" : "Output type",
628 "schema" : {
629 "$ref" : "#/definitions/PolicyModel"
630 }
631 }
632 },
sebdet061ecec2020-05-13 09:34:05 +0200633 "x-camelContextId" : "camel-3",
634 "x-routeId" : "route103"
sebdet723de7f2020-03-12 14:38:07 -0700635 },
636 "post" : {
sebdet061ecec2020-05-13 09:34:05 +0200637 "operationId" : "route106",
sebdet723de7f2020-03-12 14:38:07 -0700638 "consumes" : [ "plain/text" ],
639 "produces" : [ "application/json" ],
640 "parameters" : [ {
641 "in" : "body",
642 "name" : "body",
643 "required" : true,
644 "schema" : {
645 "type" : "string"
646 }
647 } ],
648 "responses" : {
649 "200" : {
650 "description" : "Output type",
651 "schema" : {
652 "$ref" : "#/definitions/PolicyModel"
653 }
654 }
655 },
sebdet061ecec2020-05-13 09:34:05 +0200656 "x-camelContextId" : "camel-3",
657 "x-routeId" : "route106"
sebdet3b7f6692020-02-17 06:03:31 -0800658 }
659 },
sebdet723de7f2020-03-12 14:38:07 -0700660 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
sebdet3b7f6692020-02-17 06:03:31 -0800661 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200662 "operationId" : "route104",
sebdet3b7f6692020-02-17 06:03:31 -0800663 "produces" : [ "application/json" ],
664 "parameters" : [ {
665 "name" : "policyModelType",
666 "in" : "path",
667 "required" : true,
668 "type" : "string"
sebdet723de7f2020-03-12 14:38:07 -0700669 }, {
670 "name" : "policyModelVersion",
671 "in" : "path",
672 "required" : true,
673 "type" : "string"
sebdet3b7f6692020-02-17 06:03:31 -0800674 } ],
675 "responses" : {
676 "200" : {
677 "description" : "Output type",
678 "schema" : {
679 "$ref" : "#/definitions/PolicyModel"
680 }
681 }
682 },
sebdet061ecec2020-05-13 09:34:05 +0200683 "x-camelContextId" : "camel-3",
684 "x-routeId" : "route104"
sebdet3b7f6692020-02-17 06:03:31 -0800685 },
686 "put" : {
sebdet061ecec2020-05-13 09:34:05 +0200687 "operationId" : "route107",
sebdet3b7f6692020-02-17 06:03:31 -0800688 "consumes" : [ "plain/text" ],
689 "produces" : [ "application/json" ],
690 "parameters" : [ {
691 "name" : "policyModelType",
692 "in" : "path",
693 "required" : true,
694 "type" : "string"
695 }, {
sebdet723de7f2020-03-12 14:38:07 -0700696 "name" : "policyModelVersion",
697 "in" : "path",
698 "required" : true,
699 "type" : "string"
700 }, {
sebdet3b7f6692020-02-17 06:03:31 -0800701 "in" : "body",
702 "name" : "body",
703 "required" : true,
704 "schema" : {
705 "type" : "string"
706 }
707 } ],
708 "responses" : {
709 "200" : {
710 "description" : "Output type",
711 "schema" : {
712 "$ref" : "#/definitions/PolicyModel"
713 }
714 }
715 },
sebdet061ecec2020-05-13 09:34:05 +0200716 "x-camelContextId" : "camel-3",
717 "x-routeId" : "route107"
sebdet3b7f6692020-02-17 06:03:31 -0800718 }
719 },
sebdet723de7f2020-03-12 14:38:07 -0700720 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
sebdet3b7f6692020-02-17 06:03:31 -0800721 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200722 "operationId" : "route105",
sebdet3b7f6692020-02-17 06:03:31 -0800723 "produces" : [ "application/json" ],
724 "parameters" : [ {
725 "name" : "policyModelType",
726 "in" : "path",
727 "required" : true,
728 "type" : "string"
sebdet723de7f2020-03-12 14:38:07 -0700729 }, {
730 "name" : "policyModelVersion",
731 "in" : "path",
732 "required" : true,
733 "type" : "string"
sebdet3b7f6692020-02-17 06:03:31 -0800734 } ],
735 "responses" : {
736 "200" : {
737 "description" : "Output type",
738 "schema" : {
739 "type" : "string"
740 }
741 }
742 },
sebdet061ecec2020-05-13 09:34:05 +0200743 "x-camelContextId" : "camel-3",
744 "x-routeId" : "route105"
sebdet3b7f6692020-02-17 06:03:31 -0800745 }
746 },
747 "/v2/templates" : {
748 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200749 "operationId" : "route108",
sebdet3b7f6692020-02-17 06:03:31 -0800750 "produces" : [ "application/json" ],
751 "responses" : {
752 "200" : {
753 "description" : "Output type",
754 "schema" : {
755 "$ref" : "#/definitions/LoopTemplate"
756 }
757 }
758 },
sebdet061ecec2020-05-13 09:34:05 +0200759 "x-camelContextId" : "camel-3",
760 "x-routeId" : "route108"
sebdet3b7f6692020-02-17 06:03:31 -0800761 }
762 },
763 "/v2/templates/{templateName}" : {
764 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200765 "operationId" : "route109",
sebdet3b7f6692020-02-17 06:03:31 -0800766 "produces" : [ "application/json" ],
767 "parameters" : [ {
768 "name" : "templateName",
769 "in" : "path",
770 "required" : true,
771 "type" : "string"
772 } ],
773 "responses" : {
774 "200" : {
775 "description" : "Output type",
776 "schema" : {
777 "$ref" : "#/definitions/LoopTemplate"
778 }
779 }
780 },
sebdet061ecec2020-05-13 09:34:05 +0200781 "x-camelContextId" : "camel-3",
782 "x-routeId" : "route109"
sebdet723de7f2020-03-12 14:38:07 -0700783 }
784 },
785 "/v2/templates/{templateName}/svgRepresentation" : {
786 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200787 "operationId" : "route111",
sebdet723de7f2020-03-12 14:38:07 -0700788 "produces" : [ "application/xml" ],
789 "parameters" : [ {
790 "name" : "templateName",
791 "in" : "path",
792 "required" : true,
793 "type" : "string"
794 } ],
795 "responses" : {
796 "200" : {
797 "description" : "Output type",
798 "schema" : {
799 "type" : "string"
800 }
801 }
802 },
sebdet061ecec2020-05-13 09:34:05 +0200803 "x-camelContextId" : "camel-3",
804 "x-routeId" : "route111"
sebdet3b7f6692020-02-17 06:03:31 -0800805 }
806 },
807 "/v2/templates/names" : {
808 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200809 "operationId" : "route110",
sebdet3b7f6692020-02-17 06:03:31 -0800810 "produces" : [ "application/json" ],
811 "responses" : {
812 "200" : {
813 "description" : "Output type",
814 "schema" : {
815 "type" : "array",
816 "items" : {
817 "type" : "string"
818 }
819 }
820 }
821 },
sebdet061ecec2020-05-13 09:34:05 +0200822 "x-camelContextId" : "camel-3",
823 "x-routeId" : "route110"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200824 }
xg353y2aad6d62018-05-18 17:59:06 +0200825 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200826 "/v1/healthcheck" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200827 "get" : {
sebdet061ecec2020-05-13 09:34:05 +0200828 "operationId" : "route113",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200829 "produces" : [ "application/json" ],
830 "responses" : {
sebdet5b410e62019-09-11 15:11:03 +0200831 "200" : {
832 "description" : "Output type",
833 "schema" : {
834 "$ref" : "#/definitions/CldsHealthCheck"
835 }
836 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200837 },
sebdet061ecec2020-05-13 09:34:05 +0200838 "x-camelContextId" : "camel-3",
839 "x-routeId" : "route113"
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" : {
sebdet061ecec2020-05-13 09:34:05 +0200844 "operationId" : "route114",
sebdet4d1e6b92018-10-23 16:54:02 +0200845 "produces" : [ "text/plain" ],
846 "responses" : {
847 "200" : { }
848 },
sebdet061ecec2020-05-13 09:34:05 +0200849 "x-camelContextId" : "camel-3",
850 "x-routeId" : "route114"
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" : {
sebdet723de7f2020-03-12 14:38:07 -0700855 "ClampInformation" : {
856 "type" : "object",
857 "properties" : {
858 "userName" : {
859 "type" : "string"
860 },
861 "cldsVersion" : {
862 "type" : "string"
863 },
864 "allPermissions" : {
865 "type" : "array",
866 "items" : {
867 "type" : "string"
868 }
869 }
870 },
871 "x-className" : {
872 "type" : "string",
873 "format" : "org.onap.clamp.clds.model.ClampInformation"
874 }
875 },
sebdet3b7f6692020-02-17 06:03:31 -0800876 "Dictionary" : {
877 "type" : "object",
878 "properties" : {
879 "createdDate" : {
880 "type" : "integer",
881 "format" : "int64"
882 },
883 "updatedDate" : {
884 "type" : "integer",
885 "format" : "int64"
886 },
887 "updatedBy" : {
888 "type" : "string"
889 },
890 "createdBy" : {
891 "type" : "string"
892 },
893 "name" : {
894 "type" : "string"
895 },
896 "secondLevelDictionary" : {
897 "type" : "integer",
898 "format" : "int32"
899 },
900 "subDictionaryType" : {
901 "type" : "string"
902 },
903 "dictionaryElements" : {
904 "type" : "array",
905 "uniqueItems" : true,
906 "items" : {
907 "$ref" : "#/definitions/DictionaryElement"
908 }
909 }
910 },
911 "x-className" : {
912 "type" : "string",
913 "format" : "org.onap.clamp.tosca.Dictionary"
914 }
915 },
916 "DictionaryElement" : {
917 "type" : "object",
918 "properties" : {
919 "createdDate" : {
920 "type" : "integer",
921 "format" : "int64"
922 },
923 "updatedDate" : {
924 "type" : "integer",
925 "format" : "int64"
926 },
927 "updatedBy" : {
928 "type" : "string"
929 },
930 "createdBy" : {
931 "type" : "string"
932 },
933 "shortName" : {
934 "type" : "string"
935 },
936 "name" : {
937 "type" : "string"
938 },
939 "description" : {
940 "type" : "string"
941 },
942 "type" : {
943 "type" : "string"
944 },
945 "subDictionary" : {
946 "type" : "string"
947 },
948 "usedByDictionaries" : {
949 "type" : "array",
950 "uniqueItems" : true,
951 "items" : {
952 "$ref" : "#/definitions/Dictionary"
953 }
954 }
955 }
956 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200957 "Loop" : {
958 "type" : "object",
959 "properties" : {
nrpandya82561262019-11-21 11:51:18 -0600960 "createdDate" : {
961 "type" : "integer",
962 "format" : "int64"
963 },
964 "updatedDate" : {
965 "type" : "integer",
966 "format" : "int64"
967 },
968 "updatedBy" : {
969 "type" : "string"
970 },
971 "createdBy" : {
972 "type" : "string"
973 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200974 "name" : {
975 "type" : "string"
976 },
977 "dcaeDeploymentId" : {
978 "type" : "string"
979 },
980 "dcaeDeploymentStatusUrl" : {
981 "type" : "string"
982 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200983 "svgRepresentation" : {
984 "type" : "string"
985 },
986 "globalPropertiesJson" : {
987 "$ref" : "#/definitions/JsonObject"
988 },
nrpandya82561262019-11-21 11:51:18 -0600989 "modelService" : {
990 "$ref" : "#/definitions/Service"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200991 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200992 "lastComputedState" : {
993 "type" : "string",
994 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
995 },
sebdet101193d2019-09-05 18:25:59 +0200996 "components" : {
997 "type" : "object",
998 "additionalProperties" : {
999 "$ref" : "#/definitions/ExternalComponent"
1000 }
1001 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001002 "operationalPolicies" : {
1003 "type" : "array",
1004 "uniqueItems" : true,
1005 "items" : {
1006 "$ref" : "#/definitions/OperationalPolicy"
1007 }
1008 },
1009 "microServicePolicies" : {
1010 "type" : "array",
1011 "uniqueItems" : true,
1012 "items" : {
1013 "$ref" : "#/definitions/MicroServicePolicy"
1014 }
1015 },
1016 "loopLogs" : {
1017 "type" : "array",
1018 "uniqueItems" : true,
1019 "items" : {
1020 "$ref" : "#/definitions/LoopLog"
1021 }
nrpandya82561262019-11-21 11:51:18 -06001022 },
1023 "loopTemplate" : {
1024 "$ref" : "#/definitions/LoopTemplate"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001025 }
1026 },
1027 "x-className" : {
1028 "type" : "string",
1029 "format" : "org.onap.clamp.loop.Loop"
1030 }
1031 },
nrpandya82561262019-11-21 11:51:18 -06001032 "JsonPrimitive" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001033 "type" : "object",
1034 "properties" : {
sebdet2dd4e992020-03-04 15:47:39 -08001035 "asBoolean" : {
1036 "type" : "boolean"
1037 },
1038 "number" : {
1039 "type" : "boolean"
1040 },
sebdet061ecec2020-05-13 09:34:05 +02001041 "asString" : {
1042 "type" : "string"
sebdetafac3122020-03-19 10:29:30 -07001043 },
1044 "asCharacter" : {
1045 "type" : "string"
1046 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001047 "asBigDecimal" : {
1048 "type" : "number"
1049 },
sebdetaa486be2020-02-18 02:00:11 -08001050 "asBigInteger" : {
1051 "type" : "integer"
1052 },
1053 "asShort" : {
1054 "type" : "integer",
1055 "format" : "int32"
1056 },
sebdetab9bc442020-04-23 03:01:37 +02001057 "asNumber" : {
1058 "$ref" : "#/definitions/Number"
sebdetafac3122020-03-19 10:29:30 -07001059 },
sebdetab9bc442020-04-23 03:01:37 +02001060 "asDouble" : {
1061 "type" : "number",
1062 "format" : "double"
1063 },
1064 "asFloat" : {
1065 "type" : "number",
1066 "format" : "float"
1067 },
sebdet061ecec2020-05-13 09:34:05 +02001068 "asLong" : {
1069 "type" : "integer",
1070 "format" : "int64"
1071 },
1072 "asInt" : {
1073 "type" : "integer",
1074 "format" : "int32"
1075 },
1076 "asByte" : {
1077 "type" : "string",
1078 "format" : "byte"
1079 },
1080 "boolean" : {
1081 "type" : "boolean"
1082 },
sebdetab9bc442020-04-23 03:01:37 +02001083 "string" : {
sebdet580141f2020-04-01 00:00:37 +02001084 "type" : "boolean"
sebdete65d4572020-03-24 08:51:20 -07001085 },
sebdet061ecec2020-05-13 09:34:05 +02001086 "asJsonArray" : {
1087 "$ref" : "#/definitions/JsonArray"
1088 },
1089 "asJsonObject" : {
1090 "$ref" : "#/definitions/JsonObject"
1091 },
1092 "jsonArray" : {
sebdet3b7f6692020-02-17 06:03:31 -08001093 "type" : "boolean"
1094 },
sebdet061ecec2020-05-13 09:34:05 +02001095 "asJsonNull" : {
1096 "$ref" : "#/definitions/JsonNull"
1097 },
xuegao58c7c972019-09-26 13:29:10 +02001098 "jsonPrimitive" : {
sebdetc85d40b2019-09-10 15:57:10 +02001099 "type" : "boolean"
xuegao58c7c972019-09-26 13:29:10 +02001100 },
sebdetafac3122020-03-19 10:29:30 -07001101 "jsonNull" : {
sebdet8604d372020-03-10 02:44:53 -07001102 "type" : "boolean"
1103 },
sebdetafac3122020-03-19 10:29:30 -07001104 "asJsonPrimitive" : {
1105 "$ref" : "#/definitions/JsonPrimitive"
sebdet580141f2020-04-01 00:00:37 +02001106 },
sebdet061ecec2020-05-13 09:34:05 +02001107 "jsonObject" : {
1108 "type" : "boolean"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001109 }
1110 }
1111 },
1112 "MicroServicePolicy" : {
1113 "type" : "object",
1114 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001115 "createdDate" : {
1116 "type" : "integer",
1117 "format" : "int64"
1118 },
1119 "updatedDate" : {
1120 "type" : "integer",
1121 "format" : "int64"
1122 },
1123 "updatedBy" : {
1124 "type" : "string"
1125 },
1126 "createdBy" : {
1127 "type" : "string"
1128 },
sebdet3b7f6692020-02-17 06:03:31 -08001129 "jsonRepresentation" : {
1130 "$ref" : "#/definitions/JsonObject"
1131 },
1132 "configurationsJson" : {
1133 "$ref" : "#/definitions/JsonObject"
1134 },
1135 "loopElementModel" : {
1136 "$ref" : "#/definitions/LoopElementModel"
1137 },
1138 "pdpGroup" : {
1139 "type" : "string"
1140 },
sebdet2dd4e992020-03-04 15:47:39 -08001141 "pdpSubgroup" : {
sebdet2d28cbf2020-02-27 14:43:57 -08001142 "type" : "string"
1143 },
sebdet897a3e02020-02-28 06:03:51 -08001144 "policyModel" : {
1145 "$ref" : "#/definitions/PolicyModel"
1146 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001147 "name" : {
1148 "type" : "string"
1149 },
nrpandya82561262019-11-21 11:51:18 -06001150 "context" : {
1151 "type" : "string"
1152 },
1153 "deviceTypeScope" : {
1154 "type" : "string"
1155 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001156 "shared" : {
1157 "type" : "boolean"
1158 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001159 "usedByLoops" : {
1160 "type" : "array",
1161 "uniqueItems" : true,
1162 "items" : {
1163 "$ref" : "#/definitions/Loop"
1164 }
nrpandya82561262019-11-21 11:51:18 -06001165 },
sebdet3b7f6692020-02-17 06:03:31 -08001166 "dcaeDeploymentId" : {
1167 "type" : "string"
1168 },
1169 "dcaeDeploymentStatusUrl" : {
1170 "type" : "string"
1171 },
1172 "dcaeBlueprintId" : {
1173 "type" : "string"
sebdetab9bc442020-04-23 03:01:37 +02001174 },
1175 "legacy" : {
1176 "type" : "boolean"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001177 }
1178 },
1179 "x-className" : {
1180 "type" : "string",
1181 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1182 }
1183 },
1184 "JsonObject" : {
1185 "type" : "object",
1186 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001187 "asBoolean" : {
1188 "type" : "boolean"
1189 },
sebdet061ecec2020-05-13 09:34:05 +02001190 "asJsonArray" : {
1191 "$ref" : "#/definitions/JsonArray"
sebdet580141f2020-04-01 00:00:37 +02001192 },
sebdet061ecec2020-05-13 09:34:05 +02001193 "asJsonObject" : {
1194 "$ref" : "#/definitions/JsonObject"
sebdet580141f2020-04-01 00:00:37 +02001195 },
sebdet061ecec2020-05-13 09:34:05 +02001196 "asString" : {
1197 "type" : "string"
sebdet580141f2020-04-01 00:00:37 +02001198 },
1199 "asCharacter" : {
1200 "type" : "string"
1201 },
1202 "asBigDecimal" : {
1203 "type" : "number"
1204 },
1205 "asBigInteger" : {
1206 "type" : "integer"
1207 },
1208 "asShort" : {
1209 "type" : "integer",
1210 "format" : "int32"
sebdetab9bc442020-04-23 03:01:37 +02001211 },
sebdetab9bc442020-04-23 03:01:37 +02001212 "jsonArray" : {
1213 "type" : "boolean"
1214 },
sebdetab9bc442020-04-23 03:01:37 +02001215 "asJsonNull" : {
1216 "$ref" : "#/definitions/JsonNull"
1217 },
1218 "asNumber" : {
1219 "$ref" : "#/definitions/Number"
1220 },
sebdet061ecec2020-05-13 09:34:05 +02001221 "jsonPrimitive" : {
1222 "type" : "boolean"
1223 },
1224 "jsonNull" : {
1225 "type" : "boolean"
1226 },
1227 "asJsonPrimitive" : {
1228 "$ref" : "#/definitions/JsonPrimitive"
sebdetab9bc442020-04-23 03:01:37 +02001229 },
1230 "asDouble" : {
1231 "type" : "number",
1232 "format" : "double"
1233 },
1234 "asFloat" : {
1235 "type" : "number",
1236 "format" : "float"
sebdet061ecec2020-05-13 09:34:05 +02001237 },
1238 "asLong" : {
1239 "type" : "integer",
1240 "format" : "int64"
1241 },
1242 "asInt" : {
1243 "type" : "integer",
1244 "format" : "int32"
1245 },
1246 "asByte" : {
1247 "type" : "string",
1248 "format" : "byte"
1249 },
1250 "jsonObject" : {
1251 "type" : "boolean"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001252 }
1253 },
1254 "x-className" : {
1255 "type" : "string",
1256 "format" : "com.google.gson.JsonObject"
1257 }
1258 },
nrpandya82561262019-11-21 11:51:18 -06001259 "PolicyModel" : {
sebdet101193d2019-09-05 18:25:59 +02001260 "type" : "object",
1261 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001262 "createdDate" : {
1263 "type" : "integer",
1264 "format" : "int64"
sebdet101193d2019-09-05 18:25:59 +02001265 },
nrpandya82561262019-11-21 11:51:18 -06001266 "updatedDate" : {
1267 "type" : "integer",
1268 "format" : "int64"
1269 },
1270 "updatedBy" : {
sebdet101193d2019-09-05 18:25:59 +02001271 "type" : "string"
nrpandya82561262019-11-21 11:51:18 -06001272 },
1273 "createdBy" : {
1274 "type" : "string"
1275 },
1276 "policyModelType" : {
1277 "type" : "string"
1278 },
1279 "version" : {
1280 "type" : "string"
1281 },
1282 "policyModelTosca" : {
1283 "type" : "string"
1284 },
1285 "policyAcronym" : {
1286 "type" : "string"
1287 },
sebdet3b7f6692020-02-17 06:03:31 -08001288 "usedByElementModels" : {
1289 "type" : "array",
1290 "uniqueItems" : true,
1291 "items" : {
1292 "$ref" : "#/definitions/LoopElementModel"
1293 }
sebdet2d28cbf2020-02-27 14:43:57 -08001294 },
1295 "policyPdpGroup" : {
1296 "$ref" : "#/definitions/JsonObject"
nrpandya82561262019-11-21 11:51:18 -06001297 }
sebdet3b7f6692020-02-17 06:03:31 -08001298 },
1299 "x-className" : {
1300 "type" : "string",
1301 "format" : "org.onap.clamp.loop.template.PolicyModel"
nrpandya82561262019-11-21 11:51:18 -06001302 }
1303 },
1304 "Service" : {
1305 "type" : "object",
1306 "properties" : {
1307 "serviceUuid" : {
1308 "type" : "string"
1309 },
sebdet3b7f6692020-02-17 06:03:31 -08001310 "name" : {
1311 "type" : "string"
1312 },
1313 "version" : {
1314 "type" : "string"
1315 },
nrpandya82561262019-11-21 11:51:18 -06001316 "serviceDetails" : {
1317 "$ref" : "#/definitions/JsonObject"
1318 },
1319 "resourceDetails" : {
1320 "$ref" : "#/definitions/JsonObject"
sebdet101193d2019-09-05 18:25:59 +02001321 }
1322 }
1323 },
sebdet3b7f6692020-02-17 06:03:31 -08001324 "LoopTemplateLoopElementModel" : {
1325 "type" : "object",
1326 "properties" : {
1327 "loopTemplate" : {
1328 "$ref" : "#/definitions/LoopTemplate"
1329 },
1330 "loopElementModel" : {
1331 "$ref" : "#/definitions/LoopElementModel"
1332 },
1333 "flowOrder" : {
1334 "type" : "integer",
1335 "format" : "int32"
1336 }
1337 }
1338 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001339 "OperationalPolicy" : {
1340 "type" : "object",
1341 "properties" : {
sebdet3b7f6692020-02-17 06:03:31 -08001342 "createdDate" : {
1343 "type" : "integer",
1344 "format" : "int64"
1345 },
1346 "updatedDate" : {
1347 "type" : "integer",
1348 "format" : "int64"
1349 },
1350 "updatedBy" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001351 "type" : "string"
1352 },
sebdet3b7f6692020-02-17 06:03:31 -08001353 "createdBy" : {
1354 "type" : "string"
1355 },
1356 "jsonRepresentation" : {
1357 "$ref" : "#/definitions/JsonObject"
1358 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001359 "configurationsJson" : {
1360 "$ref" : "#/definitions/JsonObject"
1361 },
sebdet3b7f6692020-02-17 06:03:31 -08001362 "loopElementModel" : {
1363 "$ref" : "#/definitions/LoopElementModel"
1364 },
1365 "pdpGroup" : {
1366 "type" : "string"
1367 },
sebdet2dd4e992020-03-04 15:47:39 -08001368 "pdpSubgroup" : {
sebdet2d28cbf2020-02-27 14:43:57 -08001369 "type" : "string"
1370 },
sebdet897a3e02020-02-28 06:03:51 -08001371 "policyModel" : {
1372 "$ref" : "#/definitions/PolicyModel"
1373 },
sebdet3b7f6692020-02-17 06:03:31 -08001374 "name" : {
1375 "type" : "string"
1376 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001377 "loop" : {
1378 "$ref" : "#/definitions/Loop"
1379 },
sebdet897a3e02020-02-28 06:03:51 -08001380 "legacy" : {
1381 "type" : "boolean"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001382 }
1383 }
1384 },
1385 "JsonNull" : {
1386 "type" : "object",
1387 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001388 "asBoolean" : {
1389 "type" : "boolean"
1390 },
sebdet061ecec2020-05-13 09:34:05 +02001391 "asJsonArray" : {
1392 "$ref" : "#/definitions/JsonArray"
sebdetab9bc442020-04-23 03:01:37 +02001393 },
sebdet061ecec2020-05-13 09:34:05 +02001394 "asJsonObject" : {
1395 "$ref" : "#/definitions/JsonObject"
sebdetab9bc442020-04-23 03:01:37 +02001396 },
sebdet061ecec2020-05-13 09:34:05 +02001397 "asString" : {
1398 "type" : "string"
sebdetab9bc442020-04-23 03:01:37 +02001399 },
1400 "asCharacter" : {
1401 "type" : "string"
1402 },
1403 "asBigDecimal" : {
1404 "type" : "number"
1405 },
1406 "asBigInteger" : {
1407 "type" : "integer"
1408 },
1409 "asShort" : {
1410 "type" : "integer",
1411 "format" : "int32"
sebdete65d4572020-03-24 08:51:20 -07001412 },
sebdetab9bc442020-04-23 03:01:37 +02001413 "jsonArray" : {
1414 "type" : "boolean"
1415 },
sebdet580141f2020-04-01 00:00:37 +02001416 "asJsonNull" : {
1417 "$ref" : "#/definitions/JsonNull"
1418 },
1419 "asNumber" : {
1420 "$ref" : "#/definitions/Number"
1421 },
sebdet061ecec2020-05-13 09:34:05 +02001422 "jsonPrimitive" : {
1423 "type" : "boolean"
1424 },
1425 "jsonNull" : {
1426 "type" : "boolean"
1427 },
1428 "asJsonPrimitive" : {
1429 "$ref" : "#/definitions/JsonPrimitive"
sebdet580141f2020-04-01 00:00:37 +02001430 },
1431 "asDouble" : {
1432 "type" : "number",
1433 "format" : "double"
1434 },
1435 "asFloat" : {
1436 "type" : "number",
1437 "format" : "float"
sebdet061ecec2020-05-13 09:34:05 +02001438 },
1439 "asLong" : {
1440 "type" : "integer",
1441 "format" : "int64"
1442 },
1443 "asInt" : {
1444 "type" : "integer",
1445 "format" : "int32"
1446 },
1447 "asByte" : {
1448 "type" : "string",
1449 "format" : "byte"
1450 },
1451 "jsonObject" : {
1452 "type" : "boolean"
sebdetab9bc442020-04-23 03:01:37 +02001453 }
1454 }
1455 },
1456 "JsonArray" : {
1457 "type" : "object",
1458 "properties" : {
1459 "asBoolean" : {
1460 "type" : "boolean"
sebdet580141f2020-04-01 00:00:37 +02001461 },
sebdet061ecec2020-05-13 09:34:05 +02001462 "asString" : {
1463 "type" : "string"
sebdet580141f2020-04-01 00:00:37 +02001464 },
1465 "asCharacter" : {
1466 "type" : "string"
1467 },
1468 "asBigDecimal" : {
1469 "type" : "number"
1470 },
1471 "asBigInteger" : {
1472 "type" : "integer"
1473 },
1474 "asShort" : {
1475 "type" : "integer",
1476 "format" : "int32"
sebdet3af93472020-03-09 16:15:19 -07001477 },
sebdet580141f2020-04-01 00:00:37 +02001478 "asNumber" : {
1479 "$ref" : "#/definitions/Number"
1480 },
sebdete65d4572020-03-24 08:51:20 -07001481 "asDouble" : {
1482 "type" : "number",
1483 "format" : "double"
1484 },
sebdet580141f2020-04-01 00:00:37 +02001485 "asFloat" : {
1486 "type" : "number",
1487 "format" : "float"
1488 },
sebdet061ecec2020-05-13 09:34:05 +02001489 "asLong" : {
1490 "type" : "integer",
1491 "format" : "int64"
1492 },
1493 "asInt" : {
1494 "type" : "integer",
1495 "format" : "int32"
1496 },
1497 "asByte" : {
1498 "type" : "string",
1499 "format" : "byte"
1500 },
1501 "asJsonArray" : {
1502 "$ref" : "#/definitions/JsonArray"
1503 },
1504 "asJsonObject" : {
1505 "$ref" : "#/definitions/JsonObject"
1506 },
1507 "jsonArray" : {
sebdet3b7f6692020-02-17 06:03:31 -08001508 "type" : "boolean"
1509 },
sebdet061ecec2020-05-13 09:34:05 +02001510 "asJsonNull" : {
1511 "$ref" : "#/definitions/JsonNull"
1512 },
xuegao58c7c972019-09-26 13:29:10 +02001513 "jsonPrimitive" : {
1514 "type" : "boolean"
1515 },
sebdetafac3122020-03-19 10:29:30 -07001516 "jsonNull" : {
sebdet8604d372020-03-10 02:44:53 -07001517 "type" : "boolean"
1518 },
sebdetafac3122020-03-19 10:29:30 -07001519 "asJsonPrimitive" : {
1520 "$ref" : "#/definitions/JsonPrimitive"
sebdet580141f2020-04-01 00:00:37 +02001521 },
sebdet061ecec2020-05-13 09:34:05 +02001522 "jsonObject" : {
1523 "type" : "boolean"
nrpandya82561262019-11-21 11:51:18 -06001524 }
1525 },
1526 "x-className" : {
1527 "type" : "string",
1528 "format" : "com.google.gson.JsonArray"
1529 }
1530 },
1531 "LoopLog" : {
1532 "type" : "object",
1533 "properties" : {
1534 "id" : {
1535 "type" : "integer",
1536 "format" : "int64"
1537 },
1538 "logType" : {
1539 "type" : "string",
1540 "enum" : [ "INFO", "WARNING", "ERROR" ]
1541 },
1542 "logComponent" : {
1543 "type" : "string"
1544 },
1545 "message" : {
1546 "type" : "string"
1547 },
1548 "loop" : {
1549 "$ref" : "#/definitions/Loop"
1550 },
1551 "logInstant" : {
1552 "type" : "integer",
1553 "format" : "int64"
1554 }
1555 }
1556 },
nrpandya82561262019-11-21 11:51:18 -06001557 "Number" : {
1558 "type" : "object"
1559 },
1560 "ExternalComponent" : {
1561 "type" : "object",
1562 "properties" : {
1563 "state" : {
1564 "$ref" : "#/definitions/ExternalComponentState"
1565 },
1566 "componentName" : {
1567 "type" : "string"
1568 }
1569 }
1570 },
1571 "LoopTemplate" : {
1572 "type" : "object",
1573 "properties" : {
1574 "createdDate" : {
1575 "type" : "integer",
1576 "format" : "int64"
1577 },
1578 "updatedDate" : {
1579 "type" : "integer",
1580 "format" : "int64"
1581 },
1582 "updatedBy" : {
1583 "type" : "string"
1584 },
1585 "createdBy" : {
1586 "type" : "string"
1587 },
1588 "name" : {
1589 "type" : "string"
1590 },
sebdet3b7f6692020-02-17 06:03:31 -08001591 "dcaeBlueprintId" : {
1592 "type" : "string"
1593 },
nrpandya82561262019-11-21 11:51:18 -06001594 "blueprint" : {
1595 "type" : "string"
1596 },
1597 "svgRepresentation" : {
1598 "type" : "string"
1599 },
sebdet3b7f6692020-02-17 06:03:31 -08001600 "loopElementModelsUsed" : {
nrpandya82561262019-11-21 11:51:18 -06001601 "type" : "array",
1602 "uniqueItems" : true,
1603 "items" : {
sebdet3b7f6692020-02-17 06:03:31 -08001604 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
nrpandya82561262019-11-21 11:51:18 -06001605 }
1606 },
1607 "modelService" : {
1608 "$ref" : "#/definitions/Service"
1609 },
1610 "maximumInstancesAllowed" : {
1611 "type" : "integer",
1612 "format" : "int32"
sebdet3b7f6692020-02-17 06:03:31 -08001613 },
1614 "uniqueBlueprint" : {
1615 "type" : "boolean"
1616 },
1617 "allowedLoopType" : {
1618 "type" : "string",
1619 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
nrpandya82561262019-11-21 11:51:18 -06001620 }
sebdet3b7f6692020-02-17 06:03:31 -08001621 },
1622 "x-className" : {
1623 "type" : "string",
1624 "format" : "org.onap.clamp.loop.template.LoopTemplate"
nrpandya82561262019-11-21 11:51:18 -06001625 }
1626 },
1627 "ExternalComponentState" : {
1628 "type" : "object",
1629 "properties" : {
1630 "stateName" : {
1631 "type" : "string"
1632 },
1633 "description" : {
1634 "type" : "string"
1635 },
1636 "level" : {
1637 "type" : "integer",
1638 "format" : "int32"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001639 }
1640 }
1641 },
sebdet3b7f6692020-02-17 06:03:31 -08001642 "LoopElementModel" : {
1643 "type" : "object",
1644 "properties" : {
1645 "createdDate" : {
1646 "type" : "integer",
1647 "format" : "int64"
1648 },
1649 "updatedDate" : {
1650 "type" : "integer",
1651 "format" : "int64"
1652 },
1653 "updatedBy" : {
1654 "type" : "string"
1655 },
1656 "createdBy" : {
1657 "type" : "string"
1658 },
1659 "name" : {
1660 "type" : "string"
1661 },
1662 "dcaeBlueprintId" : {
1663 "type" : "string"
1664 },
1665 "blueprint" : {
1666 "type" : "string"
1667 },
1668 "loopElementType" : {
1669 "type" : "string"
1670 },
1671 "shortName" : {
1672 "type" : "string"
1673 },
1674 "policyModels" : {
1675 "type" : "array",
1676 "uniqueItems" : true,
1677 "items" : {
1678 "$ref" : "#/definitions/PolicyModel"
1679 }
1680 },
1681 "usedByLoopTemplates" : {
1682 "type" : "array",
1683 "uniqueItems" : true,
1684 "items" : {
1685 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1686 }
1687 }
1688 }
1689 },
sebdet5b410e62019-09-11 15:11:03 +02001690 "CldsHealthCheck" : {
1691 "type" : "object",
1692 "properties" : {
1693 "healthCheckComponent" : {
1694 "type" : "string"
1695 },
1696 "healthCheckStatus" : {
1697 "type" : "string"
1698 },
1699 "description" : {
1700 "type" : "string"
1701 }
1702 },
1703 "x-className" : {
1704 "type" : "string",
1705 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
1706 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001707 }
1708 }
xg353y2aad6d62018-05-18 17:59:06 +02001709}