blob: 5206784f291242b3124f8dafbacc943f78300690 [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" : {
sebdet3b7f6692020-02-17 06:03:31 -08004 "version" : "5.0.0-SNAPSHOT",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02005 "title" : "Clamp Rest API"
6 },
sebdet3b7f6692020-02-17 06:03:31 -08007 "host" : "localhost:33699",
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" : {
sebdet3b7f6692020-02-17 06:03:31 -080011 "/v2/dictionary" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020012 "get" : {
sebdet3b7f6692020-02-17 06:03:31 -080013 "operationId" : "route18",
14 "produces" : [ "application/json" ],
15 "responses" : {
16 "200" : {
17 "description" : "Output type",
18 "schema" : {
19 "$ref" : "#/definitions/Dictionary"
20 }
21 }
22 },
23 "x-camelContextId" : "camel-1",
24 "x-routeId" : "route18"
25 },
26 "put" : {
nrpandya82561262019-11-21 11:51:18 -060027 "operationId" : "route20",
sebdet3b7f6692020-02-17 06:03:31 -080028 "consumes" : [ "application/json" ],
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020029 "produces" : [ "application/json" ],
30 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -080031 "in" : "body",
32 "name" : "body",
33 "required" : true,
34 "schema" : {
35 "$ref" : "#/definitions/Dictionary"
36 }
37 } ],
38 "responses" : {
39 "200" : {
40 "description" : "Output type",
41 "schema" : {
42 "$ref" : "#/definitions/Dictionary"
43 }
44 }
45 },
46 "x-camelContextId" : "camel-1",
47 "x-routeId" : "route20"
48 }
49 },
50 "/v2/dictionary/{dictionaryName}" : {
51 "get" : {
52 "produces" : [ "application/json" ],
53 "parameters" : [ {
54 "name" : "dictionaryName",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020055 "in" : "path",
56 "required" : true,
57 "type" : "string"
58 } ],
59 "responses" : {
60 "200" : {
61 "description" : "Output type",
62 "schema" : {
sebdet3b7f6692020-02-17 06:03:31 -080063 "$ref" : "#/definitions/Dictionary"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020064 }
65 }
66 },
sebdet3b7f6692020-02-17 06:03:31 -080067 "x-camelContextId" : "camel-1",
68 "x-routeId" : null
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020069 }
70 },
sebdet3b7f6692020-02-17 06:03:31 -080071 "/v2/dictionary/{name}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020072 "put" : {
sebdet3b7f6692020-02-17 06:03:31 -080073 "consumes" : [ "application/json" ],
74 "produces" : [ "application/json" ],
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020075 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -080076 "name" : "name",
77 "in" : "path",
78 "required" : true,
79 "type" : "string"
80 }, {
81 "in" : "body",
82 "name" : "body",
83 "required" : true,
84 "schema" : {
85 "$ref" : "#/definitions/Dictionary"
86 }
87 } ],
88 "responses" : {
89 "200" : {
90 "description" : "Output type",
91 "schema" : {
92 "$ref" : "#/definitions/Dictionary"
93 }
94 }
95 },
96 "x-camelContextId" : "camel-1",
97 "x-routeId" : null
98 },
99 "delete" : {
100 "operationId" : "route22",
101 "produces" : [ "application/json" ],
102 "parameters" : [ {
103 "name" : "name",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200104 "in" : "path",
105 "required" : true,
106 "type" : "string"
107 } ],
108 "responses" : {
109 "200" : { }
110 },
sebdet3b7f6692020-02-17 06:03:31 -0800111 "x-camelContextId" : "camel-1",
112 "x-routeId" : "route22"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200113 }
114 },
sebdet3b7f6692020-02-17 06:03:31 -0800115 "/v2/dictionary/{name}/elements/{shortName}" : {
116 "delete" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200117 "produces" : [ "application/json" ],
118 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -0800119 "name" : "name",
120 "in" : "path",
121 "required" : true,
122 "type" : "string"
123 }, {
124 "name" : "shortName",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200125 "in" : "path",
126 "required" : true,
127 "type" : "string"
128 } ],
129 "responses" : {
sebdet3b7f6692020-02-17 06:03:31 -0800130 "200" : { }
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200131 },
sebdet3b7f6692020-02-17 06:03:31 -0800132 "x-camelContextId" : "camel-1",
133 "x-routeId" : null
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200134 }
135 },
sebdet3b7f6692020-02-17 06:03:31 -0800136 "/v2/dictionary/secondary/names" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200137 "get" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200138 "produces" : [ "application/json" ],
139 "responses" : {
140 "200" : {
141 "description" : "Output type",
142 "schema" : {
143 "type" : "array",
144 "items" : {
145 "type" : "string"
146 }
147 }
148 }
149 },
sebdet3b7f6692020-02-17 06:03:31 -0800150 "x-camelContextId" : "camel-1",
151 "x-routeId" : null
152 }
153 },
154 "/v2/loop/{loopName}" : {
155 "get" : {
156 "operationId" : "route3",
157 "produces" : [ "application/json" ],
158 "parameters" : [ {
159 "name" : "loopName",
160 "in" : "path",
161 "required" : true,
162 "type" : "string"
163 } ],
164 "responses" : {
165 "200" : {
166 "description" : "Output type",
167 "schema" : {
168 "$ref" : "#/definitions/Loop"
169 }
170 }
171 },
172 "x-camelContextId" : "camel-1",
173 "x-routeId" : "route3"
174 }
175 },
176 "/v2/loop/delete/{loopName}" : {
177 "put" : {
178 "operationId" : "route14",
179 "parameters" : [ {
180 "name" : "loopName",
181 "in" : "path",
182 "required" : true,
183 "type" : "string"
184 } ],
185 "responses" : {
186 "200" : { }
187 },
188 "x-camelContextId" : "camel-1",
189 "x-routeId" : "route14"
190 }
191 },
192 "/v2/loop/deploy/{loopName}" : {
193 "put" : {
194 "operationId" : "route8",
195 "produces" : [ "application/json" ],
196 "parameters" : [ {
197 "name" : "loopName",
198 "in" : "path",
199 "required" : true,
200 "type" : "string"
201 } ],
202 "responses" : {
203 "200" : {
204 "description" : "Output type",
205 "schema" : {
206 "$ref" : "#/definitions/Loop"
207 }
208 }
209 },
210 "x-camelContextId" : "camel-1",
211 "x-routeId" : "route8"
212 }
213 },
214 "/v2/loop/getAllNames" : {
215 "get" : {
216 "operationId" : "route2",
217 "produces" : [ "application/json" ],
218 "responses" : {
219 "200" : {
220 "description" : "Output type",
221 "schema" : {
222 "type" : "array",
223 "items" : {
224 "type" : "string"
225 }
226 }
227 }
228 },
229 "x-camelContextId" : "camel-1",
230 "x-routeId" : "route2"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200231 }
232 },
233 "/v2/loop/getstatus/{loopName}" : {
234 "get" : {
sebdet3b7f6692020-02-17 06:03:31 -0800235 "operationId" : "route15",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200236 "produces" : [ "application/json" ],
237 "parameters" : [ {
238 "name" : "loopName",
239 "in" : "path",
240 "required" : true,
241 "type" : "string"
242 } ],
243 "responses" : {
244 "200" : {
245 "description" : "Output type",
246 "schema" : {
247 "$ref" : "#/definitions/Loop"
248 }
249 }
250 },
sebdet3b7f6692020-02-17 06:03:31 -0800251 "x-camelContextId" : "camel-1",
252 "x-routeId" : "route15"
253 }
254 },
255 "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
256 "put" : {
257 "operationId" : "route9",
258 "produces" : [ "application/json" ],
259 "parameters" : [ {
260 "name" : "loopName",
261 "in" : "path",
262 "required" : true,
263 "type" : "string"
264 } ],
265 "responses" : {
266 "200" : {
267 "description" : "Output type",
268 "schema" : {
269 "$ref" : "#/definitions/Loop"
270 }
271 }
272 },
273 "x-camelContextId" : "camel-1",
274 "x-routeId" : "route9"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200275 }
276 },
277 "/v2/loop/restart/{loopName}" : {
278 "put" : {
sebdet3b7f6692020-02-17 06:03:31 -0800279 "operationId" : "route12",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200280 "produces" : [ "application/json" ],
281 "parameters" : [ {
282 "name" : "loopName",
283 "in" : "path",
284 "required" : true,
285 "type" : "string"
286 } ],
287 "responses" : {
288 "200" : {
289 "description" : "Output type",
290 "schema" : {
291 "$ref" : "#/definitions/Loop"
292 }
293 }
294 },
sebdet3b7f6692020-02-17 06:03:31 -0800295 "x-camelContextId" : "camel-1",
296 "x-routeId" : "route12"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200297 }
298 },
299 "/v2/loop/stop/{loopName}" : {
300 "put" : {
sebdet3b7f6692020-02-17 06:03:31 -0800301 "operationId" : "route11",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200302 "produces" : [ "application/json" ],
303 "parameters" : [ {
304 "name" : "loopName",
305 "in" : "path",
306 "required" : true,
307 "type" : "string"
308 } ],
309 "responses" : {
310 "200" : {
311 "description" : "Output type",
312 "schema" : {
313 "$ref" : "#/definitions/Loop"
314 }
315 }
316 },
sebdet3b7f6692020-02-17 06:03:31 -0800317 "x-camelContextId" : "camel-1",
318 "x-routeId" : "route11"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200319 }
320 },
321 "/v2/loop/submit/{loopName}" : {
322 "put" : {
sebdet3b7f6692020-02-17 06:03:31 -0800323 "operationId" : "route13",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200324 "produces" : [ "application/json" ],
325 "parameters" : [ {
326 "name" : "loopName",
327 "in" : "path",
328 "required" : true,
329 "type" : "string"
330 } ],
331 "responses" : {
332 "200" : {
333 "description" : "Output type",
334 "schema" : {
335 "$ref" : "#/definitions/Loop"
336 }
337 }
338 },
sebdet3b7f6692020-02-17 06:03:31 -0800339 "x-camelContextId" : "camel-1",
340 "x-routeId" : "route13"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200341 }
342 },
343 "/v2/loop/svgRepresentation/{loopName}" : {
344 "get" : {
sebdet3b7f6692020-02-17 06:03:31 -0800345 "operationId" : "route4",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200346 "produces" : [ "application/xml" ],
347 "parameters" : [ {
348 "name" : "loopName",
349 "in" : "path",
350 "required" : true,
351 "type" : "string"
352 } ],
353 "responses" : {
354 "200" : {
355 "description" : "Output type",
356 "schema" : {
357 "type" : "string"
358 }
359 }
360 },
sebdet3b7f6692020-02-17 06:03:31 -0800361 "x-camelContextId" : "camel-1",
362 "x-routeId" : "route4"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200363 }
364 },
sebdet101193d2019-09-05 18:25:59 +0200365 "/v2/loop/undeploy/{loopName}" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200366 "put" : {
sebdet3b7f6692020-02-17 06:03:31 -0800367 "operationId" : "route10",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200368 "produces" : [ "application/json" ],
369 "parameters" : [ {
370 "name" : "loopName",
371 "in" : "path",
372 "required" : true,
373 "type" : "string"
374 } ],
375 "responses" : {
376 "200" : {
377 "description" : "Output type",
378 "schema" : {
379 "$ref" : "#/definitions/Loop"
380 }
381 }
382 },
sebdet3b7f6692020-02-17 06:03:31 -0800383 "x-camelContextId" : "camel-1",
384 "x-routeId" : "route10"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200385 }
386 },
387 "/v2/loop/updateGlobalProperties/{loopName}" : {
388 "post" : {
sebdet3b7f6692020-02-17 06:03:31 -0800389 "operationId" : "route5",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200390 "consumes" : [ "application/json" ],
391 "produces" : [ "application/json" ],
392 "parameters" : [ {
393 "name" : "loopName",
394 "in" : "path",
395 "required" : true,
396 "type" : "string"
397 }, {
398 "in" : "body",
399 "name" : "body",
400 "required" : true,
401 "schema" : {
402 "$ref" : "#/definitions/JsonObject"
403 }
404 } ],
405 "responses" : {
406 "200" : {
407 "description" : "Output type",
408 "schema" : {
409 "$ref" : "#/definitions/Loop"
410 }
411 }
412 },
sebdet3b7f6692020-02-17 06:03:31 -0800413 "x-camelContextId" : "camel-1",
414 "x-routeId" : "route5"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200415 }
416 },
417 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
418 "post" : {
sebdet3b7f6692020-02-17 06:03:31 -0800419 "operationId" : "route7",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200420 "consumes" : [ "application/json" ],
421 "produces" : [ "application/json" ],
422 "parameters" : [ {
423 "name" : "loopName",
424 "in" : "path",
425 "required" : true,
426 "type" : "string"
427 }, {
428 "in" : "body",
429 "name" : "body",
430 "required" : true,
431 "schema" : {
432 "$ref" : "#/definitions/MicroServicePolicy"
433 }
434 } ],
435 "responses" : {
436 "200" : {
437 "description" : "Output type",
438 "schema" : {
439 "$ref" : "#/definitions/MicroServicePolicy"
440 }
441 }
442 },
sebdet3b7f6692020-02-17 06:03:31 -0800443 "x-camelContextId" : "camel-1",
444 "x-routeId" : "route7"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200445 }
446 },
447 "/v2/loop/updateOperationalPolicies/{loopName}" : {
448 "post" : {
sebdet3b7f6692020-02-17 06:03:31 -0800449 "operationId" : "route6",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200450 "consumes" : [ "application/json" ],
451 "produces" : [ "application/json" ],
452 "parameters" : [ {
453 "name" : "loopName",
454 "in" : "path",
455 "required" : true,
456 "type" : "string"
457 }, {
458 "in" : "body",
459 "name" : "body",
460 "required" : true,
461 "schema" : {
462 "$ref" : "#/definitions/JsonArray"
463 }
464 } ],
465 "responses" : {
466 "200" : {
467 "description" : "Output type",
468 "schema" : {
469 "$ref" : "#/definitions/Loop"
470 }
471 }
472 },
sebdet3b7f6692020-02-17 06:03:31 -0800473 "x-camelContextId" : "camel-1",
474 "x-routeId" : "route6"
475 }
476 },
477 "/v2/policyToscaModels" : {
478 "get" : {
479 "operationId" : "route25",
480 "produces" : [ "application/json" ],
481 "responses" : {
482 "200" : {
483 "description" : "Output type",
484 "schema" : {
485 "$ref" : "#/definitions/PolicyModel"
486 }
487 }
488 },
489 "x-camelContextId" : "camel-1",
490 "x-routeId" : "route25"
491 }
492 },
493 "/v2/policyToscaModels/{policyModelType}" : {
494 "get" : {
495 "produces" : [ "application/json" ],
496 "parameters" : [ {
497 "name" : "policyModelType",
498 "in" : "path",
499 "required" : true,
500 "type" : "string"
501 } ],
502 "responses" : {
503 "200" : {
504 "description" : "Output type",
505 "schema" : {
506 "$ref" : "#/definitions/PolicyModel"
507 }
508 }
509 },
510 "x-camelContextId" : "camel-1",
511 "x-routeId" : null
512 },
513 "put" : {
514 "operationId" : "route26",
515 "consumes" : [ "plain/text" ],
516 "produces" : [ "application/json" ],
517 "parameters" : [ {
518 "name" : "policyModelType",
519 "in" : "path",
520 "required" : true,
521 "type" : "string"
522 }, {
523 "in" : "body",
524 "name" : "body",
525 "required" : true,
526 "schema" : {
527 "type" : "string"
528 }
529 } ],
530 "responses" : {
531 "200" : {
532 "description" : "Output type",
533 "schema" : {
534 "$ref" : "#/definitions/PolicyModel"
535 }
536 }
537 },
538 "x-camelContextId" : "camel-1",
539 "x-routeId" : "route26"
540 }
541 },
542 "/v2/policyToscaModels/yaml/{policyModelType}" : {
543 "get" : {
544 "produces" : [ "application/json" ],
545 "parameters" : [ {
546 "name" : "policyModelType",
547 "in" : "path",
548 "required" : true,
549 "type" : "string"
550 } ],
551 "responses" : {
552 "200" : {
553 "description" : "Output type",
554 "schema" : {
555 "type" : "string"
556 }
557 }
558 },
559 "x-camelContextId" : "camel-1",
560 "x-routeId" : null
561 }
562 },
563 "/v2/templates" : {
564 "get" : {
565 "operationId" : "route29",
566 "produces" : [ "application/json" ],
567 "responses" : {
568 "200" : {
569 "description" : "Output type",
570 "schema" : {
571 "$ref" : "#/definitions/LoopTemplate"
572 }
573 }
574 },
575 "x-camelContextId" : "camel-1",
576 "x-routeId" : "route29"
577 }
578 },
579 "/v2/templates/{templateName}" : {
580 "get" : {
581 "produces" : [ "application/json" ],
582 "parameters" : [ {
583 "name" : "templateName",
584 "in" : "path",
585 "required" : true,
586 "type" : "string"
587 } ],
588 "responses" : {
589 "200" : {
590 "description" : "Output type",
591 "schema" : {
592 "$ref" : "#/definitions/LoopTemplate"
593 }
594 }
595 },
596 "x-camelContextId" : "camel-1",
597 "x-routeId" : null
598 }
599 },
600 "/v2/templates/names" : {
601 "get" : {
602 "produces" : [ "application/json" ],
603 "responses" : {
604 "200" : {
605 "description" : "Output type",
606 "schema" : {
607 "type" : "array",
608 "items" : {
609 "type" : "string"
610 }
611 }
612 }
613 },
614 "x-camelContextId" : "camel-1",
615 "x-routeId" : null
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200616 }
xg353y2aad6d62018-05-18 17:59:06 +0200617 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200618 "/v1/clds/cldsInfo" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200619 "get" : {
sebdet3b7f6692020-02-17 06:03:31 -0800620 "operationId" : "route30",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200621 "produces" : [ "application/json" ],
622 "responses" : {
623 "200" : {
624 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200625 "schema" : {
626 "$ref" : "#/definitions/CldsInfo"
xg353y2aad6d62018-05-18 17:59:06 +0200627 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200628 }
xg353y2aad6d62018-05-18 17:59:06 +0200629 },
sebdet3b7f6692020-02-17 06:03:31 -0800630 "x-camelContextId" : "camel-1",
631 "x-routeId" : "route30"
sebdet4d1e6b92018-10-23 16:54:02 +0200632 }
633 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200634 "/v1/healthcheck" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200635 "get" : {
sebdet3b7f6692020-02-17 06:03:31 -0800636 "operationId" : "route31",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200637 "produces" : [ "application/json" ],
638 "responses" : {
sebdet5b410e62019-09-11 15:11:03 +0200639 "200" : {
640 "description" : "Output type",
641 "schema" : {
642 "$ref" : "#/definitions/CldsHealthCheck"
643 }
644 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200645 },
sebdet3b7f6692020-02-17 06:03:31 -0800646 "x-camelContextId" : "camel-1",
647 "x-routeId" : "route31"
sebdet4d1e6b92018-10-23 16:54:02 +0200648 }
649 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200650 "/v1/user/getUser" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200651 "get" : {
sebdet3b7f6692020-02-17 06:03:31 -0800652 "operationId" : "route32",
sebdet4d1e6b92018-10-23 16:54:02 +0200653 "produces" : [ "text/plain" ],
654 "responses" : {
655 "200" : { }
656 },
sebdet3b7f6692020-02-17 06:03:31 -0800657 "x-camelContextId" : "camel-1",
658 "x-routeId" : "route32"
sebdet4d1e6b92018-10-23 16:54:02 +0200659 }
xg353y2aad6d62018-05-18 17:59:06 +0200660 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200661 },
662 "definitions" : {
sebdet3b7f6692020-02-17 06:03:31 -0800663 "Dictionary" : {
664 "type" : "object",
665 "properties" : {
666 "createdDate" : {
667 "type" : "integer",
668 "format" : "int64"
669 },
670 "updatedDate" : {
671 "type" : "integer",
672 "format" : "int64"
673 },
674 "updatedBy" : {
675 "type" : "string"
676 },
677 "createdBy" : {
678 "type" : "string"
679 },
680 "name" : {
681 "type" : "string"
682 },
683 "secondLevelDictionary" : {
684 "type" : "integer",
685 "format" : "int32"
686 },
687 "subDictionaryType" : {
688 "type" : "string"
689 },
690 "dictionaryElements" : {
691 "type" : "array",
692 "uniqueItems" : true,
693 "items" : {
694 "$ref" : "#/definitions/DictionaryElement"
695 }
696 }
697 },
698 "x-className" : {
699 "type" : "string",
700 "format" : "org.onap.clamp.tosca.Dictionary"
701 }
702 },
703 "DictionaryElement" : {
704 "type" : "object",
705 "properties" : {
706 "createdDate" : {
707 "type" : "integer",
708 "format" : "int64"
709 },
710 "updatedDate" : {
711 "type" : "integer",
712 "format" : "int64"
713 },
714 "updatedBy" : {
715 "type" : "string"
716 },
717 "createdBy" : {
718 "type" : "string"
719 },
720 "shortName" : {
721 "type" : "string"
722 },
723 "name" : {
724 "type" : "string"
725 },
726 "description" : {
727 "type" : "string"
728 },
729 "type" : {
730 "type" : "string"
731 },
732 "subDictionary" : {
733 "type" : "string"
734 },
735 "usedByDictionaries" : {
736 "type" : "array",
737 "uniqueItems" : true,
738 "items" : {
739 "$ref" : "#/definitions/Dictionary"
740 }
741 }
742 }
743 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200744 "Loop" : {
745 "type" : "object",
746 "properties" : {
nrpandya82561262019-11-21 11:51:18 -0600747 "createdDate" : {
748 "type" : "integer",
749 "format" : "int64"
750 },
751 "updatedDate" : {
752 "type" : "integer",
753 "format" : "int64"
754 },
755 "updatedBy" : {
756 "type" : "string"
757 },
758 "createdBy" : {
759 "type" : "string"
760 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200761 "name" : {
762 "type" : "string"
763 },
764 "dcaeDeploymentId" : {
765 "type" : "string"
766 },
767 "dcaeDeploymentStatusUrl" : {
768 "type" : "string"
769 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200770 "svgRepresentation" : {
771 "type" : "string"
772 },
773 "globalPropertiesJson" : {
774 "$ref" : "#/definitions/JsonObject"
775 },
nrpandya82561262019-11-21 11:51:18 -0600776 "modelService" : {
777 "$ref" : "#/definitions/Service"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200778 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200779 "lastComputedState" : {
780 "type" : "string",
781 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
782 },
sebdet101193d2019-09-05 18:25:59 +0200783 "components" : {
784 "type" : "object",
785 "additionalProperties" : {
786 "$ref" : "#/definitions/ExternalComponent"
787 }
788 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200789 "operationalPolicies" : {
790 "type" : "array",
791 "uniqueItems" : true,
792 "items" : {
793 "$ref" : "#/definitions/OperationalPolicy"
794 }
795 },
796 "microServicePolicies" : {
797 "type" : "array",
798 "uniqueItems" : true,
799 "items" : {
800 "$ref" : "#/definitions/MicroServicePolicy"
801 }
802 },
803 "loopLogs" : {
804 "type" : "array",
805 "uniqueItems" : true,
806 "items" : {
807 "$ref" : "#/definitions/LoopLog"
808 }
nrpandya82561262019-11-21 11:51:18 -0600809 },
810 "loopTemplate" : {
811 "$ref" : "#/definitions/LoopTemplate"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200812 }
813 },
814 "x-className" : {
815 "type" : "string",
816 "format" : "org.onap.clamp.loop.Loop"
817 }
818 },
nrpandya82561262019-11-21 11:51:18 -0600819 "JsonPrimitive" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200820 "type" : "object",
821 "properties" : {
xuegao58c7c972019-09-26 13:29:10 +0200822 "asBoolean" : {
823 "type" : "boolean"
sebdet101193d2019-09-05 18:25:59 +0200824 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200825 "number" : {
826 "type" : "boolean"
827 },
nrpandya82561262019-11-21 11:51:18 -0600828 "asString" : {
829 "type" : "string"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200830 },
sebdet3b7f6692020-02-17 06:03:31 -0800831 "asBigInteger" : {
832 "type" : "integer"
833 },
834 "asShort" : {
835 "type" : "integer",
836 "format" : "int32"
837 },
838 "boolean" : {
839 "type" : "boolean"
840 },
841 "string" : {
842 "type" : "boolean"
843 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200844 "asNumber" : {
845 "$ref" : "#/definitions/Number"
846 },
847 "asDouble" : {
848 "type" : "number",
849 "format" : "double"
850 },
851 "asFloat" : {
852 "type" : "number",
853 "format" : "float"
854 },
855 "asLong" : {
856 "type" : "integer",
857 "format" : "int64"
858 },
859 "asInt" : {
860 "type" : "integer",
861 "format" : "int32"
862 },
863 "asByte" : {
864 "type" : "string",
865 "format" : "byte"
866 },
867 "asCharacter" : {
868 "type" : "string"
869 },
870 "asBigDecimal" : {
871 "type" : "number"
872 },
nrpandya82561262019-11-21 11:51:18 -0600873 "asJsonObject" : {
874 "$ref" : "#/definitions/JsonObject"
875 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200876 "asJsonPrimitive" : {
877 "$ref" : "#/definitions/JsonPrimitive"
878 },
sebdet3b7f6692020-02-17 06:03:31 -0800879 "asJsonArray" : {
880 "$ref" : "#/definitions/JsonArray"
sebdet0387f232019-09-09 17:32:53 +0200881 },
sebdetc85d40b2019-09-10 15:57:10 +0200882 "jsonObject" : {
883 "type" : "boolean"
884 },
sebdet3b7f6692020-02-17 06:03:31 -0800885 "jsonArray" : {
886 "type" : "boolean"
887 },
xuegao58c7c972019-09-26 13:29:10 +0200888 "jsonPrimitive" : {
sebdetc85d40b2019-09-10 15:57:10 +0200889 "type" : "boolean"
xuegao58c7c972019-09-26 13:29:10 +0200890 },
nrpandya82561262019-11-21 11:51:18 -0600891 "jsonNull" : {
892 "type" : "boolean"
xuegao58c7c972019-09-26 13:29:10 +0200893 },
nrpandya82561262019-11-21 11:51:18 -0600894 "asJsonNull" : {
895 "$ref" : "#/definitions/JsonNull"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200896 }
897 }
898 },
899 "MicroServicePolicy" : {
900 "type" : "object",
901 "properties" : {
nrpandya82561262019-11-21 11:51:18 -0600902 "createdDate" : {
903 "type" : "integer",
904 "format" : "int64"
905 },
906 "updatedDate" : {
907 "type" : "integer",
908 "format" : "int64"
909 },
910 "updatedBy" : {
911 "type" : "string"
912 },
913 "createdBy" : {
914 "type" : "string"
915 },
sebdet3b7f6692020-02-17 06:03:31 -0800916 "jsonRepresentation" : {
917 "$ref" : "#/definitions/JsonObject"
918 },
919 "configurationsJson" : {
920 "$ref" : "#/definitions/JsonObject"
921 },
922 "loopElementModel" : {
923 "$ref" : "#/definitions/LoopElementModel"
924 },
925 "pdpGroup" : {
926 "type" : "string"
927 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200928 "name" : {
929 "type" : "string"
930 },
931 "modelType" : {
932 "type" : "string"
933 },
nrpandya82561262019-11-21 11:51:18 -0600934 "context" : {
935 "type" : "string"
936 },
937 "deviceTypeScope" : {
938 "type" : "string"
939 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200940 "shared" : {
941 "type" : "boolean"
942 },
943 "policyTosca" : {
944 "type" : "string"
945 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200946 "usedByLoops" : {
947 "type" : "array",
948 "uniqueItems" : true,
949 "items" : {
950 "$ref" : "#/definitions/Loop"
951 }
nrpandya82561262019-11-21 11:51:18 -0600952 },
sebdet3b7f6692020-02-17 06:03:31 -0800953 "dcaeDeploymentId" : {
954 "type" : "string"
955 },
956 "dcaeDeploymentStatusUrl" : {
957 "type" : "string"
958 },
959 "dcaeBlueprintId" : {
960 "type" : "string"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200961 }
962 },
963 "x-className" : {
964 "type" : "string",
965 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
966 }
967 },
968 "JsonObject" : {
969 "type" : "object",
970 "properties" : {
nrpandya82561262019-11-21 11:51:18 -0600971 "asBoolean" : {
972 "type" : "boolean"
973 },
974 "asJsonObject" : {
975 "$ref" : "#/definitions/JsonObject"
976 },
sebdet3b7f6692020-02-17 06:03:31 -0800977 "asJsonPrimitive" : {
978 "$ref" : "#/definitions/JsonPrimitive"
979 },
nrpandya82561262019-11-21 11:51:18 -0600980 "asString" : {
981 "type" : "string"
982 },
983 "asJsonArray" : {
984 "$ref" : "#/definitions/JsonArray"
985 },
sebdet3b7f6692020-02-17 06:03:31 -0800986 "jsonObject" : {
nrpandya82561262019-11-21 11:51:18 -0600987 "type" : "boolean"
988 },
sebdet3b7f6692020-02-17 06:03:31 -0800989 "asBigInteger" : {
990 "type" : "integer"
991 },
992 "asShort" : {
993 "type" : "integer",
994 "format" : "int32"
995 },
996 "jsonArray" : {
nrpandya82561262019-11-21 11:51:18 -0600997 "type" : "boolean"
998 },
999 "jsonPrimitive" : {
1000 "type" : "boolean"
1001 },
1002 "jsonNull" : {
1003 "type" : "boolean"
1004 },
xuegao58c7c972019-09-26 13:29:10 +02001005 "asJsonNull" : {
1006 "$ref" : "#/definitions/JsonNull"
sebdet101193d2019-09-05 18:25:59 +02001007 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001008 "asNumber" : {
1009 "$ref" : "#/definitions/Number"
1010 },
1011 "asDouble" : {
1012 "type" : "number",
1013 "format" : "double"
1014 },
1015 "asFloat" : {
1016 "type" : "number",
1017 "format" : "float"
1018 },
1019 "asLong" : {
1020 "type" : "integer",
1021 "format" : "int64"
1022 },
1023 "asInt" : {
1024 "type" : "integer",
1025 "format" : "int32"
1026 },
1027 "asByte" : {
1028 "type" : "string",
1029 "format" : "byte"
1030 },
1031 "asCharacter" : {
1032 "type" : "string"
1033 },
1034 "asBigDecimal" : {
1035 "type" : "number"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001036 }
1037 },
1038 "x-className" : {
1039 "type" : "string",
1040 "format" : "com.google.gson.JsonObject"
1041 }
1042 },
nrpandya82561262019-11-21 11:51:18 -06001043 "PolicyModel" : {
sebdet101193d2019-09-05 18:25:59 +02001044 "type" : "object",
1045 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001046 "createdDate" : {
1047 "type" : "integer",
1048 "format" : "int64"
sebdet101193d2019-09-05 18:25:59 +02001049 },
nrpandya82561262019-11-21 11:51:18 -06001050 "updatedDate" : {
1051 "type" : "integer",
1052 "format" : "int64"
1053 },
1054 "updatedBy" : {
sebdet101193d2019-09-05 18:25:59 +02001055 "type" : "string"
nrpandya82561262019-11-21 11:51:18 -06001056 },
1057 "createdBy" : {
1058 "type" : "string"
1059 },
1060 "policyModelType" : {
1061 "type" : "string"
1062 },
1063 "version" : {
1064 "type" : "string"
1065 },
1066 "policyModelTosca" : {
1067 "type" : "string"
1068 },
1069 "policyAcronym" : {
1070 "type" : "string"
1071 },
sebdet3b7f6692020-02-17 06:03:31 -08001072 "usedByElementModels" : {
1073 "type" : "array",
1074 "uniqueItems" : true,
1075 "items" : {
1076 "$ref" : "#/definitions/LoopElementModel"
1077 }
nrpandya82561262019-11-21 11:51:18 -06001078 }
sebdet3b7f6692020-02-17 06:03:31 -08001079 },
1080 "x-className" : {
1081 "type" : "string",
1082 "format" : "org.onap.clamp.loop.template.PolicyModel"
nrpandya82561262019-11-21 11:51:18 -06001083 }
1084 },
1085 "Service" : {
1086 "type" : "object",
1087 "properties" : {
1088 "serviceUuid" : {
1089 "type" : "string"
1090 },
sebdet3b7f6692020-02-17 06:03:31 -08001091 "name" : {
1092 "type" : "string"
1093 },
1094 "version" : {
1095 "type" : "string"
1096 },
nrpandya82561262019-11-21 11:51:18 -06001097 "serviceDetails" : {
1098 "$ref" : "#/definitions/JsonObject"
1099 },
1100 "resourceDetails" : {
1101 "$ref" : "#/definitions/JsonObject"
sebdet101193d2019-09-05 18:25:59 +02001102 }
1103 }
1104 },
sebdet3b7f6692020-02-17 06:03:31 -08001105 "LoopTemplateLoopElementModel" : {
1106 "type" : "object",
1107 "properties" : {
1108 "loopTemplate" : {
1109 "$ref" : "#/definitions/LoopTemplate"
1110 },
1111 "loopElementModel" : {
1112 "$ref" : "#/definitions/LoopElementModel"
1113 },
1114 "flowOrder" : {
1115 "type" : "integer",
1116 "format" : "int32"
1117 }
1118 }
1119 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001120 "OperationalPolicy" : {
1121 "type" : "object",
1122 "properties" : {
sebdet3b7f6692020-02-17 06:03:31 -08001123 "createdDate" : {
1124 "type" : "integer",
1125 "format" : "int64"
1126 },
1127 "updatedDate" : {
1128 "type" : "integer",
1129 "format" : "int64"
1130 },
1131 "updatedBy" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001132 "type" : "string"
1133 },
sebdet3b7f6692020-02-17 06:03:31 -08001134 "createdBy" : {
1135 "type" : "string"
1136 },
1137 "jsonRepresentation" : {
1138 "$ref" : "#/definitions/JsonObject"
1139 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001140 "configurationsJson" : {
1141 "$ref" : "#/definitions/JsonObject"
1142 },
sebdet3b7f6692020-02-17 06:03:31 -08001143 "loopElementModel" : {
1144 "$ref" : "#/definitions/LoopElementModel"
1145 },
1146 "pdpGroup" : {
1147 "type" : "string"
1148 },
1149 "name" : {
1150 "type" : "string"
1151 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001152 "loop" : {
1153 "$ref" : "#/definitions/Loop"
1154 },
nrpandya82561262019-11-21 11:51:18 -06001155 "policyModel" : {
1156 "$ref" : "#/definitions/PolicyModel"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001157 }
1158 }
1159 },
1160 "JsonNull" : {
1161 "type" : "object",
1162 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001163 "asBoolean" : {
1164 "type" : "boolean"
1165 },
1166 "asJsonObject" : {
1167 "$ref" : "#/definitions/JsonObject"
1168 },
sebdet3b7f6692020-02-17 06:03:31 -08001169 "asJsonPrimitive" : {
1170 "$ref" : "#/definitions/JsonPrimitive"
1171 },
nrpandya82561262019-11-21 11:51:18 -06001172 "asString" : {
1173 "type" : "string"
1174 },
1175 "asJsonArray" : {
1176 "$ref" : "#/definitions/JsonArray"
1177 },
sebdet3b7f6692020-02-17 06:03:31 -08001178 "jsonObject" : {
nrpandya82561262019-11-21 11:51:18 -06001179 "type" : "boolean"
1180 },
sebdet3b7f6692020-02-17 06:03:31 -08001181 "asBigInteger" : {
1182 "type" : "integer"
1183 },
1184 "asShort" : {
1185 "type" : "integer",
1186 "format" : "int32"
1187 },
1188 "jsonArray" : {
nrpandya82561262019-11-21 11:51:18 -06001189 "type" : "boolean"
1190 },
1191 "jsonPrimitive" : {
1192 "type" : "boolean"
1193 },
1194 "jsonNull" : {
1195 "type" : "boolean"
1196 },
xuegao58c7c972019-09-26 13:29:10 +02001197 "asJsonNull" : {
1198 "$ref" : "#/definitions/JsonNull"
sebdet101193d2019-09-05 18:25:59 +02001199 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001200 "asNumber" : {
1201 "$ref" : "#/definitions/Number"
1202 },
nrpandya82561262019-11-21 11:51:18 -06001203 "asDouble" : {
1204 "type" : "number",
1205 "format" : "double"
1206 },
1207 "asFloat" : {
1208 "type" : "number",
1209 "format" : "float"
1210 },
1211 "asLong" : {
1212 "type" : "integer",
1213 "format" : "int64"
1214 },
1215 "asInt" : {
1216 "type" : "integer",
1217 "format" : "int32"
1218 },
1219 "asByte" : {
1220 "type" : "string",
1221 "format" : "byte"
1222 },
1223 "asCharacter" : {
1224 "type" : "string"
1225 },
1226 "asBigDecimal" : {
1227 "type" : "number"
nrpandya82561262019-11-21 11:51:18 -06001228 }
1229 }
1230 },
1231 "JsonArray" : {
1232 "type" : "object",
1233 "properties" : {
1234 "asBoolean" : {
1235 "type" : "boolean"
1236 },
xuegao58c7c972019-09-26 13:29:10 +02001237 "asString" : {
1238 "type" : "string"
sebdetc85d40b2019-09-10 15:57:10 +02001239 },
sebdet3b7f6692020-02-17 06:03:31 -08001240 "asBigInteger" : {
1241 "type" : "integer"
1242 },
1243 "asShort" : {
1244 "type" : "integer",
1245 "format" : "int32"
1246 },
nrpandya82561262019-11-21 11:51:18 -06001247 "asNumber" : {
1248 "$ref" : "#/definitions/Number"
1249 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001250 "asDouble" : {
1251 "type" : "number",
1252 "format" : "double"
1253 },
1254 "asFloat" : {
1255 "type" : "number",
1256 "format" : "float"
1257 },
1258 "asLong" : {
1259 "type" : "integer",
1260 "format" : "int64"
1261 },
1262 "asInt" : {
1263 "type" : "integer",
1264 "format" : "int32"
1265 },
1266 "asByte" : {
1267 "type" : "string",
1268 "format" : "byte"
1269 },
1270 "asCharacter" : {
1271 "type" : "string"
1272 },
1273 "asBigDecimal" : {
1274 "type" : "number"
1275 },
nrpandya82561262019-11-21 11:51:18 -06001276 "asJsonObject" : {
1277 "$ref" : "#/definitions/JsonObject"
1278 },
nrpandya82561262019-11-21 11:51:18 -06001279 "asJsonPrimitive" : {
1280 "$ref" : "#/definitions/JsonPrimitive"
1281 },
sebdet3b7f6692020-02-17 06:03:31 -08001282 "asJsonArray" : {
1283 "$ref" : "#/definitions/JsonArray"
xuegao58c7c972019-09-26 13:29:10 +02001284 },
1285 "jsonObject" : {
1286 "type" : "boolean"
1287 },
sebdet3b7f6692020-02-17 06:03:31 -08001288 "jsonArray" : {
1289 "type" : "boolean"
1290 },
xuegao58c7c972019-09-26 13:29:10 +02001291 "jsonPrimitive" : {
1292 "type" : "boolean"
1293 },
nrpandya82561262019-11-21 11:51:18 -06001294 "jsonNull" : {
1295 "type" : "boolean"
xuegao58c7c972019-09-26 13:29:10 +02001296 },
nrpandya82561262019-11-21 11:51:18 -06001297 "asJsonNull" : {
1298 "$ref" : "#/definitions/JsonNull"
1299 }
1300 },
1301 "x-className" : {
1302 "type" : "string",
1303 "format" : "com.google.gson.JsonArray"
1304 }
1305 },
1306 "LoopLog" : {
1307 "type" : "object",
1308 "properties" : {
1309 "id" : {
1310 "type" : "integer",
1311 "format" : "int64"
1312 },
1313 "logType" : {
1314 "type" : "string",
1315 "enum" : [ "INFO", "WARNING", "ERROR" ]
1316 },
1317 "logComponent" : {
1318 "type" : "string"
1319 },
1320 "message" : {
1321 "type" : "string"
1322 },
1323 "loop" : {
1324 "$ref" : "#/definitions/Loop"
1325 },
1326 "logInstant" : {
1327 "type" : "integer",
1328 "format" : "int64"
1329 }
1330 }
1331 },
nrpandya82561262019-11-21 11:51:18 -06001332 "Number" : {
1333 "type" : "object"
1334 },
1335 "ExternalComponent" : {
1336 "type" : "object",
1337 "properties" : {
1338 "state" : {
1339 "$ref" : "#/definitions/ExternalComponentState"
1340 },
1341 "componentName" : {
1342 "type" : "string"
1343 }
1344 }
1345 },
1346 "LoopTemplate" : {
1347 "type" : "object",
1348 "properties" : {
1349 "createdDate" : {
1350 "type" : "integer",
1351 "format" : "int64"
1352 },
1353 "updatedDate" : {
1354 "type" : "integer",
1355 "format" : "int64"
1356 },
1357 "updatedBy" : {
1358 "type" : "string"
1359 },
1360 "createdBy" : {
1361 "type" : "string"
1362 },
1363 "name" : {
1364 "type" : "string"
1365 },
sebdet3b7f6692020-02-17 06:03:31 -08001366 "dcaeBlueprintId" : {
1367 "type" : "string"
1368 },
nrpandya82561262019-11-21 11:51:18 -06001369 "blueprint" : {
1370 "type" : "string"
1371 },
1372 "svgRepresentation" : {
1373 "type" : "string"
1374 },
sebdet3b7f6692020-02-17 06:03:31 -08001375 "loopElementModelsUsed" : {
nrpandya82561262019-11-21 11:51:18 -06001376 "type" : "array",
1377 "uniqueItems" : true,
1378 "items" : {
sebdet3b7f6692020-02-17 06:03:31 -08001379 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
nrpandya82561262019-11-21 11:51:18 -06001380 }
1381 },
1382 "modelService" : {
1383 "$ref" : "#/definitions/Service"
1384 },
1385 "maximumInstancesAllowed" : {
1386 "type" : "integer",
1387 "format" : "int32"
sebdet3b7f6692020-02-17 06:03:31 -08001388 },
1389 "uniqueBlueprint" : {
1390 "type" : "boolean"
1391 },
1392 "allowedLoopType" : {
1393 "type" : "string",
1394 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
nrpandya82561262019-11-21 11:51:18 -06001395 }
sebdet3b7f6692020-02-17 06:03:31 -08001396 },
1397 "x-className" : {
1398 "type" : "string",
1399 "format" : "org.onap.clamp.loop.template.LoopTemplate"
nrpandya82561262019-11-21 11:51:18 -06001400 }
1401 },
1402 "ExternalComponentState" : {
1403 "type" : "object",
1404 "properties" : {
1405 "stateName" : {
1406 "type" : "string"
1407 },
1408 "description" : {
1409 "type" : "string"
1410 },
1411 "level" : {
1412 "type" : "integer",
1413 "format" : "int32"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001414 }
1415 }
1416 },
sebdet3b7f6692020-02-17 06:03:31 -08001417 "LoopElementModel" : {
1418 "type" : "object",
1419 "properties" : {
1420 "createdDate" : {
1421 "type" : "integer",
1422 "format" : "int64"
1423 },
1424 "updatedDate" : {
1425 "type" : "integer",
1426 "format" : "int64"
1427 },
1428 "updatedBy" : {
1429 "type" : "string"
1430 },
1431 "createdBy" : {
1432 "type" : "string"
1433 },
1434 "name" : {
1435 "type" : "string"
1436 },
1437 "dcaeBlueprintId" : {
1438 "type" : "string"
1439 },
1440 "blueprint" : {
1441 "type" : "string"
1442 },
1443 "loopElementType" : {
1444 "type" : "string"
1445 },
1446 "shortName" : {
1447 "type" : "string"
1448 },
1449 "policyModels" : {
1450 "type" : "array",
1451 "uniqueItems" : true,
1452 "items" : {
1453 "$ref" : "#/definitions/PolicyModel"
1454 }
1455 },
1456 "usedByLoopTemplates" : {
1457 "type" : "array",
1458 "uniqueItems" : true,
1459 "items" : {
1460 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1461 }
1462 }
1463 }
1464 },
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001465 "CldsInfo" : {
1466 "type" : "object",
1467 "properties" : {
1468 "userName" : {
1469 "type" : "string"
1470 },
1471 "cldsVersion" : {
1472 "type" : "string"
1473 },
1474 "permissionReadCl" : {
1475 "type" : "boolean"
1476 },
1477 "permissionUpdateCl" : {
1478 "type" : "boolean"
1479 },
1480 "permissionReadTemplate" : {
1481 "type" : "boolean"
1482 },
1483 "permissionUpdateTemplate" : {
1484 "type" : "boolean"
sebdet4d1e6b92018-10-23 16:54:02 +02001485 },
1486 "permissionReadTosca" : {
1487 "type" : "boolean"
1488 },
1489 "permissionUpdateTosca" : {
1490 "type" : "boolean"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001491 }
1492 },
1493 "x-className" : {
1494 "type" : "string",
1495 "format" : "org.onap.clamp.clds.model.CldsInfo"
1496 }
sebdet5b410e62019-09-11 15:11:03 +02001497 },
1498 "CldsHealthCheck" : {
1499 "type" : "object",
1500 "properties" : {
1501 "healthCheckComponent" : {
1502 "type" : "string"
1503 },
1504 "healthCheckStatus" : {
1505 "type" : "string"
1506 },
1507 "description" : {
1508 "type" : "string"
1509 }
1510 },
1511 "x-className" : {
1512 "type" : "string",
1513 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
1514 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001515 }
1516 }
xg353y2aad6d62018-05-18 17:59:06 +02001517}