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