Update some direct dependencies
[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:43065",
8   "basePath" : "/restservices/clds/",
9   "schemes" : [ "http" ],
10   "paths" : {
11     "/v2/clampInformation" : {
12       "get" : {
13         "operationId" : "route142",
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-4",
24         "x-routeId" : "route142"
25       }
26     },
27     "/v2/dictionary" : {
28       "get" : {
29         "operationId" : "route127",
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-4",
40         "x-routeId" : "route127"
41       },
42       "put" : {
43         "operationId" : "route130",
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-4",
63         "x-routeId" : "route130"
64       }
65     },
66     "/v2/dictionary/{dictionaryName}" : {
67       "get" : {
68         "operationId" : "route129",
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-4",
85         "x-routeId" : "route129"
86       }
87     },
88     "/v2/dictionary/{name}" : {
89       "put" : {
90         "operationId" : "route131",
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-4",
115         "x-routeId" : "route131"
116       },
117       "delete" : {
118         "operationId" : "route132",
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-4",
130         "x-routeId" : "route132"
131       }
132     },
133     "/v2/dictionary/{name}/elements/{shortName}" : {
134       "delete" : {
135         "operationId" : "route133",
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-4",
152         "x-routeId" : "route133"
153       }
154     },
155     "/v2/dictionary/secondary/names" : {
156       "get" : {
157         "operationId" : "route128",
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-4",
171         "x-routeId" : "route128"
172       }
173     },
174     "/v2/loop/{loopName}" : {
175       "get" : {
176         "operationId" : "route111",
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-4",
193         "x-routeId" : "route111"
194       }
195     },
196     "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
197       "put" : {
198         "operationId" : "route124",
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-4",
225         "x-routeId" : "route124"
226       }
227     },
228     "/v2/loop/create/{loopName}?templateName={templateName}" : {
229       "post" : {
230         "operationId" : "route126",
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-4",
248         "x-routeId" : "route126"
249       }
250     },
251     "/v2/loop/delete/{loopName}" : {
252       "put" : {
253         "operationId" : "route122",
254         "parameters" : [ {
255           "name" : "loopName",
256           "in" : "path",
257           "required" : true,
258           "type" : "string"
259         } ],
260         "responses" : {
261           "200" : { }
262         },
263         "x-camelContextId" : "camel-4",
264         "x-routeId" : "route122"
265       }
266     },
267     "/v2/loop/deploy/{loopName}" : {
268       "put" : {
269         "operationId" : "route115",
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-4",
286         "x-routeId" : "route115"
287       }
288     },
289     "/v2/loop/getAllNames" : {
290       "get" : {
291         "operationId" : "route110",
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-4",
305         "x-routeId" : "route110"
306       }
307     },
308     "/v2/loop/getstatus/{loopName}" : {
309       "get" : {
310         "operationId" : "route123",
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-4",
327         "x-routeId" : "route123"
328       }
329     },
330     "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
331       "put" : {
332         "operationId" : "route116",
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-4",
354         "x-routeId" : "route116"
355       }
356     },
357     "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
358       "put" : {
359         "operationId" : "route117",
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-4",
381         "x-routeId" : "route117"
382       }
383     },
384     "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
385       "put" : {
386         "operationId" : "route125",
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-4",
418         "x-routeId" : "route125"
419       }
420     },
421     "/v2/loop/restart/{loopName}" : {
422       "put" : {
423         "operationId" : "route120",
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-4",
440         "x-routeId" : "route120"
441       }
442     },
443     "/v2/loop/stop/{loopName}" : {
444       "put" : {
445         "operationId" : "route119",
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-4",
462         "x-routeId" : "route119"
463       }
464     },
465     "/v2/loop/submit/{loopName}" : {
466       "put" : {
467         "operationId" : "route121",
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-4",
484         "x-routeId" : "route121"
485       }
486     },
487     "/v2/loop/undeploy/{loopName}" : {
488       "put" : {
489         "operationId" : "route118",
490         "produces" : [ "application/json" ],
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               "$ref" : "#/definitions/Loop"
502             }
503           }
504         },
505         "x-camelContextId" : "camel-4",
506         "x-routeId" : "route118"
507       }
508     },
509     "/v2/loop/updateGlobalProperties/{loopName}" : {
510       "post" : {
511         "operationId" : "route112",
512         "consumes" : [ "application/json" ],
513         "produces" : [ "application/json" ],
514         "parameters" : [ {
515           "name" : "loopName",
516           "in" : "path",
517           "required" : true,
518           "type" : "string"
519         }, {
520           "in" : "body",
521           "name" : "body",
522           "required" : true,
523           "schema" : {
524             "$ref" : "#/definitions/JsonObject"
525           }
526         } ],
527         "responses" : {
528           "200" : {
529             "description" : "Output type",
530             "schema" : {
531               "$ref" : "#/definitions/Loop"
532             }
533           }
534         },
535         "x-camelContextId" : "camel-4",
536         "x-routeId" : "route112"
537       }
538     },
539     "/v2/loop/updateMicroservicePolicy/{loopName}" : {
540       "post" : {
541         "operationId" : "route114",
542         "consumes" : [ "application/json" ],
543         "produces" : [ "application/json" ],
544         "parameters" : [ {
545           "name" : "loopName",
546           "in" : "path",
547           "required" : true,
548           "type" : "string"
549         }, {
550           "in" : "body",
551           "name" : "body",
552           "required" : true,
553           "schema" : {
554             "$ref" : "#/definitions/MicroServicePolicy"
555           }
556         } ],
557         "responses" : {
558           "200" : {
559             "description" : "Output type",
560             "schema" : {
561               "$ref" : "#/definitions/MicroServicePolicy"
562             }
563           }
564         },
565         "x-camelContextId" : "camel-4",
566         "x-routeId" : "route114"
567       }
568     },
569     "/v2/loop/updateOperationalPolicies/{loopName}" : {
570       "post" : {
571         "operationId" : "route113",
572         "consumes" : [ "application/json" ],
573         "produces" : [ "application/json" ],
574         "parameters" : [ {
575           "name" : "loopName",
576           "in" : "path",
577           "required" : true,
578           "type" : "string"
579         }, {
580           "in" : "body",
581           "name" : "body",
582           "required" : true,
583           "schema" : {
584             "$ref" : "#/definitions/JsonArray"
585           }
586         } ],
587         "responses" : {
588           "200" : {
589             "description" : "Output type",
590             "schema" : {
591               "$ref" : "#/definitions/Loop"
592             }
593           }
594         },
595         "x-camelContextId" : "camel-4",
596         "x-routeId" : "route113"
597       }
598     },
599     "/v2/policyToscaModels" : {
600       "get" : {
601         "operationId" : "route134",
602         "produces" : [ "application/json" ],
603         "responses" : {
604           "200" : {
605             "description" : "Output type",
606             "schema" : {
607               "$ref" : "#/definitions/PolicyModel"
608             }
609           }
610         },
611         "x-camelContextId" : "camel-4",
612         "x-routeId" : "route134"
613       },
614       "post" : {
615         "operationId" : "route137",
616         "consumes" : [ "plain/text" ],
617         "produces" : [ "application/json" ],
618         "parameters" : [ {
619           "in" : "body",
620           "name" : "body",
621           "required" : true,
622           "schema" : {
623             "type" : "string"
624           }
625         } ],
626         "responses" : {
627           "200" : {
628             "description" : "Output type",
629             "schema" : {
630               "$ref" : "#/definitions/PolicyModel"
631             }
632           }
633         },
634         "x-camelContextId" : "camel-4",
635         "x-routeId" : "route137"
636       }
637     },
638     "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
639       "get" : {
640         "operationId" : "route135",
641         "produces" : [ "application/json" ],
642         "parameters" : [ {
643           "name" : "policyModelType",
644           "in" : "path",
645           "required" : true,
646           "type" : "string"
647         }, {
648           "name" : "policyModelVersion",
649           "in" : "path",
650           "required" : true,
651           "type" : "string"
652         } ],
653         "responses" : {
654           "200" : {
655             "description" : "Output type",
656             "schema" : {
657               "$ref" : "#/definitions/PolicyModel"
658             }
659           }
660         },
661         "x-camelContextId" : "camel-4",
662         "x-routeId" : "route135"
663       },
664       "put" : {
665         "operationId" : "route138",
666         "consumes" : [ "plain/text" ],
667         "produces" : [ "application/json" ],
668         "parameters" : [ {
669           "name" : "policyModelType",
670           "in" : "path",
671           "required" : true,
672           "type" : "string"
673         }, {
674           "name" : "policyModelVersion",
675           "in" : "path",
676           "required" : true,
677           "type" : "string"
678         }, {
679           "in" : "body",
680           "name" : "body",
681           "required" : true,
682           "schema" : {
683             "type" : "string"
684           }
685         } ],
686         "responses" : {
687           "200" : {
688             "description" : "Output type",
689             "schema" : {
690               "$ref" : "#/definitions/PolicyModel"
691             }
692           }
693         },
694         "x-camelContextId" : "camel-4",
695         "x-routeId" : "route138"
696       }
697     },
698     "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
699       "get" : {
700         "operationId" : "route136",
701         "produces" : [ "application/json" ],
702         "parameters" : [ {
703           "name" : "policyModelType",
704           "in" : "path",
705           "required" : true,
706           "type" : "string"
707         }, {
708           "name" : "policyModelVersion",
709           "in" : "path",
710           "required" : true,
711           "type" : "string"
712         } ],
713         "responses" : {
714           "200" : {
715             "description" : "Output type",
716             "schema" : {
717               "type" : "string"
718             }
719           }
720         },
721         "x-camelContextId" : "camel-4",
722         "x-routeId" : "route136"
723       }
724     },
725     "/v2/templates" : {
726       "get" : {
727         "operationId" : "route139",
728         "produces" : [ "application/json" ],
729         "responses" : {
730           "200" : {
731             "description" : "Output type",
732             "schema" : {
733               "$ref" : "#/definitions/LoopTemplate"
734             }
735           }
736         },
737         "x-camelContextId" : "camel-4",
738         "x-routeId" : "route139"
739       }
740     },
741     "/v2/templates/{templateName}" : {
742       "get" : {
743         "operationId" : "route140",
744         "produces" : [ "application/json" ],
745         "parameters" : [ {
746           "name" : "templateName",
747           "in" : "path",
748           "required" : true,
749           "type" : "string"
750         } ],
751         "responses" : {
752           "200" : {
753             "description" : "Output type",
754             "schema" : {
755               "$ref" : "#/definitions/LoopTemplate"
756             }
757           }
758         },
759         "x-camelContextId" : "camel-4",
760         "x-routeId" : "route140"
761       }
762     },
763     "/v2/templates/names" : {
764       "get" : {
765         "operationId" : "route141",
766         "produces" : [ "application/json" ],
767         "responses" : {
768           "200" : {
769             "description" : "Output type",
770             "schema" : {
771               "type" : "array",
772               "items" : {
773                 "type" : "string"
774               }
775             }
776           }
777         },
778         "x-camelContextId" : "camel-4",
779         "x-routeId" : "route141"
780       }
781     },
782     "/v1/healthcheck" : {
783       "get" : {
784         "operationId" : "route143",
785         "produces" : [ "application/json" ],
786         "responses" : {
787           "200" : {
788             "description" : "Output type",
789             "schema" : {
790               "$ref" : "#/definitions/CldsHealthCheck"
791             }
792           }
793         },
794         "x-camelContextId" : "camel-4",
795         "x-routeId" : "route143"
796       }
797     },
798     "/v1/user/getUser" : {
799       "get" : {
800         "operationId" : "route144",
801         "produces" : [ "text/plain" ],
802         "responses" : {
803           "200" : { }
804         },
805         "x-camelContextId" : "camel-4",
806         "x-routeId" : "route144"
807       }
808     }
809   },
810   "definitions" : {
811     "ClampInformation" : {
812       "type" : "object",
813       "properties" : {
814         "userName" : {
815           "type" : "string"
816         },
817         "cldsVersion" : {
818           "type" : "string"
819         },
820         "allPermissions" : {
821           "type" : "array",
822           "items" : {
823             "type" : "string"
824           }
825         }
826       },
827       "x-className" : {
828         "type" : "string",
829         "format" : "org.onap.clamp.clds.model.ClampInformation"
830       }
831     },
832     "Dictionary" : {
833       "type" : "object",
834       "properties" : {
835         "createdDate" : {
836           "type" : "integer",
837           "format" : "int64"
838         },
839         "updatedDate" : {
840           "type" : "integer",
841           "format" : "int64"
842         },
843         "updatedBy" : {
844           "type" : "string"
845         },
846         "createdBy" : {
847           "type" : "string"
848         },
849         "name" : {
850           "type" : "string"
851         },
852         "secondLevelDictionary" : {
853           "type" : "integer",
854           "format" : "int32"
855         },
856         "subDictionaryType" : {
857           "type" : "string"
858         },
859         "dictionaryElements" : {
860           "type" : "array",
861           "uniqueItems" : true,
862           "items" : {
863             "$ref" : "#/definitions/DictionaryElement"
864           }
865         }
866       },
867       "x-className" : {
868         "type" : "string",
869         "format" : "org.onap.clamp.tosca.Dictionary"
870       }
871     },
872     "DictionaryElement" : {
873       "type" : "object",
874       "properties" : {
875         "createdDate" : {
876           "type" : "integer",
877           "format" : "int64"
878         },
879         "updatedDate" : {
880           "type" : "integer",
881           "format" : "int64"
882         },
883         "updatedBy" : {
884           "type" : "string"
885         },
886         "createdBy" : {
887           "type" : "string"
888         },
889         "shortName" : {
890           "type" : "string"
891         },
892         "name" : {
893           "type" : "string"
894         },
895         "description" : {
896           "type" : "string"
897         },
898         "type" : {
899           "type" : "string"
900         },
901         "subDictionary" : {
902           "type" : "string"
903         },
904         "usedByDictionaries" : {
905           "type" : "array",
906           "uniqueItems" : true,
907           "items" : {
908             "$ref" : "#/definitions/Dictionary"
909           }
910         }
911       }
912     },
913     "Loop" : {
914       "type" : "object",
915       "properties" : {
916         "createdDate" : {
917           "type" : "integer",
918           "format" : "int64"
919         },
920         "updatedDate" : {
921           "type" : "integer",
922           "format" : "int64"
923         },
924         "updatedBy" : {
925           "type" : "string"
926         },
927         "createdBy" : {
928           "type" : "string"
929         },
930         "name" : {
931           "type" : "string"
932         },
933         "dcaeDeploymentId" : {
934           "type" : "string"
935         },
936         "dcaeDeploymentStatusUrl" : {
937           "type" : "string"
938         },
939         "globalPropertiesJson" : {
940           "$ref" : "#/definitions/JsonObject"
941         },
942         "modelService" : {
943           "$ref" : "#/definitions/Service"
944         },
945         "lastComputedState" : {
946           "type" : "string",
947           "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
948         },
949         "components" : {
950           "type" : "object",
951           "additionalProperties" : {
952             "$ref" : "#/definitions/ExternalComponent"
953           }
954         },
955         "operationalPolicies" : {
956           "type" : "array",
957           "uniqueItems" : true,
958           "items" : {
959             "$ref" : "#/definitions/OperationalPolicy"
960           }
961         },
962         "microServicePolicies" : {
963           "type" : "array",
964           "uniqueItems" : true,
965           "items" : {
966             "$ref" : "#/definitions/MicroServicePolicy"
967           }
968         },
969         "loopLogs" : {
970           "type" : "array",
971           "uniqueItems" : true,
972           "items" : {
973             "$ref" : "#/definitions/LoopLog"
974           }
975         },
976         "loopTemplate" : {
977           "$ref" : "#/definitions/LoopTemplate"
978         }
979       },
980       "x-className" : {
981         "type" : "string",
982         "format" : "org.onap.clamp.loop.Loop"
983       }
984     },
985     "JsonPrimitive" : {
986       "type" : "object",
987       "properties" : {
988         "asBoolean" : {
989           "type" : "boolean"
990         },
991         "number" : {
992           "type" : "boolean"
993         },
994         "asString" : {
995           "type" : "string"
996         },
997         "asNumber" : {
998           "$ref" : "#/definitions/Number"
999         },
1000         "asDouble" : {
1001           "type" : "number",
1002           "format" : "double"
1003         },
1004         "asFloat" : {
1005           "type" : "number",
1006           "format" : "float"
1007         },
1008         "asLong" : {
1009           "type" : "integer",
1010           "format" : "int64"
1011         },
1012         "asInt" : {
1013           "type" : "integer",
1014           "format" : "int32"
1015         },
1016         "asByte" : {
1017           "type" : "string",
1018           "format" : "byte"
1019         },
1020         "asCharacter" : {
1021           "type" : "string"
1022         },
1023         "asBigDecimal" : {
1024           "type" : "number"
1025         },
1026         "asBigInteger" : {
1027           "type" : "integer"
1028         },
1029         "asShort" : {
1030           "type" : "integer",
1031           "format" : "int32"
1032         },
1033         "boolean" : {
1034           "type" : "boolean"
1035         },
1036         "string" : {
1037           "type" : "boolean"
1038         },
1039         "jsonArray" : {
1040           "type" : "boolean"
1041         },
1042         "jsonObject" : {
1043           "type" : "boolean"
1044         },
1045         "jsonPrimitive" : {
1046           "type" : "boolean"
1047         },
1048         "jsonNull" : {
1049           "type" : "boolean"
1050         },
1051         "asJsonArray" : {
1052           "$ref" : "#/definitions/JsonArray"
1053         },
1054         "asJsonPrimitive" : {
1055           "$ref" : "#/definitions/JsonPrimitive"
1056         },
1057         "asJsonNull" : {
1058           "$ref" : "#/definitions/JsonNull"
1059         },
1060         "asJsonObject" : {
1061           "$ref" : "#/definitions/JsonObject"
1062         }
1063       }
1064     },
1065     "MicroServicePolicy" : {
1066       "type" : "object",
1067       "properties" : {
1068         "createdDate" : {
1069           "type" : "integer",
1070           "format" : "int64"
1071         },
1072         "updatedDate" : {
1073           "type" : "integer",
1074           "format" : "int64"
1075         },
1076         "updatedBy" : {
1077           "type" : "string"
1078         },
1079         "createdBy" : {
1080           "type" : "string"
1081         },
1082         "jsonRepresentation" : {
1083           "$ref" : "#/definitions/JsonObject"
1084         },
1085         "configurationsJson" : {
1086           "$ref" : "#/definitions/JsonObject"
1087         },
1088         "loopElementModel" : {
1089           "$ref" : "#/definitions/LoopElementModel"
1090         },
1091         "pdpGroup" : {
1092           "type" : "string"
1093         },
1094         "pdpSubgroup" : {
1095           "type" : "string"
1096         },
1097         "policyModel" : {
1098           "$ref" : "#/definitions/PolicyModel"
1099         },
1100         "name" : {
1101           "type" : "string"
1102         },
1103         "context" : {
1104           "type" : "string"
1105         },
1106         "deviceTypeScope" : {
1107           "type" : "string"
1108         },
1109         "shared" : {
1110           "type" : "boolean"
1111         },
1112         "usedByLoops" : {
1113           "type" : "array",
1114           "uniqueItems" : true,
1115           "items" : {
1116             "$ref" : "#/definitions/Loop"
1117           }
1118         },
1119         "dcaeDeploymentId" : {
1120           "type" : "string"
1121         },
1122         "dcaeDeploymentStatusUrl" : {
1123           "type" : "string"
1124         },
1125         "dcaeBlueprintId" : {
1126           "type" : "string"
1127         },
1128         "legacy" : {
1129           "type" : "boolean"
1130         }
1131       },
1132       "x-className" : {
1133         "type" : "string",
1134         "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1135       }
1136     },
1137     "JsonObject" : {
1138       "type" : "object",
1139       "properties" : {
1140         "asBoolean" : {
1141           "type" : "boolean"
1142         },
1143         "asString" : {
1144           "type" : "string"
1145         },
1146         "jsonArray" : {
1147           "type" : "boolean"
1148         },
1149         "jsonObject" : {
1150           "type" : "boolean"
1151         },
1152         "jsonPrimitive" : {
1153           "type" : "boolean"
1154         },
1155         "jsonNull" : {
1156           "type" : "boolean"
1157         },
1158         "asJsonArray" : {
1159           "$ref" : "#/definitions/JsonArray"
1160         },
1161         "asJsonPrimitive" : {
1162           "$ref" : "#/definitions/JsonPrimitive"
1163         },
1164         "asJsonNull" : {
1165           "$ref" : "#/definitions/JsonNull"
1166         },
1167         "asNumber" : {
1168           "$ref" : "#/definitions/Number"
1169         },
1170         "asDouble" : {
1171           "type" : "number",
1172           "format" : "double"
1173         },
1174         "asFloat" : {
1175           "type" : "number",
1176           "format" : "float"
1177         },
1178         "asLong" : {
1179           "type" : "integer",
1180           "format" : "int64"
1181         },
1182         "asInt" : {
1183           "type" : "integer",
1184           "format" : "int32"
1185         },
1186         "asByte" : {
1187           "type" : "string",
1188           "format" : "byte"
1189         },
1190         "asCharacter" : {
1191           "type" : "string"
1192         },
1193         "asBigDecimal" : {
1194           "type" : "number"
1195         },
1196         "asBigInteger" : {
1197           "type" : "integer"
1198         },
1199         "asShort" : {
1200           "type" : "integer",
1201           "format" : "int32"
1202         },
1203         "asJsonObject" : {
1204           "$ref" : "#/definitions/JsonObject"
1205         }
1206       },
1207       "x-className" : {
1208         "type" : "string",
1209         "format" : "com.google.gson.JsonObject"
1210       }
1211     },
1212     "PolicyModel" : {
1213       "type" : "object",
1214       "properties" : {
1215         "createdDate" : {
1216           "type" : "integer",
1217           "format" : "int64"
1218         },
1219         "updatedDate" : {
1220           "type" : "integer",
1221           "format" : "int64"
1222         },
1223         "updatedBy" : {
1224           "type" : "string"
1225         },
1226         "createdBy" : {
1227           "type" : "string"
1228         },
1229         "policyModelType" : {
1230           "type" : "string"
1231         },
1232         "version" : {
1233           "type" : "string"
1234         },
1235         "policyModelTosca" : {
1236           "type" : "string"
1237         },
1238         "policyAcronym" : {
1239           "type" : "string"
1240         },
1241         "usedByElementModels" : {
1242           "type" : "array",
1243           "uniqueItems" : true,
1244           "items" : {
1245             "$ref" : "#/definitions/LoopElementModel"
1246           }
1247         },
1248         "policyPdpGroup" : {
1249           "$ref" : "#/definitions/JsonObject"
1250         }
1251       },
1252       "x-className" : {
1253         "type" : "string",
1254         "format" : "org.onap.clamp.loop.template.PolicyModel"
1255       }
1256     },
1257     "Service" : {
1258       "type" : "object",
1259       "properties" : {
1260         "serviceUuid" : {
1261           "type" : "string"
1262         },
1263         "name" : {
1264           "type" : "string"
1265         },
1266         "version" : {
1267           "type" : "string"
1268         },
1269         "serviceDetails" : {
1270           "$ref" : "#/definitions/JsonObject"
1271         },
1272         "resourceDetails" : {
1273           "$ref" : "#/definitions/JsonObject"
1274         }
1275       }
1276     },
1277     "LoopTemplateLoopElementModel" : {
1278       "type" : "object",
1279       "properties" : {
1280         "loopTemplate" : {
1281           "$ref" : "#/definitions/LoopTemplate"
1282         },
1283         "loopElementModel" : {
1284           "$ref" : "#/definitions/LoopElementModel"
1285         },
1286         "flowOrder" : {
1287           "type" : "integer",
1288           "format" : "int32"
1289         }
1290       }
1291     },
1292     "OperationalPolicy" : {
1293       "type" : "object",
1294       "properties" : {
1295         "createdDate" : {
1296           "type" : "integer",
1297           "format" : "int64"
1298         },
1299         "updatedDate" : {
1300           "type" : "integer",
1301           "format" : "int64"
1302         },
1303         "updatedBy" : {
1304           "type" : "string"
1305         },
1306         "createdBy" : {
1307           "type" : "string"
1308         },
1309         "jsonRepresentation" : {
1310           "$ref" : "#/definitions/JsonObject"
1311         },
1312         "configurationsJson" : {
1313           "$ref" : "#/definitions/JsonObject"
1314         },
1315         "loopElementModel" : {
1316           "$ref" : "#/definitions/LoopElementModel"
1317         },
1318         "pdpGroup" : {
1319           "type" : "string"
1320         },
1321         "pdpSubgroup" : {
1322           "type" : "string"
1323         },
1324         "policyModel" : {
1325           "$ref" : "#/definitions/PolicyModel"
1326         },
1327         "name" : {
1328           "type" : "string"
1329         },
1330         "loop" : {
1331           "$ref" : "#/definitions/Loop"
1332         },
1333         "legacy" : {
1334           "type" : "boolean"
1335         }
1336       }
1337     },
1338     "JsonNull" : {
1339       "type" : "object",
1340       "properties" : {
1341         "asBoolean" : {
1342           "type" : "boolean"
1343         },
1344         "asString" : {
1345           "type" : "string"
1346         },
1347         "jsonArray" : {
1348           "type" : "boolean"
1349         },
1350         "jsonObject" : {
1351           "type" : "boolean"
1352         },
1353         "jsonPrimitive" : {
1354           "type" : "boolean"
1355         },
1356         "jsonNull" : {
1357           "type" : "boolean"
1358         },
1359         "asJsonArray" : {
1360           "$ref" : "#/definitions/JsonArray"
1361         },
1362         "asJsonPrimitive" : {
1363           "$ref" : "#/definitions/JsonPrimitive"
1364         },
1365         "asJsonNull" : {
1366           "$ref" : "#/definitions/JsonNull"
1367         },
1368         "asNumber" : {
1369           "$ref" : "#/definitions/Number"
1370         },
1371         "asDouble" : {
1372           "type" : "number",
1373           "format" : "double"
1374         },
1375         "asFloat" : {
1376           "type" : "number",
1377           "format" : "float"
1378         },
1379         "asLong" : {
1380           "type" : "integer",
1381           "format" : "int64"
1382         },
1383         "asInt" : {
1384           "type" : "integer",
1385           "format" : "int32"
1386         },
1387         "asByte" : {
1388           "type" : "string",
1389           "format" : "byte"
1390         },
1391         "asCharacter" : {
1392           "type" : "string"
1393         },
1394         "asBigDecimal" : {
1395           "type" : "number"
1396         },
1397         "asBigInteger" : {
1398           "type" : "integer"
1399         },
1400         "asShort" : {
1401           "type" : "integer",
1402           "format" : "int32"
1403         },
1404         "asJsonObject" : {
1405           "$ref" : "#/definitions/JsonObject"
1406         }
1407       }
1408     },
1409     "JsonArray" : {
1410       "type" : "object",
1411       "properties" : {
1412         "asBoolean" : {
1413           "type" : "boolean"
1414         },
1415         "asString" : {
1416           "type" : "string"
1417         },
1418         "asNumber" : {
1419           "$ref" : "#/definitions/Number"
1420         },
1421         "asDouble" : {
1422           "type" : "number",
1423           "format" : "double"
1424         },
1425         "asFloat" : {
1426           "type" : "number",
1427           "format" : "float"
1428         },
1429         "asLong" : {
1430           "type" : "integer",
1431           "format" : "int64"
1432         },
1433         "asInt" : {
1434           "type" : "integer",
1435           "format" : "int32"
1436         },
1437         "asByte" : {
1438           "type" : "string",
1439           "format" : "byte"
1440         },
1441         "asCharacter" : {
1442           "type" : "string"
1443         },
1444         "asBigDecimal" : {
1445           "type" : "number"
1446         },
1447         "asBigInteger" : {
1448           "type" : "integer"
1449         },
1450         "asShort" : {
1451           "type" : "integer",
1452           "format" : "int32"
1453         },
1454         "jsonArray" : {
1455           "type" : "boolean"
1456         },
1457         "jsonObject" : {
1458           "type" : "boolean"
1459         },
1460         "jsonPrimitive" : {
1461           "type" : "boolean"
1462         },
1463         "jsonNull" : {
1464           "type" : "boolean"
1465         },
1466         "asJsonArray" : {
1467           "$ref" : "#/definitions/JsonArray"
1468         },
1469         "asJsonPrimitive" : {
1470           "$ref" : "#/definitions/JsonPrimitive"
1471         },
1472         "asJsonNull" : {
1473           "$ref" : "#/definitions/JsonNull"
1474         },
1475         "asJsonObject" : {
1476           "$ref" : "#/definitions/JsonObject"
1477         }
1478       },
1479       "x-className" : {
1480         "type" : "string",
1481         "format" : "com.google.gson.JsonArray"
1482       }
1483     },
1484     "LoopLog" : {
1485       "type" : "object",
1486       "properties" : {
1487         "id" : {
1488           "type" : "integer",
1489           "format" : "int64"
1490         },
1491         "logType" : {
1492           "type" : "string",
1493           "enum" : [ "INFO", "WARNING", "ERROR" ]
1494         },
1495         "logComponent" : {
1496           "type" : "string"
1497         },
1498         "message" : {
1499           "type" : "string"
1500         },
1501         "loop" : {
1502           "$ref" : "#/definitions/Loop"
1503         },
1504         "logInstant" : {
1505           "type" : "integer",
1506           "format" : "int64"
1507         }
1508       }
1509     },
1510     "Number" : {
1511       "type" : "object"
1512     },
1513     "ExternalComponent" : {
1514       "type" : "object",
1515       "properties" : {
1516         "state" : {
1517           "$ref" : "#/definitions/ExternalComponentState"
1518         },
1519         "componentName" : {
1520           "type" : "string"
1521         }
1522       }
1523     },
1524     "LoopTemplate" : {
1525       "type" : "object",
1526       "properties" : {
1527         "createdDate" : {
1528           "type" : "integer",
1529           "format" : "int64"
1530         },
1531         "updatedDate" : {
1532           "type" : "integer",
1533           "format" : "int64"
1534         },
1535         "updatedBy" : {
1536           "type" : "string"
1537         },
1538         "createdBy" : {
1539           "type" : "string"
1540         },
1541         "name" : {
1542           "type" : "string"
1543         },
1544         "dcaeBlueprintId" : {
1545           "type" : "string"
1546         },
1547         "blueprint" : {
1548           "type" : "string"
1549         },
1550         "loopElementModelsUsed" : {
1551           "type" : "array",
1552           "uniqueItems" : true,
1553           "items" : {
1554             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1555           }
1556         },
1557         "modelService" : {
1558           "$ref" : "#/definitions/Service"
1559         },
1560         "maximumInstancesAllowed" : {
1561           "type" : "integer",
1562           "format" : "int32"
1563         },
1564         "uniqueBlueprint" : {
1565           "type" : "boolean"
1566         },
1567         "allowedLoopType" : {
1568           "type" : "string",
1569           "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1570         }
1571       },
1572       "x-className" : {
1573         "type" : "string",
1574         "format" : "org.onap.clamp.loop.template.LoopTemplate"
1575       }
1576     },
1577     "ExternalComponentState" : {
1578       "type" : "object",
1579       "properties" : {
1580         "stateName" : {
1581           "type" : "string"
1582         },
1583         "description" : {
1584           "type" : "string"
1585         },
1586         "level" : {
1587           "type" : "integer",
1588           "format" : "int32"
1589         }
1590       }
1591     },
1592     "LoopElementModel" : {
1593       "type" : "object",
1594       "properties" : {
1595         "createdDate" : {
1596           "type" : "integer",
1597           "format" : "int64"
1598         },
1599         "updatedDate" : {
1600           "type" : "integer",
1601           "format" : "int64"
1602         },
1603         "updatedBy" : {
1604           "type" : "string"
1605         },
1606         "createdBy" : {
1607           "type" : "string"
1608         },
1609         "name" : {
1610           "type" : "string"
1611         },
1612         "dcaeBlueprintId" : {
1613           "type" : "string"
1614         },
1615         "blueprint" : {
1616           "type" : "string"
1617         },
1618         "loopElementType" : {
1619           "type" : "string"
1620         },
1621         "shortName" : {
1622           "type" : "string"
1623         },
1624         "policyModels" : {
1625           "type" : "array",
1626           "uniqueItems" : true,
1627           "items" : {
1628             "$ref" : "#/definitions/PolicyModel"
1629           }
1630         },
1631         "usedByLoopTemplates" : {
1632           "type" : "array",
1633           "uniqueItems" : true,
1634           "items" : {
1635             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1636           }
1637         }
1638       }
1639     },
1640     "CldsHealthCheck" : {
1641       "type" : "object",
1642       "properties" : {
1643         "healthCheckComponent" : {
1644           "type" : "string"
1645         },
1646         "healthCheckStatus" : {
1647           "type" : "string"
1648         },
1649         "description" : {
1650           "type" : "string"
1651         }
1652       },
1653       "x-className" : {
1654         "type" : "string",
1655         "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
1656       }
1657     }
1658   }
1659 }