Fix the DCAE query
[clamp.git] / docs / swagger / swagger.json
1 {
2   "swagger" : "2.0",
3   "info" : {
4     "version" : "5.1.3-SNAPSHOT",
5     "title" : "Clamp Rest API"
6   },
7   "host" : "localhost:8443",
8   "basePath" : "/restservices/clds/",
9   "schemes" : [ "http" ],
10   "paths" : {
11     "/v2/clampInformation" : {
12       "get" : {
13         "operationId" : "route34",
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-1",
24         "x-routeId" : "route34"
25       }
26     },
27     "/v2/dictionary" : {
28       "get" : {
29         "operationId" : "route19",
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-1",
40         "x-routeId" : "route19"
41       },
42       "put" : {
43         "operationId" : "route22",
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-1",
63         "x-routeId" : "route22"
64       }
65     },
66     "/v2/dictionary/{dictionaryName}" : {
67       "get" : {
68         "operationId" : "route21",
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-1",
85         "x-routeId" : "route21"
86       }
87     },
88     "/v2/dictionary/{name}" : {
89       "put" : {
90         "operationId" : "route23",
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-1",
115         "x-routeId" : "route23"
116       },
117       "delete" : {
118         "operationId" : "route24",
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-1",
130         "x-routeId" : "route24"
131       }
132     },
133     "/v2/dictionary/{name}/elements/{shortName}" : {
134       "delete" : {
135         "operationId" : "route25",
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-1",
152         "x-routeId" : "route25"
153       }
154     },
155     "/v2/dictionary/secondary/names" : {
156       "get" : {
157         "operationId" : "route20",
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-1",
171         "x-routeId" : "route20"
172       }
173     },
174     "/v2/loop/{loopName}" : {
175       "get" : {
176         "operationId" : "route3",
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-1",
193         "x-routeId" : "route3"
194       }
195     },
196     "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
197       "put" : {
198         "operationId" : "route16",
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-1",
225         "x-routeId" : "route16"
226       }
227     },
228     "/v2/loop/create/{loopName}?templateName={templateName}" : {
229       "post" : {
230         "operationId" : "route18",
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-1",
248         "x-routeId" : "route18"
249       }
250     },
251     "/v2/loop/delete/{loopName}" : {
252       "put" : {
253         "operationId" : "route14",
254         "parameters" : [ {
255           "name" : "loopName",
256           "in" : "path",
257           "required" : true,
258           "type" : "string"
259         } ],
260         "responses" : {
261           "200" : { }
262         },
263         "x-camelContextId" : "camel-1",
264         "x-routeId" : "route14"
265       }
266     },
267     "/v2/loop/deploy/{loopName}" : {
268       "put" : {
269         "operationId" : "route7",
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-1",
286         "x-routeId" : "route7"
287       }
288     },
289     "/v2/loop/getAllNames" : {
290       "get" : {
291         "operationId" : "route2",
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-1",
305         "x-routeId" : "route2"
306       }
307     },
308     "/v2/loop/getstatus/{loopName}" : {
309       "get" : {
310         "operationId" : "route15",
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-1",
327         "x-routeId" : "route15"
328       }
329     },
330     "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
331       "put" : {
332         "operationId" : "route8",
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-1",
354         "x-routeId" : "route8"
355       }
356     },
357     "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
358       "put" : {
359         "operationId" : "route9",
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-1",
381         "x-routeId" : "route9"
382       }
383     },
384     "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
385       "put" : {
386         "operationId" : "route17",
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-1",
418         "x-routeId" : "route17"
419       }
420     },
421     "/v2/loop/restart/{loopName}" : {
422       "put" : {
423         "operationId" : "route12",
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-1",
440         "x-routeId" : "route12"
441       }
442     },
443     "/v2/loop/stop/{loopName}" : {
444       "put" : {
445         "operationId" : "route11",
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-1",
462         "x-routeId" : "route11"
463       }
464     },
465     "/v2/loop/submit/{loopName}" : {
466       "put" : {
467         "operationId" : "route13",
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-1",
484         "x-routeId" : "route13"
485       }
486     },
487     "/v2/loop/undeploy/{loopName}" : {
488       "put" : {
489         "operationId" : "route10",
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-1",
506         "x-routeId" : "route10"
507       }
508     },
509     "/v2/loop/updateGlobalProperties/{loopName}" : {
510       "post" : {
511         "operationId" : "route4",
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-1",
536         "x-routeId" : "route4"
537       }
538     },
539     "/v2/loop/updateMicroservicePolicy/{loopName}" : {
540       "post" : {
541         "operationId" : "route6",
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-1",
566         "x-routeId" : "route6"
567       }
568     },
569     "/v2/loop/updateOperationalPolicies/{loopName}" : {
570       "post" : {
571         "operationId" : "route5",
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-1",
596         "x-routeId" : "route5"
597       }
598     },
599     "/v2/policyToscaModels" : {
600       "get" : {
601         "operationId" : "route26",
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-1",
612         "x-routeId" : "route26"
613       },
614       "post" : {
615         "operationId" : "route29",
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-1",
635         "x-routeId" : "route29"
636       }
637     },
638     "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
639       "get" : {
640         "operationId" : "route27",
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-1",
662         "x-routeId" : "route27"
663       },
664       "put" : {
665         "operationId" : "route30",
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-1",
695         "x-routeId" : "route30"
696       }
697     },
698     "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
699       "get" : {
700         "operationId" : "route28",
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-1",
722         "x-routeId" : "route28"
723       }
724     },
725     "/v2/templates" : {
726       "get" : {
727         "operationId" : "route31",
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-1",
738         "x-routeId" : "route31"
739       }
740     },
741     "/v2/templates/{templateName}" : {
742       "get" : {
743         "operationId" : "route32",
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-1",
760         "x-routeId" : "route32"
761       }
762     },
763     "/v2/templates/names" : {
764       "get" : {
765         "operationId" : "route33",
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-1",
779         "x-routeId" : "route33"
780       }
781     },
782     "/v1/healthcheck" : {
783       "get" : {
784         "operationId" : "route35",
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-1",
795         "x-routeId" : "route35"
796       }
797     },
798     "/v1/user/getUser" : {
799       "get" : {
800         "operationId" : "route36",
801         "produces" : [ "text/plain" ],
802         "responses" : {
803           "200" : { }
804         },
805         "x-camelContextId" : "camel-1",
806         "x-routeId" : "route36"
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         "asInt" : {
992           "type" : "integer",
993           "format" : "int32"
994         },
995         "asDouble" : {
996           "type" : "number",
997           "format" : "double"
998         },
999         "asLong" : {
1000           "type" : "integer",
1001           "format" : "int64"
1002         },
1003         "boolean" : {
1004           "type" : "boolean"
1005         },
1006         "number" : {
1007           "type" : "boolean"
1008         },
1009         "asString" : {
1010           "type" : "string"
1011         },
1012         "asBigDecimal" : {
1013           "type" : "number"
1014         },
1015         "asBigInteger" : {
1016           "type" : "integer"
1017         },
1018         "asShort" : {
1019           "type" : "integer",
1020           "format" : "int32"
1021         },
1022         "asNumber" : {
1023           "$ref" : "#/definitions/Number"
1024         },
1025         "asFloat" : {
1026           "type" : "number",
1027           "format" : "float"
1028         },
1029         "asByte" : {
1030           "type" : "string",
1031           "format" : "byte"
1032         },
1033         "asCharacter" : {
1034           "type" : "string"
1035         },
1036         "string" : {
1037           "type" : "boolean"
1038         },
1039         "asJsonObject" : {
1040           "$ref" : "#/definitions/JsonObject"
1041         },
1042         "jsonObject" : {
1043           "type" : "boolean"
1044         },
1045         "asJsonArray" : {
1046           "$ref" : "#/definitions/JsonArray"
1047         },
1048         "jsonArray" : {
1049           "type" : "boolean"
1050         },
1051         "jsonNull" : {
1052           "type" : "boolean"
1053         },
1054         "asJsonPrimitive" : {
1055           "$ref" : "#/definitions/JsonPrimitive"
1056         },
1057         "asJsonNull" : {
1058           "$ref" : "#/definitions/JsonNull"
1059         },
1060         "jsonPrimitive" : {
1061           "type" : "boolean"
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       },
1129       "x-className" : {
1130         "type" : "string",
1131         "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1132       }
1133     },
1134     "JsonObject" : {
1135       "type" : "object",
1136       "properties" : {
1137         "asBoolean" : {
1138           "type" : "boolean"
1139         },
1140         "asInt" : {
1141           "type" : "integer",
1142           "format" : "int32"
1143         },
1144         "asDouble" : {
1145           "type" : "number",
1146           "format" : "double"
1147         },
1148         "asLong" : {
1149           "type" : "integer",
1150           "format" : "int64"
1151         },
1152         "asJsonObject" : {
1153           "$ref" : "#/definitions/JsonObject"
1154         },
1155         "asString" : {
1156           "type" : "string"
1157         },
1158         "jsonObject" : {
1159           "type" : "boolean"
1160         },
1161         "asJsonArray" : {
1162           "$ref" : "#/definitions/JsonArray"
1163         },
1164         "asBigDecimal" : {
1165           "type" : "number"
1166         },
1167         "asBigInteger" : {
1168           "type" : "integer"
1169         },
1170         "asShort" : {
1171           "type" : "integer",
1172           "format" : "int32"
1173         },
1174         "asNumber" : {
1175           "$ref" : "#/definitions/Number"
1176         },
1177         "asFloat" : {
1178           "type" : "number",
1179           "format" : "float"
1180         },
1181         "asByte" : {
1182           "type" : "string",
1183           "format" : "byte"
1184         },
1185         "asCharacter" : {
1186           "type" : "string"
1187         },
1188         "jsonArray" : {
1189           "type" : "boolean"
1190         },
1191         "jsonNull" : {
1192           "type" : "boolean"
1193         },
1194         "asJsonPrimitive" : {
1195           "$ref" : "#/definitions/JsonPrimitive"
1196         },
1197         "asJsonNull" : {
1198           "$ref" : "#/definitions/JsonNull"
1199         },
1200         "jsonPrimitive" : {
1201           "type" : "boolean"
1202         }
1203       },
1204       "x-className" : {
1205         "type" : "string",
1206         "format" : "com.google.gson.JsonObject"
1207       }
1208     },
1209     "PolicyModel" : {
1210       "type" : "object",
1211       "properties" : {
1212         "createdDate" : {
1213           "type" : "integer",
1214           "format" : "int64"
1215         },
1216         "updatedDate" : {
1217           "type" : "integer",
1218           "format" : "int64"
1219         },
1220         "updatedBy" : {
1221           "type" : "string"
1222         },
1223         "createdBy" : {
1224           "type" : "string"
1225         },
1226         "policyModelType" : {
1227           "type" : "string"
1228         },
1229         "version" : {
1230           "type" : "string"
1231         },
1232         "policyModelTosca" : {
1233           "type" : "string"
1234         },
1235         "policyAcronym" : {
1236           "type" : "string"
1237         },
1238         "usedByElementModels" : {
1239           "type" : "array",
1240           "uniqueItems" : true,
1241           "items" : {
1242             "$ref" : "#/definitions/LoopElementModel"
1243           }
1244         },
1245         "policyPdpGroup" : {
1246           "$ref" : "#/definitions/JsonObject"
1247         }
1248       },
1249       "x-className" : {
1250         "type" : "string",
1251         "format" : "org.onap.clamp.loop.template.PolicyModel"
1252       }
1253     },
1254     "Service" : {
1255       "type" : "object",
1256       "properties" : {
1257         "serviceUuid" : {
1258           "type" : "string"
1259         },
1260         "name" : {
1261           "type" : "string"
1262         },
1263         "version" : {
1264           "type" : "string"
1265         },
1266         "serviceDetails" : {
1267           "$ref" : "#/definitions/JsonObject"
1268         },
1269         "resourceDetails" : {
1270           "$ref" : "#/definitions/JsonObject"
1271         }
1272       }
1273     },
1274     "LoopTemplateLoopElementModel" : {
1275       "type" : "object",
1276       "properties" : {
1277         "loopTemplate" : {
1278           "$ref" : "#/definitions/LoopTemplate"
1279         },
1280         "loopElementModel" : {
1281           "$ref" : "#/definitions/LoopElementModel"
1282         },
1283         "flowOrder" : {
1284           "type" : "integer",
1285           "format" : "int32"
1286         }
1287       }
1288     },
1289     "OperationalPolicy" : {
1290       "type" : "object",
1291       "properties" : {
1292         "createdDate" : {
1293           "type" : "integer",
1294           "format" : "int64"
1295         },
1296         "updatedDate" : {
1297           "type" : "integer",
1298           "format" : "int64"
1299         },
1300         "updatedBy" : {
1301           "type" : "string"
1302         },
1303         "createdBy" : {
1304           "type" : "string"
1305         },
1306         "jsonRepresentation" : {
1307           "$ref" : "#/definitions/JsonObject"
1308         },
1309         "configurationsJson" : {
1310           "$ref" : "#/definitions/JsonObject"
1311         },
1312         "loopElementModel" : {
1313           "$ref" : "#/definitions/LoopElementModel"
1314         },
1315         "pdpGroup" : {
1316           "type" : "string"
1317         },
1318         "pdpSubgroup" : {
1319           "type" : "string"
1320         },
1321         "policyModel" : {
1322           "$ref" : "#/definitions/PolicyModel"
1323         },
1324         "name" : {
1325           "type" : "string"
1326         },
1327         "loop" : {
1328           "$ref" : "#/definitions/Loop"
1329         }
1330       }
1331     },
1332     "JsonNull" : {
1333       "type" : "object",
1334       "properties" : {
1335         "asBoolean" : {
1336           "type" : "boolean"
1337         },
1338         "asInt" : {
1339           "type" : "integer",
1340           "format" : "int32"
1341         },
1342         "asDouble" : {
1343           "type" : "number",
1344           "format" : "double"
1345         },
1346         "asLong" : {
1347           "type" : "integer",
1348           "format" : "int64"
1349         },
1350         "asJsonObject" : {
1351           "$ref" : "#/definitions/JsonObject"
1352         },
1353         "asString" : {
1354           "type" : "string"
1355         },
1356         "jsonObject" : {
1357           "type" : "boolean"
1358         },
1359         "asJsonArray" : {
1360           "$ref" : "#/definitions/JsonArray"
1361         },
1362         "asBigDecimal" : {
1363           "type" : "number"
1364         },
1365         "asBigInteger" : {
1366           "type" : "integer"
1367         },
1368         "asShort" : {
1369           "type" : "integer",
1370           "format" : "int32"
1371         },
1372         "asNumber" : {
1373           "$ref" : "#/definitions/Number"
1374         },
1375         "asFloat" : {
1376           "type" : "number",
1377           "format" : "float"
1378         },
1379         "asByte" : {
1380           "type" : "string",
1381           "format" : "byte"
1382         },
1383         "asCharacter" : {
1384           "type" : "string"
1385         },
1386         "jsonArray" : {
1387           "type" : "boolean"
1388         },
1389         "jsonNull" : {
1390           "type" : "boolean"
1391         },
1392         "asJsonPrimitive" : {
1393           "$ref" : "#/definitions/JsonPrimitive"
1394         },
1395         "asJsonNull" : {
1396           "$ref" : "#/definitions/JsonNull"
1397         },
1398         "jsonPrimitive" : {
1399           "type" : "boolean"
1400         }
1401       }
1402     },
1403     "JsonArray" : {
1404       "type" : "object",
1405       "properties" : {
1406         "asBoolean" : {
1407           "type" : "boolean"
1408         },
1409         "asInt" : {
1410           "type" : "integer",
1411           "format" : "int32"
1412         },
1413         "asDouble" : {
1414           "type" : "number",
1415           "format" : "double"
1416         },
1417         "asLong" : {
1418           "type" : "integer",
1419           "format" : "int64"
1420         },
1421         "asString" : {
1422           "type" : "string"
1423         },
1424         "asBigDecimal" : {
1425           "type" : "number"
1426         },
1427         "asBigInteger" : {
1428           "type" : "integer"
1429         },
1430         "asShort" : {
1431           "type" : "integer",
1432           "format" : "int32"
1433         },
1434         "asNumber" : {
1435           "$ref" : "#/definitions/Number"
1436         },
1437         "asFloat" : {
1438           "type" : "number",
1439           "format" : "float"
1440         },
1441         "asByte" : {
1442           "type" : "string",
1443           "format" : "byte"
1444         },
1445         "asCharacter" : {
1446           "type" : "string"
1447         },
1448         "asJsonObject" : {
1449           "$ref" : "#/definitions/JsonObject"
1450         },
1451         "jsonObject" : {
1452           "type" : "boolean"
1453         },
1454         "asJsonArray" : {
1455           "$ref" : "#/definitions/JsonArray"
1456         },
1457         "jsonArray" : {
1458           "type" : "boolean"
1459         },
1460         "jsonNull" : {
1461           "type" : "boolean"
1462         },
1463         "asJsonPrimitive" : {
1464           "$ref" : "#/definitions/JsonPrimitive"
1465         },
1466         "asJsonNull" : {
1467           "$ref" : "#/definitions/JsonNull"
1468         },
1469         "jsonPrimitive" : {
1470           "type" : "boolean"
1471         }
1472       },
1473       "x-className" : {
1474         "type" : "string",
1475         "format" : "com.google.gson.JsonArray"
1476       }
1477     },
1478     "LoopLog" : {
1479       "type" : "object",
1480       "properties" : {
1481         "id" : {
1482           "type" : "integer",
1483           "format" : "int64"
1484         },
1485         "logType" : {
1486           "type" : "string",
1487           "enum" : [ "INFO", "WARNING", "ERROR" ]
1488         },
1489         "logComponent" : {
1490           "type" : "string"
1491         },
1492         "message" : {
1493           "type" : "string"
1494         },
1495         "loop" : {
1496           "$ref" : "#/definitions/Loop"
1497         },
1498         "logInstant" : {
1499           "type" : "integer",
1500           "format" : "int64"
1501         }
1502       }
1503     },
1504     "Number" : {
1505       "type" : "object"
1506     },
1507     "ExternalComponent" : {
1508       "type" : "object",
1509       "properties" : {
1510         "state" : {
1511           "$ref" : "#/definitions/ExternalComponentState"
1512         },
1513         "componentName" : {
1514           "type" : "string"
1515         }
1516       }
1517     },
1518     "LoopTemplate" : {
1519       "type" : "object",
1520       "properties" : {
1521         "createdDate" : {
1522           "type" : "integer",
1523           "format" : "int64"
1524         },
1525         "updatedDate" : {
1526           "type" : "integer",
1527           "format" : "int64"
1528         },
1529         "updatedBy" : {
1530           "type" : "string"
1531         },
1532         "createdBy" : {
1533           "type" : "string"
1534         },
1535         "name" : {
1536           "type" : "string"
1537         },
1538         "dcaeBlueprintId" : {
1539           "type" : "string"
1540         },
1541         "blueprint" : {
1542           "type" : "string"
1543         },
1544         "loopElementModelsUsed" : {
1545           "type" : "array",
1546           "uniqueItems" : true,
1547           "items" : {
1548             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1549           }
1550         },
1551         "modelService" : {
1552           "$ref" : "#/definitions/Service"
1553         },
1554         "maximumInstancesAllowed" : {
1555           "type" : "integer",
1556           "format" : "int32"
1557         },
1558         "uniqueBlueprint" : {
1559           "type" : "boolean"
1560         },
1561         "allowedLoopType" : {
1562           "type" : "string",
1563           "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1564         }
1565       },
1566       "x-className" : {
1567         "type" : "string",
1568         "format" : "org.onap.clamp.loop.template.LoopTemplate"
1569       }
1570     },
1571     "ExternalComponentState" : {
1572       "type" : "object",
1573       "properties" : {
1574         "stateName" : {
1575           "type" : "string"
1576         },
1577         "description" : {
1578           "type" : "string"
1579         },
1580         "level" : {
1581           "type" : "integer",
1582           "format" : "int32"
1583         }
1584       }
1585     },
1586     "LoopElementModel" : {
1587       "type" : "object",
1588       "properties" : {
1589         "createdDate" : {
1590           "type" : "integer",
1591           "format" : "int64"
1592         },
1593         "updatedDate" : {
1594           "type" : "integer",
1595           "format" : "int64"
1596         },
1597         "updatedBy" : {
1598           "type" : "string"
1599         },
1600         "createdBy" : {
1601           "type" : "string"
1602         },
1603         "name" : {
1604           "type" : "string"
1605         },
1606         "dcaeBlueprintId" : {
1607           "type" : "string"
1608         },
1609         "blueprint" : {
1610           "type" : "string"
1611         },
1612         "loopElementType" : {
1613           "type" : "string"
1614         },
1615         "shortName" : {
1616           "type" : "string"
1617         },
1618         "policyModels" : {
1619           "type" : "array",
1620           "uniqueItems" : true,
1621           "items" : {
1622             "$ref" : "#/definitions/PolicyModel"
1623           }
1624         },
1625         "usedByLoopTemplates" : {
1626           "type" : "array",
1627           "uniqueItems" : true,
1628           "items" : {
1629             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1630           }
1631         }
1632       }
1633     },
1634     "CldsHealthCheck" : {
1635       "type" : "object",
1636       "properties" : {
1637         "healthCheckComponent" : {
1638           "type" : "string"
1639         },
1640         "healthCheckStatus" : {
1641           "type" : "string"
1642         },
1643         "description" : {
1644           "type" : "string"
1645         }
1646       },
1647       "x-className" : {
1648         "type" : "string",
1649         "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
1650       }
1651     }
1652   }
1653 }