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