blob: dab1b223a8e1f364a16cb61f613910e95030a7b1 [file] [log] [blame]
saul.gillee7faff2021-06-09 14:24:00 +01001{
2 "swagger" : "2.0",
3 "info" : {
4 "version" : "6.1.2-SNAPSHOT",
5 "title" : "Clamp Rest API"
6 },
saul.gill0f180372021-06-17 16:28:22 +01007 "host" : "localhost:40313",
saul.gillee7faff2021-06-09 14:24:00 +01008 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
10 "paths" : {
11 "/v2/clampInformation" : {
12 "get" : {
saul.gill0f180372021-06-17 16:28:22 +010013 "operationId" : "verb38",
saul.gillee7faff2021-06-09 14:24:00 +010014 "produces" : [ "application/json" ],
15 "responses" : {
16 "200" : {
17 "description" : "Output type",
18 "schema" : {
19 "$ref" : "#/definitions/ClampInformation"
20 }
21 }
22 },
saul.gill0f180372021-06-17 16:28:22 +010023 "x-camelContextId" : "camel-1",
24 "x-routeId" : "route39"
saul.gillee7faff2021-06-09 14:24:00 +010025 }
26 },
27 "/v2/dictionary" : {
28 "get" : {
saul.gill0f180372021-06-17 16:28:22 +010029 "operationId" : "verb21",
saul.gillee7faff2021-06-09 14:24:00 +010030 "produces" : [ "application/json" ],
31 "responses" : {
32 "200" : {
33 "description" : "Output type",
34 "schema" : {
35 "$ref" : "#/definitions/Dictionary"
36 }
37 }
38 },
saul.gill0f180372021-06-17 16:28:22 +010039 "x-camelContextId" : "camel-1",
40 "x-routeId" : "route22"
saul.gillee7faff2021-06-09 14:24:00 +010041 },
42 "put" : {
saul.gill0f180372021-06-17 16:28:22 +010043 "operationId" : "verb24",
saul.gillee7faff2021-06-09 14:24:00 +010044 "consumes" : [ "application/json" ],
45 "produces" : [ "application/json" ],
46 "parameters" : [ {
47 "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 },
saul.gill0f180372021-06-17 16:28:22 +010062 "x-camelContextId" : "camel-1",
63 "x-routeId" : "route25"
saul.gillee7faff2021-06-09 14:24:00 +010064 }
65 },
66 "/v2/dictionary/{dictionaryName}" : {
67 "get" : {
saul.gill0f180372021-06-17 16:28:22 +010068 "operationId" : "verb23",
saul.gillee7faff2021-06-09 14:24:00 +010069 "produces" : [ "application/json" ],
70 "parameters" : [ {
71 "name" : "dictionaryName",
72 "in" : "path",
73 "required" : true,
74 "type" : "string"
75 } ],
76 "responses" : {
77 "200" : {
78 "description" : "Output type",
79 "schema" : {
80 "$ref" : "#/definitions/Dictionary"
81 }
82 }
83 },
saul.gill0f180372021-06-17 16:28:22 +010084 "x-camelContextId" : "camel-1",
85 "x-routeId" : "route24"
saul.gillee7faff2021-06-09 14:24:00 +010086 }
87 },
88 "/v2/dictionary/{name}" : {
89 "put" : {
saul.gill0f180372021-06-17 16:28:22 +010090 "operationId" : "verb25",
saul.gillee7faff2021-06-09 14:24:00 +010091 "consumes" : [ "application/json" ],
92 "produces" : [ "application/json" ],
93 "parameters" : [ {
94 "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 },
saul.gill0f180372021-06-17 16:28:22 +0100114 "x-camelContextId" : "camel-1",
115 "x-routeId" : "route26"
saul.gillee7faff2021-06-09 14:24:00 +0100116 },
117 "delete" : {
saul.gill0f180372021-06-17 16:28:22 +0100118 "operationId" : "verb26",
saul.gillee7faff2021-06-09 14:24:00 +0100119 "produces" : [ "application/json" ],
120 "parameters" : [ {
121 "name" : "name",
122 "in" : "path",
123 "required" : true,
124 "type" : "string"
125 } ],
126 "responses" : {
127 "200" : { }
128 },
saul.gill0f180372021-06-17 16:28:22 +0100129 "x-camelContextId" : "camel-1",
130 "x-routeId" : "route27"
saul.gillee7faff2021-06-09 14:24:00 +0100131 }
132 },
133 "/v2/dictionary/{name}/elements/{shortName}" : {
134 "delete" : {
saul.gill0f180372021-06-17 16:28:22 +0100135 "operationId" : "verb27",
saul.gillee7faff2021-06-09 14:24:00 +0100136 "produces" : [ "application/json" ],
137 "parameters" : [ {
138 "name" : "name",
139 "in" : "path",
140 "required" : true,
141 "type" : "string"
142 }, {
143 "name" : "shortName",
144 "in" : "path",
145 "required" : true,
146 "type" : "string"
147 } ],
148 "responses" : {
149 "200" : { }
150 },
saul.gill0f180372021-06-17 16:28:22 +0100151 "x-camelContextId" : "camel-1",
152 "x-routeId" : "route28"
saul.gillee7faff2021-06-09 14:24:00 +0100153 }
154 },
155 "/v2/dictionary/secondary/names" : {
156 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100157 "operationId" : "verb22",
saul.gillee7faff2021-06-09 14:24:00 +0100158 "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 },
saul.gill0f180372021-06-17 16:28:22 +0100170 "x-camelContextId" : "camel-1",
171 "x-routeId" : "route23"
saul.gillee7faff2021-06-09 14:24:00 +0100172 }
173 },
174 "/v2/loop/{loopName}" : {
175 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100176 "operationId" : "verb2",
saul.gillee7faff2021-06-09 14:24:00 +0100177 "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 },
saul.gill0f180372021-06-17 16:28:22 +0100192 "x-camelContextId" : "camel-1",
193 "x-routeId" : "route3"
saul.gillee7faff2021-06-09 14:24:00 +0100194 }
195 },
196 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
197 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100198 "operationId" : "verb15",
saul.gillee7faff2021-06-09 14:24:00 +0100199 "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 },
saul.gill0f180372021-06-17 16:28:22 +0100224 "x-camelContextId" : "camel-1",
225 "x-routeId" : "route16"
saul.gillee7faff2021-06-09 14:24:00 +0100226 }
227 },
228 "/v2/loop/create/{loopName}?templateName={templateName}" : {
229 "post" : {
saul.gill0f180372021-06-17 16:28:22 +0100230 "operationId" : "verb17",
saul.gillee7faff2021-06-09 14:24:00 +0100231 "consumes" : [ "application/json" ],
232 "produces" : [ "application/json" ],
233 "parameters" : [ {
234 "name" : "loopName",
235 "in" : "path",
236 "required" : true,
237 "type" : "string"
238 }, {
239 "name" : "templateName",
240 "in" : "path",
241 "required" : true,
242 "type" : "string"
243 } ],
244 "responses" : {
245 "200" : {
246 "description" : "Output type",
247 "schema" : {
248 "$ref" : "#/definitions/Loop"
249 }
250 }
251 },
saul.gill0f180372021-06-17 16:28:22 +0100252 "x-camelContextId" : "camel-1",
253 "x-routeId" : "route18"
saul.gillee7faff2021-06-09 14:24:00 +0100254 }
255 },
256 "/v2/loop/delete/{loopName}" : {
257 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100258 "operationId" : "verb13",
saul.gillee7faff2021-06-09 14:24:00 +0100259 "parameters" : [ {
260 "name" : "loopName",
261 "in" : "path",
262 "required" : true,
263 "type" : "string"
264 } ],
265 "responses" : {
266 "200" : { }
267 },
saul.gill0f180372021-06-17 16:28:22 +0100268 "x-camelContextId" : "camel-1",
269 "x-routeId" : "route14"
saul.gillee7faff2021-06-09 14:24:00 +0100270 }
271 },
272 "/v2/loop/deploy/{loopName}" : {
273 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100274 "operationId" : "verb6",
saul.gillee7faff2021-06-09 14:24:00 +0100275 "produces" : [ "application/json" ],
276 "parameters" : [ {
277 "name" : "loopName",
278 "in" : "path",
279 "required" : true,
280 "type" : "string"
281 } ],
282 "responses" : {
283 "200" : {
284 "description" : "Output type",
285 "schema" : {
286 "$ref" : "#/definitions/Loop"
287 }
288 }
289 },
saul.gill0f180372021-06-17 16:28:22 +0100290 "x-camelContextId" : "camel-1",
291 "x-routeId" : "route7"
saul.gillee7faff2021-06-09 14:24:00 +0100292 }
293 },
294 "/v2/loop/getAllNames" : {
295 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100296 "operationId" : "verb1",
saul.gillee7faff2021-06-09 14:24:00 +0100297 "produces" : [ "application/json" ],
298 "responses" : {
299 "200" : {
300 "description" : "Output type",
301 "schema" : {
302 "type" : "array",
303 "items" : {
304 "type" : "string"
305 }
306 }
307 }
308 },
saul.gill0f180372021-06-17 16:28:22 +0100309 "x-camelContextId" : "camel-1",
310 "x-routeId" : "route2"
saul.gillee7faff2021-06-09 14:24:00 +0100311 }
312 },
313 "/v2/loop/getstatus/{loopName}" : {
314 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100315 "operationId" : "verb14",
saul.gillee7faff2021-06-09 14:24:00 +0100316 "produces" : [ "application/json" ],
317 "parameters" : [ {
318 "name" : "loopName",
319 "in" : "path",
320 "required" : true,
321 "type" : "string"
322 } ],
323 "responses" : {
324 "200" : {
325 "description" : "Output type",
326 "schema" : {
327 "$ref" : "#/definitions/Loop"
328 }
329 }
330 },
saul.gill0f180372021-06-17 16:28:22 +0100331 "x-camelContextId" : "camel-1",
332 "x-routeId" : "route15"
saul.gillee7faff2021-06-09 14:24:00 +0100333 }
334 },
335 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
336 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100337 "operationId" : "verb7",
saul.gillee7faff2021-06-09 14:24:00 +0100338 "produces" : [ "application/json" ],
339 "parameters" : [ {
340 "name" : "loopName",
341 "in" : "path",
342 "required" : true,
343 "type" : "string"
344 }, {
345 "name" : "microServicePolicyName",
346 "in" : "path",
347 "required" : true,
348 "type" : "string"
349 } ],
350 "responses" : {
351 "200" : {
352 "description" : "Output type",
353 "schema" : {
354 "$ref" : "#/definitions/Loop"
355 }
356 }
357 },
saul.gill0f180372021-06-17 16:28:22 +0100358 "x-camelContextId" : "camel-1",
359 "x-routeId" : "route8"
saul.gillee7faff2021-06-09 14:24:00 +0100360 }
361 },
362 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
363 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100364 "operationId" : "verb8",
saul.gillee7faff2021-06-09 14:24:00 +0100365 "produces" : [ "application/json" ],
366 "parameters" : [ {
367 "name" : "loopName",
368 "in" : "path",
369 "required" : true,
370 "type" : "string"
371 }, {
372 "name" : "operationalPolicyName",
373 "in" : "path",
374 "required" : true,
375 "type" : "string"
376 } ],
377 "responses" : {
378 "200" : {
379 "description" : "Output type",
380 "schema" : {
381 "$ref" : "#/definitions/Loop"
382 }
383 }
384 },
saul.gill0f180372021-06-17 16:28:22 +0100385 "x-camelContextId" : "camel-1",
386 "x-routeId" : "route9"
saul.gillee7faff2021-06-09 14:24:00 +0100387 }
388 },
389 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
390 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100391 "operationId" : "verb16",
saul.gillee7faff2021-06-09 14:24:00 +0100392 "produces" : [ "application/json" ],
393 "parameters" : [ {
394 "name" : "loopName",
395 "in" : "path",
396 "required" : true,
397 "type" : "string"
398 }, {
399 "name" : "policyType",
400 "in" : "path",
401 "required" : true,
402 "type" : "string"
403 }, {
404 "name" : "policyVersion",
405 "in" : "path",
406 "required" : true,
407 "type" : "string"
408 }, {
409 "name" : "policyName",
410 "in" : "path",
411 "required" : true,
412 "type" : "string"
413 } ],
414 "responses" : {
415 "200" : {
416 "description" : "Output type",
417 "schema" : {
418 "$ref" : "#/definitions/Loop"
419 }
420 }
421 },
saul.gill0f180372021-06-17 16:28:22 +0100422 "x-camelContextId" : "camel-1",
423 "x-routeId" : "route17"
saul.gillee7faff2021-06-09 14:24:00 +0100424 }
425 },
426 "/v2/loop/restart/{loopName}" : {
427 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100428 "operationId" : "verb11",
saul.gillee7faff2021-06-09 14:24:00 +0100429 "produces" : [ "application/json" ],
430 "parameters" : [ {
431 "name" : "loopName",
432 "in" : "path",
433 "required" : true,
434 "type" : "string"
435 } ],
436 "responses" : {
437 "200" : {
438 "description" : "Output type",
439 "schema" : {
440 "$ref" : "#/definitions/Loop"
441 }
442 }
443 },
saul.gill0f180372021-06-17 16:28:22 +0100444 "x-camelContextId" : "camel-1",
445 "x-routeId" : "route12"
saul.gillee7faff2021-06-09 14:24:00 +0100446 }
447 },
448 "/v2/loop/stop/{loopName}" : {
449 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100450 "operationId" : "verb10",
saul.gillee7faff2021-06-09 14:24:00 +0100451 "produces" : [ "application/json" ],
452 "parameters" : [ {
453 "name" : "loopName",
454 "in" : "path",
455 "required" : true,
456 "type" : "string"
457 } ],
458 "responses" : {
459 "200" : {
460 "description" : "Output type",
461 "schema" : {
462 "$ref" : "#/definitions/Loop"
463 }
464 }
465 },
saul.gill0f180372021-06-17 16:28:22 +0100466 "x-camelContextId" : "camel-1",
467 "x-routeId" : "route11"
saul.gillee7faff2021-06-09 14:24:00 +0100468 }
469 },
470 "/v2/loop/submit/{loopName}" : {
471 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100472 "operationId" : "verb12",
saul.gillee7faff2021-06-09 14:24:00 +0100473 "produces" : [ "application/json" ],
474 "parameters" : [ {
475 "name" : "loopName",
476 "in" : "path",
477 "required" : true,
478 "type" : "string"
479 } ],
480 "responses" : {
481 "200" : {
482 "description" : "Output type",
483 "schema" : {
484 "$ref" : "#/definitions/Loop"
485 }
486 }
487 },
saul.gill0f180372021-06-17 16:28:22 +0100488 "x-camelContextId" : "camel-1",
489 "x-routeId" : "route13"
saul.gillee7faff2021-06-09 14:24:00 +0100490 }
491 },
492 "/v2/loop/undeploy/{loopName}" : {
493 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100494 "operationId" : "verb9",
saul.gillee7faff2021-06-09 14:24:00 +0100495 "produces" : [ "application/json" ],
496 "parameters" : [ {
497 "name" : "loopName",
498 "in" : "path",
499 "required" : true,
500 "type" : "string"
501 } ],
502 "responses" : {
503 "200" : {
504 "description" : "Output type",
505 "schema" : {
506 "$ref" : "#/definitions/Loop"
507 }
508 }
509 },
saul.gill0f180372021-06-17 16:28:22 +0100510 "x-camelContextId" : "camel-1",
511 "x-routeId" : "route10"
saul.gillee7faff2021-06-09 14:24:00 +0100512 }
513 },
514 "/v2/loop/updateGlobalProperties/{loopName}" : {
515 "post" : {
saul.gill0f180372021-06-17 16:28:22 +0100516 "operationId" : "verb3",
saul.gillee7faff2021-06-09 14:24:00 +0100517 "consumes" : [ "application/json" ],
518 "produces" : [ "application/json" ],
519 "parameters" : [ {
520 "name" : "loopName",
521 "in" : "path",
522 "required" : true,
523 "type" : "string"
524 }, {
525 "in" : "body",
526 "name" : "body",
527 "required" : true,
528 "schema" : {
529 "$ref" : "#/definitions/JsonObject"
530 }
531 } ],
532 "responses" : {
533 "200" : {
534 "description" : "Output type",
535 "schema" : {
536 "$ref" : "#/definitions/Loop"
537 }
538 }
539 },
saul.gill0f180372021-06-17 16:28:22 +0100540 "x-camelContextId" : "camel-1",
541 "x-routeId" : "route4"
saul.gillee7faff2021-06-09 14:24:00 +0100542 }
543 },
544 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
545 "post" : {
saul.gill0f180372021-06-17 16:28:22 +0100546 "operationId" : "verb5",
saul.gillee7faff2021-06-09 14:24:00 +0100547 "consumes" : [ "application/json" ],
548 "produces" : [ "application/json" ],
549 "parameters" : [ {
550 "name" : "loopName",
551 "in" : "path",
552 "required" : true,
553 "type" : "string"
554 }, {
555 "in" : "body",
556 "name" : "body",
557 "required" : true,
558 "schema" : {
559 "$ref" : "#/definitions/MicroServicePolicy"
560 }
561 } ],
562 "responses" : {
563 "200" : {
564 "description" : "Output type",
565 "schema" : {
566 "$ref" : "#/definitions/MicroServicePolicy"
567 }
568 }
569 },
saul.gill0f180372021-06-17 16:28:22 +0100570 "x-camelContextId" : "camel-1",
571 "x-routeId" : "route6"
saul.gillee7faff2021-06-09 14:24:00 +0100572 }
573 },
574 "/v2/loop/updateOperationalPolicies/{loopName}" : {
575 "post" : {
saul.gill0f180372021-06-17 16:28:22 +0100576 "operationId" : "verb4",
saul.gillee7faff2021-06-09 14:24:00 +0100577 "consumes" : [ "application/json" ],
578 "produces" : [ "application/json" ],
579 "parameters" : [ {
580 "name" : "loopName",
581 "in" : "path",
582 "required" : true,
583 "type" : "string"
584 }, {
585 "in" : "body",
586 "name" : "body",
587 "required" : true,
588 "schema" : {
589 "$ref" : "#/definitions/JsonArray"
590 }
591 } ],
592 "responses" : {
593 "200" : {
594 "description" : "Output type",
595 "schema" : {
596 "$ref" : "#/definitions/Loop"
597 }
598 }
599 },
saul.gill0f180372021-06-17 16:28:22 +0100600 "x-camelContextId" : "camel-1",
601 "x-routeId" : "route5"
saul.gillee7faff2021-06-09 14:24:00 +0100602 }
603 },
604 "/v2/policies" : {
605 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100606 "operationId" : "verb31",
saul.gillee7faff2021-06-09 14:24:00 +0100607 "produces" : [ "application/json" ],
608 "responses" : {
609 "200" : {
610 "description" : "Output type",
611 "schema" : {
612 "$ref" : "#/definitions/JsonObject"
613 }
614 }
615 },
saul.gill0f180372021-06-17 16:28:22 +0100616 "x-camelContextId" : "camel-1",
617 "x-routeId" : "route32"
saul.gillee7faff2021-06-09 14:24:00 +0100618 }
619 },
620 "/v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}" : {
621 "post" : {
saul.gill0f180372021-06-17 16:28:22 +0100622 "operationId" : "verb32",
saul.gillee7faff2021-06-09 14:24:00 +0100623 "consumes" : [ "application/json" ],
624 "produces" : [ "application/json" ],
625 "parameters" : [ {
626 "name" : "policyModelType",
627 "in" : "path",
628 "required" : true,
629 "type" : "string"
630 }, {
631 "name" : "policyModelVersion",
632 "in" : "path",
633 "required" : true,
634 "type" : "string"
635 }, {
636 "name" : "policyName",
637 "in" : "path",
638 "required" : true,
639 "type" : "string"
640 }, {
641 "name" : "policyVersion",
642 "in" : "path",
643 "required" : true,
644 "type" : "string"
645 }, {
646 "in" : "body",
647 "name" : "body",
648 "required" : true,
649 "schema" : {
650 "$ref" : "#/definitions/JsonElement"
651 }
652 } ],
653 "responses" : {
654 "200" : {
655 "description" : "Output type",
656 "schema" : {
657 "$ref" : "#/definitions/JsonObject"
658 }
659 }
660 },
saul.gill0f180372021-06-17 16:28:22 +0100661 "x-camelContextId" : "camel-1",
662 "x-routeId" : "route33"
saul.gillee7faff2021-06-09 14:24:00 +0100663 },
664 "delete" : {
saul.gill0f180372021-06-17 16:28:22 +0100665 "operationId" : "verb33",
saul.gillee7faff2021-06-09 14:24:00 +0100666 "parameters" : [ {
667 "name" : "policyModelType",
668 "in" : "path",
669 "required" : true,
670 "type" : "string"
671 }, {
672 "name" : "policyModelVersion",
673 "in" : "path",
674 "required" : true,
675 "type" : "string"
676 }, {
677 "name" : "policyName",
678 "in" : "path",
679 "required" : true,
680 "type" : "string"
681 }, {
682 "name" : "policyVersion",
683 "in" : "path",
684 "required" : true,
685 "type" : "string"
686 } ],
687 "responses" : {
688 "200" : { }
689 },
saul.gill0f180372021-06-17 16:28:22 +0100690 "x-camelContextId" : "camel-1",
691 "x-routeId" : "route34"
saul.gillee7faff2021-06-09 14:24:00 +0100692 }
693 },
694 "/v2/policies/pdpDeployment" : {
695 "put" : {
saul.gill0f180372021-06-17 16:28:22 +0100696 "operationId" : "verb34",
saul.gillee7faff2021-06-09 14:24:00 +0100697 "consumes" : [ "application/json" ],
698 "parameters" : [ {
699 "in" : "body",
700 "name" : "body",
701 "required" : true,
702 "schema" : {
703 "$ref" : "#/definitions/JsonElement"
704 }
705 } ],
706 "responses" : {
707 "200" : { }
708 },
saul.gill0f180372021-06-17 16:28:22 +0100709 "x-camelContextId" : "camel-1",
710 "x-routeId" : "route35"
saul.gillee7faff2021-06-09 14:24:00 +0100711 }
712 },
713 "/v2/policies/policytype" : {
714 "post" : {
saul.gill0f180372021-06-17 16:28:22 +0100715 "operationId" : "verb35",
saul.gillee7faff2021-06-09 14:24:00 +0100716 "consumes" : [ "plain/text" ],
717 "parameters" : [ {
718 "in" : "body",
719 "name" : "body",
720 "required" : true,
721 "schema" : {
722 "type" : "string"
723 }
724 } ],
725 "responses" : {
726 "200" : { }
727 },
saul.gill0f180372021-06-17 16:28:22 +0100728 "x-camelContextId" : "camel-1",
729 "x-routeId" : "route36"
saul.gillee7faff2021-06-09 14:24:00 +0100730 }
731 },
732 "/v2/policyToscaModels" : {
733 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100734 "operationId" : "verb28",
saul.gillee7faff2021-06-09 14:24:00 +0100735 "produces" : [ "application/json" ],
736 "responses" : {
737 "200" : {
738 "description" : "Output type",
739 "schema" : {
740 "$ref" : "#/definitions/PolicyModel"
741 }
742 }
743 },
saul.gill0f180372021-06-17 16:28:22 +0100744 "x-camelContextId" : "camel-1",
745 "x-routeId" : "route29"
saul.gillee7faff2021-06-09 14:24:00 +0100746 }
747 },
748 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
749 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100750 "operationId" : "verb29",
saul.gillee7faff2021-06-09 14:24:00 +0100751 "produces" : [ "application/json" ],
752 "parameters" : [ {
753 "name" : "policyModelType",
754 "in" : "path",
755 "required" : true,
756 "type" : "string"
757 }, {
758 "name" : "policyModelVersion",
759 "in" : "path",
760 "required" : true,
761 "type" : "string"
762 } ],
763 "responses" : {
764 "200" : {
765 "description" : "Output type",
766 "schema" : {
767 "$ref" : "#/definitions/JsonObject"
768 }
769 }
770 },
saul.gill0f180372021-06-17 16:28:22 +0100771 "x-camelContextId" : "camel-1",
772 "x-routeId" : "route30"
saul.gillee7faff2021-06-09 14:24:00 +0100773 }
774 },
775 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
776 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100777 "operationId" : "verb30",
saul.gillee7faff2021-06-09 14:24:00 +0100778 "produces" : [ "application/json" ],
779 "parameters" : [ {
780 "name" : "policyModelType",
781 "in" : "path",
782 "required" : true,
783 "type" : "string"
784 }, {
785 "name" : "policyModelVersion",
786 "in" : "path",
787 "required" : true,
788 "type" : "string"
789 } ],
790 "responses" : {
791 "200" : {
792 "description" : "Output type",
793 "schema" : {
794 "type" : "string"
795 }
796 }
797 },
saul.gill0f180372021-06-17 16:28:22 +0100798 "x-camelContextId" : "camel-1",
799 "x-routeId" : "route31"
saul.gillee7faff2021-06-09 14:24:00 +0100800 }
801 },
802 "/v2/templates" : {
803 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100804 "operationId" : "verb18",
saul.gillee7faff2021-06-09 14:24:00 +0100805 "produces" : [ "application/json" ],
806 "responses" : {
807 "200" : {
808 "description" : "Output type",
809 "schema" : {
810 "$ref" : "#/definitions/LoopTemplate"
811 }
812 }
813 },
saul.gill0f180372021-06-17 16:28:22 +0100814 "x-camelContextId" : "camel-1",
815 "x-routeId" : "route19"
saul.gillee7faff2021-06-09 14:24:00 +0100816 }
817 },
818 "/v2/templates/{templateName}" : {
819 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100820 "operationId" : "verb19",
saul.gillee7faff2021-06-09 14:24:00 +0100821 "produces" : [ "application/json" ],
822 "parameters" : [ {
823 "name" : "templateName",
824 "in" : "path",
825 "required" : true,
826 "type" : "string"
827 } ],
828 "responses" : {
829 "200" : {
830 "description" : "Output type",
831 "schema" : {
832 "$ref" : "#/definitions/LoopTemplate"
833 }
834 }
835 },
saul.gill0f180372021-06-17 16:28:22 +0100836 "x-camelContextId" : "camel-1",
837 "x-routeId" : "route20"
saul.gillee7faff2021-06-09 14:24:00 +0100838 }
839 },
840 "/v2/templates/names" : {
841 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100842 "operationId" : "verb20",
saul.gillee7faff2021-06-09 14:24:00 +0100843 "produces" : [ "application/json" ],
844 "responses" : {
845 "200" : {
846 "description" : "Output type",
847 "schema" : {
848 "type" : "array",
849 "items" : {
850 "type" : "string"
851 }
852 }
853 }
854 },
saul.gill0f180372021-06-17 16:28:22 +0100855 "x-camelContextId" : "camel-1",
856 "x-routeId" : "route21"
857 }
858 },
859 "/v2/toscaControlLoop/commissionToscaTemplate" : {
860 "post" : {
861 "operationId" : "verb37",
862 "consumes" : [ "plain/text" ],
863 "produces" : [ "application/json" ],
864 "parameters" : [ {
865 "in" : "body",
866 "name" : "body",
867 "required" : true,
868 "schema" : {
869 "type" : "string"
870 }
871 } ],
872 "responses" : {
873 "200" : {
874 "description" : "Output type",
875 "schema" : {
876 "type" : "string"
877 }
878 }
879 },
880 "x-camelContextId" : "camel-1",
881 "x-routeId" : "route38"
saul.gillee7faff2021-06-09 14:24:00 +0100882 }
883 },
884 "/v2/toscaControlLoop/getToscaTemplate" : {
885 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100886 "operationId" : "verb36",
saul.gillee7faff2021-06-09 14:24:00 +0100887 "produces" : [ "application/json" ],
888 "responses" : {
889 "200" : {
890 "description" : "Output type",
891 "schema" : {
892 "type" : "string"
893 }
894 }
895 },
saul.gill0f180372021-06-17 16:28:22 +0100896 "x-camelContextId" : "camel-1",
897 "x-routeId" : "route37"
saul.gillee7faff2021-06-09 14:24:00 +0100898 }
899 },
900 "/v1/healthcheck" : {
901 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100902 "operationId" : "verb39",
saul.gillee7faff2021-06-09 14:24:00 +0100903 "produces" : [ "application/json" ],
904 "responses" : {
905 "200" : {
906 "description" : "Output type",
907 "schema" : {
908 "$ref" : "#/definitions/CldsHealthCheck"
909 }
910 }
911 },
saul.gill0f180372021-06-17 16:28:22 +0100912 "x-camelContextId" : "camel-1",
913 "x-routeId" : "route40"
saul.gillee7faff2021-06-09 14:24:00 +0100914 }
915 },
916 "/v1/user/getUser" : {
917 "get" : {
saul.gill0f180372021-06-17 16:28:22 +0100918 "operationId" : "verb40",
saul.gillee7faff2021-06-09 14:24:00 +0100919 "produces" : [ "text/plain" ],
920 "responses" : {
921 "200" : { }
922 },
saul.gill0f180372021-06-17 16:28:22 +0100923 "x-camelContextId" : "camel-1",
924 "x-routeId" : "route41"
saul.gillee7faff2021-06-09 14:24:00 +0100925 }
926 }
927 },
928 "definitions" : {
929 "ClampInformation" : {
930 "type" : "object",
931 "properties" : {
932 "userName" : {
933 "type" : "string"
934 },
935 "cldsVersion" : {
936 "type" : "string"
937 },
938 "allPermissions" : {
939 "type" : "array",
940 "items" : {
941 "type" : "string"
942 }
943 }
944 },
945 "x-className" : {
946 "type" : "string",
947 "format" : "org.onap.policy.clamp.clds.model.ClampInformation"
948 }
949 },
950 "Dictionary" : {
951 "type" : "object",
952 "properties" : {
953 "createdDate" : {
954 "type" : "integer",
955 "format" : "int64"
956 },
957 "updatedDate" : {
958 "type" : "integer",
959 "format" : "int64"
960 },
961 "updatedBy" : {
962 "type" : "string"
963 },
964 "createdBy" : {
965 "type" : "string"
966 },
967 "name" : {
968 "type" : "string"
969 },
970 "secondLevelDictionary" : {
971 "type" : "integer",
972 "format" : "int32"
973 },
974 "subDictionaryType" : {
975 "type" : "string"
976 },
977 "dictionaryElements" : {
978 "type" : "array",
979 "uniqueItems" : true,
980 "items" : {
981 "$ref" : "#/definitions/DictionaryElement"
982 }
983 }
984 },
985 "x-className" : {
986 "type" : "string",
987 "format" : "org.onap.policy.clamp.tosca.Dictionary"
988 }
989 },
990 "DictionaryElement" : {
991 "type" : "object",
992 "properties" : {
993 "createdDate" : {
994 "type" : "integer",
995 "format" : "int64"
996 },
997 "updatedDate" : {
998 "type" : "integer",
999 "format" : "int64"
1000 },
1001 "updatedBy" : {
1002 "type" : "string"
1003 },
1004 "createdBy" : {
1005 "type" : "string"
1006 },
1007 "shortName" : {
1008 "type" : "string"
1009 },
1010 "name" : {
1011 "type" : "string"
1012 },
1013 "description" : {
1014 "type" : "string"
1015 },
1016 "type" : {
1017 "type" : "string"
1018 },
1019 "subDictionary" : {
1020 "type" : "string"
1021 },
1022 "usedByDictionaries" : {
1023 "type" : "array",
1024 "uniqueItems" : true,
1025 "items" : {
1026 "$ref" : "#/definitions/Dictionary"
1027 }
1028 }
1029 }
1030 },
1031 "Loop" : {
1032 "type" : "object",
1033 "properties" : {
1034 "createdDate" : {
1035 "type" : "integer",
1036 "format" : "int64"
1037 },
1038 "updatedDate" : {
1039 "type" : "integer",
1040 "format" : "int64"
1041 },
1042 "updatedBy" : {
1043 "type" : "string"
1044 },
1045 "createdBy" : {
1046 "type" : "string"
1047 },
1048 "name" : {
1049 "type" : "string"
1050 },
1051 "dcaeDeploymentId" : {
1052 "type" : "string"
1053 },
1054 "dcaeDeploymentStatusUrl" : {
1055 "type" : "string"
1056 },
1057 "globalPropertiesJson" : {
1058 "$ref" : "#/definitions/JsonObject"
1059 },
1060 "modelService" : {
1061 "$ref" : "#/definitions/Service"
1062 },
1063 "lastComputedState" : {
1064 "type" : "string",
1065 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
1066 },
1067 "components" : {
1068 "type" : "object",
1069 "additionalProperties" : {
1070 "$ref" : "#/definitions/ExternalComponent"
1071 }
1072 },
1073 "operationalPolicies" : {
1074 "type" : "array",
1075 "uniqueItems" : true,
1076 "items" : {
1077 "$ref" : "#/definitions/OperationalPolicy"
1078 }
1079 },
1080 "microServicePolicies" : {
1081 "type" : "array",
1082 "uniqueItems" : true,
1083 "items" : {
1084 "$ref" : "#/definitions/MicroServicePolicy"
1085 }
1086 },
1087 "loopLogs" : {
1088 "type" : "array",
1089 "uniqueItems" : true,
1090 "items" : {
1091 "$ref" : "#/definitions/LoopLog"
1092 }
1093 },
1094 "loopTemplate" : {
1095 "$ref" : "#/definitions/LoopTemplate"
1096 }
1097 },
1098 "x-className" : {
1099 "type" : "string",
1100 "format" : "org.onap.policy.clamp.loop.Loop"
1101 }
1102 },
1103 "JsonPrimitive" : {
1104 "type" : "object",
1105 "properties" : {
1106 "asBoolean" : {
1107 "type" : "boolean"
1108 },
saul.gill0f180372021-06-17 16:28:22 +01001109 "asDouble" : {
1110 "type" : "number",
1111 "format" : "double"
1112 },
1113 "asInt" : {
1114 "type" : "integer",
1115 "format" : "int32"
1116 },
1117 "asLong" : {
1118 "type" : "integer",
1119 "format" : "int64"
1120 },
saul.gillee7faff2021-06-09 14:24:00 +01001121 "boolean" : {
1122 "type" : "boolean"
1123 },
1124 "number" : {
1125 "type" : "boolean"
1126 },
saul.gillee7faff2021-06-09 14:24:00 +01001127 "asString" : {
1128 "type" : "string"
1129 },
saul.gillee7faff2021-06-09 14:24:00 +01001130 "asBigDecimal" : {
1131 "type" : "number"
1132 },
1133 "asBigInteger" : {
1134 "type" : "integer"
1135 },
1136 "asShort" : {
1137 "type" : "integer",
1138 "format" : "int32"
1139 },
saul.gill0f180372021-06-17 16:28:22 +01001140 "asNumber" : {
1141 "$ref" : "#/definitions/Number"
1142 },
1143 "asFloat" : {
1144 "type" : "number",
1145 "format" : "float"
1146 },
1147 "asByte" : {
1148 "type" : "string",
1149 "format" : "byte"
1150 },
1151 "asCharacter" : {
1152 "type" : "string"
1153 },
saul.gillee7faff2021-06-09 14:24:00 +01001154 "string" : {
1155 "type" : "boolean"
1156 },
1157 "asJsonObject" : {
1158 "$ref" : "#/definitions/JsonObject"
1159 },
saul.gill0f180372021-06-17 16:28:22 +01001160 "asJsonArray" : {
1161 "$ref" : "#/definitions/JsonArray"
saul.gillee7faff2021-06-09 14:24:00 +01001162 },
saul.gill0f180372021-06-17 16:28:22 +01001163 "jsonNull" : {
saul.gillee7faff2021-06-09 14:24:00 +01001164 "type" : "boolean"
1165 },
1166 "jsonPrimitive" : {
1167 "type" : "boolean"
1168 },
saul.gill0f180372021-06-17 16:28:22 +01001169 "jsonObject" : {
saul.gillee7faff2021-06-09 14:24:00 +01001170 "type" : "boolean"
1171 },
saul.gill0f180372021-06-17 16:28:22 +01001172 "jsonArray" : {
1173 "type" : "boolean"
saul.gillee7faff2021-06-09 14:24:00 +01001174 },
1175 "asJsonPrimitive" : {
1176 "$ref" : "#/definitions/JsonPrimitive"
1177 },
1178 "asJsonNull" : {
1179 "$ref" : "#/definitions/JsonNull"
1180 }
1181 }
1182 },
1183 "MicroServicePolicy" : {
1184 "type" : "object",
1185 "properties" : {
1186 "createdDate" : {
1187 "type" : "integer",
1188 "format" : "int64"
1189 },
1190 "updatedDate" : {
1191 "type" : "integer",
1192 "format" : "int64"
1193 },
1194 "updatedBy" : {
1195 "type" : "string"
1196 },
1197 "createdBy" : {
1198 "type" : "string"
1199 },
1200 "jsonRepresentation" : {
1201 "$ref" : "#/definitions/JsonObject"
1202 },
1203 "configurationsJson" : {
1204 "$ref" : "#/definitions/JsonObject"
1205 },
1206 "loopElementModel" : {
1207 "$ref" : "#/definitions/LoopElementModel"
1208 },
1209 "pdpGroup" : {
1210 "type" : "string"
1211 },
1212 "pdpSubgroup" : {
1213 "type" : "string"
1214 },
1215 "policyModel" : {
1216 "$ref" : "#/definitions/PolicyModel"
1217 },
1218 "name" : {
1219 "type" : "string"
1220 },
1221 "context" : {
1222 "type" : "string"
1223 },
1224 "deviceTypeScope" : {
1225 "type" : "string"
1226 },
1227 "shared" : {
1228 "type" : "boolean"
1229 },
1230 "usedByLoops" : {
1231 "type" : "array",
1232 "uniqueItems" : true,
1233 "items" : {
1234 "$ref" : "#/definitions/Loop"
1235 }
1236 },
1237 "dcaeDeploymentId" : {
1238 "type" : "string"
1239 },
1240 "dcaeDeploymentStatusUrl" : {
1241 "type" : "string"
1242 },
1243 "dcaeBlueprintId" : {
1244 "type" : "string"
1245 }
1246 },
1247 "x-className" : {
1248 "type" : "string",
1249 "format" : "org.onap.policy.clamp.policy.microservice.MicroServicePolicy"
1250 }
1251 },
1252 "JsonObject" : {
1253 "type" : "object",
1254 "properties" : {
1255 "asBoolean" : {
1256 "type" : "boolean"
1257 },
saul.gillee7faff2021-06-09 14:24:00 +01001258 "asDouble" : {
1259 "type" : "number",
1260 "format" : "double"
1261 },
saul.gillee7faff2021-06-09 14:24:00 +01001262 "asInt" : {
1263 "type" : "integer",
1264 "format" : "int32"
1265 },
saul.gill0f180372021-06-17 16:28:22 +01001266 "asLong" : {
1267 "type" : "integer",
1268 "format" : "int64"
saul.gillee7faff2021-06-09 14:24:00 +01001269 },
saul.gill0f180372021-06-17 16:28:22 +01001270 "asJsonObject" : {
1271 "$ref" : "#/definitions/JsonObject"
1272 },
1273 "asString" : {
saul.gillee7faff2021-06-09 14:24:00 +01001274 "type" : "string"
1275 },
saul.gill0f180372021-06-17 16:28:22 +01001276 "asJsonArray" : {
1277 "$ref" : "#/definitions/JsonArray"
1278 },
saul.gillee7faff2021-06-09 14:24:00 +01001279 "asBigDecimal" : {
1280 "type" : "number"
1281 },
1282 "asBigInteger" : {
1283 "type" : "integer"
1284 },
1285 "asShort" : {
1286 "type" : "integer",
1287 "format" : "int32"
saul.gill0f180372021-06-17 16:28:22 +01001288 },
1289 "jsonNull" : {
1290 "type" : "boolean"
1291 },
1292 "jsonPrimitive" : {
1293 "type" : "boolean"
1294 },
1295 "jsonObject" : {
1296 "type" : "boolean"
1297 },
1298 "jsonArray" : {
1299 "type" : "boolean"
1300 },
1301 "asNumber" : {
1302 "$ref" : "#/definitions/Number"
1303 },
1304 "asFloat" : {
1305 "type" : "number",
1306 "format" : "float"
1307 },
1308 "asJsonPrimitive" : {
1309 "$ref" : "#/definitions/JsonPrimitive"
1310 },
1311 "asByte" : {
1312 "type" : "string",
1313 "format" : "byte"
1314 },
1315 "asCharacter" : {
1316 "type" : "string"
1317 },
1318 "asJsonNull" : {
1319 "$ref" : "#/definitions/JsonNull"
saul.gillee7faff2021-06-09 14:24:00 +01001320 }
1321 },
1322 "x-className" : {
1323 "type" : "string",
1324 "format" : "com.google.gson.JsonObject"
1325 }
1326 },
1327 "PolicyModel" : {
1328 "type" : "object",
1329 "properties" : {
1330 "createdDate" : {
1331 "type" : "integer",
1332 "format" : "int64"
1333 },
1334 "updatedDate" : {
1335 "type" : "integer",
1336 "format" : "int64"
1337 },
1338 "updatedBy" : {
1339 "type" : "string"
1340 },
1341 "createdBy" : {
1342 "type" : "string"
1343 },
1344 "policyModelType" : {
1345 "type" : "string"
1346 },
1347 "version" : {
1348 "type" : "string"
1349 },
1350 "policyModelTosca" : {
1351 "type" : "string"
1352 },
1353 "policyAcronym" : {
1354 "type" : "string"
1355 },
1356 "usedByElementModels" : {
1357 "type" : "array",
1358 "uniqueItems" : true,
1359 "items" : {
1360 "$ref" : "#/definitions/LoopElementModel"
1361 }
1362 },
1363 "policyPdpGroup" : {
1364 "$ref" : "#/definitions/JsonObject"
1365 }
1366 },
1367 "x-className" : {
1368 "type" : "string",
1369 "format" : "org.onap.policy.clamp.loop.template.PolicyModel"
1370 }
1371 },
1372 "Service" : {
1373 "type" : "object",
1374 "properties" : {
1375 "serviceUuid" : {
1376 "type" : "string"
1377 },
1378 "name" : {
1379 "type" : "string"
1380 },
1381 "version" : {
1382 "type" : "string"
1383 },
1384 "serviceDetails" : {
1385 "$ref" : "#/definitions/JsonObject"
1386 },
1387 "resourceDetails" : {
1388 "$ref" : "#/definitions/JsonObject"
1389 }
1390 }
1391 },
1392 "LoopTemplateLoopElementModel" : {
1393 "type" : "object",
1394 "properties" : {
1395 "loopTemplate" : {
1396 "$ref" : "#/definitions/LoopTemplate"
1397 },
1398 "loopElementModel" : {
1399 "$ref" : "#/definitions/LoopElementModel"
1400 },
1401 "flowOrder" : {
1402 "type" : "integer",
1403 "format" : "int32"
1404 }
1405 }
1406 },
1407 "OperationalPolicy" : {
1408 "type" : "object",
1409 "properties" : {
1410 "createdDate" : {
1411 "type" : "integer",
1412 "format" : "int64"
1413 },
1414 "updatedDate" : {
1415 "type" : "integer",
1416 "format" : "int64"
1417 },
1418 "updatedBy" : {
1419 "type" : "string"
1420 },
1421 "createdBy" : {
1422 "type" : "string"
1423 },
1424 "jsonRepresentation" : {
1425 "$ref" : "#/definitions/JsonObject"
1426 },
1427 "configurationsJson" : {
1428 "$ref" : "#/definitions/JsonObject"
1429 },
1430 "loopElementModel" : {
1431 "$ref" : "#/definitions/LoopElementModel"
1432 },
1433 "pdpGroup" : {
1434 "type" : "string"
1435 },
1436 "pdpSubgroup" : {
1437 "type" : "string"
1438 },
1439 "policyModel" : {
1440 "$ref" : "#/definitions/PolicyModel"
1441 },
1442 "name" : {
1443 "type" : "string"
1444 },
1445 "loop" : {
1446 "$ref" : "#/definitions/Loop"
1447 }
1448 }
1449 },
1450 "JsonNull" : {
1451 "type" : "object",
1452 "properties" : {
1453 "asBoolean" : {
1454 "type" : "boolean"
1455 },
saul.gillee7faff2021-06-09 14:24:00 +01001456 "asDouble" : {
1457 "type" : "number",
1458 "format" : "double"
1459 },
saul.gillee7faff2021-06-09 14:24:00 +01001460 "asInt" : {
1461 "type" : "integer",
1462 "format" : "int32"
1463 },
saul.gill0f180372021-06-17 16:28:22 +01001464 "asLong" : {
1465 "type" : "integer",
1466 "format" : "int64"
saul.gillee7faff2021-06-09 14:24:00 +01001467 },
saul.gill0f180372021-06-17 16:28:22 +01001468 "asJsonObject" : {
1469 "$ref" : "#/definitions/JsonObject"
1470 },
1471 "asString" : {
saul.gillee7faff2021-06-09 14:24:00 +01001472 "type" : "string"
1473 },
saul.gill0f180372021-06-17 16:28:22 +01001474 "asJsonArray" : {
1475 "$ref" : "#/definitions/JsonArray"
1476 },
saul.gillee7faff2021-06-09 14:24:00 +01001477 "asBigDecimal" : {
1478 "type" : "number"
1479 },
1480 "asBigInteger" : {
1481 "type" : "integer"
1482 },
1483 "asShort" : {
1484 "type" : "integer",
1485 "format" : "int32"
saul.gill0f180372021-06-17 16:28:22 +01001486 },
1487 "jsonNull" : {
1488 "type" : "boolean"
1489 },
1490 "jsonPrimitive" : {
1491 "type" : "boolean"
1492 },
1493 "jsonObject" : {
1494 "type" : "boolean"
1495 },
1496 "jsonArray" : {
1497 "type" : "boolean"
1498 },
1499 "asNumber" : {
1500 "$ref" : "#/definitions/Number"
1501 },
1502 "asFloat" : {
1503 "type" : "number",
1504 "format" : "float"
1505 },
1506 "asJsonPrimitive" : {
1507 "$ref" : "#/definitions/JsonPrimitive"
1508 },
1509 "asByte" : {
1510 "type" : "string",
1511 "format" : "byte"
1512 },
1513 "asCharacter" : {
1514 "type" : "string"
1515 },
1516 "asJsonNull" : {
1517 "$ref" : "#/definitions/JsonNull"
saul.gillee7faff2021-06-09 14:24:00 +01001518 }
1519 }
1520 },
1521 "JsonArray" : {
1522 "type" : "object",
1523 "properties" : {
1524 "asBoolean" : {
1525 "type" : "boolean"
1526 },
saul.gillee7faff2021-06-09 14:24:00 +01001527 "asDouble" : {
1528 "type" : "number",
1529 "format" : "double"
1530 },
saul.gillee7faff2021-06-09 14:24:00 +01001531 "asInt" : {
1532 "type" : "integer",
1533 "format" : "int32"
1534 },
saul.gill0f180372021-06-17 16:28:22 +01001535 "asLong" : {
1536 "type" : "integer",
1537 "format" : "int64"
saul.gillee7faff2021-06-09 14:24:00 +01001538 },
saul.gill0f180372021-06-17 16:28:22 +01001539 "asString" : {
saul.gillee7faff2021-06-09 14:24:00 +01001540 "type" : "string"
1541 },
1542 "asBigDecimal" : {
1543 "type" : "number"
1544 },
1545 "asBigInteger" : {
1546 "type" : "integer"
1547 },
1548 "asShort" : {
1549 "type" : "integer",
1550 "format" : "int32"
1551 },
saul.gill0f180372021-06-17 16:28:22 +01001552 "asNumber" : {
1553 "$ref" : "#/definitions/Number"
1554 },
1555 "asFloat" : {
1556 "type" : "number",
1557 "format" : "float"
1558 },
1559 "asByte" : {
1560 "type" : "string",
1561 "format" : "byte"
1562 },
1563 "asCharacter" : {
1564 "type" : "string"
1565 },
saul.gillee7faff2021-06-09 14:24:00 +01001566 "asJsonObject" : {
1567 "$ref" : "#/definitions/JsonObject"
1568 },
saul.gill0f180372021-06-17 16:28:22 +01001569 "asJsonArray" : {
1570 "$ref" : "#/definitions/JsonArray"
saul.gillee7faff2021-06-09 14:24:00 +01001571 },
saul.gill0f180372021-06-17 16:28:22 +01001572 "jsonNull" : {
saul.gillee7faff2021-06-09 14:24:00 +01001573 "type" : "boolean"
1574 },
1575 "jsonPrimitive" : {
1576 "type" : "boolean"
1577 },
saul.gill0f180372021-06-17 16:28:22 +01001578 "jsonObject" : {
saul.gillee7faff2021-06-09 14:24:00 +01001579 "type" : "boolean"
1580 },
saul.gill0f180372021-06-17 16:28:22 +01001581 "jsonArray" : {
1582 "type" : "boolean"
saul.gillee7faff2021-06-09 14:24:00 +01001583 },
1584 "asJsonPrimitive" : {
1585 "$ref" : "#/definitions/JsonPrimitive"
1586 },
1587 "asJsonNull" : {
1588 "$ref" : "#/definitions/JsonNull"
1589 }
1590 },
1591 "x-className" : {
1592 "type" : "string",
1593 "format" : "com.google.gson.JsonArray"
1594 }
1595 },
1596 "LoopLog" : {
1597 "type" : "object",
1598 "properties" : {
1599 "id" : {
1600 "type" : "integer",
1601 "format" : "int64"
1602 },
1603 "logType" : {
1604 "type" : "string",
1605 "enum" : [ "INFO", "WARNING", "ERROR" ]
1606 },
1607 "logComponent" : {
1608 "type" : "string"
1609 },
1610 "message" : {
1611 "type" : "string"
1612 },
1613 "loop" : {
1614 "$ref" : "#/definitions/Loop"
1615 },
1616 "logInstant" : {
1617 "type" : "integer",
1618 "format" : "int64"
1619 }
1620 }
1621 },
1622 "Number" : {
1623 "type" : "object"
1624 },
1625 "ExternalComponent" : {
1626 "type" : "object",
1627 "properties" : {
1628 "state" : {
1629 "$ref" : "#/definitions/ExternalComponentState"
1630 },
1631 "componentName" : {
1632 "type" : "string"
1633 }
1634 }
1635 },
1636 "LoopTemplate" : {
1637 "type" : "object",
1638 "properties" : {
1639 "createdDate" : {
1640 "type" : "integer",
1641 "format" : "int64"
1642 },
1643 "updatedDate" : {
1644 "type" : "integer",
1645 "format" : "int64"
1646 },
1647 "updatedBy" : {
1648 "type" : "string"
1649 },
1650 "createdBy" : {
1651 "type" : "string"
1652 },
1653 "name" : {
1654 "type" : "string"
1655 },
1656 "dcaeBlueprintId" : {
1657 "type" : "string"
1658 },
1659 "blueprint" : {
1660 "type" : "string"
1661 },
1662 "loopElementModelsUsed" : {
1663 "type" : "array",
1664 "uniqueItems" : true,
1665 "items" : {
1666 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1667 }
1668 },
1669 "modelService" : {
1670 "$ref" : "#/definitions/Service"
1671 },
1672 "maximumInstancesAllowed" : {
1673 "type" : "integer",
1674 "format" : "int32"
1675 },
1676 "uniqueBlueprint" : {
1677 "type" : "boolean"
1678 },
1679 "allowedLoopType" : {
1680 "type" : "string",
1681 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1682 }
1683 },
1684 "x-className" : {
1685 "type" : "string",
1686 "format" : "org.onap.policy.clamp.loop.template.LoopTemplate"
1687 }
1688 },
1689 "ExternalComponentState" : {
1690 "type" : "object",
1691 "properties" : {
1692 "stateName" : {
1693 "type" : "string"
1694 },
1695 "description" : {
1696 "type" : "string"
1697 },
1698 "level" : {
1699 "type" : "integer",
1700 "format" : "int32"
1701 }
1702 }
1703 },
1704 "LoopElementModel" : {
1705 "type" : "object",
1706 "properties" : {
1707 "createdDate" : {
1708 "type" : "integer",
1709 "format" : "int64"
1710 },
1711 "updatedDate" : {
1712 "type" : "integer",
1713 "format" : "int64"
1714 },
1715 "updatedBy" : {
1716 "type" : "string"
1717 },
1718 "createdBy" : {
1719 "type" : "string"
1720 },
1721 "name" : {
1722 "type" : "string"
1723 },
1724 "dcaeBlueprintId" : {
1725 "type" : "string"
1726 },
1727 "blueprint" : {
1728 "type" : "string"
1729 },
1730 "loopElementType" : {
1731 "type" : "string"
1732 },
1733 "shortName" : {
1734 "type" : "string"
1735 },
1736 "policyModels" : {
1737 "type" : "array",
1738 "uniqueItems" : true,
1739 "items" : {
1740 "$ref" : "#/definitions/PolicyModel"
1741 }
1742 },
1743 "usedByLoopTemplates" : {
1744 "type" : "array",
1745 "uniqueItems" : true,
1746 "items" : {
1747 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1748 }
1749 }
1750 }
1751 },
1752 "JsonElement" : {
1753 "type" : "object",
1754 "properties" : {
1755 "asBoolean" : {
1756 "type" : "boolean"
1757 },
saul.gillee7faff2021-06-09 14:24:00 +01001758 "asDouble" : {
1759 "type" : "number",
1760 "format" : "double"
1761 },
saul.gillee7faff2021-06-09 14:24:00 +01001762 "asInt" : {
1763 "type" : "integer",
1764 "format" : "int32"
1765 },
saul.gill0f180372021-06-17 16:28:22 +01001766 "asLong" : {
1767 "type" : "integer",
1768 "format" : "int64"
saul.gillee7faff2021-06-09 14:24:00 +01001769 },
saul.gill0f180372021-06-17 16:28:22 +01001770 "asJsonObject" : {
1771 "$ref" : "#/definitions/JsonObject"
1772 },
1773 "asString" : {
saul.gillee7faff2021-06-09 14:24:00 +01001774 "type" : "string"
1775 },
saul.gill0f180372021-06-17 16:28:22 +01001776 "asJsonArray" : {
1777 "$ref" : "#/definitions/JsonArray"
1778 },
saul.gillee7faff2021-06-09 14:24:00 +01001779 "asBigDecimal" : {
1780 "type" : "number"
1781 },
1782 "asBigInteger" : {
1783 "type" : "integer"
1784 },
1785 "asShort" : {
1786 "type" : "integer",
1787 "format" : "int32"
saul.gill0f180372021-06-17 16:28:22 +01001788 },
1789 "jsonNull" : {
1790 "type" : "boolean"
1791 },
1792 "jsonPrimitive" : {
1793 "type" : "boolean"
1794 },
1795 "jsonObject" : {
1796 "type" : "boolean"
1797 },
1798 "jsonArray" : {
1799 "type" : "boolean"
1800 },
1801 "asNumber" : {
1802 "$ref" : "#/definitions/Number"
1803 },
1804 "asFloat" : {
1805 "type" : "number",
1806 "format" : "float"
1807 },
1808 "asJsonPrimitive" : {
1809 "$ref" : "#/definitions/JsonPrimitive"
1810 },
1811 "asByte" : {
1812 "type" : "string",
1813 "format" : "byte"
1814 },
1815 "asCharacter" : {
1816 "type" : "string"
1817 },
1818 "asJsonNull" : {
1819 "$ref" : "#/definitions/JsonNull"
saul.gillee7faff2021-06-09 14:24:00 +01001820 }
1821 },
1822 "x-className" : {
1823 "type" : "string",
1824 "format" : "com.google.gson.JsonElement"
1825 }
1826 },
1827 "CldsHealthCheck" : {
1828 "type" : "object",
1829 "properties" : {
1830 "healthCheckComponent" : {
1831 "type" : "string"
1832 },
1833 "healthCheckStatus" : {
1834 "type" : "string"
1835 },
1836 "description" : {
1837 "type" : "string"
1838 }
1839 },
1840 "x-className" : {
1841 "type" : "string",
1842 "format" : "org.onap.policy.clamp.clds.model.CldsHealthCheck"
1843 }
1844 }
1845 }
1846}