25b09a700396f4d7b368ec310c92512b24695c6c
[clamp.git] / docs / swagger / swagger.json
1 {
2   "swagger" : "2.0",
3   "info" : {
4     "version" : "5.1.0-SNAPSHOT",
5     "title" : "Clamp Rest API"
6   },
7   "host" : "localhost:37033",
8   "basePath" : "/restservices/clds/",
9   "schemes" : [ "http" ],
10   "paths" : {
11     "/v2/clampInformation" : {
12       "get" : {
13         "operationId" : "route112",
14         "produces" : [ "application/json" ],
15         "responses" : {
16           "200" : {
17             "description" : "Output type",
18             "schema" : {
19               "$ref" : "#/definitions/ClampInformation"
20             }
21           }
22         },
23         "x-camelContextId" : "camel-3",
24         "x-routeId" : "route112"
25       }
26     },
27     "/v2/dictionary" : {
28       "get" : {
29         "operationId" : "route96",
30         "produces" : [ "application/json" ],
31         "responses" : {
32           "200" : {
33             "description" : "Output type",
34             "schema" : {
35               "$ref" : "#/definitions/Dictionary"
36             }
37           }
38         },
39         "x-camelContextId" : "camel-3",
40         "x-routeId" : "route96"
41       },
42       "put" : {
43         "operationId" : "route99",
44         "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         },
62         "x-camelContextId" : "camel-3",
63         "x-routeId" : "route99"
64       }
65     },
66     "/v2/dictionary/{dictionaryName}" : {
67       "get" : {
68         "operationId" : "route98",
69         "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         },
84         "x-camelContextId" : "camel-3",
85         "x-routeId" : "route98"
86       }
87     },
88     "/v2/dictionary/{name}" : {
89       "put" : {
90         "operationId" : "route100",
91         "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         },
114         "x-camelContextId" : "camel-3",
115         "x-routeId" : "route100"
116       },
117       "delete" : {
118         "operationId" : "route101",
119         "produces" : [ "application/json" ],
120         "parameters" : [ {
121           "name" : "name",
122           "in" : "path",
123           "required" : true,
124           "type" : "string"
125         } ],
126         "responses" : {
127           "200" : { }
128         },
129         "x-camelContextId" : "camel-3",
130         "x-routeId" : "route101"
131       }
132     },
133     "/v2/dictionary/{name}/elements/{shortName}" : {
134       "delete" : {
135         "operationId" : "route102",
136         "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         },
151         "x-camelContextId" : "camel-3",
152         "x-routeId" : "route102"
153       }
154     },
155     "/v2/dictionary/secondary/names" : {
156       "get" : {
157         "operationId" : "route97",
158         "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         },
170         "x-camelContextId" : "camel-3",
171         "x-routeId" : "route97"
172       }
173     },
174     "/v2/loop/{loopName}" : {
175       "get" : {
176         "operationId" : "route79",
177         "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         },
192         "x-camelContextId" : "camel-3",
193         "x-routeId" : "route79"
194       }
195     },
196     "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
197       "put" : {
198         "operationId" : "route93",
199         "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         },
224         "x-camelContextId" : "camel-3",
225         "x-routeId" : "route93"
226       }
227     },
228     "/v2/loop/create/{loopName}?templateName={templateName}" : {
229       "post" : {
230         "operationId" : "route95",
231         "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         },
247         "x-camelContextId" : "camel-3",
248         "x-routeId" : "route95"
249       }
250     },
251     "/v2/loop/delete/{loopName}" : {
252       "put" : {
253         "operationId" : "route91",
254         "parameters" : [ {
255           "name" : "loopName",
256           "in" : "path",
257           "required" : true,
258           "type" : "string"
259         } ],
260         "responses" : {
261           "200" : { }
262         },
263         "x-camelContextId" : "camel-3",
264         "x-routeId" : "route91"
265       }
266     },
267     "/v2/loop/deploy/{loopName}" : {
268       "put" : {
269         "operationId" : "route84",
270         "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         },
285         "x-camelContextId" : "camel-3",
286         "x-routeId" : "route84"
287       }
288     },
289     "/v2/loop/getAllNames" : {
290       "get" : {
291         "operationId" : "route78",
292         "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         },
304         "x-camelContextId" : "camel-3",
305         "x-routeId" : "route78"
306       }
307     },
308     "/v2/loop/getstatus/{loopName}" : {
309       "get" : {
310         "operationId" : "route92",
311         "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         },
326         "x-camelContextId" : "camel-3",
327         "x-routeId" : "route92"
328       }
329     },
330     "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
331       "put" : {
332         "operationId" : "route85",
333         "produces" : [ "application/json" ],
334         "parameters" : [ {
335           "name" : "loopName",
336           "in" : "path",
337           "required" : true,
338           "type" : "string"
339         }, {
340           "name" : "microServicePolicyName",
341           "in" : "path",
342           "required" : true,
343           "type" : "string"
344         } ],
345         "responses" : {
346           "200" : {
347             "description" : "Output type",
348             "schema" : {
349               "$ref" : "#/definitions/Loop"
350             }
351           }
352         },
353         "x-camelContextId" : "camel-3",
354         "x-routeId" : "route85"
355       }
356     },
357     "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
358       "put" : {
359         "operationId" : "route86",
360         "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         },
380         "x-camelContextId" : "camel-3",
381         "x-routeId" : "route86"
382       }
383     },
384     "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
385       "put" : {
386         "operationId" : "route94",
387         "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"
403         }, {
404           "name" : "policyName",
405           "in" : "path",
406           "required" : true,
407           "type" : "string"
408         } ],
409         "responses" : {
410           "200" : {
411             "description" : "Output type",
412             "schema" : {
413               "$ref" : "#/definitions/Loop"
414             }
415           }
416         },
417         "x-camelContextId" : "camel-3",
418         "x-routeId" : "route94"
419       }
420     },
421     "/v2/loop/restart/{loopName}" : {
422       "put" : {
423         "operationId" : "route89",
424         "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         },
439         "x-camelContextId" : "camel-3",
440         "x-routeId" : "route89"
441       }
442     },
443     "/v2/loop/stop/{loopName}" : {
444       "put" : {
445         "operationId" : "route88",
446         "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         },
461         "x-camelContextId" : "camel-3",
462         "x-routeId" : "route88"
463       }
464     },
465     "/v2/loop/submit/{loopName}" : {
466       "put" : {
467         "operationId" : "route90",
468         "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         },
483         "x-camelContextId" : "camel-3",
484         "x-routeId" : "route90"
485       }
486     },
487     "/v2/loop/svgRepresentation/{loopName}" : {
488       "get" : {
489         "operationId" : "route80",
490         "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         },
505         "x-camelContextId" : "camel-3",
506         "x-routeId" : "route80"
507       }
508     },
509     "/v2/loop/undeploy/{loopName}" : {
510       "put" : {
511         "operationId" : "route87",
512         "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         },
527         "x-camelContextId" : "camel-3",
528         "x-routeId" : "route87"
529       }
530     },
531     "/v2/loop/updateGlobalProperties/{loopName}" : {
532       "post" : {
533         "operationId" : "route81",
534         "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         },
557         "x-camelContextId" : "camel-3",
558         "x-routeId" : "route81"
559       }
560     },
561     "/v2/loop/updateMicroservicePolicy/{loopName}" : {
562       "post" : {
563         "operationId" : "route83",
564         "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         },
587         "x-camelContextId" : "camel-3",
588         "x-routeId" : "route83"
589       }
590     },
591     "/v2/loop/updateOperationalPolicies/{loopName}" : {
592       "post" : {
593         "operationId" : "route82",
594         "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         },
617         "x-camelContextId" : "camel-3",
618         "x-routeId" : "route82"
619       }
620     },
621     "/v2/policyToscaModels" : {
622       "get" : {
623         "operationId" : "route103",
624         "produces" : [ "application/json" ],
625         "responses" : {
626           "200" : {
627             "description" : "Output type",
628             "schema" : {
629               "$ref" : "#/definitions/PolicyModel"
630             }
631           }
632         },
633         "x-camelContextId" : "camel-3",
634         "x-routeId" : "route103"
635       },
636       "post" : {
637         "operationId" : "route106",
638         "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         },
656         "x-camelContextId" : "camel-3",
657         "x-routeId" : "route106"
658       }
659     },
660     "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
661       "get" : {
662         "operationId" : "route104",
663         "produces" : [ "application/json" ],
664         "parameters" : [ {
665           "name" : "policyModelType",
666           "in" : "path",
667           "required" : true,
668           "type" : "string"
669         }, {
670           "name" : "policyModelVersion",
671           "in" : "path",
672           "required" : true,
673           "type" : "string"
674         } ],
675         "responses" : {
676           "200" : {
677             "description" : "Output type",
678             "schema" : {
679               "$ref" : "#/definitions/PolicyModel"
680             }
681           }
682         },
683         "x-camelContextId" : "camel-3",
684         "x-routeId" : "route104"
685       },
686       "put" : {
687         "operationId" : "route107",
688         "consumes" : [ "plain/text" ],
689         "produces" : [ "application/json" ],
690         "parameters" : [ {
691           "name" : "policyModelType",
692           "in" : "path",
693           "required" : true,
694           "type" : "string"
695         }, {
696           "name" : "policyModelVersion",
697           "in" : "path",
698           "required" : true,
699           "type" : "string"
700         }, {
701           "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         },
716         "x-camelContextId" : "camel-3",
717         "x-routeId" : "route107"
718       }
719     },
720     "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
721       "get" : {
722         "operationId" : "route105",
723         "produces" : [ "application/json" ],
724         "parameters" : [ {
725           "name" : "policyModelType",
726           "in" : "path",
727           "required" : true,
728           "type" : "string"
729         }, {
730           "name" : "policyModelVersion",
731           "in" : "path",
732           "required" : true,
733           "type" : "string"
734         } ],
735         "responses" : {
736           "200" : {
737             "description" : "Output type",
738             "schema" : {
739               "type" : "string"
740             }
741           }
742         },
743         "x-camelContextId" : "camel-3",
744         "x-routeId" : "route105"
745       }
746     },
747     "/v2/templates" : {
748       "get" : {
749         "operationId" : "route108",
750         "produces" : [ "application/json" ],
751         "responses" : {
752           "200" : {
753             "description" : "Output type",
754             "schema" : {
755               "$ref" : "#/definitions/LoopTemplate"
756             }
757           }
758         },
759         "x-camelContextId" : "camel-3",
760         "x-routeId" : "route108"
761       }
762     },
763     "/v2/templates/{templateName}" : {
764       "get" : {
765         "operationId" : "route109",
766         "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         },
781         "x-camelContextId" : "camel-3",
782         "x-routeId" : "route109"
783       }
784     },
785     "/v2/templates/{templateName}/svgRepresentation" : {
786       "get" : {
787         "operationId" : "route111",
788         "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         },
803         "x-camelContextId" : "camel-3",
804         "x-routeId" : "route111"
805       }
806     },
807     "/v2/templates/names" : {
808       "get" : {
809         "operationId" : "route110",
810         "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         },
822         "x-camelContextId" : "camel-3",
823         "x-routeId" : "route110"
824       }
825     },
826     "/v1/healthcheck" : {
827       "get" : {
828         "operationId" : "route113",
829         "produces" : [ "application/json" ],
830         "responses" : {
831           "200" : {
832             "description" : "Output type",
833             "schema" : {
834               "$ref" : "#/definitions/CldsHealthCheck"
835             }
836           }
837         },
838         "x-camelContextId" : "camel-3",
839         "x-routeId" : "route113"
840       }
841     },
842     "/v1/user/getUser" : {
843       "get" : {
844         "operationId" : "route114",
845         "produces" : [ "text/plain" ],
846         "responses" : {
847           "200" : { }
848         },
849         "x-camelContextId" : "camel-3",
850         "x-routeId" : "route114"
851       }
852     }
853   },
854   "definitions" : {
855     "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     },
876     "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     },
957     "Loop" : {
958       "type" : "object",
959       "properties" : {
960         "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         },
974         "name" : {
975           "type" : "string"
976         },
977         "dcaeDeploymentId" : {
978           "type" : "string"
979         },
980         "dcaeDeploymentStatusUrl" : {
981           "type" : "string"
982         },
983         "svgRepresentation" : {
984           "type" : "string"
985         },
986         "globalPropertiesJson" : {
987           "$ref" : "#/definitions/JsonObject"
988         },
989         "modelService" : {
990           "$ref" : "#/definitions/Service"
991         },
992         "lastComputedState" : {
993           "type" : "string",
994           "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
995         },
996         "components" : {
997           "type" : "object",
998           "additionalProperties" : {
999             "$ref" : "#/definitions/ExternalComponent"
1000           }
1001         },
1002         "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           }
1022         },
1023         "loopTemplate" : {
1024           "$ref" : "#/definitions/LoopTemplate"
1025         }
1026       },
1027       "x-className" : {
1028         "type" : "string",
1029         "format" : "org.onap.clamp.loop.Loop"
1030       }
1031     },
1032     "JsonPrimitive" : {
1033       "type" : "object",
1034       "properties" : {
1035         "asBoolean" : {
1036           "type" : "boolean"
1037         },
1038         "number" : {
1039           "type" : "boolean"
1040         },
1041         "asString" : {
1042           "type" : "string"
1043         },
1044         "asCharacter" : {
1045           "type" : "string"
1046         },
1047         "asBigDecimal" : {
1048           "type" : "number"
1049         },
1050         "asBigInteger" : {
1051           "type" : "integer"
1052         },
1053         "asShort" : {
1054           "type" : "integer",
1055           "format" : "int32"
1056         },
1057         "asNumber" : {
1058           "$ref" : "#/definitions/Number"
1059         },
1060         "asDouble" : {
1061           "type" : "number",
1062           "format" : "double"
1063         },
1064         "asFloat" : {
1065           "type" : "number",
1066           "format" : "float"
1067         },
1068         "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         },
1083         "string" : {
1084           "type" : "boolean"
1085         },
1086         "asJsonArray" : {
1087           "$ref" : "#/definitions/JsonArray"
1088         },
1089         "asJsonObject" : {
1090           "$ref" : "#/definitions/JsonObject"
1091         },
1092         "jsonArray" : {
1093           "type" : "boolean"
1094         },
1095         "asJsonNull" : {
1096           "$ref" : "#/definitions/JsonNull"
1097         },
1098         "jsonPrimitive" : {
1099           "type" : "boolean"
1100         },
1101         "jsonNull" : {
1102           "type" : "boolean"
1103         },
1104         "asJsonPrimitive" : {
1105           "$ref" : "#/definitions/JsonPrimitive"
1106         },
1107         "jsonObject" : {
1108           "type" : "boolean"
1109         }
1110       }
1111     },
1112     "MicroServicePolicy" : {
1113       "type" : "object",
1114       "properties" : {
1115         "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         },
1129         "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         },
1141         "pdpSubgroup" : {
1142           "type" : "string"
1143         },
1144         "policyModel" : {
1145           "$ref" : "#/definitions/PolicyModel"
1146         },
1147         "name" : {
1148           "type" : "string"
1149         },
1150         "context" : {
1151           "type" : "string"
1152         },
1153         "deviceTypeScope" : {
1154           "type" : "string"
1155         },
1156         "shared" : {
1157           "type" : "boolean"
1158         },
1159         "usedByLoops" : {
1160           "type" : "array",
1161           "uniqueItems" : true,
1162           "items" : {
1163             "$ref" : "#/definitions/Loop"
1164           }
1165         },
1166         "dcaeDeploymentId" : {
1167           "type" : "string"
1168         },
1169         "dcaeDeploymentStatusUrl" : {
1170           "type" : "string"
1171         },
1172         "dcaeBlueprintId" : {
1173           "type" : "string"
1174         },
1175         "legacy" : {
1176           "type" : "boolean"
1177         }
1178       },
1179       "x-className" : {
1180         "type" : "string",
1181         "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1182       }
1183     },
1184     "JsonObject" : {
1185       "type" : "object",
1186       "properties" : {
1187         "asBoolean" : {
1188           "type" : "boolean"
1189         },
1190         "asJsonArray" : {
1191           "$ref" : "#/definitions/JsonArray"
1192         },
1193         "asJsonObject" : {
1194           "$ref" : "#/definitions/JsonObject"
1195         },
1196         "asString" : {
1197           "type" : "string"
1198         },
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"
1211         },
1212         "jsonArray" : {
1213           "type" : "boolean"
1214         },
1215         "asJsonNull" : {
1216           "$ref" : "#/definitions/JsonNull"
1217         },
1218         "asNumber" : {
1219           "$ref" : "#/definitions/Number"
1220         },
1221         "jsonPrimitive" : {
1222           "type" : "boolean"
1223         },
1224         "jsonNull" : {
1225           "type" : "boolean"
1226         },
1227         "asJsonPrimitive" : {
1228           "$ref" : "#/definitions/JsonPrimitive"
1229         },
1230         "asDouble" : {
1231           "type" : "number",
1232           "format" : "double"
1233         },
1234         "asFloat" : {
1235           "type" : "number",
1236           "format" : "float"
1237         },
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"
1252         }
1253       },
1254       "x-className" : {
1255         "type" : "string",
1256         "format" : "com.google.gson.JsonObject"
1257       }
1258     },
1259     "PolicyModel" : {
1260       "type" : "object",
1261       "properties" : {
1262         "createdDate" : {
1263           "type" : "integer",
1264           "format" : "int64"
1265         },
1266         "updatedDate" : {
1267           "type" : "integer",
1268           "format" : "int64"
1269         },
1270         "updatedBy" : {
1271           "type" : "string"
1272         },
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         },
1288         "usedByElementModels" : {
1289           "type" : "array",
1290           "uniqueItems" : true,
1291           "items" : {
1292             "$ref" : "#/definitions/LoopElementModel"
1293           }
1294         },
1295         "policyPdpGroup" : {
1296           "$ref" : "#/definitions/JsonObject"
1297         }
1298       },
1299       "x-className" : {
1300         "type" : "string",
1301         "format" : "org.onap.clamp.loop.template.PolicyModel"
1302       }
1303     },
1304     "Service" : {
1305       "type" : "object",
1306       "properties" : {
1307         "serviceUuid" : {
1308           "type" : "string"
1309         },
1310         "name" : {
1311           "type" : "string"
1312         },
1313         "version" : {
1314           "type" : "string"
1315         },
1316         "serviceDetails" : {
1317           "$ref" : "#/definitions/JsonObject"
1318         },
1319         "resourceDetails" : {
1320           "$ref" : "#/definitions/JsonObject"
1321         }
1322       }
1323     },
1324     "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     },
1339     "OperationalPolicy" : {
1340       "type" : "object",
1341       "properties" : {
1342         "createdDate" : {
1343           "type" : "integer",
1344           "format" : "int64"
1345         },
1346         "updatedDate" : {
1347           "type" : "integer",
1348           "format" : "int64"
1349         },
1350         "updatedBy" : {
1351           "type" : "string"
1352         },
1353         "createdBy" : {
1354           "type" : "string"
1355         },
1356         "jsonRepresentation" : {
1357           "$ref" : "#/definitions/JsonObject"
1358         },
1359         "configurationsJson" : {
1360           "$ref" : "#/definitions/JsonObject"
1361         },
1362         "loopElementModel" : {
1363           "$ref" : "#/definitions/LoopElementModel"
1364         },
1365         "pdpGroup" : {
1366           "type" : "string"
1367         },
1368         "pdpSubgroup" : {
1369           "type" : "string"
1370         },
1371         "policyModel" : {
1372           "$ref" : "#/definitions/PolicyModel"
1373         },
1374         "name" : {
1375           "type" : "string"
1376         },
1377         "loop" : {
1378           "$ref" : "#/definitions/Loop"
1379         },
1380         "legacy" : {
1381           "type" : "boolean"
1382         }
1383       }
1384     },
1385     "JsonNull" : {
1386       "type" : "object",
1387       "properties" : {
1388         "asBoolean" : {
1389           "type" : "boolean"
1390         },
1391         "asJsonArray" : {
1392           "$ref" : "#/definitions/JsonArray"
1393         },
1394         "asJsonObject" : {
1395           "$ref" : "#/definitions/JsonObject"
1396         },
1397         "asString" : {
1398           "type" : "string"
1399         },
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"
1412         },
1413         "jsonArray" : {
1414           "type" : "boolean"
1415         },
1416         "asJsonNull" : {
1417           "$ref" : "#/definitions/JsonNull"
1418         },
1419         "asNumber" : {
1420           "$ref" : "#/definitions/Number"
1421         },
1422         "jsonPrimitive" : {
1423           "type" : "boolean"
1424         },
1425         "jsonNull" : {
1426           "type" : "boolean"
1427         },
1428         "asJsonPrimitive" : {
1429           "$ref" : "#/definitions/JsonPrimitive"
1430         },
1431         "asDouble" : {
1432           "type" : "number",
1433           "format" : "double"
1434         },
1435         "asFloat" : {
1436           "type" : "number",
1437           "format" : "float"
1438         },
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"
1453         }
1454       }
1455     },
1456     "JsonArray" : {
1457       "type" : "object",
1458       "properties" : {
1459         "asBoolean" : {
1460           "type" : "boolean"
1461         },
1462         "asString" : {
1463           "type" : "string"
1464         },
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"
1477         },
1478         "asNumber" : {
1479           "$ref" : "#/definitions/Number"
1480         },
1481         "asDouble" : {
1482           "type" : "number",
1483           "format" : "double"
1484         },
1485         "asFloat" : {
1486           "type" : "number",
1487           "format" : "float"
1488         },
1489         "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" : {
1508           "type" : "boolean"
1509         },
1510         "asJsonNull" : {
1511           "$ref" : "#/definitions/JsonNull"
1512         },
1513         "jsonPrimitive" : {
1514           "type" : "boolean"
1515         },
1516         "jsonNull" : {
1517           "type" : "boolean"
1518         },
1519         "asJsonPrimitive" : {
1520           "$ref" : "#/definitions/JsonPrimitive"
1521         },
1522         "jsonObject" : {
1523           "type" : "boolean"
1524         }
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     },
1557     "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         },
1591         "dcaeBlueprintId" : {
1592           "type" : "string"
1593         },
1594         "blueprint" : {
1595           "type" : "string"
1596         },
1597         "svgRepresentation" : {
1598           "type" : "string"
1599         },
1600         "loopElementModelsUsed" : {
1601           "type" : "array",
1602           "uniqueItems" : true,
1603           "items" : {
1604             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1605           }
1606         },
1607         "modelService" : {
1608           "$ref" : "#/definitions/Service"
1609         },
1610         "maximumInstancesAllowed" : {
1611           "type" : "integer",
1612           "format" : "int32"
1613         },
1614         "uniqueBlueprint" : {
1615           "type" : "boolean"
1616         },
1617         "allowedLoopType" : {
1618           "type" : "string",
1619           "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1620         }
1621       },
1622       "x-className" : {
1623         "type" : "string",
1624         "format" : "org.onap.clamp.loop.template.LoopTemplate"
1625       }
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"
1639         }
1640       }
1641     },
1642     "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     },
1690     "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       }
1707     }
1708   }
1709 }