blob: a884cfc4951878f7142e2101c3ba1e8b1c80b53c [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" : {
sebdetbfabac92021-01-06 17:24:18 +01004 "version" : "6.0.0-SNAPSHOT",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02005 "title" : "Clamp Rest API"
6 },
sebdetbfabac92021-01-06 17:24:18 +01007 "host" : "localhost:39481",
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" : {
sebdet723de7f2020-03-12 14:38:07 -070011 "/v2/clampInformation" : {
12 "get" : {
sebdet91ff4012020-12-11 13:11:18 +010013 "operationId" : "route106",
sebdet723de7f2020-03-12 14:38:07 -070014 "produces" : [ "application/json" ],
15 "responses" : {
16 "200" : {
17 "description" : "Output type",
18 "schema" : {
19 "$ref" : "#/definitions/ClampInformation"
20 }
21 }
22 },
sebdet91ff4012020-12-11 13:11:18 +010023 "x-camelContextId" : "camel-3",
24 "x-routeId" : "route106"
sebdet723de7f2020-03-12 14:38:07 -070025 }
26 },
sebdet3b7f6692020-02-17 06:03:31 -080027 "/v2/dictionary" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020028 "get" : {
sebdet91ff4012020-12-11 13:11:18 +010029 "operationId" : "route91",
sebdet3b7f6692020-02-17 06:03:31 -080030 "produces" : [ "application/json" ],
31 "responses" : {
32 "200" : {
33 "description" : "Output type",
34 "schema" : {
35 "$ref" : "#/definitions/Dictionary"
36 }
37 }
38 },
sebdet91ff4012020-12-11 13:11:18 +010039 "x-camelContextId" : "camel-3",
40 "x-routeId" : "route91"
sebdet3b7f6692020-02-17 06:03:31 -080041 },
42 "put" : {
sebdet91ff4012020-12-11 13:11:18 +010043 "operationId" : "route94",
sebdet3b7f6692020-02-17 06:03:31 -080044 "consumes" : [ "application/json" ],
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020045 "produces" : [ "application/json" ],
46 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -080047 "in" : "body",
48 "name" : "body",
49 "required" : true,
50 "schema" : {
51 "$ref" : "#/definitions/Dictionary"
52 }
53 } ],
54 "responses" : {
55 "200" : {
56 "description" : "Output type",
57 "schema" : {
58 "$ref" : "#/definitions/Dictionary"
59 }
60 }
61 },
sebdet91ff4012020-12-11 13:11:18 +010062 "x-camelContextId" : "camel-3",
63 "x-routeId" : "route94"
sebdet3b7f6692020-02-17 06:03:31 -080064 }
65 },
66 "/v2/dictionary/{dictionaryName}" : {
67 "get" : {
sebdet91ff4012020-12-11 13:11:18 +010068 "operationId" : "route93",
sebdet3b7f6692020-02-17 06:03:31 -080069 "produces" : [ "application/json" ],
70 "parameters" : [ {
71 "name" : "dictionaryName",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020072 "in" : "path",
73 "required" : true,
74 "type" : "string"
75 } ],
76 "responses" : {
77 "200" : {
78 "description" : "Output type",
79 "schema" : {
sebdet3b7f6692020-02-17 06:03:31 -080080 "$ref" : "#/definitions/Dictionary"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020081 }
82 }
83 },
sebdet91ff4012020-12-11 13:11:18 +010084 "x-camelContextId" : "camel-3",
85 "x-routeId" : "route93"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020086 }
87 },
sebdet3b7f6692020-02-17 06:03:31 -080088 "/v2/dictionary/{name}" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +020089 "put" : {
sebdet91ff4012020-12-11 13:11:18 +010090 "operationId" : "route95",
sebdet3b7f6692020-02-17 06:03:31 -080091 "consumes" : [ "application/json" ],
92 "produces" : [ "application/json" ],
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +020093 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -080094 "name" : "name",
95 "in" : "path",
96 "required" : true,
97 "type" : "string"
98 }, {
99 "in" : "body",
100 "name" : "body",
101 "required" : true,
102 "schema" : {
103 "$ref" : "#/definitions/Dictionary"
104 }
105 } ],
106 "responses" : {
107 "200" : {
108 "description" : "Output type",
109 "schema" : {
110 "$ref" : "#/definitions/Dictionary"
111 }
112 }
113 },
sebdet91ff4012020-12-11 13:11:18 +0100114 "x-camelContextId" : "camel-3",
115 "x-routeId" : "route95"
sebdet3b7f6692020-02-17 06:03:31 -0800116 },
117 "delete" : {
sebdet91ff4012020-12-11 13:11:18 +0100118 "operationId" : "route96",
sebdet3b7f6692020-02-17 06:03:31 -0800119 "produces" : [ "application/json" ],
120 "parameters" : [ {
121 "name" : "name",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200122 "in" : "path",
123 "required" : true,
124 "type" : "string"
125 } ],
126 "responses" : {
127 "200" : { }
128 },
sebdet91ff4012020-12-11 13:11:18 +0100129 "x-camelContextId" : "camel-3",
130 "x-routeId" : "route96"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200131 }
132 },
sebdet3b7f6692020-02-17 06:03:31 -0800133 "/v2/dictionary/{name}/elements/{shortName}" : {
134 "delete" : {
sebdet91ff4012020-12-11 13:11:18 +0100135 "operationId" : "route97",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200136 "produces" : [ "application/json" ],
137 "parameters" : [ {
sebdet3b7f6692020-02-17 06:03:31 -0800138 "name" : "name",
139 "in" : "path",
140 "required" : true,
141 "type" : "string"
142 }, {
143 "name" : "shortName",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200144 "in" : "path",
145 "required" : true,
146 "type" : "string"
147 } ],
148 "responses" : {
sebdet3b7f6692020-02-17 06:03:31 -0800149 "200" : { }
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200150 },
sebdet91ff4012020-12-11 13:11:18 +0100151 "x-camelContextId" : "camel-3",
152 "x-routeId" : "route97"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200153 }
154 },
sebdet3b7f6692020-02-17 06:03:31 -0800155 "/v2/dictionary/secondary/names" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200156 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100157 "operationId" : "route92",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200158 "produces" : [ "application/json" ],
159 "responses" : {
160 "200" : {
161 "description" : "Output type",
162 "schema" : {
163 "type" : "array",
164 "items" : {
165 "type" : "string"
166 }
167 }
168 }
169 },
sebdet91ff4012020-12-11 13:11:18 +0100170 "x-camelContextId" : "camel-3",
171 "x-routeId" : "route92"
sebdet3b7f6692020-02-17 06:03:31 -0800172 }
173 },
174 "/v2/loop/{loopName}" : {
175 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100176 "operationId" : "route75",
sebdet3b7f6692020-02-17 06:03:31 -0800177 "produces" : [ "application/json" ],
178 "parameters" : [ {
179 "name" : "loopName",
180 "in" : "path",
181 "required" : true,
182 "type" : "string"
183 } ],
184 "responses" : {
185 "200" : {
186 "description" : "Output type",
187 "schema" : {
188 "$ref" : "#/definitions/Loop"
189 }
190 }
191 },
sebdet91ff4012020-12-11 13:11:18 +0100192 "x-camelContextId" : "camel-3",
193 "x-routeId" : "route75"
sebdet723de7f2020-03-12 14:38:07 -0700194 }
195 },
196 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
197 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100198 "operationId" : "route88",
sebdet723de7f2020-03-12 14:38:07 -0700199 "produces" : [ "application/json" ],
200 "parameters" : [ {
201 "name" : "loopName",
202 "in" : "path",
203 "required" : true,
204 "type" : "string"
205 }, {
206 "name" : "policyType",
207 "in" : "path",
208 "required" : true,
209 "type" : "string"
210 }, {
211 "name" : "policyVersion",
212 "in" : "path",
213 "required" : true,
214 "type" : "string"
215 } ],
216 "responses" : {
217 "200" : {
218 "description" : "Output type",
219 "schema" : {
220 "$ref" : "#/definitions/Loop"
221 }
222 }
223 },
sebdet91ff4012020-12-11 13:11:18 +0100224 "x-camelContextId" : "camel-3",
225 "x-routeId" : "route88"
sebdet723de7f2020-03-12 14:38:07 -0700226 }
227 },
228 "/v2/loop/create/{loopName}?templateName={templateName}" : {
229 "post" : {
sebdet91ff4012020-12-11 13:11:18 +0100230 "operationId" : "route90",
sebdet723de7f2020-03-12 14:38:07 -0700231 "consumes" : [ "application/json" ],
232 "produces" : [ "application/json" ],
233 "parameters" : [ {
234 "name" : "loopName}?templateName={templateName",
235 "in" : "path",
236 "required" : true,
237 "type" : "string"
238 } ],
239 "responses" : {
240 "200" : {
241 "description" : "Output type",
242 "schema" : {
243 "$ref" : "#/definitions/Loop"
244 }
245 }
246 },
sebdet91ff4012020-12-11 13:11:18 +0100247 "x-camelContextId" : "camel-3",
248 "x-routeId" : "route90"
sebdet3b7f6692020-02-17 06:03:31 -0800249 }
250 },
251 "/v2/loop/delete/{loopName}" : {
252 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100253 "operationId" : "route86",
sebdet3b7f6692020-02-17 06:03:31 -0800254 "parameters" : [ {
255 "name" : "loopName",
256 "in" : "path",
257 "required" : true,
258 "type" : "string"
259 } ],
260 "responses" : {
261 "200" : { }
262 },
sebdet91ff4012020-12-11 13:11:18 +0100263 "x-camelContextId" : "camel-3",
264 "x-routeId" : "route86"
sebdet3b7f6692020-02-17 06:03:31 -0800265 }
266 },
267 "/v2/loop/deploy/{loopName}" : {
268 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100269 "operationId" : "route79",
sebdet3b7f6692020-02-17 06:03:31 -0800270 "produces" : [ "application/json" ],
271 "parameters" : [ {
272 "name" : "loopName",
273 "in" : "path",
274 "required" : true,
275 "type" : "string"
276 } ],
277 "responses" : {
278 "200" : {
279 "description" : "Output type",
280 "schema" : {
281 "$ref" : "#/definitions/Loop"
282 }
283 }
284 },
sebdet91ff4012020-12-11 13:11:18 +0100285 "x-camelContextId" : "camel-3",
286 "x-routeId" : "route79"
sebdet3b7f6692020-02-17 06:03:31 -0800287 }
288 },
289 "/v2/loop/getAllNames" : {
290 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100291 "operationId" : "route74",
sebdet3b7f6692020-02-17 06:03:31 -0800292 "produces" : [ "application/json" ],
293 "responses" : {
294 "200" : {
295 "description" : "Output type",
296 "schema" : {
297 "type" : "array",
298 "items" : {
299 "type" : "string"
300 }
301 }
302 }
303 },
sebdet91ff4012020-12-11 13:11:18 +0100304 "x-camelContextId" : "camel-3",
305 "x-routeId" : "route74"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200306 }
307 },
308 "/v2/loop/getstatus/{loopName}" : {
309 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100310 "operationId" : "route87",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200311 "produces" : [ "application/json" ],
312 "parameters" : [ {
313 "name" : "loopName",
314 "in" : "path",
315 "required" : true,
316 "type" : "string"
317 } ],
318 "responses" : {
319 "200" : {
320 "description" : "Output type",
321 "schema" : {
322 "$ref" : "#/definitions/Loop"
323 }
324 }
325 },
sebdet91ff4012020-12-11 13:11:18 +0100326 "x-camelContextId" : "camel-3",
327 "x-routeId" : "route87"
sebdet3b7f6692020-02-17 06:03:31 -0800328 }
329 },
sebdetafac3122020-03-19 10:29:30 -0700330 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
sebdet3b7f6692020-02-17 06:03:31 -0800331 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100332 "operationId" : "route80",
sebdet3b7f6692020-02-17 06:03:31 -0800333 "produces" : [ "application/json" ],
334 "parameters" : [ {
335 "name" : "loopName",
336 "in" : "path",
337 "required" : true,
338 "type" : "string"
sebdetafac3122020-03-19 10:29:30 -0700339 }, {
340 "name" : "microServicePolicyName",
341 "in" : "path",
342 "required" : true,
343 "type" : "string"
sebdet3b7f6692020-02-17 06:03:31 -0800344 } ],
345 "responses" : {
346 "200" : {
347 "description" : "Output type",
348 "schema" : {
349 "$ref" : "#/definitions/Loop"
350 }
351 }
352 },
sebdet91ff4012020-12-11 13:11:18 +0100353 "x-camelContextId" : "camel-3",
354 "x-routeId" : "route80"
sebdetafac3122020-03-19 10:29:30 -0700355 }
356 },
357 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
358 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100359 "operationId" : "route81",
sebdetafac3122020-03-19 10:29:30 -0700360 "produces" : [ "application/json" ],
361 "parameters" : [ {
362 "name" : "loopName",
363 "in" : "path",
364 "required" : true,
365 "type" : "string"
366 }, {
367 "name" : "operationalPolicyName",
368 "in" : "path",
369 "required" : true,
370 "type" : "string"
371 } ],
372 "responses" : {
373 "200" : {
374 "description" : "Output type",
375 "schema" : {
376 "$ref" : "#/definitions/Loop"
377 }
378 }
379 },
sebdet91ff4012020-12-11 13:11:18 +0100380 "x-camelContextId" : "camel-3",
381 "x-routeId" : "route81"
sebdet723de7f2020-03-12 14:38:07 -0700382 }
383 },
sebdetab9bc442020-04-23 03:01:37 +0200384 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
sebdet723de7f2020-03-12 14:38:07 -0700385 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100386 "operationId" : "route89",
sebdet723de7f2020-03-12 14:38:07 -0700387 "produces" : [ "application/json" ],
388 "parameters" : [ {
389 "name" : "loopName",
390 "in" : "path",
391 "required" : true,
392 "type" : "string"
393 }, {
394 "name" : "policyType",
395 "in" : "path",
396 "required" : true,
397 "type" : "string"
398 }, {
399 "name" : "policyVersion",
400 "in" : "path",
401 "required" : true,
402 "type" : "string"
sebdetab9bc442020-04-23 03:01:37 +0200403 }, {
404 "name" : "policyName",
405 "in" : "path",
406 "required" : true,
407 "type" : "string"
sebdet723de7f2020-03-12 14:38:07 -0700408 } ],
409 "responses" : {
410 "200" : {
411 "description" : "Output type",
412 "schema" : {
413 "$ref" : "#/definitions/Loop"
414 }
415 }
416 },
sebdet91ff4012020-12-11 13:11:18 +0100417 "x-camelContextId" : "camel-3",
418 "x-routeId" : "route89"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200419 }
420 },
421 "/v2/loop/restart/{loopName}" : {
422 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100423 "operationId" : "route84",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200424 "produces" : [ "application/json" ],
425 "parameters" : [ {
426 "name" : "loopName",
427 "in" : "path",
428 "required" : true,
429 "type" : "string"
430 } ],
431 "responses" : {
432 "200" : {
433 "description" : "Output type",
434 "schema" : {
435 "$ref" : "#/definitions/Loop"
436 }
437 }
438 },
sebdet91ff4012020-12-11 13:11:18 +0100439 "x-camelContextId" : "camel-3",
440 "x-routeId" : "route84"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200441 }
442 },
443 "/v2/loop/stop/{loopName}" : {
444 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100445 "operationId" : "route83",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200446 "produces" : [ "application/json" ],
447 "parameters" : [ {
448 "name" : "loopName",
449 "in" : "path",
450 "required" : true,
451 "type" : "string"
452 } ],
453 "responses" : {
454 "200" : {
455 "description" : "Output type",
456 "schema" : {
457 "$ref" : "#/definitions/Loop"
458 }
459 }
460 },
sebdet91ff4012020-12-11 13:11:18 +0100461 "x-camelContextId" : "camel-3",
462 "x-routeId" : "route83"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200463 }
464 },
465 "/v2/loop/submit/{loopName}" : {
466 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100467 "operationId" : "route85",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200468 "produces" : [ "application/json" ],
469 "parameters" : [ {
470 "name" : "loopName",
471 "in" : "path",
472 "required" : true,
473 "type" : "string"
474 } ],
475 "responses" : {
476 "200" : {
477 "description" : "Output type",
478 "schema" : {
479 "$ref" : "#/definitions/Loop"
480 }
481 }
482 },
sebdet91ff4012020-12-11 13:11:18 +0100483 "x-camelContextId" : "camel-3",
484 "x-routeId" : "route85"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200485 }
486 },
sebdet101193d2019-09-05 18:25:59 +0200487 "/v2/loop/undeploy/{loopName}" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200488 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100489 "operationId" : "route82",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200490 "produces" : [ "application/json" ],
491 "parameters" : [ {
492 "name" : "loopName",
493 "in" : "path",
494 "required" : true,
495 "type" : "string"
496 } ],
497 "responses" : {
498 "200" : {
499 "description" : "Output type",
500 "schema" : {
501 "$ref" : "#/definitions/Loop"
502 }
503 }
504 },
sebdet91ff4012020-12-11 13:11:18 +0100505 "x-camelContextId" : "camel-3",
506 "x-routeId" : "route82"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200507 }
508 },
509 "/v2/loop/updateGlobalProperties/{loopName}" : {
510 "post" : {
sebdet91ff4012020-12-11 13:11:18 +0100511 "operationId" : "route76",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200512 "consumes" : [ "application/json" ],
513 "produces" : [ "application/json" ],
514 "parameters" : [ {
515 "name" : "loopName",
516 "in" : "path",
517 "required" : true,
518 "type" : "string"
519 }, {
520 "in" : "body",
521 "name" : "body",
522 "required" : true,
523 "schema" : {
524 "$ref" : "#/definitions/JsonObject"
525 }
526 } ],
527 "responses" : {
528 "200" : {
529 "description" : "Output type",
530 "schema" : {
531 "$ref" : "#/definitions/Loop"
532 }
533 }
534 },
sebdet91ff4012020-12-11 13:11:18 +0100535 "x-camelContextId" : "camel-3",
536 "x-routeId" : "route76"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200537 }
538 },
539 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
540 "post" : {
sebdet91ff4012020-12-11 13:11:18 +0100541 "operationId" : "route78",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200542 "consumes" : [ "application/json" ],
543 "produces" : [ "application/json" ],
544 "parameters" : [ {
545 "name" : "loopName",
546 "in" : "path",
547 "required" : true,
548 "type" : "string"
549 }, {
550 "in" : "body",
551 "name" : "body",
552 "required" : true,
553 "schema" : {
554 "$ref" : "#/definitions/MicroServicePolicy"
555 }
556 } ],
557 "responses" : {
558 "200" : {
559 "description" : "Output type",
560 "schema" : {
561 "$ref" : "#/definitions/MicroServicePolicy"
562 }
563 }
564 },
sebdet91ff4012020-12-11 13:11:18 +0100565 "x-camelContextId" : "camel-3",
566 "x-routeId" : "route78"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200567 }
568 },
569 "/v2/loop/updateOperationalPolicies/{loopName}" : {
570 "post" : {
sebdet91ff4012020-12-11 13:11:18 +0100571 "operationId" : "route77",
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200572 "consumes" : [ "application/json" ],
573 "produces" : [ "application/json" ],
574 "parameters" : [ {
575 "name" : "loopName",
576 "in" : "path",
577 "required" : true,
578 "type" : "string"
579 }, {
580 "in" : "body",
581 "name" : "body",
582 "required" : true,
583 "schema" : {
584 "$ref" : "#/definitions/JsonArray"
585 }
586 } ],
587 "responses" : {
588 "200" : {
589 "description" : "Output type",
590 "schema" : {
591 "$ref" : "#/definitions/Loop"
592 }
593 }
594 },
sebdet91ff4012020-12-11 13:11:18 +0100595 "x-camelContextId" : "camel-3",
596 "x-routeId" : "route77"
sebdet3b7f6692020-02-17 06:03:31 -0800597 }
598 },
599 "/v2/policyToscaModels" : {
600 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100601 "operationId" : "route98",
sebdet3b7f6692020-02-17 06:03:31 -0800602 "produces" : [ "application/json" ],
603 "responses" : {
604 "200" : {
605 "description" : "Output type",
606 "schema" : {
607 "$ref" : "#/definitions/PolicyModel"
608 }
609 }
610 },
sebdet91ff4012020-12-11 13:11:18 +0100611 "x-camelContextId" : "camel-3",
612 "x-routeId" : "route98"
sebdet723de7f2020-03-12 14:38:07 -0700613 },
614 "post" : {
sebdet91ff4012020-12-11 13:11:18 +0100615 "operationId" : "route101",
sebdet723de7f2020-03-12 14:38:07 -0700616 "consumes" : [ "plain/text" ],
617 "produces" : [ "application/json" ],
618 "parameters" : [ {
619 "in" : "body",
620 "name" : "body",
621 "required" : true,
622 "schema" : {
623 "type" : "string"
624 }
625 } ],
626 "responses" : {
627 "200" : {
628 "description" : "Output type",
629 "schema" : {
630 "$ref" : "#/definitions/PolicyModel"
631 }
632 }
633 },
sebdet91ff4012020-12-11 13:11:18 +0100634 "x-camelContextId" : "camel-3",
635 "x-routeId" : "route101"
sebdet3b7f6692020-02-17 06:03:31 -0800636 }
637 },
sebdet723de7f2020-03-12 14:38:07 -0700638 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
sebdet3b7f6692020-02-17 06:03:31 -0800639 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100640 "operationId" : "route99",
sebdet3b7f6692020-02-17 06:03:31 -0800641 "produces" : [ "application/json" ],
642 "parameters" : [ {
643 "name" : "policyModelType",
644 "in" : "path",
645 "required" : true,
646 "type" : "string"
sebdet723de7f2020-03-12 14:38:07 -0700647 }, {
648 "name" : "policyModelVersion",
649 "in" : "path",
650 "required" : true,
651 "type" : "string"
sebdet3b7f6692020-02-17 06:03:31 -0800652 } ],
653 "responses" : {
654 "200" : {
655 "description" : "Output type",
656 "schema" : {
657 "$ref" : "#/definitions/PolicyModel"
658 }
659 }
660 },
sebdet91ff4012020-12-11 13:11:18 +0100661 "x-camelContextId" : "camel-3",
662 "x-routeId" : "route99"
sebdet3b7f6692020-02-17 06:03:31 -0800663 },
664 "put" : {
sebdet91ff4012020-12-11 13:11:18 +0100665 "operationId" : "route102",
sebdet3b7f6692020-02-17 06:03:31 -0800666 "consumes" : [ "plain/text" ],
667 "produces" : [ "application/json" ],
668 "parameters" : [ {
669 "name" : "policyModelType",
670 "in" : "path",
671 "required" : true,
672 "type" : "string"
673 }, {
sebdet723de7f2020-03-12 14:38:07 -0700674 "name" : "policyModelVersion",
675 "in" : "path",
676 "required" : true,
677 "type" : "string"
678 }, {
sebdet3b7f6692020-02-17 06:03:31 -0800679 "in" : "body",
680 "name" : "body",
681 "required" : true,
682 "schema" : {
683 "type" : "string"
684 }
685 } ],
686 "responses" : {
687 "200" : {
688 "description" : "Output type",
689 "schema" : {
690 "$ref" : "#/definitions/PolicyModel"
691 }
692 }
693 },
sebdet91ff4012020-12-11 13:11:18 +0100694 "x-camelContextId" : "camel-3",
695 "x-routeId" : "route102"
sebdet3b7f6692020-02-17 06:03:31 -0800696 }
697 },
sebdet723de7f2020-03-12 14:38:07 -0700698 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
sebdet3b7f6692020-02-17 06:03:31 -0800699 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100700 "operationId" : "route100",
sebdet3b7f6692020-02-17 06:03:31 -0800701 "produces" : [ "application/json" ],
702 "parameters" : [ {
703 "name" : "policyModelType",
704 "in" : "path",
705 "required" : true,
706 "type" : "string"
sebdet723de7f2020-03-12 14:38:07 -0700707 }, {
708 "name" : "policyModelVersion",
709 "in" : "path",
710 "required" : true,
711 "type" : "string"
sebdet3b7f6692020-02-17 06:03:31 -0800712 } ],
713 "responses" : {
714 "200" : {
715 "description" : "Output type",
716 "schema" : {
717 "type" : "string"
718 }
719 }
720 },
sebdet91ff4012020-12-11 13:11:18 +0100721 "x-camelContextId" : "camel-3",
722 "x-routeId" : "route100"
sebdet3b7f6692020-02-17 06:03:31 -0800723 }
724 },
725 "/v2/templates" : {
726 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100727 "operationId" : "route103",
sebdet3b7f6692020-02-17 06:03:31 -0800728 "produces" : [ "application/json" ],
729 "responses" : {
730 "200" : {
731 "description" : "Output type",
732 "schema" : {
733 "$ref" : "#/definitions/LoopTemplate"
734 }
735 }
736 },
sebdet91ff4012020-12-11 13:11:18 +0100737 "x-camelContextId" : "camel-3",
738 "x-routeId" : "route103"
sebdet3b7f6692020-02-17 06:03:31 -0800739 }
740 },
741 "/v2/templates/{templateName}" : {
742 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100743 "operationId" : "route104",
sebdet3b7f6692020-02-17 06:03:31 -0800744 "produces" : [ "application/json" ],
745 "parameters" : [ {
746 "name" : "templateName",
747 "in" : "path",
748 "required" : true,
749 "type" : "string"
750 } ],
751 "responses" : {
752 "200" : {
753 "description" : "Output type",
754 "schema" : {
755 "$ref" : "#/definitions/LoopTemplate"
756 }
757 }
758 },
sebdet91ff4012020-12-11 13:11:18 +0100759 "x-camelContextId" : "camel-3",
760 "x-routeId" : "route104"
sebdet3b7f6692020-02-17 06:03:31 -0800761 }
762 },
763 "/v2/templates/names" : {
764 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100765 "operationId" : "route105",
sebdet3b7f6692020-02-17 06:03:31 -0800766 "produces" : [ "application/json" ],
767 "responses" : {
768 "200" : {
769 "description" : "Output type",
770 "schema" : {
771 "type" : "array",
772 "items" : {
773 "type" : "string"
774 }
775 }
776 }
777 },
sebdet91ff4012020-12-11 13:11:18 +0100778 "x-camelContextId" : "camel-3",
779 "x-routeId" : "route105"
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200780 }
xg353y2aad6d62018-05-18 17:59:06 +0200781 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200782 "/v1/healthcheck" : {
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200783 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100784 "operationId" : "route107",
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200785 "produces" : [ "application/json" ],
786 "responses" : {
sebdet5b410e62019-09-11 15:11:03 +0200787 "200" : {
788 "description" : "Output type",
789 "schema" : {
790 "$ref" : "#/definitions/CldsHealthCheck"
791 }
792 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200793 },
sebdet91ff4012020-12-11 13:11:18 +0100794 "x-camelContextId" : "camel-3",
795 "x-routeId" : "route107"
sebdet4d1e6b92018-10-23 16:54:02 +0200796 }
797 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200798 "/v1/user/getUser" : {
sebdet4d1e6b92018-10-23 16:54:02 +0200799 "get" : {
sebdet91ff4012020-12-11 13:11:18 +0100800 "operationId" : "route108",
sebdet4d1e6b92018-10-23 16:54:02 +0200801 "produces" : [ "text/plain" ],
802 "responses" : {
803 "200" : { }
804 },
sebdet91ff4012020-12-11 13:11:18 +0100805 "x-camelContextId" : "camel-3",
806 "x-routeId" : "route108"
sebdet4d1e6b92018-10-23 16:54:02 +0200807 }
xg353y2aad6d62018-05-18 17:59:06 +0200808 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200809 },
810 "definitions" : {
sebdet723de7f2020-03-12 14:38:07 -0700811 "ClampInformation" : {
812 "type" : "object",
813 "properties" : {
814 "userName" : {
815 "type" : "string"
816 },
817 "cldsVersion" : {
818 "type" : "string"
819 },
820 "allPermissions" : {
821 "type" : "array",
822 "items" : {
823 "type" : "string"
824 }
825 }
826 },
827 "x-className" : {
828 "type" : "string",
sebdet91ff4012020-12-11 13:11:18 +0100829 "format" : "org.onap.policy.clamp.clds.model.ClampInformation"
sebdet723de7f2020-03-12 14:38:07 -0700830 }
831 },
sebdet3b7f6692020-02-17 06:03:31 -0800832 "Dictionary" : {
833 "type" : "object",
834 "properties" : {
835 "createdDate" : {
836 "type" : "integer",
837 "format" : "int64"
838 },
839 "updatedDate" : {
840 "type" : "integer",
841 "format" : "int64"
842 },
843 "updatedBy" : {
844 "type" : "string"
845 },
846 "createdBy" : {
847 "type" : "string"
848 },
849 "name" : {
850 "type" : "string"
851 },
852 "secondLevelDictionary" : {
853 "type" : "integer",
854 "format" : "int32"
855 },
856 "subDictionaryType" : {
857 "type" : "string"
858 },
859 "dictionaryElements" : {
860 "type" : "array",
861 "uniqueItems" : true,
862 "items" : {
863 "$ref" : "#/definitions/DictionaryElement"
864 }
865 }
866 },
867 "x-className" : {
868 "type" : "string",
sebdet91ff4012020-12-11 13:11:18 +0100869 "format" : "org.onap.policy.clamp.tosca.Dictionary"
sebdet3b7f6692020-02-17 06:03:31 -0800870 }
871 },
872 "DictionaryElement" : {
873 "type" : "object",
874 "properties" : {
875 "createdDate" : {
876 "type" : "integer",
877 "format" : "int64"
878 },
879 "updatedDate" : {
880 "type" : "integer",
881 "format" : "int64"
882 },
883 "updatedBy" : {
884 "type" : "string"
885 },
886 "createdBy" : {
887 "type" : "string"
888 },
889 "shortName" : {
890 "type" : "string"
891 },
892 "name" : {
893 "type" : "string"
894 },
895 "description" : {
896 "type" : "string"
897 },
898 "type" : {
899 "type" : "string"
900 },
901 "subDictionary" : {
902 "type" : "string"
903 },
904 "usedByDictionaries" : {
905 "type" : "array",
906 "uniqueItems" : true,
907 "items" : {
908 "$ref" : "#/definitions/Dictionary"
909 }
910 }
911 }
912 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200913 "Loop" : {
914 "type" : "object",
915 "properties" : {
nrpandya82561262019-11-21 11:51:18 -0600916 "createdDate" : {
917 "type" : "integer",
918 "format" : "int64"
919 },
920 "updatedDate" : {
921 "type" : "integer",
922 "format" : "int64"
923 },
924 "updatedBy" : {
925 "type" : "string"
926 },
927 "createdBy" : {
928 "type" : "string"
929 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200930 "name" : {
931 "type" : "string"
932 },
933 "dcaeDeploymentId" : {
934 "type" : "string"
935 },
936 "dcaeDeploymentStatusUrl" : {
937 "type" : "string"
938 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200939 "globalPropertiesJson" : {
940 "$ref" : "#/definitions/JsonObject"
941 },
nrpandya82561262019-11-21 11:51:18 -0600942 "modelService" : {
943 "$ref" : "#/definitions/Service"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200944 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200945 "lastComputedState" : {
946 "type" : "string",
947 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
948 },
sebdet101193d2019-09-05 18:25:59 +0200949 "components" : {
950 "type" : "object",
951 "additionalProperties" : {
952 "$ref" : "#/definitions/ExternalComponent"
953 }
954 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200955 "operationalPolicies" : {
956 "type" : "array",
957 "uniqueItems" : true,
958 "items" : {
959 "$ref" : "#/definitions/OperationalPolicy"
960 }
961 },
962 "microServicePolicies" : {
963 "type" : "array",
964 "uniqueItems" : true,
965 "items" : {
966 "$ref" : "#/definitions/MicroServicePolicy"
967 }
968 },
969 "loopLogs" : {
970 "type" : "array",
971 "uniqueItems" : true,
972 "items" : {
973 "$ref" : "#/definitions/LoopLog"
974 }
nrpandya82561262019-11-21 11:51:18 -0600975 },
976 "loopTemplate" : {
977 "$ref" : "#/definitions/LoopTemplate"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200978 }
979 },
980 "x-className" : {
981 "type" : "string",
sebdet91ff4012020-12-11 13:11:18 +0100982 "format" : "org.onap.policy.clamp.loop.Loop"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200983 }
984 },
nrpandya82561262019-11-21 11:51:18 -0600985 "JsonPrimitive" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +0200986 "type" : "object",
987 "properties" : {
sebdet2dd4e992020-03-04 15:47:39 -0800988 "asBoolean" : {
989 "type" : "boolean"
990 },
sebdetbfabac92021-01-06 17:24:18 +0100991 "asDouble" : {
992 "type" : "number",
993 "format" : "double"
994 },
995 "asLong" : {
996 "type" : "integer",
997 "format" : "int64"
998 },
sebdet88fd35f2020-10-09 16:32:12 +0200999 "boolean" : {
1000 "type" : "boolean"
sebdet061ecec2020-05-13 09:34:05 +02001001 },
sebdet88fd35f2020-10-09 16:32:12 +02001002 "number" : {
1003 "type" : "boolean"
sebdet061ecec2020-05-13 09:34:05 +02001004 },
sebdetbfabac92021-01-06 17:24:18 +01001005 "asInt" : {
1006 "type" : "integer",
1007 "format" : "int32"
1008 },
sebdet88fd35f2020-10-09 16:32:12 +02001009 "asString" : {
sebdet03d382d2020-06-03 14:22:37 +02001010 "type" : "string"
1011 },
sebdet91ff4012020-12-11 13:11:18 +01001012 "asFloat" : {
1013 "type" : "number",
1014 "format" : "float"
1015 },
sebdet91ff4012020-12-11 13:11:18 +01001016 "asByte" : {
1017 "type" : "string",
1018 "format" : "byte"
1019 },
1020 "asCharacter" : {
1021 "type" : "string"
1022 },
sebdet03d382d2020-06-03 14:22:37 +02001023 "asBigDecimal" : {
1024 "type" : "number"
1025 },
1026 "asBigInteger" : {
1027 "type" : "integer"
1028 },
1029 "asShort" : {
1030 "type" : "integer",
1031 "format" : "int32"
1032 },
sebdetbfabac92021-01-06 17:24:18 +01001033 "asNumber" : {
1034 "$ref" : "#/definitions/Number"
1035 },
sebdetab9bc442020-04-23 03:01:37 +02001036 "string" : {
sebdet580141f2020-04-01 00:00:37 +02001037 "type" : "boolean"
sebdete65d4572020-03-24 08:51:20 -07001038 },
sebdet91ff4012020-12-11 13:11:18 +01001039 "asJsonObject" : {
1040 "$ref" : "#/definitions/JsonObject"
1041 },
sebdetbfabac92021-01-06 17:24:18 +01001042 "asJsonArray" : {
1043 "$ref" : "#/definitions/JsonArray"
1044 },
1045 "jsonObject" : {
1046 "type" : "boolean"
1047 },
sebdet91ff4012020-12-11 13:11:18 +01001048 "jsonNull" : {
1049 "type" : "boolean"
1050 },
sebdetbfabac92021-01-06 17:24:18 +01001051 "jsonPrimitive" : {
1052 "type" : "boolean"
1053 },
1054 "asJsonPrimitive" : {
1055 "$ref" : "#/definitions/JsonPrimitive"
1056 },
sebdet91ff4012020-12-11 13:11:18 +01001057 "jsonArray" : {
1058 "type" : "boolean"
1059 },
sebdet5ec88e42020-08-03 15:25:07 +02001060 "asJsonNull" : {
1061 "$ref" : "#/definitions/JsonNull"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001062 }
1063 }
1064 },
1065 "MicroServicePolicy" : {
1066 "type" : "object",
1067 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001068 "createdDate" : {
1069 "type" : "integer",
1070 "format" : "int64"
1071 },
1072 "updatedDate" : {
1073 "type" : "integer",
1074 "format" : "int64"
1075 },
1076 "updatedBy" : {
1077 "type" : "string"
1078 },
1079 "createdBy" : {
1080 "type" : "string"
1081 },
sebdet3b7f6692020-02-17 06:03:31 -08001082 "jsonRepresentation" : {
1083 "$ref" : "#/definitions/JsonObject"
1084 },
1085 "configurationsJson" : {
1086 "$ref" : "#/definitions/JsonObject"
1087 },
1088 "loopElementModel" : {
1089 "$ref" : "#/definitions/LoopElementModel"
1090 },
1091 "pdpGroup" : {
1092 "type" : "string"
1093 },
sebdet2dd4e992020-03-04 15:47:39 -08001094 "pdpSubgroup" : {
sebdet2d28cbf2020-02-27 14:43:57 -08001095 "type" : "string"
1096 },
sebdet897a3e02020-02-28 06:03:51 -08001097 "policyModel" : {
1098 "$ref" : "#/definitions/PolicyModel"
1099 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001100 "name" : {
1101 "type" : "string"
1102 },
nrpandya82561262019-11-21 11:51:18 -06001103 "context" : {
1104 "type" : "string"
1105 },
1106 "deviceTypeScope" : {
1107 "type" : "string"
1108 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001109 "shared" : {
1110 "type" : "boolean"
1111 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001112 "usedByLoops" : {
1113 "type" : "array",
1114 "uniqueItems" : true,
1115 "items" : {
1116 "$ref" : "#/definitions/Loop"
1117 }
nrpandya82561262019-11-21 11:51:18 -06001118 },
sebdet3b7f6692020-02-17 06:03:31 -08001119 "dcaeDeploymentId" : {
1120 "type" : "string"
1121 },
1122 "dcaeDeploymentStatusUrl" : {
1123 "type" : "string"
1124 },
1125 "dcaeBlueprintId" : {
1126 "type" : "string"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001127 }
1128 },
1129 "x-className" : {
1130 "type" : "string",
sebdet91ff4012020-12-11 13:11:18 +01001131 "format" : "org.onap.policy.clamp.policy.microservice.MicroServicePolicy"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001132 }
1133 },
1134 "JsonObject" : {
1135 "type" : "object",
1136 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001137 "asBoolean" : {
1138 "type" : "boolean"
1139 },
sebdetbfabac92021-01-06 17:24:18 +01001140 "asDouble" : {
sebdetab9bc442020-04-23 03:01:37 +02001141 "type" : "number",
sebdetbfabac92021-01-06 17:24:18 +01001142 "format" : "double"
sebdetab9bc442020-04-23 03:01:37 +02001143 },
sebdet061ecec2020-05-13 09:34:05 +02001144 "asLong" : {
1145 "type" : "integer",
1146 "format" : "int64"
1147 },
sebdet91ff4012020-12-11 13:11:18 +01001148 "asInt" : {
1149 "type" : "integer",
1150 "format" : "int32"
sebdet061ecec2020-05-13 09:34:05 +02001151 },
sebdetbfabac92021-01-06 17:24:18 +01001152 "asJsonObject" : {
1153 "$ref" : "#/definitions/JsonObject"
sebdet91ff4012020-12-11 13:11:18 +01001154 },
sebdetbfabac92021-01-06 17:24:18 +01001155 "asString" : {
1156 "type" : "string"
sebdet91ff4012020-12-11 13:11:18 +01001157 },
sebdetbfabac92021-01-06 17:24:18 +01001158 "asJsonArray" : {
1159 "$ref" : "#/definitions/JsonArray"
sebdet03d382d2020-06-03 14:22:37 +02001160 },
sebdet88fd35f2020-10-09 16:32:12 +02001161 "jsonObject" : {
1162 "type" : "boolean"
1163 },
sebdetbfabac92021-01-06 17:24:18 +01001164 "jsonNull" : {
1165 "type" : "boolean"
1166 },
1167 "jsonPrimitive" : {
1168 "type" : "boolean"
1169 },
1170 "asJsonPrimitive" : {
1171 "$ref" : "#/definitions/JsonPrimitive"
1172 },
1173 "jsonArray" : {
1174 "type" : "boolean"
1175 },
1176 "asFloat" : {
1177 "type" : "number",
1178 "format" : "float"
1179 },
sebdet91ff4012020-12-11 13:11:18 +01001180 "asByte" : {
1181 "type" : "string",
1182 "format" : "byte"
1183 },
sebdetbfabac92021-01-06 17:24:18 +01001184 "asJsonNull" : {
1185 "$ref" : "#/definitions/JsonNull"
1186 },
sebdet91ff4012020-12-11 13:11:18 +01001187 "asCharacter" : {
1188 "type" : "string"
sebdet88fd35f2020-10-09 16:32:12 +02001189 },
sebdet03d382d2020-06-03 14:22:37 +02001190 "asBigDecimal" : {
1191 "type" : "number"
1192 },
1193 "asBigInteger" : {
1194 "type" : "integer"
1195 },
1196 "asShort" : {
1197 "type" : "integer",
1198 "format" : "int32"
sebdetbfabac92021-01-06 17:24:18 +01001199 },
1200 "asNumber" : {
1201 "$ref" : "#/definitions/Number"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001202 }
1203 },
1204 "x-className" : {
1205 "type" : "string",
1206 "format" : "com.google.gson.JsonObject"
1207 }
1208 },
nrpandya82561262019-11-21 11:51:18 -06001209 "PolicyModel" : {
sebdet101193d2019-09-05 18:25:59 +02001210 "type" : "object",
1211 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001212 "createdDate" : {
1213 "type" : "integer",
1214 "format" : "int64"
sebdet101193d2019-09-05 18:25:59 +02001215 },
nrpandya82561262019-11-21 11:51:18 -06001216 "updatedDate" : {
1217 "type" : "integer",
1218 "format" : "int64"
1219 },
1220 "updatedBy" : {
sebdet101193d2019-09-05 18:25:59 +02001221 "type" : "string"
nrpandya82561262019-11-21 11:51:18 -06001222 },
1223 "createdBy" : {
1224 "type" : "string"
1225 },
1226 "policyModelType" : {
1227 "type" : "string"
1228 },
1229 "version" : {
1230 "type" : "string"
1231 },
1232 "policyModelTosca" : {
1233 "type" : "string"
1234 },
1235 "policyAcronym" : {
1236 "type" : "string"
1237 },
sebdet3b7f6692020-02-17 06:03:31 -08001238 "usedByElementModels" : {
1239 "type" : "array",
1240 "uniqueItems" : true,
1241 "items" : {
1242 "$ref" : "#/definitions/LoopElementModel"
1243 }
sebdet2d28cbf2020-02-27 14:43:57 -08001244 },
1245 "policyPdpGroup" : {
1246 "$ref" : "#/definitions/JsonObject"
nrpandya82561262019-11-21 11:51:18 -06001247 }
sebdet3b7f6692020-02-17 06:03:31 -08001248 },
1249 "x-className" : {
1250 "type" : "string",
sebdet91ff4012020-12-11 13:11:18 +01001251 "format" : "org.onap.policy.clamp.loop.template.PolicyModel"
nrpandya82561262019-11-21 11:51:18 -06001252 }
1253 },
1254 "Service" : {
1255 "type" : "object",
1256 "properties" : {
1257 "serviceUuid" : {
1258 "type" : "string"
1259 },
sebdet3b7f6692020-02-17 06:03:31 -08001260 "name" : {
1261 "type" : "string"
1262 },
1263 "version" : {
1264 "type" : "string"
1265 },
nrpandya82561262019-11-21 11:51:18 -06001266 "serviceDetails" : {
1267 "$ref" : "#/definitions/JsonObject"
1268 },
1269 "resourceDetails" : {
1270 "$ref" : "#/definitions/JsonObject"
sebdet101193d2019-09-05 18:25:59 +02001271 }
1272 }
1273 },
sebdet3b7f6692020-02-17 06:03:31 -08001274 "LoopTemplateLoopElementModel" : {
1275 "type" : "object",
1276 "properties" : {
1277 "loopTemplate" : {
1278 "$ref" : "#/definitions/LoopTemplate"
1279 },
1280 "loopElementModel" : {
1281 "$ref" : "#/definitions/LoopElementModel"
1282 },
1283 "flowOrder" : {
1284 "type" : "integer",
1285 "format" : "int32"
1286 }
1287 }
1288 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001289 "OperationalPolicy" : {
1290 "type" : "object",
1291 "properties" : {
sebdet3b7f6692020-02-17 06:03:31 -08001292 "createdDate" : {
1293 "type" : "integer",
1294 "format" : "int64"
1295 },
1296 "updatedDate" : {
1297 "type" : "integer",
1298 "format" : "int64"
1299 },
1300 "updatedBy" : {
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001301 "type" : "string"
1302 },
sebdet3b7f6692020-02-17 06:03:31 -08001303 "createdBy" : {
1304 "type" : "string"
1305 },
1306 "jsonRepresentation" : {
1307 "$ref" : "#/definitions/JsonObject"
1308 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001309 "configurationsJson" : {
1310 "$ref" : "#/definitions/JsonObject"
1311 },
sebdet3b7f6692020-02-17 06:03:31 -08001312 "loopElementModel" : {
1313 "$ref" : "#/definitions/LoopElementModel"
1314 },
1315 "pdpGroup" : {
1316 "type" : "string"
1317 },
sebdet2dd4e992020-03-04 15:47:39 -08001318 "pdpSubgroup" : {
sebdet2d28cbf2020-02-27 14:43:57 -08001319 "type" : "string"
1320 },
sebdet897a3e02020-02-28 06:03:51 -08001321 "policyModel" : {
1322 "$ref" : "#/definitions/PolicyModel"
1323 },
sebdet3b7f6692020-02-17 06:03:31 -08001324 "name" : {
1325 "type" : "string"
1326 },
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001327 "loop" : {
1328 "$ref" : "#/definitions/Loop"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001329 }
1330 }
1331 },
1332 "JsonNull" : {
1333 "type" : "object",
1334 "properties" : {
nrpandya82561262019-11-21 11:51:18 -06001335 "asBoolean" : {
1336 "type" : "boolean"
1337 },
sebdetbfabac92021-01-06 17:24:18 +01001338 "asDouble" : {
sebdet580141f2020-04-01 00:00:37 +02001339 "type" : "number",
sebdetbfabac92021-01-06 17:24:18 +01001340 "format" : "double"
sebdet580141f2020-04-01 00:00:37 +02001341 },
sebdet061ecec2020-05-13 09:34:05 +02001342 "asLong" : {
1343 "type" : "integer",
1344 "format" : "int64"
1345 },
sebdet91ff4012020-12-11 13:11:18 +01001346 "asInt" : {
1347 "type" : "integer",
1348 "format" : "int32"
sebdet061ecec2020-05-13 09:34:05 +02001349 },
sebdetbfabac92021-01-06 17:24:18 +01001350 "asJsonObject" : {
1351 "$ref" : "#/definitions/JsonObject"
sebdet91ff4012020-12-11 13:11:18 +01001352 },
sebdetbfabac92021-01-06 17:24:18 +01001353 "asString" : {
1354 "type" : "string"
sebdet91ff4012020-12-11 13:11:18 +01001355 },
sebdetbfabac92021-01-06 17:24:18 +01001356 "asJsonArray" : {
1357 "$ref" : "#/definitions/JsonArray"
sebdet03d382d2020-06-03 14:22:37 +02001358 },
sebdet88fd35f2020-10-09 16:32:12 +02001359 "jsonObject" : {
1360 "type" : "boolean"
1361 },
sebdetbfabac92021-01-06 17:24:18 +01001362 "jsonNull" : {
1363 "type" : "boolean"
1364 },
1365 "jsonPrimitive" : {
1366 "type" : "boolean"
1367 },
1368 "asJsonPrimitive" : {
1369 "$ref" : "#/definitions/JsonPrimitive"
1370 },
1371 "jsonArray" : {
1372 "type" : "boolean"
1373 },
1374 "asFloat" : {
1375 "type" : "number",
1376 "format" : "float"
1377 },
sebdet91ff4012020-12-11 13:11:18 +01001378 "asByte" : {
1379 "type" : "string",
1380 "format" : "byte"
1381 },
sebdetbfabac92021-01-06 17:24:18 +01001382 "asJsonNull" : {
1383 "$ref" : "#/definitions/JsonNull"
1384 },
sebdet91ff4012020-12-11 13:11:18 +01001385 "asCharacter" : {
1386 "type" : "string"
sebdet88fd35f2020-10-09 16:32:12 +02001387 },
sebdet03d382d2020-06-03 14:22:37 +02001388 "asBigDecimal" : {
1389 "type" : "number"
1390 },
1391 "asBigInteger" : {
1392 "type" : "integer"
1393 },
1394 "asShort" : {
1395 "type" : "integer",
1396 "format" : "int32"
sebdetbfabac92021-01-06 17:24:18 +01001397 },
1398 "asNumber" : {
1399 "$ref" : "#/definitions/Number"
sebdetab9bc442020-04-23 03:01:37 +02001400 }
1401 }
1402 },
1403 "JsonArray" : {
1404 "type" : "object",
1405 "properties" : {
1406 "asBoolean" : {
1407 "type" : "boolean"
sebdet580141f2020-04-01 00:00:37 +02001408 },
sebdetbfabac92021-01-06 17:24:18 +01001409 "asDouble" : {
sebdete65d4572020-03-24 08:51:20 -07001410 "type" : "number",
sebdetbfabac92021-01-06 17:24:18 +01001411 "format" : "double"
sebdete65d4572020-03-24 08:51:20 -07001412 },
sebdet061ecec2020-05-13 09:34:05 +02001413 "asLong" : {
1414 "type" : "integer",
1415 "format" : "int64"
1416 },
sebdet91ff4012020-12-11 13:11:18 +01001417 "asInt" : {
1418 "type" : "integer",
1419 "format" : "int32"
1420 },
sebdetbfabac92021-01-06 17:24:18 +01001421 "asString" : {
1422 "type" : "string"
sebdet91ff4012020-12-11 13:11:18 +01001423 },
sebdetbfabac92021-01-06 17:24:18 +01001424 "asFloat" : {
sebdet91ff4012020-12-11 13:11:18 +01001425 "type" : "number",
sebdetbfabac92021-01-06 17:24:18 +01001426 "format" : "float"
sebdet91ff4012020-12-11 13:11:18 +01001427 },
1428 "asByte" : {
1429 "type" : "string",
1430 "format" : "byte"
1431 },
1432 "asCharacter" : {
sebdet03d382d2020-06-03 14:22:37 +02001433 "type" : "string"
1434 },
1435 "asBigDecimal" : {
1436 "type" : "number"
1437 },
1438 "asBigInteger" : {
1439 "type" : "integer"
1440 },
1441 "asShort" : {
1442 "type" : "integer",
1443 "format" : "int32"
1444 },
sebdetbfabac92021-01-06 17:24:18 +01001445 "asNumber" : {
1446 "$ref" : "#/definitions/Number"
sebdet88fd35f2020-10-09 16:32:12 +02001447 },
sebdet91ff4012020-12-11 13:11:18 +01001448 "asJsonObject" : {
1449 "$ref" : "#/definitions/JsonObject"
xuegao58c7c972019-09-26 13:29:10 +02001450 },
sebdetbfabac92021-01-06 17:24:18 +01001451 "asJsonArray" : {
1452 "$ref" : "#/definitions/JsonArray"
1453 },
1454 "jsonObject" : {
1455 "type" : "boolean"
1456 },
sebdetafac3122020-03-19 10:29:30 -07001457 "jsonNull" : {
sebdet8604d372020-03-10 02:44:53 -07001458 "type" : "boolean"
1459 },
sebdetbfabac92021-01-06 17:24:18 +01001460 "jsonPrimitive" : {
1461 "type" : "boolean"
1462 },
1463 "asJsonPrimitive" : {
1464 "$ref" : "#/definitions/JsonPrimitive"
1465 },
sebdet91ff4012020-12-11 13:11:18 +01001466 "jsonArray" : {
1467 "type" : "boolean"
sebdet5ec88e42020-08-03 15:25:07 +02001468 },
1469 "asJsonNull" : {
1470 "$ref" : "#/definitions/JsonNull"
nrpandya82561262019-11-21 11:51:18 -06001471 }
1472 },
1473 "x-className" : {
1474 "type" : "string",
1475 "format" : "com.google.gson.JsonArray"
1476 }
1477 },
1478 "LoopLog" : {
1479 "type" : "object",
1480 "properties" : {
1481 "id" : {
1482 "type" : "integer",
1483 "format" : "int64"
1484 },
1485 "logType" : {
1486 "type" : "string",
1487 "enum" : [ "INFO", "WARNING", "ERROR" ]
1488 },
1489 "logComponent" : {
1490 "type" : "string"
1491 },
1492 "message" : {
1493 "type" : "string"
1494 },
1495 "loop" : {
1496 "$ref" : "#/definitions/Loop"
1497 },
1498 "logInstant" : {
1499 "type" : "integer",
1500 "format" : "int64"
1501 }
1502 }
1503 },
nrpandya82561262019-11-21 11:51:18 -06001504 "Number" : {
1505 "type" : "object"
1506 },
1507 "ExternalComponent" : {
1508 "type" : "object",
1509 "properties" : {
1510 "state" : {
1511 "$ref" : "#/definitions/ExternalComponentState"
1512 },
1513 "componentName" : {
1514 "type" : "string"
1515 }
1516 }
1517 },
1518 "LoopTemplate" : {
1519 "type" : "object",
1520 "properties" : {
1521 "createdDate" : {
1522 "type" : "integer",
1523 "format" : "int64"
1524 },
1525 "updatedDate" : {
1526 "type" : "integer",
1527 "format" : "int64"
1528 },
1529 "updatedBy" : {
1530 "type" : "string"
1531 },
1532 "createdBy" : {
1533 "type" : "string"
1534 },
1535 "name" : {
1536 "type" : "string"
1537 },
sebdet3b7f6692020-02-17 06:03:31 -08001538 "dcaeBlueprintId" : {
1539 "type" : "string"
1540 },
nrpandya82561262019-11-21 11:51:18 -06001541 "blueprint" : {
1542 "type" : "string"
1543 },
sebdet3b7f6692020-02-17 06:03:31 -08001544 "loopElementModelsUsed" : {
nrpandya82561262019-11-21 11:51:18 -06001545 "type" : "array",
1546 "uniqueItems" : true,
1547 "items" : {
sebdet3b7f6692020-02-17 06:03:31 -08001548 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
nrpandya82561262019-11-21 11:51:18 -06001549 }
1550 },
1551 "modelService" : {
1552 "$ref" : "#/definitions/Service"
1553 },
1554 "maximumInstancesAllowed" : {
1555 "type" : "integer",
1556 "format" : "int32"
sebdet3b7f6692020-02-17 06:03:31 -08001557 },
1558 "uniqueBlueprint" : {
1559 "type" : "boolean"
1560 },
1561 "allowedLoopType" : {
1562 "type" : "string",
1563 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
nrpandya82561262019-11-21 11:51:18 -06001564 }
sebdet3b7f6692020-02-17 06:03:31 -08001565 },
1566 "x-className" : {
1567 "type" : "string",
sebdet91ff4012020-12-11 13:11:18 +01001568 "format" : "org.onap.policy.clamp.loop.template.LoopTemplate"
nrpandya82561262019-11-21 11:51:18 -06001569 }
1570 },
1571 "ExternalComponentState" : {
1572 "type" : "object",
1573 "properties" : {
1574 "stateName" : {
1575 "type" : "string"
1576 },
1577 "description" : {
1578 "type" : "string"
1579 },
1580 "level" : {
1581 "type" : "integer",
1582 "format" : "int32"
Determe, Sebastien (sd378r)51ef6ca2019-05-29 18:04:31 +02001583 }
1584 }
1585 },
sebdet3b7f6692020-02-17 06:03:31 -08001586 "LoopElementModel" : {
1587 "type" : "object",
1588 "properties" : {
1589 "createdDate" : {
1590 "type" : "integer",
1591 "format" : "int64"
1592 },
1593 "updatedDate" : {
1594 "type" : "integer",
1595 "format" : "int64"
1596 },
1597 "updatedBy" : {
1598 "type" : "string"
1599 },
1600 "createdBy" : {
1601 "type" : "string"
1602 },
1603 "name" : {
1604 "type" : "string"
1605 },
1606 "dcaeBlueprintId" : {
1607 "type" : "string"
1608 },
1609 "blueprint" : {
1610 "type" : "string"
1611 },
1612 "loopElementType" : {
1613 "type" : "string"
1614 },
1615 "shortName" : {
1616 "type" : "string"
1617 },
1618 "policyModels" : {
1619 "type" : "array",
1620 "uniqueItems" : true,
1621 "items" : {
1622 "$ref" : "#/definitions/PolicyModel"
1623 }
1624 },
1625 "usedByLoopTemplates" : {
1626 "type" : "array",
1627 "uniqueItems" : true,
1628 "items" : {
1629 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1630 }
1631 }
1632 }
1633 },
sebdet5b410e62019-09-11 15:11:03 +02001634 "CldsHealthCheck" : {
1635 "type" : "object",
1636 "properties" : {
1637 "healthCheckComponent" : {
1638 "type" : "string"
1639 },
1640 "healthCheckStatus" : {
1641 "type" : "string"
1642 },
1643 "description" : {
1644 "type" : "string"
1645 }
1646 },
1647 "x-className" : {
1648 "type" : "string",
sebdet91ff4012020-12-11 13:11:18 +01001649 "format" : "org.onap.policy.clamp.clds.model.CldsHealthCheck"
sebdet5b410e62019-09-11 15:11:03 +02001650 }
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +02001651 }
1652 }
xg353y2aad6d62018-05-18 17:59:06 +02001653}