blob: ab7e827b617f72703ffd48d9d8db5639090e311c [file] [log] [blame]
xg353y2aad6d62018-05-18 17:59:06 +02001{
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02002 "swagger" : "2.0",
3 "info" : {
sebdet0387f232019-09-09 17:32:53 +02004 "version" : "4.1.2-SNAPSHOT",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02005 "title" : "Clamp Rest API"
6 },
sebdet5b410e62019-09-11 15:11:03 +02007 "host" : "localhost:38405",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02008 "basePath" : "/restservices/clds/",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02009 "schemes" : [ "http" ],
10 "paths" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020011 "/v2/loop/{loopName}" : {
12 "get" : {
sebdet5b410e62019-09-11 15:11:03 +020013 "operationId" : "route3",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020014 "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 },
sebdet5b410e62019-09-11 15:11:03 +020029 "x-camelContextId" : "camel-1",
30 "x-routeId" : "route3"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020031 }
32 },
33 "/v2/loop/delete/{loopName}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020034 "put" : {
sebdet5b410e62019-09-11 15:11:03 +020035 "operationId" : "route13",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020036 "parameters" : [ {
37 "name" : "loopName",
38 "in" : "path",
39 "required" : true,
40 "type" : "string"
41 } ],
42 "responses" : {
43 "200" : { }
44 },
sebdet5b410e62019-09-11 15:11:03 +020045 "x-camelContextId" : "camel-1",
46 "x-routeId" : "route13"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020047 }
48 },
sebdet101193d2019-09-05 18:25:59 +020049 "/v2/loop/deploy/{loopName}" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020050 "put" : {
sebdet5b410e62019-09-11 15:11:03 +020051 "operationId" : "route8",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020052 "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 },
sebdet5b410e62019-09-11 15:11:03 +020067 "x-camelContextId" : "camel-1",
68 "x-routeId" : "route8"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020069 }
70 },
71 "/v2/loop/getAllNames" : {
72 "get" : {
sebdet5b410e62019-09-11 15:11:03 +020073 "operationId" : "route2",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020074 "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 },
sebdet5b410e62019-09-11 15:11:03 +020086 "x-camelContextId" : "camel-1",
87 "x-routeId" : "route2"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020088 }
89 },
90 "/v2/loop/getstatus/{loopName}" : {
91 "get" : {
sebdet5b410e62019-09-11 15:11:03 +020092 "operationId" : "route14",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020093 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200108 "x-camelContextId" : "camel-1",
109 "x-routeId" : "route14"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200110 }
111 },
112 "/v2/loop/restart/{loopName}" : {
113 "put" : {
sebdet5b410e62019-09-11 15:11:03 +0200114 "operationId" : "route11",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200115 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200130 "x-camelContextId" : "camel-1",
131 "x-routeId" : "route11"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200132 }
133 },
134 "/v2/loop/stop/{loopName}" : {
135 "put" : {
sebdet5b410e62019-09-11 15:11:03 +0200136 "operationId" : "route10",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200137 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200152 "x-camelContextId" : "camel-1",
153 "x-routeId" : "route10"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200154 }
155 },
156 "/v2/loop/submit/{loopName}" : {
157 "put" : {
sebdet5b410e62019-09-11 15:11:03 +0200158 "operationId" : "route12",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200159 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200174 "x-camelContextId" : "camel-1",
175 "x-routeId" : "route12"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200176 }
177 },
178 "/v2/loop/svgRepresentation/{loopName}" : {
179 "get" : {
sebdet5b410e62019-09-11 15:11:03 +0200180 "operationId" : "route4",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200181 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200196 "x-camelContextId" : "camel-1",
197 "x-routeId" : "route4"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200198 }
199 },
sebdet101193d2019-09-05 18:25:59 +0200200 "/v2/loop/undeploy/{loopName}" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200201 "put" : {
sebdet5b410e62019-09-11 15:11:03 +0200202 "operationId" : "route9",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200203 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200218 "x-camelContextId" : "camel-1",
219 "x-routeId" : "route9"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200220 }
221 },
222 "/v2/loop/updateGlobalProperties/{loopName}" : {
223 "post" : {
sebdet5b410e62019-09-11 15:11:03 +0200224 "operationId" : "route5",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200225 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200248 "x-camelContextId" : "camel-1",
249 "x-routeId" : "route5"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200250 }
251 },
252 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
253 "post" : {
sebdet5b410e62019-09-11 15:11:03 +0200254 "operationId" : "route7",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200255 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200278 "x-camelContextId" : "camel-1",
279 "x-routeId" : "route7"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200280 }
281 },
282 "/v2/loop/updateOperationalPolicies/{loopName}" : {
283 "post" : {
sebdet5b410e62019-09-11 15:11:03 +0200284 "operationId" : "route6",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200285 "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 },
sebdet5b410e62019-09-11 15:11:03 +0200308 "x-camelContextId" : "camel-1",
309 "x-routeId" : "route6"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200310 }
xg353y2aad6d62018-05-18 17:59:06 +0200311 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200312 "/v1/clds/cldsInfo" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200313 "get" : {
sebdet5b410e62019-09-11 15:11:03 +0200314 "operationId" : "route15",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200315 "produces" : [ "application/json" ],
316 "responses" : {
317 "200" : {
318 "description" : "Output type",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200319 "schema" : {
320 "$ref" : "#/definitions/CldsInfo"
xg353y2aad6d62018-05-18 17:59:06 +0200321 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200322 }
xg353y2aad6d62018-05-18 17:59:06 +0200323 },
sebdet5b410e62019-09-11 15:11:03 +0200324 "x-camelContextId" : "camel-1",
325 "x-routeId" : "route15"
sebdet4d1e6b92018-10-23 16:54:02 +0200326 }
327 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200328 "/v1/healthcheck" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200329 "get" : {
sebdet5b410e62019-09-11 15:11:03 +0200330 "operationId" : "route16",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200331 "produces" : [ "application/json" ],
332 "responses" : {
sebdet5b410e62019-09-11 15:11:03 +0200333 "200" : {
334 "description" : "Output type",
335 "schema" : {
336 "$ref" : "#/definitions/CldsHealthCheck"
337 }
338 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200339 },
sebdet5b410e62019-09-11 15:11:03 +0200340 "x-camelContextId" : "camel-1",
341 "x-routeId" : "route16"
sebdet4d1e6b92018-10-23 16:54:02 +0200342 }
343 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200344 "/v1/user/getUser" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200345 "get" : {
sebdet5b410e62019-09-11 15:11:03 +0200346 "operationId" : "route17",
sebdet4d1e6b92018-10-23 16:54:02 +0200347 "produces" : [ "text/plain" ],
348 "responses" : {
349 "200" : { }
350 },
sebdet5b410e62019-09-11 15:11:03 +0200351 "x-camelContextId" : "camel-1",
352 "x-routeId" : "route17"
sebdet4d1e6b92018-10-23 16:54:02 +0200353 }
xg353y2aad6d62018-05-18 17:59:06 +0200354 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200355 },
356 "definitions" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200357 "Loop" : {
358 "type" : "object",
359 "properties" : {
360 "name" : {
361 "type" : "string"
362 },
363 "dcaeDeploymentId" : {
364 "type" : "string"
365 },
366 "dcaeDeploymentStatusUrl" : {
367 "type" : "string"
368 },
369 "dcaeBlueprintId" : {
370 "type" : "string"
371 },
372 "svgRepresentation" : {
373 "type" : "string"
374 },
375 "globalPropertiesJson" : {
376 "$ref" : "#/definitions/JsonObject"
377 },
378 "modelPropertiesJson" : {
379 "$ref" : "#/definitions/JsonObject"
380 },
381 "blueprint" : {
382 "type" : "string"
383 },
384 "lastComputedState" : {
385 "type" : "string",
386 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
387 },
sebdet101193d2019-09-05 18:25:59 +0200388 "components" : {
389 "type" : "object",
390 "additionalProperties" : {
391 "$ref" : "#/definitions/ExternalComponent"
392 }
393 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200394 "operationalPolicies" : {
395 "type" : "array",
396 "uniqueItems" : true,
397 "items" : {
398 "$ref" : "#/definitions/OperationalPolicy"
399 }
400 },
401 "microServicePolicies" : {
402 "type" : "array",
403 "uniqueItems" : true,
404 "items" : {
405 "$ref" : "#/definitions/MicroServicePolicy"
406 }
407 },
408 "loopLogs" : {
409 "type" : "array",
410 "uniqueItems" : true,
411 "items" : {
412 "$ref" : "#/definitions/LoopLog"
413 }
414 }
415 },
416 "x-className" : {
417 "type" : "string",
418 "format" : "org.onap.clamp.loop.Loop"
419 }
420 },
421 "JsonArray" : {
422 "type" : "object",
423 "properties" : {
sebdet101193d2019-09-05 18:25:59 +0200424 "asString" : {
425 "type" : "string"
426 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200427 "asNumber" : {
428 "$ref" : "#/definitions/Number"
429 },
sebdetc85d40b2019-09-10 15:57:10 +0200430 "asBoolean" : {
431 "type" : "boolean"
432 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200433 "asDouble" : {
434 "type" : "number",
435 "format" : "double"
436 },
437 "asFloat" : {
438 "type" : "number",
439 "format" : "float"
440 },
441 "asLong" : {
442 "type" : "integer",
443 "format" : "int64"
444 },
445 "asInt" : {
446 "type" : "integer",
447 "format" : "int32"
448 },
449 "asByte" : {
450 "type" : "string",
451 "format" : "byte"
452 },
453 "asCharacter" : {
454 "type" : "string"
455 },
456 "asBigDecimal" : {
457 "type" : "number"
458 },
459 "asBigInteger" : {
460 "type" : "integer"
461 },
462 "asShort" : {
463 "type" : "integer",
464 "format" : "int32"
465 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200466 "asJsonPrimitive" : {
467 "$ref" : "#/definitions/JsonPrimitive"
468 },
sebdet5b410e62019-09-11 15:11:03 +0200469 "asJsonObject" : {
470 "$ref" : "#/definitions/JsonObject"
471 },
sebdet0387f232019-09-09 17:32:53 +0200472 "jsonPrimitive" : {
473 "type" : "boolean"
474 },
sebdet101193d2019-09-05 18:25:59 +0200475 "asJsonArray" : {
476 "$ref" : "#/definitions/JsonArray"
sebdet0387f232019-09-09 17:32:53 +0200477 },
sebdetc85d40b2019-09-10 15:57:10 +0200478 "jsonObject" : {
479 "type" : "boolean"
480 },
481 "jsonNull" : {
482 "type" : "boolean"
483 },
sebdet0387f232019-09-09 17:32:53 +0200484 "asJsonNull" : {
485 "$ref" : "#/definitions/JsonNull"
sebdetc85d40b2019-09-10 15:57:10 +0200486 },
487 "jsonArray" : {
488 "type" : "boolean"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200489 }
490 },
491 "x-className" : {
492 "type" : "string",
493 "format" : "com.google.gson.JsonArray"
494 }
495 },
496 "LoopLog" : {
497 "type" : "object",
498 "properties" : {
499 "id" : {
500 "type" : "integer",
501 "format" : "int64"
502 },
503 "logType" : {
504 "type" : "string",
505 "enum" : [ "INFO", "WARNING", "ERROR" ]
506 },
sebdet101193d2019-09-05 18:25:59 +0200507 "logComponent" : {
508 "type" : "string"
509 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200510 "message" : {
511 "type" : "string"
512 },
513 "loop" : {
514 "$ref" : "#/definitions/Loop"
515 },
516 "logInstant" : {
517 "type" : "integer",
518 "format" : "int64"
519 }
520 }
521 },
522 "Number" : {
523 "type" : "object"
524 },
525 "JsonPrimitive" : {
526 "type" : "object",
527 "properties" : {
528 "boolean" : {
529 "type" : "boolean"
530 },
531 "number" : {
532 "type" : "boolean"
533 },
534 "asString" : {
535 "type" : "string"
536 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200537 "asNumber" : {
538 "$ref" : "#/definitions/Number"
539 },
sebdetc85d40b2019-09-10 15:57:10 +0200540 "asBoolean" : {
541 "type" : "boolean"
542 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200543 "asDouble" : {
544 "type" : "number",
545 "format" : "double"
546 },
547 "asFloat" : {
548 "type" : "number",
549 "format" : "float"
550 },
551 "asLong" : {
552 "type" : "integer",
553 "format" : "int64"
554 },
555 "asInt" : {
556 "type" : "integer",
557 "format" : "int32"
558 },
559 "asByte" : {
560 "type" : "string",
561 "format" : "byte"
562 },
563 "asCharacter" : {
564 "type" : "string"
565 },
566 "asBigDecimal" : {
567 "type" : "number"
568 },
569 "asBigInteger" : {
570 "type" : "integer"
571 },
572 "asShort" : {
573 "type" : "integer",
574 "format" : "int32"
575 },
576 "string" : {
577 "type" : "boolean"
578 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200579 "asJsonPrimitive" : {
580 "$ref" : "#/definitions/JsonPrimitive"
581 },
sebdet5b410e62019-09-11 15:11:03 +0200582 "asJsonObject" : {
583 "$ref" : "#/definitions/JsonObject"
584 },
sebdet0387f232019-09-09 17:32:53 +0200585 "jsonPrimitive" : {
586 "type" : "boolean"
587 },
sebdet101193d2019-09-05 18:25:59 +0200588 "asJsonArray" : {
589 "$ref" : "#/definitions/JsonArray"
sebdet0387f232019-09-09 17:32:53 +0200590 },
sebdetc85d40b2019-09-10 15:57:10 +0200591 "jsonObject" : {
592 "type" : "boolean"
593 },
594 "jsonNull" : {
595 "type" : "boolean"
596 },
sebdet0387f232019-09-09 17:32:53 +0200597 "asJsonNull" : {
598 "$ref" : "#/definitions/JsonNull"
sebdetc85d40b2019-09-10 15:57:10 +0200599 },
600 "jsonArray" : {
601 "type" : "boolean"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200602 }
603 }
604 },
605 "MicroServicePolicy" : {
606 "type" : "object",
607 "properties" : {
608 "name" : {
609 "type" : "string"
610 },
611 "modelType" : {
612 "type" : "string"
613 },
614 "properties" : {
615 "$ref" : "#/definitions/JsonObject"
616 },
617 "shared" : {
618 "type" : "boolean"
619 },
620 "policyTosca" : {
621 "type" : "string"
622 },
623 "jsonRepresentation" : {
624 "$ref" : "#/definitions/JsonObject"
625 },
626 "usedByLoops" : {
627 "type" : "array",
628 "uniqueItems" : true,
629 "items" : {
630 "$ref" : "#/definitions/Loop"
631 }
632 }
633 },
634 "x-className" : {
635 "type" : "string",
636 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
637 }
638 },
639 "JsonObject" : {
640 "type" : "object",
641 "properties" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200642 "asJsonPrimitive" : {
643 "$ref" : "#/definitions/JsonPrimitive"
644 },
sebdet101193d2019-09-05 18:25:59 +0200645 "asString" : {
646 "type" : "string"
647 },
sebdet5b410e62019-09-11 15:11:03 +0200648 "asJsonObject" : {
649 "$ref" : "#/definitions/JsonObject"
650 },
sebdet0387f232019-09-09 17:32:53 +0200651 "jsonPrimitive" : {
652 "type" : "boolean"
653 },
654 "asJsonArray" : {
655 "$ref" : "#/definitions/JsonArray"
656 },
sebdetc85d40b2019-09-10 15:57:10 +0200657 "jsonObject" : {
658 "type" : "boolean"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200659 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200660 "asNumber" : {
661 "$ref" : "#/definitions/Number"
662 },
sebdetc85d40b2019-09-10 15:57:10 +0200663 "jsonNull" : {
664 "type" : "boolean"
665 },
666 "asJsonNull" : {
667 "$ref" : "#/definitions/JsonNull"
668 },
669 "jsonArray" : {
670 "type" : "boolean"
671 },
672 "asBoolean" : {
673 "type" : "boolean"
674 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200675 "asDouble" : {
676 "type" : "number",
677 "format" : "double"
678 },
679 "asFloat" : {
680 "type" : "number",
681 "format" : "float"
682 },
683 "asLong" : {
684 "type" : "integer",
685 "format" : "int64"
686 },
687 "asInt" : {
688 "type" : "integer",
689 "format" : "int32"
690 },
691 "asByte" : {
692 "type" : "string",
693 "format" : "byte"
694 },
695 "asCharacter" : {
696 "type" : "string"
697 },
698 "asBigDecimal" : {
699 "type" : "number"
700 },
701 "asBigInteger" : {
702 "type" : "integer"
703 },
704 "asShort" : {
705 "type" : "integer",
706 "format" : "int32"
707 }
708 },
709 "x-className" : {
710 "type" : "string",
711 "format" : "com.google.gson.JsonObject"
712 }
713 },
sebdet101193d2019-09-05 18:25:59 +0200714 "ExternalComponent" : {
715 "type" : "object",
716 "properties" : {
717 "state" : {
718 "$ref" : "#/definitions/ExternalComponentState"
719 },
720 "componentName" : {
721 "type" : "string"
722 }
723 }
724 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200725 "OperationalPolicy" : {
726 "type" : "object",
727 "properties" : {
728 "name" : {
729 "type" : "string"
730 },
731 "configurationsJson" : {
732 "$ref" : "#/definitions/JsonObject"
733 },
734 "loop" : {
735 "$ref" : "#/definitions/Loop"
736 },
737 "jsonRepresentation" : {
738 "$ref" : "#/definitions/JsonObject"
739 }
740 }
741 },
sebdet101193d2019-09-05 18:25:59 +0200742 "ExternalComponentState" : {
743 "type" : "object",
744 "properties" : {
745 "stateName" : {
746 "type" : "string"
747 },
748 "description" : {
749 "type" : "string"
750 },
751 "level" : {
752 "type" : "integer",
753 "format" : "int32"
754 }
755 }
756 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200757 "JsonNull" : {
758 "type" : "object",
759 "properties" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200760 "asJsonPrimitive" : {
761 "$ref" : "#/definitions/JsonPrimitive"
762 },
sebdet101193d2019-09-05 18:25:59 +0200763 "asString" : {
764 "type" : "string"
765 },
sebdet5b410e62019-09-11 15:11:03 +0200766 "asJsonObject" : {
767 "$ref" : "#/definitions/JsonObject"
768 },
sebdet0387f232019-09-09 17:32:53 +0200769 "jsonPrimitive" : {
770 "type" : "boolean"
771 },
772 "asJsonArray" : {
773 "$ref" : "#/definitions/JsonArray"
774 },
sebdetc85d40b2019-09-10 15:57:10 +0200775 "jsonObject" : {
776 "type" : "boolean"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200777 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200778 "asNumber" : {
779 "$ref" : "#/definitions/Number"
780 },
sebdetc85d40b2019-09-10 15:57:10 +0200781 "jsonNull" : {
782 "type" : "boolean"
783 },
784 "asJsonNull" : {
785 "$ref" : "#/definitions/JsonNull"
786 },
787 "jsonArray" : {
788 "type" : "boolean"
789 },
790 "asBoolean" : {
791 "type" : "boolean"
792 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200793 "asDouble" : {
794 "type" : "number",
795 "format" : "double"
796 },
797 "asFloat" : {
798 "type" : "number",
799 "format" : "float"
800 },
801 "asLong" : {
802 "type" : "integer",
803 "format" : "int64"
804 },
805 "asInt" : {
806 "type" : "integer",
807 "format" : "int32"
808 },
809 "asByte" : {
810 "type" : "string",
811 "format" : "byte"
812 },
813 "asCharacter" : {
814 "type" : "string"
815 },
816 "asBigDecimal" : {
817 "type" : "number"
818 },
819 "asBigInteger" : {
820 "type" : "integer"
821 },
822 "asShort" : {
823 "type" : "integer",
824 "format" : "int32"
825 }
826 }
827 },
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200828 "CldsInfo" : {
829 "type" : "object",
830 "properties" : {
831 "userName" : {
832 "type" : "string"
833 },
834 "cldsVersion" : {
835 "type" : "string"
836 },
837 "permissionReadCl" : {
838 "type" : "boolean"
839 },
840 "permissionUpdateCl" : {
841 "type" : "boolean"
842 },
843 "permissionReadTemplate" : {
844 "type" : "boolean"
845 },
846 "permissionUpdateTemplate" : {
847 "type" : "boolean"
sebdet4d1e6b92018-10-23 16:54:02 +0200848 },
849 "permissionReadTosca" : {
850 "type" : "boolean"
851 },
852 "permissionUpdateTosca" : {
853 "type" : "boolean"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200854 }
855 },
856 "x-className" : {
857 "type" : "string",
858 "format" : "org.onap.clamp.clds.model.CldsInfo"
859 }
sebdet5b410e62019-09-11 15:11:03 +0200860 },
861 "CldsHealthCheck" : {
862 "type" : "object",
863 "properties" : {
864 "healthCheckComponent" : {
865 "type" : "string"
866 },
867 "healthCheckStatus" : {
868 "type" : "string"
869 },
870 "description" : {
871 "type" : "string"
872 }
873 },
874 "x-className" : {
875 "type" : "string",
876 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
877 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200878 }
879 }
xg353y2aad6d62018-05-18 17:59:06 +0200880}