3b34182c1652e05a543665772dec50f10749d836
[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:39237",
8   "basePath" : "/restservices/clds/",
9   "schemes" : [ "http" ],
10   "paths" : {
11     "/v2/dictionary" : {
12       "get" : {
13         "operationId" : "route49",
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-2",
24         "x-routeId" : "route49"
25       },
26       "put" : {
27         "operationId" : "route51",
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-2",
47         "x-routeId" : "route51"
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-2",
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-2",
97         "x-routeId" : null
98       },
99       "delete" : {
100         "operationId" : "route53",
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-2",
112         "x-routeId" : "route53"
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-2",
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-2",
151         "x-routeId" : null
152       }
153     },
154     "/v2/loop/{loopName}" : {
155       "get" : {
156         "operationId" : "route34",
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-2",
173         "x-routeId" : "route34"
174       }
175     },
176     "/v2/loop/delete/{loopName}" : {
177       "put" : {
178         "operationId" : "route45",
179         "parameters" : [ {
180           "name" : "loopName",
181           "in" : "path",
182           "required" : true,
183           "type" : "string"
184         } ],
185         "responses" : {
186           "200" : { }
187         },
188         "x-camelContextId" : "camel-2",
189         "x-routeId" : "route45"
190       }
191     },
192     "/v2/loop/deploy/{loopName}" : {
193       "put" : {
194         "operationId" : "route39",
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-2",
211         "x-routeId" : "route39"
212       }
213     },
214     "/v2/loop/getAllNames" : {
215       "get" : {
216         "operationId" : "route33",
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-2",
230         "x-routeId" : "route33"
231       }
232     },
233     "/v2/loop/getstatus/{loopName}" : {
234       "get" : {
235         "operationId" : "route46",
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-2",
252         "x-routeId" : "route46"
253       }
254     },
255     "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
256       "put" : {
257         "operationId" : "route40",
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-2",
274         "x-routeId" : "route40"
275       }
276     },
277     "/v2/loop/restart/{loopName}" : {
278       "put" : {
279         "operationId" : "route43",
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-2",
296         "x-routeId" : "route43"
297       }
298     },
299     "/v2/loop/stop/{loopName}" : {
300       "put" : {
301         "operationId" : "route42",
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-2",
318         "x-routeId" : "route42"
319       }
320     },
321     "/v2/loop/submit/{loopName}" : {
322       "put" : {
323         "operationId" : "route44",
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-2",
340         "x-routeId" : "route44"
341       }
342     },
343     "/v2/loop/svgRepresentation/{loopName}" : {
344       "get" : {
345         "operationId" : "route35",
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-2",
362         "x-routeId" : "route35"
363       }
364     },
365     "/v2/loop/undeploy/{loopName}" : {
366       "put" : {
367         "operationId" : "route41",
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-2",
384         "x-routeId" : "route41"
385       }
386     },
387     "/v2/loop/updateGlobalProperties/{loopName}" : {
388       "post" : {
389         "operationId" : "route36",
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-2",
414         "x-routeId" : "route36"
415       }
416     },
417     "/v2/loop/updateMicroservicePolicy/{loopName}" : {
418       "post" : {
419         "operationId" : "route38",
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-2",
444         "x-routeId" : "route38"
445       }
446     },
447     "/v2/loop/updateOperationalPolicies/{loopName}" : {
448       "post" : {
449         "operationId" : "route37",
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-2",
474         "x-routeId" : "route37"
475       }
476     },
477     "/v2/policyToscaModels" : {
478       "get" : {
479         "operationId" : "route56",
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-2",
490         "x-routeId" : "route56"
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-2",
511         "x-routeId" : null
512       },
513       "put" : {
514         "operationId" : "route57",
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-2",
539         "x-routeId" : "route57"
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-2",
560         "x-routeId" : null
561       }
562     },
563     "/v2/templates" : {
564       "get" : {
565         "operationId" : "route60",
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-2",
576         "x-routeId" : "route60"
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-2",
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-2",
615         "x-routeId" : null
616       }
617     },
618     "/v1/healthcheck" : {
619       "get" : {
620         "operationId" : "route61",
621         "produces" : [ "application/json" ],
622         "responses" : {
623           "200" : {
624             "description" : "Output type",
625             "schema" : {
626               "$ref" : "#/definitions/CldsHealthCheck"
627             }
628           }
629         },
630         "x-camelContextId" : "camel-2",
631         "x-routeId" : "route61"
632       }
633     },
634     "/v1/user/getUser" : {
635       "get" : {
636         "operationId" : "route62",
637         "produces" : [ "text/plain" ],
638         "responses" : {
639           "200" : { }
640         },
641         "x-camelContextId" : "camel-2",
642         "x-routeId" : "route62"
643       }
644     }
645   },
646   "definitions" : {
647     "Dictionary" : {
648       "type" : "object",
649       "properties" : {
650         "createdDate" : {
651           "type" : "integer",
652           "format" : "int64"
653         },
654         "updatedDate" : {
655           "type" : "integer",
656           "format" : "int64"
657         },
658         "updatedBy" : {
659           "type" : "string"
660         },
661         "createdBy" : {
662           "type" : "string"
663         },
664         "name" : {
665           "type" : "string"
666         },
667         "secondLevelDictionary" : {
668           "type" : "integer",
669           "format" : "int32"
670         },
671         "subDictionaryType" : {
672           "type" : "string"
673         },
674         "dictionaryElements" : {
675           "type" : "array",
676           "uniqueItems" : true,
677           "items" : {
678             "$ref" : "#/definitions/DictionaryElement"
679           }
680         }
681       },
682       "x-className" : {
683         "type" : "string",
684         "format" : "org.onap.clamp.tosca.Dictionary"
685       }
686     },
687     "DictionaryElement" : {
688       "type" : "object",
689       "properties" : {
690         "createdDate" : {
691           "type" : "integer",
692           "format" : "int64"
693         },
694         "updatedDate" : {
695           "type" : "integer",
696           "format" : "int64"
697         },
698         "updatedBy" : {
699           "type" : "string"
700         },
701         "createdBy" : {
702           "type" : "string"
703         },
704         "shortName" : {
705           "type" : "string"
706         },
707         "name" : {
708           "type" : "string"
709         },
710         "description" : {
711           "type" : "string"
712         },
713         "type" : {
714           "type" : "string"
715         },
716         "subDictionary" : {
717           "type" : "string"
718         },
719         "usedByDictionaries" : {
720           "type" : "array",
721           "uniqueItems" : true,
722           "items" : {
723             "$ref" : "#/definitions/Dictionary"
724           }
725         }
726       }
727     },
728     "Loop" : {
729       "type" : "object",
730       "properties" : {
731         "createdDate" : {
732           "type" : "integer",
733           "format" : "int64"
734         },
735         "updatedDate" : {
736           "type" : "integer",
737           "format" : "int64"
738         },
739         "updatedBy" : {
740           "type" : "string"
741         },
742         "createdBy" : {
743           "type" : "string"
744         },
745         "name" : {
746           "type" : "string"
747         },
748         "dcaeDeploymentId" : {
749           "type" : "string"
750         },
751         "dcaeDeploymentStatusUrl" : {
752           "type" : "string"
753         },
754         "svgRepresentation" : {
755           "type" : "string"
756         },
757         "globalPropertiesJson" : {
758           "$ref" : "#/definitions/JsonObject"
759         },
760         "modelService" : {
761           "$ref" : "#/definitions/Service"
762         },
763         "lastComputedState" : {
764           "type" : "string",
765           "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
766         },
767         "components" : {
768           "type" : "object",
769           "additionalProperties" : {
770             "$ref" : "#/definitions/ExternalComponent"
771           }
772         },
773         "operationalPolicies" : {
774           "type" : "array",
775           "uniqueItems" : true,
776           "items" : {
777             "$ref" : "#/definitions/OperationalPolicy"
778           }
779         },
780         "microServicePolicies" : {
781           "type" : "array",
782           "uniqueItems" : true,
783           "items" : {
784             "$ref" : "#/definitions/MicroServicePolicy"
785           }
786         },
787         "loopLogs" : {
788           "type" : "array",
789           "uniqueItems" : true,
790           "items" : {
791             "$ref" : "#/definitions/LoopLog"
792           }
793         },
794         "loopTemplate" : {
795           "$ref" : "#/definitions/LoopTemplate"
796         }
797       },
798       "x-className" : {
799         "type" : "string",
800         "format" : "org.onap.clamp.loop.Loop"
801       }
802     },
803     "JsonPrimitive" : {
804       "type" : "object",
805       "properties" : {
806         "asInt" : {
807           "type" : "integer",
808           "format" : "int32"
809         },
810         "asDouble" : {
811           "type" : "number",
812           "format" : "double"
813         },
814         "asLong" : {
815           "type" : "integer",
816           "format" : "int64"
817         },
818         "boolean" : {
819           "type" : "boolean"
820         },
821         "asBoolean" : {
822           "type" : "boolean"
823         },
824         "number" : {
825           "type" : "boolean"
826         },
827         "asString" : {
828           "type" : "string"
829         },
830         "asNumber" : {
831           "$ref" : "#/definitions/Number"
832         },
833         "asFloat" : {
834           "type" : "number",
835           "format" : "float"
836         },
837         "asByte" : {
838           "type" : "string",
839           "format" : "byte"
840         },
841         "asCharacter" : {
842           "type" : "string"
843         },
844         "asBigDecimal" : {
845           "type" : "number"
846         },
847         "asBigInteger" : {
848           "type" : "integer"
849         },
850         "asShort" : {
851           "type" : "integer",
852           "format" : "int32"
853         },
854         "string" : {
855           "type" : "boolean"
856         },
857         "asJsonObject" : {
858           "$ref" : "#/definitions/JsonObject"
859         },
860         "asJsonArray" : {
861           "$ref" : "#/definitions/JsonArray"
862         },
863         "jsonObject" : {
864           "type" : "boolean"
865         },
866         "jsonArray" : {
867           "type" : "boolean"
868         },
869         "jsonPrimitive" : {
870           "type" : "boolean"
871         },
872         "jsonNull" : {
873           "type" : "boolean"
874         },
875         "asJsonPrimitive" : {
876           "$ref" : "#/definitions/JsonPrimitive"
877         },
878         "asJsonNull" : {
879           "$ref" : "#/definitions/JsonNull"
880         }
881       }
882     },
883     "MicroServicePolicy" : {
884       "type" : "object",
885       "properties" : {
886         "createdDate" : {
887           "type" : "integer",
888           "format" : "int64"
889         },
890         "updatedDate" : {
891           "type" : "integer",
892           "format" : "int64"
893         },
894         "updatedBy" : {
895           "type" : "string"
896         },
897         "createdBy" : {
898           "type" : "string"
899         },
900         "jsonRepresentation" : {
901           "$ref" : "#/definitions/JsonObject"
902         },
903         "configurationsJson" : {
904           "$ref" : "#/definitions/JsonObject"
905         },
906         "loopElementModel" : {
907           "$ref" : "#/definitions/LoopElementModel"
908         },
909         "pdpGroup" : {
910           "type" : "string"
911         },
912         "pdpSubgroup" : {
913           "type" : "string"
914         },
915         "policyModel" : {
916           "$ref" : "#/definitions/PolicyModel"
917         },
918         "name" : {
919           "type" : "string"
920         },
921         "context" : {
922           "type" : "string"
923         },
924         "deviceTypeScope" : {
925           "type" : "string"
926         },
927         "shared" : {
928           "type" : "boolean"
929         },
930         "usedByLoops" : {
931           "type" : "array",
932           "uniqueItems" : true,
933           "items" : {
934             "$ref" : "#/definitions/Loop"
935           }
936         },
937         "dcaeDeploymentId" : {
938           "type" : "string"
939         },
940         "dcaeDeploymentStatusUrl" : {
941           "type" : "string"
942         },
943         "dcaeBlueprintId" : {
944           "type" : "string"
945         }
946       },
947       "x-className" : {
948         "type" : "string",
949         "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
950       }
951     },
952     "JsonObject" : {
953       "type" : "object",
954       "properties" : {
955         "asInt" : {
956           "type" : "integer",
957           "format" : "int32"
958         },
959         "asDouble" : {
960           "type" : "number",
961           "format" : "double"
962         },
963         "asLong" : {
964           "type" : "integer",
965           "format" : "int64"
966         },
967         "asBoolean" : {
968           "type" : "boolean"
969         },
970         "asJsonObject" : {
971           "$ref" : "#/definitions/JsonObject"
972         },
973         "asString" : {
974           "type" : "string"
975         },
976         "asJsonArray" : {
977           "$ref" : "#/definitions/JsonArray"
978         },
979         "jsonObject" : {
980           "type" : "boolean"
981         },
982         "jsonArray" : {
983           "type" : "boolean"
984         },
985         "jsonPrimitive" : {
986           "type" : "boolean"
987         },
988         "jsonNull" : {
989           "type" : "boolean"
990         },
991         "asJsonPrimitive" : {
992           "$ref" : "#/definitions/JsonPrimitive"
993         },
994         "asJsonNull" : {
995           "$ref" : "#/definitions/JsonNull"
996         },
997         "asNumber" : {
998           "$ref" : "#/definitions/Number"
999         },
1000         "asFloat" : {
1001           "type" : "number",
1002           "format" : "float"
1003         },
1004         "asByte" : {
1005           "type" : "string",
1006           "format" : "byte"
1007         },
1008         "asCharacter" : {
1009           "type" : "string"
1010         },
1011         "asBigDecimal" : {
1012           "type" : "number"
1013         },
1014         "asBigInteger" : {
1015           "type" : "integer"
1016         },
1017         "asShort" : {
1018           "type" : "integer",
1019           "format" : "int32"
1020         }
1021       },
1022       "x-className" : {
1023         "type" : "string",
1024         "format" : "com.google.gson.JsonObject"
1025       }
1026     },
1027     "PolicyModel" : {
1028       "type" : "object",
1029       "properties" : {
1030         "createdDate" : {
1031           "type" : "integer",
1032           "format" : "int64"
1033         },
1034         "updatedDate" : {
1035           "type" : "integer",
1036           "format" : "int64"
1037         },
1038         "updatedBy" : {
1039           "type" : "string"
1040         },
1041         "createdBy" : {
1042           "type" : "string"
1043         },
1044         "policyModelType" : {
1045           "type" : "string"
1046         },
1047         "version" : {
1048           "type" : "string"
1049         },
1050         "policyModelTosca" : {
1051           "type" : "string"
1052         },
1053         "policyAcronym" : {
1054           "type" : "string"
1055         },
1056         "usedByElementModels" : {
1057           "type" : "array",
1058           "uniqueItems" : true,
1059           "items" : {
1060             "$ref" : "#/definitions/LoopElementModel"
1061           }
1062         },
1063         "policyPdpGroup" : {
1064           "$ref" : "#/definitions/JsonObject"
1065         }
1066       },
1067       "x-className" : {
1068         "type" : "string",
1069         "format" : "org.onap.clamp.loop.template.PolicyModel"
1070       }
1071     },
1072     "Service" : {
1073       "type" : "object",
1074       "properties" : {
1075         "serviceUuid" : {
1076           "type" : "string"
1077         },
1078         "name" : {
1079           "type" : "string"
1080         },
1081         "version" : {
1082           "type" : "string"
1083         },
1084         "serviceDetails" : {
1085           "$ref" : "#/definitions/JsonObject"
1086         },
1087         "resourceDetails" : {
1088           "$ref" : "#/definitions/JsonObject"
1089         }
1090       }
1091     },
1092     "LoopTemplateLoopElementModel" : {
1093       "type" : "object",
1094       "properties" : {
1095         "loopTemplate" : {
1096           "$ref" : "#/definitions/LoopTemplate"
1097         },
1098         "loopElementModel" : {
1099           "$ref" : "#/definitions/LoopElementModel"
1100         },
1101         "flowOrder" : {
1102           "type" : "integer",
1103           "format" : "int32"
1104         }
1105       }
1106     },
1107     "OperationalPolicy" : {
1108       "type" : "object",
1109       "properties" : {
1110         "createdDate" : {
1111           "type" : "integer",
1112           "format" : "int64"
1113         },
1114         "updatedDate" : {
1115           "type" : "integer",
1116           "format" : "int64"
1117         },
1118         "updatedBy" : {
1119           "type" : "string"
1120         },
1121         "createdBy" : {
1122           "type" : "string"
1123         },
1124         "jsonRepresentation" : {
1125           "$ref" : "#/definitions/JsonObject"
1126         },
1127         "configurationsJson" : {
1128           "$ref" : "#/definitions/JsonObject"
1129         },
1130         "loopElementModel" : {
1131           "$ref" : "#/definitions/LoopElementModel"
1132         },
1133         "pdpGroup" : {
1134           "type" : "string"
1135         },
1136         "pdpSubgroup" : {
1137           "type" : "string"
1138         },
1139         "policyModel" : {
1140           "$ref" : "#/definitions/PolicyModel"
1141         },
1142         "name" : {
1143           "type" : "string"
1144         },
1145         "loop" : {
1146           "$ref" : "#/definitions/Loop"
1147         },
1148         "legacy" : {
1149           "type" : "boolean"
1150         }
1151       }
1152     },
1153     "JsonNull" : {
1154       "type" : "object",
1155       "properties" : {
1156         "asInt" : {
1157           "type" : "integer",
1158           "format" : "int32"
1159         },
1160         "asDouble" : {
1161           "type" : "number",
1162           "format" : "double"
1163         },
1164         "asLong" : {
1165           "type" : "integer",
1166           "format" : "int64"
1167         },
1168         "asBoolean" : {
1169           "type" : "boolean"
1170         },
1171         "asJsonObject" : {
1172           "$ref" : "#/definitions/JsonObject"
1173         },
1174         "asString" : {
1175           "type" : "string"
1176         },
1177         "asJsonArray" : {
1178           "$ref" : "#/definitions/JsonArray"
1179         },
1180         "jsonObject" : {
1181           "type" : "boolean"
1182         },
1183         "jsonArray" : {
1184           "type" : "boolean"
1185         },
1186         "jsonPrimitive" : {
1187           "type" : "boolean"
1188         },
1189         "jsonNull" : {
1190           "type" : "boolean"
1191         },
1192         "asJsonPrimitive" : {
1193           "$ref" : "#/definitions/JsonPrimitive"
1194         },
1195         "asJsonNull" : {
1196           "$ref" : "#/definitions/JsonNull"
1197         },
1198         "asNumber" : {
1199           "$ref" : "#/definitions/Number"
1200         },
1201         "asFloat" : {
1202           "type" : "number",
1203           "format" : "float"
1204         },
1205         "asByte" : {
1206           "type" : "string",
1207           "format" : "byte"
1208         },
1209         "asCharacter" : {
1210           "type" : "string"
1211         },
1212         "asBigDecimal" : {
1213           "type" : "number"
1214         },
1215         "asBigInteger" : {
1216           "type" : "integer"
1217         },
1218         "asShort" : {
1219           "type" : "integer",
1220           "format" : "int32"
1221         }
1222       }
1223     },
1224     "JsonArray" : {
1225       "type" : "object",
1226       "properties" : {
1227         "asInt" : {
1228           "type" : "integer",
1229           "format" : "int32"
1230         },
1231         "asDouble" : {
1232           "type" : "number",
1233           "format" : "double"
1234         },
1235         "asLong" : {
1236           "type" : "integer",
1237           "format" : "int64"
1238         },
1239         "asBoolean" : {
1240           "type" : "boolean"
1241         },
1242         "asString" : {
1243           "type" : "string"
1244         },
1245         "asNumber" : {
1246           "$ref" : "#/definitions/Number"
1247         },
1248         "asFloat" : {
1249           "type" : "number",
1250           "format" : "float"
1251         },
1252         "asByte" : {
1253           "type" : "string",
1254           "format" : "byte"
1255         },
1256         "asCharacter" : {
1257           "type" : "string"
1258         },
1259         "asBigDecimal" : {
1260           "type" : "number"
1261         },
1262         "asBigInteger" : {
1263           "type" : "integer"
1264         },
1265         "asShort" : {
1266           "type" : "integer",
1267           "format" : "int32"
1268         },
1269         "asJsonObject" : {
1270           "$ref" : "#/definitions/JsonObject"
1271         },
1272         "asJsonArray" : {
1273           "$ref" : "#/definitions/JsonArray"
1274         },
1275         "jsonObject" : {
1276           "type" : "boolean"
1277         },
1278         "jsonArray" : {
1279           "type" : "boolean"
1280         },
1281         "jsonPrimitive" : {
1282           "type" : "boolean"
1283         },
1284         "jsonNull" : {
1285           "type" : "boolean"
1286         },
1287         "asJsonPrimitive" : {
1288           "$ref" : "#/definitions/JsonPrimitive"
1289         },
1290         "asJsonNull" : {
1291           "$ref" : "#/definitions/JsonNull"
1292         }
1293       },
1294       "x-className" : {
1295         "type" : "string",
1296         "format" : "com.google.gson.JsonArray"
1297       }
1298     },
1299     "LoopLog" : {
1300       "type" : "object",
1301       "properties" : {
1302         "id" : {
1303           "type" : "integer",
1304           "format" : "int64"
1305         },
1306         "logType" : {
1307           "type" : "string",
1308           "enum" : [ "INFO", "WARNING", "ERROR" ]
1309         },
1310         "logComponent" : {
1311           "type" : "string"
1312         },
1313         "message" : {
1314           "type" : "string"
1315         },
1316         "loop" : {
1317           "$ref" : "#/definitions/Loop"
1318         },
1319         "logInstant" : {
1320           "type" : "integer",
1321           "format" : "int64"
1322         }
1323       }
1324     },
1325     "Number" : {
1326       "type" : "object"
1327     },
1328     "ExternalComponent" : {
1329       "type" : "object",
1330       "properties" : {
1331         "state" : {
1332           "$ref" : "#/definitions/ExternalComponentState"
1333         },
1334         "componentName" : {
1335           "type" : "string"
1336         }
1337       }
1338     },
1339     "LoopTemplate" : {
1340       "type" : "object",
1341       "properties" : {
1342         "createdDate" : {
1343           "type" : "integer",
1344           "format" : "int64"
1345         },
1346         "updatedDate" : {
1347           "type" : "integer",
1348           "format" : "int64"
1349         },
1350         "updatedBy" : {
1351           "type" : "string"
1352         },
1353         "createdBy" : {
1354           "type" : "string"
1355         },
1356         "name" : {
1357           "type" : "string"
1358         },
1359         "dcaeBlueprintId" : {
1360           "type" : "string"
1361         },
1362         "blueprint" : {
1363           "type" : "string"
1364         },
1365         "svgRepresentation" : {
1366           "type" : "string"
1367         },
1368         "loopElementModelsUsed" : {
1369           "type" : "array",
1370           "uniqueItems" : true,
1371           "items" : {
1372             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1373           }
1374         },
1375         "modelService" : {
1376           "$ref" : "#/definitions/Service"
1377         },
1378         "maximumInstancesAllowed" : {
1379           "type" : "integer",
1380           "format" : "int32"
1381         },
1382         "uniqueBlueprint" : {
1383           "type" : "boolean"
1384         },
1385         "allowedLoopType" : {
1386           "type" : "string",
1387           "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1388         }
1389       },
1390       "x-className" : {
1391         "type" : "string",
1392         "format" : "org.onap.clamp.loop.template.LoopTemplate"
1393       }
1394     },
1395     "ExternalComponentState" : {
1396       "type" : "object",
1397       "properties" : {
1398         "stateName" : {
1399           "type" : "string"
1400         },
1401         "description" : {
1402           "type" : "string"
1403         },
1404         "level" : {
1405           "type" : "integer",
1406           "format" : "int32"
1407         }
1408       }
1409     },
1410     "LoopElementModel" : {
1411       "type" : "object",
1412       "properties" : {
1413         "createdDate" : {
1414           "type" : "integer",
1415           "format" : "int64"
1416         },
1417         "updatedDate" : {
1418           "type" : "integer",
1419           "format" : "int64"
1420         },
1421         "updatedBy" : {
1422           "type" : "string"
1423         },
1424         "createdBy" : {
1425           "type" : "string"
1426         },
1427         "name" : {
1428           "type" : "string"
1429         },
1430         "dcaeBlueprintId" : {
1431           "type" : "string"
1432         },
1433         "blueprint" : {
1434           "type" : "string"
1435         },
1436         "loopElementType" : {
1437           "type" : "string"
1438         },
1439         "shortName" : {
1440           "type" : "string"
1441         },
1442         "policyModels" : {
1443           "type" : "array",
1444           "uniqueItems" : true,
1445           "items" : {
1446             "$ref" : "#/definitions/PolicyModel"
1447           }
1448         },
1449         "usedByLoopTemplates" : {
1450           "type" : "array",
1451           "uniqueItems" : true,
1452           "items" : {
1453             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1454           }
1455         }
1456       }
1457     },
1458     "CldsHealthCheck" : {
1459       "type" : "object",
1460       "properties" : {
1461         "healthCheckComponent" : {
1462           "type" : "string"
1463         },
1464         "healthCheckStatus" : {
1465           "type" : "string"
1466         },
1467         "description" : {
1468           "type" : "string"
1469         }
1470       },
1471       "x-className" : {
1472         "type" : "string",
1473         "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
1474       }
1475     }
1476   }
1477 }