Fix the new tosca converter
[clamp.git] / docs / swagger / swagger.json
1 {
2   "swagger" : "2.0",
3   "info" : {
4     "version" : "5.0.0-SNAPSHOT",
5     "title" : "Clamp Rest API"
6   },
7   "host" : "localhost:41607",
8   "basePath" : "/restservices/clds/",
9   "schemes" : [ "http" ],
10   "paths" : {
11     "/v2/clampInformation" : {
12       "get" : {
13         "operationId" : "route35",
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" : "route35"
25       }
26     },
27     "/v2/dictionary" : {
28       "get" : {
29         "operationId" : "route21",
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" : "route21"
41       },
42       "put" : {
43         "operationId" : "route23",
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" : "route23"
64       }
65     },
66     "/v2/dictionary/{dictionaryName}" : {
67       "get" : {
68         "produces" : [ "application/json" ],
69         "parameters" : [ {
70           "name" : "dictionaryName",
71           "in" : "path",
72           "required" : true,
73           "type" : "string"
74         } ],
75         "responses" : {
76           "200" : {
77             "description" : "Output type",
78             "schema" : {
79               "$ref" : "#/definitions/Dictionary"
80             }
81           }
82         },
83         "x-camelContextId" : "camel-1",
84         "x-routeId" : null
85       }
86     },
87     "/v2/dictionary/{name}" : {
88       "put" : {
89         "consumes" : [ "application/json" ],
90         "produces" : [ "application/json" ],
91         "parameters" : [ {
92           "name" : "name",
93           "in" : "path",
94           "required" : true,
95           "type" : "string"
96         }, {
97           "in" : "body",
98           "name" : "body",
99           "required" : true,
100           "schema" : {
101             "$ref" : "#/definitions/Dictionary"
102           }
103         } ],
104         "responses" : {
105           "200" : {
106             "description" : "Output type",
107             "schema" : {
108               "$ref" : "#/definitions/Dictionary"
109             }
110           }
111         },
112         "x-camelContextId" : "camel-1",
113         "x-routeId" : null
114       },
115       "delete" : {
116         "operationId" : "route25",
117         "produces" : [ "application/json" ],
118         "parameters" : [ {
119           "name" : "name",
120           "in" : "path",
121           "required" : true,
122           "type" : "string"
123         } ],
124         "responses" : {
125           "200" : { }
126         },
127         "x-camelContextId" : "camel-1",
128         "x-routeId" : "route25"
129       }
130     },
131     "/v2/dictionary/{name}/elements/{shortName}" : {
132       "delete" : {
133         "produces" : [ "application/json" ],
134         "parameters" : [ {
135           "name" : "name",
136           "in" : "path",
137           "required" : true,
138           "type" : "string"
139         }, {
140           "name" : "shortName",
141           "in" : "path",
142           "required" : true,
143           "type" : "string"
144         } ],
145         "responses" : {
146           "200" : { }
147         },
148         "x-camelContextId" : "camel-1",
149         "x-routeId" : null
150       }
151     },
152     "/v2/dictionary/secondary/names" : {
153       "get" : {
154         "produces" : [ "application/json" ],
155         "responses" : {
156           "200" : {
157             "description" : "Output type",
158             "schema" : {
159               "type" : "array",
160               "items" : {
161                 "type" : "string"
162               }
163             }
164           }
165         },
166         "x-camelContextId" : "camel-1",
167         "x-routeId" : null
168       }
169     },
170     "/v2/loop/{loopName}" : {
171       "get" : {
172         "operationId" : "route3",
173         "produces" : [ "application/json" ],
174         "parameters" : [ {
175           "name" : "loopName",
176           "in" : "path",
177           "required" : true,
178           "type" : "string"
179         } ],
180         "responses" : {
181           "200" : {
182             "description" : "Output type",
183             "schema" : {
184               "$ref" : "#/definitions/Loop"
185             }
186           }
187         },
188         "x-camelContextId" : "camel-1",
189         "x-routeId" : "route3"
190       }
191     },
192     "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
193       "put" : {
194         "operationId" : "route16",
195         "produces" : [ "application/json" ],
196         "parameters" : [ {
197           "name" : "loopName",
198           "in" : "path",
199           "required" : true,
200           "type" : "string"
201         }, {
202           "name" : "policyType",
203           "in" : "path",
204           "required" : true,
205           "type" : "string"
206         }, {
207           "name" : "policyVersion",
208           "in" : "path",
209           "required" : true,
210           "type" : "string"
211         } ],
212         "responses" : {
213           "200" : {
214             "description" : "Output type",
215             "schema" : {
216               "$ref" : "#/definitions/Loop"
217             }
218           }
219         },
220         "x-camelContextId" : "camel-1",
221         "x-routeId" : "route16"
222       }
223     },
224     "/v2/loop/create/{loopName}?templateName={templateName}" : {
225       "post" : {
226         "operationId" : "route18",
227         "consumes" : [ "application/json" ],
228         "produces" : [ "application/json" ],
229         "parameters" : [ {
230           "name" : "loopName}?templateName={templateName",
231           "in" : "path",
232           "required" : true,
233           "type" : "string"
234         } ],
235         "responses" : {
236           "200" : {
237             "description" : "Output type",
238             "schema" : {
239               "$ref" : "#/definitions/Loop"
240             }
241           }
242         },
243         "x-camelContextId" : "camel-1",
244         "x-routeId" : "route18"
245       }
246     },
247     "/v2/loop/delete/{loopName}" : {
248       "put" : {
249         "operationId" : "route14",
250         "parameters" : [ {
251           "name" : "loopName",
252           "in" : "path",
253           "required" : true,
254           "type" : "string"
255         } ],
256         "responses" : {
257           "200" : { }
258         },
259         "x-camelContextId" : "camel-1",
260         "x-routeId" : "route14"
261       }
262     },
263     "/v2/loop/deploy/{loopName}" : {
264       "put" : {
265         "operationId" : "route8",
266         "produces" : [ "application/json" ],
267         "parameters" : [ {
268           "name" : "loopName",
269           "in" : "path",
270           "required" : true,
271           "type" : "string"
272         } ],
273         "responses" : {
274           "200" : {
275             "description" : "Output type",
276             "schema" : {
277               "$ref" : "#/definitions/Loop"
278             }
279           }
280         },
281         "x-camelContextId" : "camel-1",
282         "x-routeId" : "route8"
283       }
284     },
285     "/v2/loop/getAllNames" : {
286       "get" : {
287         "operationId" : "route2",
288         "produces" : [ "application/json" ],
289         "responses" : {
290           "200" : {
291             "description" : "Output type",
292             "schema" : {
293               "type" : "array",
294               "items" : {
295                 "type" : "string"
296               }
297             }
298           }
299         },
300         "x-camelContextId" : "camel-1",
301         "x-routeId" : "route2"
302       }
303     },
304     "/v2/loop/getstatus/{loopName}" : {
305       "get" : {
306         "operationId" : "route15",
307         "produces" : [ "application/json" ],
308         "parameters" : [ {
309           "name" : "loopName",
310           "in" : "path",
311           "required" : true,
312           "type" : "string"
313         } ],
314         "responses" : {
315           "200" : {
316             "description" : "Output type",
317             "schema" : {
318               "$ref" : "#/definitions/Loop"
319             }
320           }
321         },
322         "x-camelContextId" : "camel-1",
323         "x-routeId" : "route15"
324       }
325     },
326     "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
327       "put" : {
328         "operationId" : "route9",
329         "produces" : [ "application/json" ],
330         "parameters" : [ {
331           "name" : "loopName",
332           "in" : "path",
333           "required" : true,
334           "type" : "string"
335         } ],
336         "responses" : {
337           "200" : {
338             "description" : "Output type",
339             "schema" : {
340               "$ref" : "#/definitions/Loop"
341             }
342           }
343         },
344         "x-camelContextId" : "camel-1",
345         "x-routeId" : "route9"
346       }
347     },
348     "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
349       "put" : {
350         "operationId" : "route17",
351         "produces" : [ "application/json" ],
352         "parameters" : [ {
353           "name" : "loopName",
354           "in" : "path",
355           "required" : true,
356           "type" : "string"
357         }, {
358           "name" : "policyType",
359           "in" : "path",
360           "required" : true,
361           "type" : "string"
362         }, {
363           "name" : "policyVersion",
364           "in" : "path",
365           "required" : true,
366           "type" : "string"
367         } ],
368         "responses" : {
369           "200" : {
370             "description" : "Output type",
371             "schema" : {
372               "$ref" : "#/definitions/Loop"
373             }
374           }
375         },
376         "x-camelContextId" : "camel-1",
377         "x-routeId" : "route17"
378       }
379     },
380     "/v2/loop/restart/{loopName}" : {
381       "put" : {
382         "operationId" : "route12",
383         "produces" : [ "application/json" ],
384         "parameters" : [ {
385           "name" : "loopName",
386           "in" : "path",
387           "required" : true,
388           "type" : "string"
389         } ],
390         "responses" : {
391           "200" : {
392             "description" : "Output type",
393             "schema" : {
394               "$ref" : "#/definitions/Loop"
395             }
396           }
397         },
398         "x-camelContextId" : "camel-1",
399         "x-routeId" : "route12"
400       }
401     },
402     "/v2/loop/stop/{loopName}" : {
403       "put" : {
404         "operationId" : "route11",
405         "produces" : [ "application/json" ],
406         "parameters" : [ {
407           "name" : "loopName",
408           "in" : "path",
409           "required" : true,
410           "type" : "string"
411         } ],
412         "responses" : {
413           "200" : {
414             "description" : "Output type",
415             "schema" : {
416               "$ref" : "#/definitions/Loop"
417             }
418           }
419         },
420         "x-camelContextId" : "camel-1",
421         "x-routeId" : "route11"
422       }
423     },
424     "/v2/loop/submit/{loopName}" : {
425       "put" : {
426         "operationId" : "route13",
427         "produces" : [ "application/json" ],
428         "parameters" : [ {
429           "name" : "loopName",
430           "in" : "path",
431           "required" : true,
432           "type" : "string"
433         } ],
434         "responses" : {
435           "200" : {
436             "description" : "Output type",
437             "schema" : {
438               "$ref" : "#/definitions/Loop"
439             }
440           }
441         },
442         "x-camelContextId" : "camel-1",
443         "x-routeId" : "route13"
444       }
445     },
446     "/v2/loop/svgRepresentation/{loopName}" : {
447       "get" : {
448         "operationId" : "route4",
449         "produces" : [ "application/xml" ],
450         "parameters" : [ {
451           "name" : "loopName",
452           "in" : "path",
453           "required" : true,
454           "type" : "string"
455         } ],
456         "responses" : {
457           "200" : {
458             "description" : "Output type",
459             "schema" : {
460               "type" : "string"
461             }
462           }
463         },
464         "x-camelContextId" : "camel-1",
465         "x-routeId" : "route4"
466       }
467     },
468     "/v2/loop/undeploy/{loopName}" : {
469       "put" : {
470         "operationId" : "route10",
471         "produces" : [ "application/json" ],
472         "parameters" : [ {
473           "name" : "loopName",
474           "in" : "path",
475           "required" : true,
476           "type" : "string"
477         } ],
478         "responses" : {
479           "200" : {
480             "description" : "Output type",
481             "schema" : {
482               "$ref" : "#/definitions/Loop"
483             }
484           }
485         },
486         "x-camelContextId" : "camel-1",
487         "x-routeId" : "route10"
488       }
489     },
490     "/v2/loop/updateGlobalProperties/{loopName}" : {
491       "post" : {
492         "operationId" : "route5",
493         "consumes" : [ "application/json" ],
494         "produces" : [ "application/json" ],
495         "parameters" : [ {
496           "name" : "loopName",
497           "in" : "path",
498           "required" : true,
499           "type" : "string"
500         }, {
501           "in" : "body",
502           "name" : "body",
503           "required" : true,
504           "schema" : {
505             "$ref" : "#/definitions/JsonObject"
506           }
507         } ],
508         "responses" : {
509           "200" : {
510             "description" : "Output type",
511             "schema" : {
512               "$ref" : "#/definitions/Loop"
513             }
514           }
515         },
516         "x-camelContextId" : "camel-1",
517         "x-routeId" : "route5"
518       }
519     },
520     "/v2/loop/updateMicroservicePolicy/{loopName}" : {
521       "post" : {
522         "operationId" : "route7",
523         "consumes" : [ "application/json" ],
524         "produces" : [ "application/json" ],
525         "parameters" : [ {
526           "name" : "loopName",
527           "in" : "path",
528           "required" : true,
529           "type" : "string"
530         }, {
531           "in" : "body",
532           "name" : "body",
533           "required" : true,
534           "schema" : {
535             "$ref" : "#/definitions/MicroServicePolicy"
536           }
537         } ],
538         "responses" : {
539           "200" : {
540             "description" : "Output type",
541             "schema" : {
542               "$ref" : "#/definitions/MicroServicePolicy"
543             }
544           }
545         },
546         "x-camelContextId" : "camel-1",
547         "x-routeId" : "route7"
548       }
549     },
550     "/v2/loop/updateOperationalPolicies/{loopName}" : {
551       "post" : {
552         "operationId" : "route6",
553         "consumes" : [ "application/json" ],
554         "produces" : [ "application/json" ],
555         "parameters" : [ {
556           "name" : "loopName",
557           "in" : "path",
558           "required" : true,
559           "type" : "string"
560         }, {
561           "in" : "body",
562           "name" : "body",
563           "required" : true,
564           "schema" : {
565             "$ref" : "#/definitions/JsonArray"
566           }
567         } ],
568         "responses" : {
569           "200" : {
570             "description" : "Output type",
571             "schema" : {
572               "$ref" : "#/definitions/Loop"
573             }
574           }
575         },
576         "x-camelContextId" : "camel-1",
577         "x-routeId" : "route6"
578       }
579     },
580     "/v2/policyToscaModels" : {
581       "get" : {
582         "operationId" : "route28",
583         "produces" : [ "application/json" ],
584         "responses" : {
585           "200" : {
586             "description" : "Output type",
587             "schema" : {
588               "$ref" : "#/definitions/PolicyModel"
589             }
590           }
591         },
592         "x-camelContextId" : "camel-1",
593         "x-routeId" : "route28"
594       },
595       "post" : {
596         "operationId" : "route29",
597         "consumes" : [ "plain/text" ],
598         "produces" : [ "application/json" ],
599         "parameters" : [ {
600           "in" : "body",
601           "name" : "body",
602           "required" : true,
603           "schema" : {
604             "type" : "string"
605           }
606         } ],
607         "responses" : {
608           "200" : {
609             "description" : "Output type",
610             "schema" : {
611               "$ref" : "#/definitions/PolicyModel"
612             }
613           }
614         },
615         "x-camelContextId" : "camel-1",
616         "x-routeId" : "route29"
617       }
618     },
619     "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
620       "get" : {
621         "produces" : [ "application/json" ],
622         "parameters" : [ {
623           "name" : "policyModelType",
624           "in" : "path",
625           "required" : true,
626           "type" : "string"
627         }, {
628           "name" : "policyModelVersion",
629           "in" : "path",
630           "required" : true,
631           "type" : "string"
632         } ],
633         "responses" : {
634           "200" : {
635             "description" : "Output type",
636             "schema" : {
637               "$ref" : "#/definitions/PolicyModel"
638             }
639           }
640         },
641         "x-camelContextId" : "camel-1",
642         "x-routeId" : null
643       },
644       "put" : {
645         "operationId" : "route30",
646         "consumes" : [ "plain/text" ],
647         "produces" : [ "application/json" ],
648         "parameters" : [ {
649           "name" : "policyModelType",
650           "in" : "path",
651           "required" : true,
652           "type" : "string"
653         }, {
654           "name" : "policyModelVersion",
655           "in" : "path",
656           "required" : true,
657           "type" : "string"
658         }, {
659           "in" : "body",
660           "name" : "body",
661           "required" : true,
662           "schema" : {
663             "type" : "string"
664           }
665         } ],
666         "responses" : {
667           "200" : {
668             "description" : "Output type",
669             "schema" : {
670               "$ref" : "#/definitions/PolicyModel"
671             }
672           }
673         },
674         "x-camelContextId" : "camel-1",
675         "x-routeId" : "route30"
676       }
677     },
678     "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
679       "get" : {
680         "produces" : [ "application/json" ],
681         "parameters" : [ {
682           "name" : "policyModelType",
683           "in" : "path",
684           "required" : true,
685           "type" : "string"
686         }, {
687           "name" : "policyModelVersion",
688           "in" : "path",
689           "required" : true,
690           "type" : "string"
691         } ],
692         "responses" : {
693           "200" : {
694             "description" : "Output type",
695             "schema" : {
696               "type" : "string"
697             }
698           }
699         },
700         "x-camelContextId" : "camel-1",
701         "x-routeId" : null
702       }
703     },
704     "/v2/templates" : {
705       "get" : {
706         "operationId" : "route34",
707         "produces" : [ "application/json" ],
708         "responses" : {
709           "200" : {
710             "description" : "Output type",
711             "schema" : {
712               "$ref" : "#/definitions/LoopTemplate"
713             }
714           }
715         },
716         "x-camelContextId" : "camel-1",
717         "x-routeId" : "route34"
718       }
719     },
720     "/v2/templates/{templateName}" : {
721       "get" : {
722         "produces" : [ "application/json" ],
723         "parameters" : [ {
724           "name" : "templateName",
725           "in" : "path",
726           "required" : true,
727           "type" : "string"
728         } ],
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" : null
739       }
740     },
741     "/v2/templates/{templateName}/svgRepresentation" : {
742       "get" : {
743         "produces" : [ "application/xml" ],
744         "parameters" : [ {
745           "name" : "templateName",
746           "in" : "path",
747           "required" : true,
748           "type" : "string"
749         } ],
750         "responses" : {
751           "200" : {
752             "description" : "Output type",
753             "schema" : {
754               "type" : "string"
755             }
756           }
757         },
758         "x-camelContextId" : "camel-1",
759         "x-routeId" : null
760       }
761     },
762     "/v2/templates/names" : {
763       "get" : {
764         "produces" : [ "application/json" ],
765         "responses" : {
766           "200" : {
767             "description" : "Output type",
768             "schema" : {
769               "type" : "array",
770               "items" : {
771                 "type" : "string"
772               }
773             }
774           }
775         },
776         "x-camelContextId" : "camel-1",
777         "x-routeId" : null
778       }
779     },
780     "/v1/healthcheck" : {
781       "get" : {
782         "operationId" : "route36",
783         "produces" : [ "application/json" ],
784         "responses" : {
785           "200" : {
786             "description" : "Output type",
787             "schema" : {
788               "$ref" : "#/definitions/CldsHealthCheck"
789             }
790           }
791         },
792         "x-camelContextId" : "camel-1",
793         "x-routeId" : "route36"
794       }
795     },
796     "/v1/user/getUser" : {
797       "get" : {
798         "operationId" : "route37",
799         "produces" : [ "text/plain" ],
800         "responses" : {
801           "200" : { }
802         },
803         "x-camelContextId" : "camel-1",
804         "x-routeId" : "route37"
805       }
806     }
807   },
808   "definitions" : {
809     "ClampInformation" : {
810       "type" : "object",
811       "properties" : {
812         "userName" : {
813           "type" : "string"
814         },
815         "cldsVersion" : {
816           "type" : "string"
817         },
818         "allPermissions" : {
819           "type" : "array",
820           "items" : {
821             "type" : "string"
822           }
823         }
824       },
825       "x-className" : {
826         "type" : "string",
827         "format" : "org.onap.clamp.clds.model.ClampInformation"
828       }
829     },
830     "Dictionary" : {
831       "type" : "object",
832       "properties" : {
833         "createdDate" : {
834           "type" : "integer",
835           "format" : "int64"
836         },
837         "updatedDate" : {
838           "type" : "integer",
839           "format" : "int64"
840         },
841         "updatedBy" : {
842           "type" : "string"
843         },
844         "createdBy" : {
845           "type" : "string"
846         },
847         "name" : {
848           "type" : "string"
849         },
850         "secondLevelDictionary" : {
851           "type" : "integer",
852           "format" : "int32"
853         },
854         "subDictionaryType" : {
855           "type" : "string"
856         },
857         "dictionaryElements" : {
858           "type" : "array",
859           "uniqueItems" : true,
860           "items" : {
861             "$ref" : "#/definitions/DictionaryElement"
862           }
863         }
864       },
865       "x-className" : {
866         "type" : "string",
867         "format" : "org.onap.clamp.tosca.Dictionary"
868       }
869     },
870     "DictionaryElement" : {
871       "type" : "object",
872       "properties" : {
873         "createdDate" : {
874           "type" : "integer",
875           "format" : "int64"
876         },
877         "updatedDate" : {
878           "type" : "integer",
879           "format" : "int64"
880         },
881         "updatedBy" : {
882           "type" : "string"
883         },
884         "createdBy" : {
885           "type" : "string"
886         },
887         "shortName" : {
888           "type" : "string"
889         },
890         "name" : {
891           "type" : "string"
892         },
893         "description" : {
894           "type" : "string"
895         },
896         "type" : {
897           "type" : "string"
898         },
899         "subDictionary" : {
900           "type" : "string"
901         },
902         "usedByDictionaries" : {
903           "type" : "array",
904           "uniqueItems" : true,
905           "items" : {
906             "$ref" : "#/definitions/Dictionary"
907           }
908         }
909       }
910     },
911     "Loop" : {
912       "type" : "object",
913       "properties" : {
914         "createdDate" : {
915           "type" : "integer",
916           "format" : "int64"
917         },
918         "updatedDate" : {
919           "type" : "integer",
920           "format" : "int64"
921         },
922         "updatedBy" : {
923           "type" : "string"
924         },
925         "createdBy" : {
926           "type" : "string"
927         },
928         "name" : {
929           "type" : "string"
930         },
931         "dcaeDeploymentId" : {
932           "type" : "string"
933         },
934         "dcaeDeploymentStatusUrl" : {
935           "type" : "string"
936         },
937         "svgRepresentation" : {
938           "type" : "string"
939         },
940         "globalPropertiesJson" : {
941           "$ref" : "#/definitions/JsonObject"
942         },
943         "modelService" : {
944           "$ref" : "#/definitions/Service"
945         },
946         "lastComputedState" : {
947           "type" : "string",
948           "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
949         },
950         "components" : {
951           "type" : "object",
952           "additionalProperties" : {
953             "$ref" : "#/definitions/ExternalComponent"
954           }
955         },
956         "operationalPolicies" : {
957           "type" : "array",
958           "uniqueItems" : true,
959           "items" : {
960             "$ref" : "#/definitions/OperationalPolicy"
961           }
962         },
963         "microServicePolicies" : {
964           "type" : "array",
965           "uniqueItems" : true,
966           "items" : {
967             "$ref" : "#/definitions/MicroServicePolicy"
968           }
969         },
970         "loopLogs" : {
971           "type" : "array",
972           "uniqueItems" : true,
973           "items" : {
974             "$ref" : "#/definitions/LoopLog"
975           }
976         },
977         "loopTemplate" : {
978           "$ref" : "#/definitions/LoopTemplate"
979         }
980       },
981       "x-className" : {
982         "type" : "string",
983         "format" : "org.onap.clamp.loop.Loop"
984       }
985     },
986     "JsonPrimitive" : {
987       "type" : "object",
988       "properties" : {
989         "asInt" : {
990           "type" : "integer",
991           "format" : "int32"
992         },
993         "asDouble" : {
994           "type" : "number",
995           "format" : "double"
996         },
997         "asLong" : {
998           "type" : "integer",
999           "format" : "int64"
1000         },
1001         "boolean" : {
1002           "type" : "boolean"
1003         },
1004         "asBoolean" : {
1005           "type" : "boolean"
1006         },
1007         "number" : {
1008           "type" : "boolean"
1009         },
1010         "asString" : {
1011           "type" : "string"
1012         },
1013         "asBigDecimal" : {
1014           "type" : "number"
1015         },
1016         "asBigInteger" : {
1017           "type" : "integer"
1018         },
1019         "asShort" : {
1020           "type" : "integer",
1021           "format" : "int32"
1022         },
1023         "asFloat" : {
1024           "type" : "number",
1025           "format" : "float"
1026         },
1027         "asByte" : {
1028           "type" : "string",
1029           "format" : "byte"
1030         },
1031         "asCharacter" : {
1032           "type" : "string"
1033         },
1034         "asNumber" : {
1035           "$ref" : "#/definitions/Number"
1036         },
1037         "string" : {
1038           "type" : "boolean"
1039         },
1040         "asJsonObject" : {
1041           "$ref" : "#/definitions/JsonObject"
1042         },
1043         "jsonObject" : {
1044           "type" : "boolean"
1045         },
1046         "asJsonArray" : {
1047           "$ref" : "#/definitions/JsonArray"
1048         },
1049         "asJsonPrimitive" : {
1050           "$ref" : "#/definitions/JsonPrimitive"
1051         },
1052         "jsonNull" : {
1053           "type" : "boolean"
1054         },
1055         "jsonPrimitive" : {
1056           "type" : "boolean"
1057         },
1058         "jsonArray" : {
1059           "type" : "boolean"
1060         },
1061         "asJsonNull" : {
1062           "$ref" : "#/definitions/JsonNull"
1063         }
1064       }
1065     },
1066     "MicroServicePolicy" : {
1067       "type" : "object",
1068       "properties" : {
1069         "createdDate" : {
1070           "type" : "integer",
1071           "format" : "int64"
1072         },
1073         "updatedDate" : {
1074           "type" : "integer",
1075           "format" : "int64"
1076         },
1077         "updatedBy" : {
1078           "type" : "string"
1079         },
1080         "createdBy" : {
1081           "type" : "string"
1082         },
1083         "jsonRepresentation" : {
1084           "$ref" : "#/definitions/JsonObject"
1085         },
1086         "configurationsJson" : {
1087           "$ref" : "#/definitions/JsonObject"
1088         },
1089         "loopElementModel" : {
1090           "$ref" : "#/definitions/LoopElementModel"
1091         },
1092         "pdpGroup" : {
1093           "type" : "string"
1094         },
1095         "pdpSubgroup" : {
1096           "type" : "string"
1097         },
1098         "policyModel" : {
1099           "$ref" : "#/definitions/PolicyModel"
1100         },
1101         "name" : {
1102           "type" : "string"
1103         },
1104         "context" : {
1105           "type" : "string"
1106         },
1107         "deviceTypeScope" : {
1108           "type" : "string"
1109         },
1110         "shared" : {
1111           "type" : "boolean"
1112         },
1113         "usedByLoops" : {
1114           "type" : "array",
1115           "uniqueItems" : true,
1116           "items" : {
1117             "$ref" : "#/definitions/Loop"
1118           }
1119         },
1120         "dcaeDeploymentId" : {
1121           "type" : "string"
1122         },
1123         "dcaeDeploymentStatusUrl" : {
1124           "type" : "string"
1125         },
1126         "dcaeBlueprintId" : {
1127           "type" : "string"
1128         }
1129       },
1130       "x-className" : {
1131         "type" : "string",
1132         "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1133       }
1134     },
1135     "JsonObject" : {
1136       "type" : "object",
1137       "properties" : {
1138         "asInt" : {
1139           "type" : "integer",
1140           "format" : "int32"
1141         },
1142         "asDouble" : {
1143           "type" : "number",
1144           "format" : "double"
1145         },
1146         "asLong" : {
1147           "type" : "integer",
1148           "format" : "int64"
1149         },
1150         "asBoolean" : {
1151           "type" : "boolean"
1152         },
1153         "asJsonObject" : {
1154           "$ref" : "#/definitions/JsonObject"
1155         },
1156         "asString" : {
1157           "type" : "string"
1158         },
1159         "jsonObject" : {
1160           "type" : "boolean"
1161         },
1162         "asJsonArray" : {
1163           "$ref" : "#/definitions/JsonArray"
1164         },
1165         "asJsonPrimitive" : {
1166           "$ref" : "#/definitions/JsonPrimitive"
1167         },
1168         "jsonNull" : {
1169           "type" : "boolean"
1170         },
1171         "jsonPrimitive" : {
1172           "type" : "boolean"
1173         },
1174         "jsonArray" : {
1175           "type" : "boolean"
1176         },
1177         "asBigDecimal" : {
1178           "type" : "number"
1179         },
1180         "asBigInteger" : {
1181           "type" : "integer"
1182         },
1183         "asShort" : {
1184           "type" : "integer",
1185           "format" : "int32"
1186         },
1187         "asJsonNull" : {
1188           "$ref" : "#/definitions/JsonNull"
1189         },
1190         "asFloat" : {
1191           "type" : "number",
1192           "format" : "float"
1193         },
1194         "asByte" : {
1195           "type" : "string",
1196           "format" : "byte"
1197         },
1198         "asCharacter" : {
1199           "type" : "string"
1200         },
1201         "asNumber" : {
1202           "$ref" : "#/definitions/Number"
1203         }
1204       },
1205       "x-className" : {
1206         "type" : "string",
1207         "format" : "com.google.gson.JsonObject"
1208       }
1209     },
1210     "PolicyModel" : {
1211       "type" : "object",
1212       "properties" : {
1213         "createdDate" : {
1214           "type" : "integer",
1215           "format" : "int64"
1216         },
1217         "updatedDate" : {
1218           "type" : "integer",
1219           "format" : "int64"
1220         },
1221         "updatedBy" : {
1222           "type" : "string"
1223         },
1224         "createdBy" : {
1225           "type" : "string"
1226         },
1227         "policyModelType" : {
1228           "type" : "string"
1229         },
1230         "version" : {
1231           "type" : "string"
1232         },
1233         "policyModelTosca" : {
1234           "type" : "string"
1235         },
1236         "policyAcronym" : {
1237           "type" : "string"
1238         },
1239         "usedByElementModels" : {
1240           "type" : "array",
1241           "uniqueItems" : true,
1242           "items" : {
1243             "$ref" : "#/definitions/LoopElementModel"
1244           }
1245         },
1246         "policyPdpGroup" : {
1247           "$ref" : "#/definitions/JsonObject"
1248         }
1249       },
1250       "x-className" : {
1251         "type" : "string",
1252         "format" : "org.onap.clamp.loop.template.PolicyModel"
1253       }
1254     },
1255     "Service" : {
1256       "type" : "object",
1257       "properties" : {
1258         "serviceUuid" : {
1259           "type" : "string"
1260         },
1261         "name" : {
1262           "type" : "string"
1263         },
1264         "version" : {
1265           "type" : "string"
1266         },
1267         "serviceDetails" : {
1268           "$ref" : "#/definitions/JsonObject"
1269         },
1270         "resourceDetails" : {
1271           "$ref" : "#/definitions/JsonObject"
1272         }
1273       }
1274     },
1275     "LoopTemplateLoopElementModel" : {
1276       "type" : "object",
1277       "properties" : {
1278         "loopTemplate" : {
1279           "$ref" : "#/definitions/LoopTemplate"
1280         },
1281         "loopElementModel" : {
1282           "$ref" : "#/definitions/LoopElementModel"
1283         },
1284         "flowOrder" : {
1285           "type" : "integer",
1286           "format" : "int32"
1287         }
1288       }
1289     },
1290     "OperationalPolicy" : {
1291       "type" : "object",
1292       "properties" : {
1293         "createdDate" : {
1294           "type" : "integer",
1295           "format" : "int64"
1296         },
1297         "updatedDate" : {
1298           "type" : "integer",
1299           "format" : "int64"
1300         },
1301         "updatedBy" : {
1302           "type" : "string"
1303         },
1304         "createdBy" : {
1305           "type" : "string"
1306         },
1307         "jsonRepresentation" : {
1308           "$ref" : "#/definitions/JsonObject"
1309         },
1310         "configurationsJson" : {
1311           "$ref" : "#/definitions/JsonObject"
1312         },
1313         "loopElementModel" : {
1314           "$ref" : "#/definitions/LoopElementModel"
1315         },
1316         "pdpGroup" : {
1317           "type" : "string"
1318         },
1319         "pdpSubgroup" : {
1320           "type" : "string"
1321         },
1322         "policyModel" : {
1323           "$ref" : "#/definitions/PolicyModel"
1324         },
1325         "name" : {
1326           "type" : "string"
1327         },
1328         "loop" : {
1329           "$ref" : "#/definitions/Loop"
1330         },
1331         "legacy" : {
1332           "type" : "boolean"
1333         }
1334       }
1335     },
1336     "JsonNull" : {
1337       "type" : "object",
1338       "properties" : {
1339         "asInt" : {
1340           "type" : "integer",
1341           "format" : "int32"
1342         },
1343         "asDouble" : {
1344           "type" : "number",
1345           "format" : "double"
1346         },
1347         "asLong" : {
1348           "type" : "integer",
1349           "format" : "int64"
1350         },
1351         "asBoolean" : {
1352           "type" : "boolean"
1353         },
1354         "asJsonObject" : {
1355           "$ref" : "#/definitions/JsonObject"
1356         },
1357         "asString" : {
1358           "type" : "string"
1359         },
1360         "jsonObject" : {
1361           "type" : "boolean"
1362         },
1363         "asJsonArray" : {
1364           "$ref" : "#/definitions/JsonArray"
1365         },
1366         "asJsonPrimitive" : {
1367           "$ref" : "#/definitions/JsonPrimitive"
1368         },
1369         "jsonNull" : {
1370           "type" : "boolean"
1371         },
1372         "jsonPrimitive" : {
1373           "type" : "boolean"
1374         },
1375         "jsonArray" : {
1376           "type" : "boolean"
1377         },
1378         "asBigDecimal" : {
1379           "type" : "number"
1380         },
1381         "asBigInteger" : {
1382           "type" : "integer"
1383         },
1384         "asShort" : {
1385           "type" : "integer",
1386           "format" : "int32"
1387         },
1388         "asJsonNull" : {
1389           "$ref" : "#/definitions/JsonNull"
1390         },
1391         "asFloat" : {
1392           "type" : "number",
1393           "format" : "float"
1394         },
1395         "asByte" : {
1396           "type" : "string",
1397           "format" : "byte"
1398         },
1399         "asCharacter" : {
1400           "type" : "string"
1401         },
1402         "asNumber" : {
1403           "$ref" : "#/definitions/Number"
1404         }
1405       }
1406     },
1407     "JsonArray" : {
1408       "type" : "object",
1409       "properties" : {
1410         "asInt" : {
1411           "type" : "integer",
1412           "format" : "int32"
1413         },
1414         "asDouble" : {
1415           "type" : "number",
1416           "format" : "double"
1417         },
1418         "asLong" : {
1419           "type" : "integer",
1420           "format" : "int64"
1421         },
1422         "asBoolean" : {
1423           "type" : "boolean"
1424         },
1425         "asString" : {
1426           "type" : "string"
1427         },
1428         "asBigDecimal" : {
1429           "type" : "number"
1430         },
1431         "asBigInteger" : {
1432           "type" : "integer"
1433         },
1434         "asShort" : {
1435           "type" : "integer",
1436           "format" : "int32"
1437         },
1438         "asFloat" : {
1439           "type" : "number",
1440           "format" : "float"
1441         },
1442         "asByte" : {
1443           "type" : "string",
1444           "format" : "byte"
1445         },
1446         "asCharacter" : {
1447           "type" : "string"
1448         },
1449         "asNumber" : {
1450           "$ref" : "#/definitions/Number"
1451         },
1452         "asJsonObject" : {
1453           "$ref" : "#/definitions/JsonObject"
1454         },
1455         "jsonObject" : {
1456           "type" : "boolean"
1457         },
1458         "asJsonArray" : {
1459           "$ref" : "#/definitions/JsonArray"
1460         },
1461         "asJsonPrimitive" : {
1462           "$ref" : "#/definitions/JsonPrimitive"
1463         },
1464         "jsonNull" : {
1465           "type" : "boolean"
1466         },
1467         "jsonPrimitive" : {
1468           "type" : "boolean"
1469         },
1470         "jsonArray" : {
1471           "type" : "boolean"
1472         },
1473         "asJsonNull" : {
1474           "$ref" : "#/definitions/JsonNull"
1475         }
1476       },
1477       "x-className" : {
1478         "type" : "string",
1479         "format" : "com.google.gson.JsonArray"
1480       }
1481     },
1482     "LoopLog" : {
1483       "type" : "object",
1484       "properties" : {
1485         "id" : {
1486           "type" : "integer",
1487           "format" : "int64"
1488         },
1489         "logType" : {
1490           "type" : "string",
1491           "enum" : [ "INFO", "WARNING", "ERROR" ]
1492         },
1493         "logComponent" : {
1494           "type" : "string"
1495         },
1496         "message" : {
1497           "type" : "string"
1498         },
1499         "loop" : {
1500           "$ref" : "#/definitions/Loop"
1501         },
1502         "logInstant" : {
1503           "type" : "integer",
1504           "format" : "int64"
1505         }
1506       }
1507     },
1508     "Number" : {
1509       "type" : "object"
1510     },
1511     "ExternalComponent" : {
1512       "type" : "object",
1513       "properties" : {
1514         "state" : {
1515           "$ref" : "#/definitions/ExternalComponentState"
1516         },
1517         "componentName" : {
1518           "type" : "string"
1519         }
1520       }
1521     },
1522     "LoopTemplate" : {
1523       "type" : "object",
1524       "properties" : {
1525         "createdDate" : {
1526           "type" : "integer",
1527           "format" : "int64"
1528         },
1529         "updatedDate" : {
1530           "type" : "integer",
1531           "format" : "int64"
1532         },
1533         "updatedBy" : {
1534           "type" : "string"
1535         },
1536         "createdBy" : {
1537           "type" : "string"
1538         },
1539         "name" : {
1540           "type" : "string"
1541         },
1542         "dcaeBlueprintId" : {
1543           "type" : "string"
1544         },
1545         "blueprint" : {
1546           "type" : "string"
1547         },
1548         "svgRepresentation" : {
1549           "type" : "string"
1550         },
1551         "loopElementModelsUsed" : {
1552           "type" : "array",
1553           "uniqueItems" : true,
1554           "items" : {
1555             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1556           }
1557         },
1558         "modelService" : {
1559           "$ref" : "#/definitions/Service"
1560         },
1561         "maximumInstancesAllowed" : {
1562           "type" : "integer",
1563           "format" : "int32"
1564         },
1565         "uniqueBlueprint" : {
1566           "type" : "boolean"
1567         },
1568         "allowedLoopType" : {
1569           "type" : "string",
1570           "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1571         }
1572       },
1573       "x-className" : {
1574         "type" : "string",
1575         "format" : "org.onap.clamp.loop.template.LoopTemplate"
1576       }
1577     },
1578     "ExternalComponentState" : {
1579       "type" : "object",
1580       "properties" : {
1581         "stateName" : {
1582           "type" : "string"
1583         },
1584         "description" : {
1585           "type" : "string"
1586         },
1587         "level" : {
1588           "type" : "integer",
1589           "format" : "int32"
1590         }
1591       }
1592     },
1593     "LoopElementModel" : {
1594       "type" : "object",
1595       "properties" : {
1596         "createdDate" : {
1597           "type" : "integer",
1598           "format" : "int64"
1599         },
1600         "updatedDate" : {
1601           "type" : "integer",
1602           "format" : "int64"
1603         },
1604         "updatedBy" : {
1605           "type" : "string"
1606         },
1607         "createdBy" : {
1608           "type" : "string"
1609         },
1610         "name" : {
1611           "type" : "string"
1612         },
1613         "dcaeBlueprintId" : {
1614           "type" : "string"
1615         },
1616         "blueprint" : {
1617           "type" : "string"
1618         },
1619         "loopElementType" : {
1620           "type" : "string"
1621         },
1622         "shortName" : {
1623           "type" : "string"
1624         },
1625         "policyModels" : {
1626           "type" : "array",
1627           "uniqueItems" : true,
1628           "items" : {
1629             "$ref" : "#/definitions/PolicyModel"
1630           }
1631         },
1632         "usedByLoopTemplates" : {
1633           "type" : "array",
1634           "uniqueItems" : true,
1635           "items" : {
1636             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1637           }
1638         }
1639       }
1640     },
1641     "CldsHealthCheck" : {
1642       "type" : "object",
1643       "properties" : {
1644         "healthCheckComponent" : {
1645           "type" : "string"
1646         },
1647         "healthCheckStatus" : {
1648           "type" : "string"
1649         },
1650         "description" : {
1651           "type" : "string"
1652         }
1653       },
1654       "x-className" : {
1655         "type" : "string",
1656         "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
1657       }
1658     }
1659   }
1660 }