saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame^] | 1 | { |
| 2 | "swagger" : "2.0", |
| 3 | "info" : { |
| 4 | "version" : "6.1.2-SNAPSHOT", |
| 5 | "title" : "Clamp Rest API" |
| 6 | }, |
| 7 | "host" : "localhost:33201", |
| 8 | "basePath" : "/restservices/clds/", |
| 9 | "schemes" : [ "http" ], |
| 10 | "paths" : { |
| 11 | "/v2/clampInformation" : { |
| 12 | "get" : { |
| 13 | "operationId" : "verb115", |
| 14 | "produces" : [ "application/json" ], |
| 15 | "responses" : { |
| 16 | "200" : { |
| 17 | "description" : "Output type", |
| 18 | "schema" : { |
| 19 | "$ref" : "#/definitions/ClampInformation" |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | "x-camelContextId" : "camel-3", |
| 24 | "x-routeId" : "route118" |
| 25 | } |
| 26 | }, |
| 27 | "/v2/dictionary" : { |
| 28 | "get" : { |
| 29 | "operationId" : "verb99", |
| 30 | "produces" : [ "application/json" ], |
| 31 | "responses" : { |
| 32 | "200" : { |
| 33 | "description" : "Output type", |
| 34 | "schema" : { |
| 35 | "$ref" : "#/definitions/Dictionary" |
| 36 | } |
| 37 | } |
| 38 | }, |
| 39 | "x-camelContextId" : "camel-3", |
| 40 | "x-routeId" : "route102" |
| 41 | }, |
| 42 | "put" : { |
| 43 | "operationId" : "verb102", |
| 44 | "consumes" : [ "application/json" ], |
| 45 | "produces" : [ "application/json" ], |
| 46 | "parameters" : [ { |
| 47 | "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 | }, |
| 62 | "x-camelContextId" : "camel-3", |
| 63 | "x-routeId" : "route105" |
| 64 | } |
| 65 | }, |
| 66 | "/v2/dictionary/{dictionaryName}" : { |
| 67 | "get" : { |
| 68 | "operationId" : "verb101", |
| 69 | "produces" : [ "application/json" ], |
| 70 | "parameters" : [ { |
| 71 | "name" : "dictionaryName", |
| 72 | "in" : "path", |
| 73 | "required" : true, |
| 74 | "type" : "string" |
| 75 | } ], |
| 76 | "responses" : { |
| 77 | "200" : { |
| 78 | "description" : "Output type", |
| 79 | "schema" : { |
| 80 | "$ref" : "#/definitions/Dictionary" |
| 81 | } |
| 82 | } |
| 83 | }, |
| 84 | "x-camelContextId" : "camel-3", |
| 85 | "x-routeId" : "route104" |
| 86 | } |
| 87 | }, |
| 88 | "/v2/dictionary/{name}" : { |
| 89 | "put" : { |
| 90 | "operationId" : "verb103", |
| 91 | "consumes" : [ "application/json" ], |
| 92 | "produces" : [ "application/json" ], |
| 93 | "parameters" : [ { |
| 94 | "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 | }, |
| 114 | "x-camelContextId" : "camel-3", |
| 115 | "x-routeId" : "route106" |
| 116 | }, |
| 117 | "delete" : { |
| 118 | "operationId" : "verb104", |
| 119 | "produces" : [ "application/json" ], |
| 120 | "parameters" : [ { |
| 121 | "name" : "name", |
| 122 | "in" : "path", |
| 123 | "required" : true, |
| 124 | "type" : "string" |
| 125 | } ], |
| 126 | "responses" : { |
| 127 | "200" : { } |
| 128 | }, |
| 129 | "x-camelContextId" : "camel-3", |
| 130 | "x-routeId" : "route107" |
| 131 | } |
| 132 | }, |
| 133 | "/v2/dictionary/{name}/elements/{shortName}" : { |
| 134 | "delete" : { |
| 135 | "operationId" : "verb105", |
| 136 | "produces" : [ "application/json" ], |
| 137 | "parameters" : [ { |
| 138 | "name" : "name", |
| 139 | "in" : "path", |
| 140 | "required" : true, |
| 141 | "type" : "string" |
| 142 | }, { |
| 143 | "name" : "shortName", |
| 144 | "in" : "path", |
| 145 | "required" : true, |
| 146 | "type" : "string" |
| 147 | } ], |
| 148 | "responses" : { |
| 149 | "200" : { } |
| 150 | }, |
| 151 | "x-camelContextId" : "camel-3", |
| 152 | "x-routeId" : "route108" |
| 153 | } |
| 154 | }, |
| 155 | "/v2/dictionary/secondary/names" : { |
| 156 | "get" : { |
| 157 | "operationId" : "verb100", |
| 158 | "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 | }, |
| 170 | "x-camelContextId" : "camel-3", |
| 171 | "x-routeId" : "route103" |
| 172 | } |
| 173 | }, |
| 174 | "/v2/loop/{loopName}" : { |
| 175 | "get" : { |
| 176 | "operationId" : "verb80", |
| 177 | "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 | }, |
| 192 | "x-camelContextId" : "camel-3", |
| 193 | "x-routeId" : "route83" |
| 194 | } |
| 195 | }, |
| 196 | "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : { |
| 197 | "put" : { |
| 198 | "operationId" : "verb93", |
| 199 | "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 | }, |
| 224 | "x-camelContextId" : "camel-3", |
| 225 | "x-routeId" : "route96" |
| 226 | } |
| 227 | }, |
| 228 | "/v2/loop/create/{loopName}?templateName={templateName}" : { |
| 229 | "post" : { |
| 230 | "operationId" : "verb95", |
| 231 | "consumes" : [ "application/json" ], |
| 232 | "produces" : [ "application/json" ], |
| 233 | "parameters" : [ { |
| 234 | "name" : "loopName", |
| 235 | "in" : "path", |
| 236 | "required" : true, |
| 237 | "type" : "string" |
| 238 | }, { |
| 239 | "name" : "templateName", |
| 240 | "in" : "path", |
| 241 | "required" : true, |
| 242 | "type" : "string" |
| 243 | } ], |
| 244 | "responses" : { |
| 245 | "200" : { |
| 246 | "description" : "Output type", |
| 247 | "schema" : { |
| 248 | "$ref" : "#/definitions/Loop" |
| 249 | } |
| 250 | } |
| 251 | }, |
| 252 | "x-camelContextId" : "camel-3", |
| 253 | "x-routeId" : "route98" |
| 254 | } |
| 255 | }, |
| 256 | "/v2/loop/delete/{loopName}" : { |
| 257 | "put" : { |
| 258 | "operationId" : "verb91", |
| 259 | "parameters" : [ { |
| 260 | "name" : "loopName", |
| 261 | "in" : "path", |
| 262 | "required" : true, |
| 263 | "type" : "string" |
| 264 | } ], |
| 265 | "responses" : { |
| 266 | "200" : { } |
| 267 | }, |
| 268 | "x-camelContextId" : "camel-3", |
| 269 | "x-routeId" : "route94" |
| 270 | } |
| 271 | }, |
| 272 | "/v2/loop/deploy/{loopName}" : { |
| 273 | "put" : { |
| 274 | "operationId" : "verb84", |
| 275 | "produces" : [ "application/json" ], |
| 276 | "parameters" : [ { |
| 277 | "name" : "loopName", |
| 278 | "in" : "path", |
| 279 | "required" : true, |
| 280 | "type" : "string" |
| 281 | } ], |
| 282 | "responses" : { |
| 283 | "200" : { |
| 284 | "description" : "Output type", |
| 285 | "schema" : { |
| 286 | "$ref" : "#/definitions/Loop" |
| 287 | } |
| 288 | } |
| 289 | }, |
| 290 | "x-camelContextId" : "camel-3", |
| 291 | "x-routeId" : "route87" |
| 292 | } |
| 293 | }, |
| 294 | "/v2/loop/getAllNames" : { |
| 295 | "get" : { |
| 296 | "operationId" : "verb79", |
| 297 | "produces" : [ "application/json" ], |
| 298 | "responses" : { |
| 299 | "200" : { |
| 300 | "description" : "Output type", |
| 301 | "schema" : { |
| 302 | "type" : "array", |
| 303 | "items" : { |
| 304 | "type" : "string" |
| 305 | } |
| 306 | } |
| 307 | } |
| 308 | }, |
| 309 | "x-camelContextId" : "camel-3", |
| 310 | "x-routeId" : "route82" |
| 311 | } |
| 312 | }, |
| 313 | "/v2/loop/getstatus/{loopName}" : { |
| 314 | "get" : { |
| 315 | "operationId" : "verb92", |
| 316 | "produces" : [ "application/json" ], |
| 317 | "parameters" : [ { |
| 318 | "name" : "loopName", |
| 319 | "in" : "path", |
| 320 | "required" : true, |
| 321 | "type" : "string" |
| 322 | } ], |
| 323 | "responses" : { |
| 324 | "200" : { |
| 325 | "description" : "Output type", |
| 326 | "schema" : { |
| 327 | "$ref" : "#/definitions/Loop" |
| 328 | } |
| 329 | } |
| 330 | }, |
| 331 | "x-camelContextId" : "camel-3", |
| 332 | "x-routeId" : "route95" |
| 333 | } |
| 334 | }, |
| 335 | "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : { |
| 336 | "put" : { |
| 337 | "operationId" : "verb85", |
| 338 | "produces" : [ "application/json" ], |
| 339 | "parameters" : [ { |
| 340 | "name" : "loopName", |
| 341 | "in" : "path", |
| 342 | "required" : true, |
| 343 | "type" : "string" |
| 344 | }, { |
| 345 | "name" : "microServicePolicyName", |
| 346 | "in" : "path", |
| 347 | "required" : true, |
| 348 | "type" : "string" |
| 349 | } ], |
| 350 | "responses" : { |
| 351 | "200" : { |
| 352 | "description" : "Output type", |
| 353 | "schema" : { |
| 354 | "$ref" : "#/definitions/Loop" |
| 355 | } |
| 356 | } |
| 357 | }, |
| 358 | "x-camelContextId" : "camel-3", |
| 359 | "x-routeId" : "route88" |
| 360 | } |
| 361 | }, |
| 362 | "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : { |
| 363 | "put" : { |
| 364 | "operationId" : "verb86", |
| 365 | "produces" : [ "application/json" ], |
| 366 | "parameters" : [ { |
| 367 | "name" : "loopName", |
| 368 | "in" : "path", |
| 369 | "required" : true, |
| 370 | "type" : "string" |
| 371 | }, { |
| 372 | "name" : "operationalPolicyName", |
| 373 | "in" : "path", |
| 374 | "required" : true, |
| 375 | "type" : "string" |
| 376 | } ], |
| 377 | "responses" : { |
| 378 | "200" : { |
| 379 | "description" : "Output type", |
| 380 | "schema" : { |
| 381 | "$ref" : "#/definitions/Loop" |
| 382 | } |
| 383 | } |
| 384 | }, |
| 385 | "x-camelContextId" : "camel-3", |
| 386 | "x-routeId" : "route89" |
| 387 | } |
| 388 | }, |
| 389 | "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : { |
| 390 | "put" : { |
| 391 | "operationId" : "verb94", |
| 392 | "produces" : [ "application/json" ], |
| 393 | "parameters" : [ { |
| 394 | "name" : "loopName", |
| 395 | "in" : "path", |
| 396 | "required" : true, |
| 397 | "type" : "string" |
| 398 | }, { |
| 399 | "name" : "policyType", |
| 400 | "in" : "path", |
| 401 | "required" : true, |
| 402 | "type" : "string" |
| 403 | }, { |
| 404 | "name" : "policyVersion", |
| 405 | "in" : "path", |
| 406 | "required" : true, |
| 407 | "type" : "string" |
| 408 | }, { |
| 409 | "name" : "policyName", |
| 410 | "in" : "path", |
| 411 | "required" : true, |
| 412 | "type" : "string" |
| 413 | } ], |
| 414 | "responses" : { |
| 415 | "200" : { |
| 416 | "description" : "Output type", |
| 417 | "schema" : { |
| 418 | "$ref" : "#/definitions/Loop" |
| 419 | } |
| 420 | } |
| 421 | }, |
| 422 | "x-camelContextId" : "camel-3", |
| 423 | "x-routeId" : "route97" |
| 424 | } |
| 425 | }, |
| 426 | "/v2/loop/restart/{loopName}" : { |
| 427 | "put" : { |
| 428 | "operationId" : "verb89", |
| 429 | "produces" : [ "application/json" ], |
| 430 | "parameters" : [ { |
| 431 | "name" : "loopName", |
| 432 | "in" : "path", |
| 433 | "required" : true, |
| 434 | "type" : "string" |
| 435 | } ], |
| 436 | "responses" : { |
| 437 | "200" : { |
| 438 | "description" : "Output type", |
| 439 | "schema" : { |
| 440 | "$ref" : "#/definitions/Loop" |
| 441 | } |
| 442 | } |
| 443 | }, |
| 444 | "x-camelContextId" : "camel-3", |
| 445 | "x-routeId" : "route92" |
| 446 | } |
| 447 | }, |
| 448 | "/v2/loop/stop/{loopName}" : { |
| 449 | "put" : { |
| 450 | "operationId" : "verb88", |
| 451 | "produces" : [ "application/json" ], |
| 452 | "parameters" : [ { |
| 453 | "name" : "loopName", |
| 454 | "in" : "path", |
| 455 | "required" : true, |
| 456 | "type" : "string" |
| 457 | } ], |
| 458 | "responses" : { |
| 459 | "200" : { |
| 460 | "description" : "Output type", |
| 461 | "schema" : { |
| 462 | "$ref" : "#/definitions/Loop" |
| 463 | } |
| 464 | } |
| 465 | }, |
| 466 | "x-camelContextId" : "camel-3", |
| 467 | "x-routeId" : "route91" |
| 468 | } |
| 469 | }, |
| 470 | "/v2/loop/submit/{loopName}" : { |
| 471 | "put" : { |
| 472 | "operationId" : "verb90", |
| 473 | "produces" : [ "application/json" ], |
| 474 | "parameters" : [ { |
| 475 | "name" : "loopName", |
| 476 | "in" : "path", |
| 477 | "required" : true, |
| 478 | "type" : "string" |
| 479 | } ], |
| 480 | "responses" : { |
| 481 | "200" : { |
| 482 | "description" : "Output type", |
| 483 | "schema" : { |
| 484 | "$ref" : "#/definitions/Loop" |
| 485 | } |
| 486 | } |
| 487 | }, |
| 488 | "x-camelContextId" : "camel-3", |
| 489 | "x-routeId" : "route93" |
| 490 | } |
| 491 | }, |
| 492 | "/v2/loop/undeploy/{loopName}" : { |
| 493 | "put" : { |
| 494 | "operationId" : "verb87", |
| 495 | "produces" : [ "application/json" ], |
| 496 | "parameters" : [ { |
| 497 | "name" : "loopName", |
| 498 | "in" : "path", |
| 499 | "required" : true, |
| 500 | "type" : "string" |
| 501 | } ], |
| 502 | "responses" : { |
| 503 | "200" : { |
| 504 | "description" : "Output type", |
| 505 | "schema" : { |
| 506 | "$ref" : "#/definitions/Loop" |
| 507 | } |
| 508 | } |
| 509 | }, |
| 510 | "x-camelContextId" : "camel-3", |
| 511 | "x-routeId" : "route90" |
| 512 | } |
| 513 | }, |
| 514 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 515 | "post" : { |
| 516 | "operationId" : "verb81", |
| 517 | "consumes" : [ "application/json" ], |
| 518 | "produces" : [ "application/json" ], |
| 519 | "parameters" : [ { |
| 520 | "name" : "loopName", |
| 521 | "in" : "path", |
| 522 | "required" : true, |
| 523 | "type" : "string" |
| 524 | }, { |
| 525 | "in" : "body", |
| 526 | "name" : "body", |
| 527 | "required" : true, |
| 528 | "schema" : { |
| 529 | "$ref" : "#/definitions/JsonObject" |
| 530 | } |
| 531 | } ], |
| 532 | "responses" : { |
| 533 | "200" : { |
| 534 | "description" : "Output type", |
| 535 | "schema" : { |
| 536 | "$ref" : "#/definitions/Loop" |
| 537 | } |
| 538 | } |
| 539 | }, |
| 540 | "x-camelContextId" : "camel-3", |
| 541 | "x-routeId" : "route84" |
| 542 | } |
| 543 | }, |
| 544 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 545 | "post" : { |
| 546 | "operationId" : "verb83", |
| 547 | "consumes" : [ "application/json" ], |
| 548 | "produces" : [ "application/json" ], |
| 549 | "parameters" : [ { |
| 550 | "name" : "loopName", |
| 551 | "in" : "path", |
| 552 | "required" : true, |
| 553 | "type" : "string" |
| 554 | }, { |
| 555 | "in" : "body", |
| 556 | "name" : "body", |
| 557 | "required" : true, |
| 558 | "schema" : { |
| 559 | "$ref" : "#/definitions/MicroServicePolicy" |
| 560 | } |
| 561 | } ], |
| 562 | "responses" : { |
| 563 | "200" : { |
| 564 | "description" : "Output type", |
| 565 | "schema" : { |
| 566 | "$ref" : "#/definitions/MicroServicePolicy" |
| 567 | } |
| 568 | } |
| 569 | }, |
| 570 | "x-camelContextId" : "camel-3", |
| 571 | "x-routeId" : "route86" |
| 572 | } |
| 573 | }, |
| 574 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 575 | "post" : { |
| 576 | "operationId" : "verb82", |
| 577 | "consumes" : [ "application/json" ], |
| 578 | "produces" : [ "application/json" ], |
| 579 | "parameters" : [ { |
| 580 | "name" : "loopName", |
| 581 | "in" : "path", |
| 582 | "required" : true, |
| 583 | "type" : "string" |
| 584 | }, { |
| 585 | "in" : "body", |
| 586 | "name" : "body", |
| 587 | "required" : true, |
| 588 | "schema" : { |
| 589 | "$ref" : "#/definitions/JsonArray" |
| 590 | } |
| 591 | } ], |
| 592 | "responses" : { |
| 593 | "200" : { |
| 594 | "description" : "Output type", |
| 595 | "schema" : { |
| 596 | "$ref" : "#/definitions/Loop" |
| 597 | } |
| 598 | } |
| 599 | }, |
| 600 | "x-camelContextId" : "camel-3", |
| 601 | "x-routeId" : "route85" |
| 602 | } |
| 603 | }, |
| 604 | "/v2/policies" : { |
| 605 | "get" : { |
| 606 | "operationId" : "verb109", |
| 607 | "produces" : [ "application/json" ], |
| 608 | "responses" : { |
| 609 | "200" : { |
| 610 | "description" : "Output type", |
| 611 | "schema" : { |
| 612 | "$ref" : "#/definitions/JsonObject" |
| 613 | } |
| 614 | } |
| 615 | }, |
| 616 | "x-camelContextId" : "camel-3", |
| 617 | "x-routeId" : "route112" |
| 618 | } |
| 619 | }, |
| 620 | "/v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}" : { |
| 621 | "post" : { |
| 622 | "operationId" : "verb110", |
| 623 | "consumes" : [ "application/json" ], |
| 624 | "produces" : [ "application/json" ], |
| 625 | "parameters" : [ { |
| 626 | "name" : "policyModelType", |
| 627 | "in" : "path", |
| 628 | "required" : true, |
| 629 | "type" : "string" |
| 630 | }, { |
| 631 | "name" : "policyModelVersion", |
| 632 | "in" : "path", |
| 633 | "required" : true, |
| 634 | "type" : "string" |
| 635 | }, { |
| 636 | "name" : "policyName", |
| 637 | "in" : "path", |
| 638 | "required" : true, |
| 639 | "type" : "string" |
| 640 | }, { |
| 641 | "name" : "policyVersion", |
| 642 | "in" : "path", |
| 643 | "required" : true, |
| 644 | "type" : "string" |
| 645 | }, { |
| 646 | "in" : "body", |
| 647 | "name" : "body", |
| 648 | "required" : true, |
| 649 | "schema" : { |
| 650 | "$ref" : "#/definitions/JsonElement" |
| 651 | } |
| 652 | } ], |
| 653 | "responses" : { |
| 654 | "200" : { |
| 655 | "description" : "Output type", |
| 656 | "schema" : { |
| 657 | "$ref" : "#/definitions/JsonObject" |
| 658 | } |
| 659 | } |
| 660 | }, |
| 661 | "x-camelContextId" : "camel-3", |
| 662 | "x-routeId" : "route113" |
| 663 | }, |
| 664 | "delete" : { |
| 665 | "operationId" : "verb111", |
| 666 | "parameters" : [ { |
| 667 | "name" : "policyModelType", |
| 668 | "in" : "path", |
| 669 | "required" : true, |
| 670 | "type" : "string" |
| 671 | }, { |
| 672 | "name" : "policyModelVersion", |
| 673 | "in" : "path", |
| 674 | "required" : true, |
| 675 | "type" : "string" |
| 676 | }, { |
| 677 | "name" : "policyName", |
| 678 | "in" : "path", |
| 679 | "required" : true, |
| 680 | "type" : "string" |
| 681 | }, { |
| 682 | "name" : "policyVersion", |
| 683 | "in" : "path", |
| 684 | "required" : true, |
| 685 | "type" : "string" |
| 686 | } ], |
| 687 | "responses" : { |
| 688 | "200" : { } |
| 689 | }, |
| 690 | "x-camelContextId" : "camel-3", |
| 691 | "x-routeId" : "route114" |
| 692 | } |
| 693 | }, |
| 694 | "/v2/policies/pdpDeployment" : { |
| 695 | "put" : { |
| 696 | "operationId" : "verb112", |
| 697 | "consumes" : [ "application/json" ], |
| 698 | "parameters" : [ { |
| 699 | "in" : "body", |
| 700 | "name" : "body", |
| 701 | "required" : true, |
| 702 | "schema" : { |
| 703 | "$ref" : "#/definitions/JsonElement" |
| 704 | } |
| 705 | } ], |
| 706 | "responses" : { |
| 707 | "200" : { } |
| 708 | }, |
| 709 | "x-camelContextId" : "camel-3", |
| 710 | "x-routeId" : "route115" |
| 711 | } |
| 712 | }, |
| 713 | "/v2/policies/policytype" : { |
| 714 | "post" : { |
| 715 | "operationId" : "verb113", |
| 716 | "consumes" : [ "plain/text" ], |
| 717 | "parameters" : [ { |
| 718 | "in" : "body", |
| 719 | "name" : "body", |
| 720 | "required" : true, |
| 721 | "schema" : { |
| 722 | "type" : "string" |
| 723 | } |
| 724 | } ], |
| 725 | "responses" : { |
| 726 | "200" : { } |
| 727 | }, |
| 728 | "x-camelContextId" : "camel-3", |
| 729 | "x-routeId" : "route116" |
| 730 | } |
| 731 | }, |
| 732 | "/v2/policyToscaModels" : { |
| 733 | "get" : { |
| 734 | "operationId" : "verb106", |
| 735 | "produces" : [ "application/json" ], |
| 736 | "responses" : { |
| 737 | "200" : { |
| 738 | "description" : "Output type", |
| 739 | "schema" : { |
| 740 | "$ref" : "#/definitions/PolicyModel" |
| 741 | } |
| 742 | } |
| 743 | }, |
| 744 | "x-camelContextId" : "camel-3", |
| 745 | "x-routeId" : "route109" |
| 746 | } |
| 747 | }, |
| 748 | "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : { |
| 749 | "get" : { |
| 750 | "operationId" : "verb107", |
| 751 | "produces" : [ "application/json" ], |
| 752 | "parameters" : [ { |
| 753 | "name" : "policyModelType", |
| 754 | "in" : "path", |
| 755 | "required" : true, |
| 756 | "type" : "string" |
| 757 | }, { |
| 758 | "name" : "policyModelVersion", |
| 759 | "in" : "path", |
| 760 | "required" : true, |
| 761 | "type" : "string" |
| 762 | } ], |
| 763 | "responses" : { |
| 764 | "200" : { |
| 765 | "description" : "Output type", |
| 766 | "schema" : { |
| 767 | "$ref" : "#/definitions/JsonObject" |
| 768 | } |
| 769 | } |
| 770 | }, |
| 771 | "x-camelContextId" : "camel-3", |
| 772 | "x-routeId" : "route110" |
| 773 | } |
| 774 | }, |
| 775 | "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : { |
| 776 | "get" : { |
| 777 | "operationId" : "verb108", |
| 778 | "produces" : [ "application/json" ], |
| 779 | "parameters" : [ { |
| 780 | "name" : "policyModelType", |
| 781 | "in" : "path", |
| 782 | "required" : true, |
| 783 | "type" : "string" |
| 784 | }, { |
| 785 | "name" : "policyModelVersion", |
| 786 | "in" : "path", |
| 787 | "required" : true, |
| 788 | "type" : "string" |
| 789 | } ], |
| 790 | "responses" : { |
| 791 | "200" : { |
| 792 | "description" : "Output type", |
| 793 | "schema" : { |
| 794 | "type" : "string" |
| 795 | } |
| 796 | } |
| 797 | }, |
| 798 | "x-camelContextId" : "camel-3", |
| 799 | "x-routeId" : "route111" |
| 800 | } |
| 801 | }, |
| 802 | "/v2/templates" : { |
| 803 | "get" : { |
| 804 | "operationId" : "verb96", |
| 805 | "produces" : [ "application/json" ], |
| 806 | "responses" : { |
| 807 | "200" : { |
| 808 | "description" : "Output type", |
| 809 | "schema" : { |
| 810 | "$ref" : "#/definitions/LoopTemplate" |
| 811 | } |
| 812 | } |
| 813 | }, |
| 814 | "x-camelContextId" : "camel-3", |
| 815 | "x-routeId" : "route99" |
| 816 | } |
| 817 | }, |
| 818 | "/v2/templates/{templateName}" : { |
| 819 | "get" : { |
| 820 | "operationId" : "verb97", |
| 821 | "produces" : [ "application/json" ], |
| 822 | "parameters" : [ { |
| 823 | "name" : "templateName", |
| 824 | "in" : "path", |
| 825 | "required" : true, |
| 826 | "type" : "string" |
| 827 | } ], |
| 828 | "responses" : { |
| 829 | "200" : { |
| 830 | "description" : "Output type", |
| 831 | "schema" : { |
| 832 | "$ref" : "#/definitions/LoopTemplate" |
| 833 | } |
| 834 | } |
| 835 | }, |
| 836 | "x-camelContextId" : "camel-3", |
| 837 | "x-routeId" : "route100" |
| 838 | } |
| 839 | }, |
| 840 | "/v2/templates/names" : { |
| 841 | "get" : { |
| 842 | "operationId" : "verb98", |
| 843 | "produces" : [ "application/json" ], |
| 844 | "responses" : { |
| 845 | "200" : { |
| 846 | "description" : "Output type", |
| 847 | "schema" : { |
| 848 | "type" : "array", |
| 849 | "items" : { |
| 850 | "type" : "string" |
| 851 | } |
| 852 | } |
| 853 | } |
| 854 | }, |
| 855 | "x-camelContextId" : "camel-3", |
| 856 | "x-routeId" : "route101" |
| 857 | } |
| 858 | }, |
| 859 | "/v2/toscaControlLoop/getToscaTemplate" : { |
| 860 | "get" : { |
| 861 | "operationId" : "verb114", |
| 862 | "produces" : [ "application/json" ], |
| 863 | "responses" : { |
| 864 | "200" : { |
| 865 | "description" : "Output type", |
| 866 | "schema" : { |
| 867 | "type" : "string" |
| 868 | } |
| 869 | } |
| 870 | }, |
| 871 | "x-camelContextId" : "camel-3", |
| 872 | "x-routeId" : "route117" |
| 873 | } |
| 874 | }, |
| 875 | "/v1/healthcheck" : { |
| 876 | "get" : { |
| 877 | "operationId" : "verb116", |
| 878 | "produces" : [ "application/json" ], |
| 879 | "responses" : { |
| 880 | "200" : { |
| 881 | "description" : "Output type", |
| 882 | "schema" : { |
| 883 | "$ref" : "#/definitions/CldsHealthCheck" |
| 884 | } |
| 885 | } |
| 886 | }, |
| 887 | "x-camelContextId" : "camel-3", |
| 888 | "x-routeId" : "route119" |
| 889 | } |
| 890 | }, |
| 891 | "/v1/user/getUser" : { |
| 892 | "get" : { |
| 893 | "operationId" : "verb117", |
| 894 | "produces" : [ "text/plain" ], |
| 895 | "responses" : { |
| 896 | "200" : { } |
| 897 | }, |
| 898 | "x-camelContextId" : "camel-3", |
| 899 | "x-routeId" : "route120" |
| 900 | } |
| 901 | } |
| 902 | }, |
| 903 | "definitions" : { |
| 904 | "ClampInformation" : { |
| 905 | "type" : "object", |
| 906 | "properties" : { |
| 907 | "userName" : { |
| 908 | "type" : "string" |
| 909 | }, |
| 910 | "cldsVersion" : { |
| 911 | "type" : "string" |
| 912 | }, |
| 913 | "allPermissions" : { |
| 914 | "type" : "array", |
| 915 | "items" : { |
| 916 | "type" : "string" |
| 917 | } |
| 918 | } |
| 919 | }, |
| 920 | "x-className" : { |
| 921 | "type" : "string", |
| 922 | "format" : "org.onap.policy.clamp.clds.model.ClampInformation" |
| 923 | } |
| 924 | }, |
| 925 | "Dictionary" : { |
| 926 | "type" : "object", |
| 927 | "properties" : { |
| 928 | "createdDate" : { |
| 929 | "type" : "integer", |
| 930 | "format" : "int64" |
| 931 | }, |
| 932 | "updatedDate" : { |
| 933 | "type" : "integer", |
| 934 | "format" : "int64" |
| 935 | }, |
| 936 | "updatedBy" : { |
| 937 | "type" : "string" |
| 938 | }, |
| 939 | "createdBy" : { |
| 940 | "type" : "string" |
| 941 | }, |
| 942 | "name" : { |
| 943 | "type" : "string" |
| 944 | }, |
| 945 | "secondLevelDictionary" : { |
| 946 | "type" : "integer", |
| 947 | "format" : "int32" |
| 948 | }, |
| 949 | "subDictionaryType" : { |
| 950 | "type" : "string" |
| 951 | }, |
| 952 | "dictionaryElements" : { |
| 953 | "type" : "array", |
| 954 | "uniqueItems" : true, |
| 955 | "items" : { |
| 956 | "$ref" : "#/definitions/DictionaryElement" |
| 957 | } |
| 958 | } |
| 959 | }, |
| 960 | "x-className" : { |
| 961 | "type" : "string", |
| 962 | "format" : "org.onap.policy.clamp.tosca.Dictionary" |
| 963 | } |
| 964 | }, |
| 965 | "DictionaryElement" : { |
| 966 | "type" : "object", |
| 967 | "properties" : { |
| 968 | "createdDate" : { |
| 969 | "type" : "integer", |
| 970 | "format" : "int64" |
| 971 | }, |
| 972 | "updatedDate" : { |
| 973 | "type" : "integer", |
| 974 | "format" : "int64" |
| 975 | }, |
| 976 | "updatedBy" : { |
| 977 | "type" : "string" |
| 978 | }, |
| 979 | "createdBy" : { |
| 980 | "type" : "string" |
| 981 | }, |
| 982 | "shortName" : { |
| 983 | "type" : "string" |
| 984 | }, |
| 985 | "name" : { |
| 986 | "type" : "string" |
| 987 | }, |
| 988 | "description" : { |
| 989 | "type" : "string" |
| 990 | }, |
| 991 | "type" : { |
| 992 | "type" : "string" |
| 993 | }, |
| 994 | "subDictionary" : { |
| 995 | "type" : "string" |
| 996 | }, |
| 997 | "usedByDictionaries" : { |
| 998 | "type" : "array", |
| 999 | "uniqueItems" : true, |
| 1000 | "items" : { |
| 1001 | "$ref" : "#/definitions/Dictionary" |
| 1002 | } |
| 1003 | } |
| 1004 | } |
| 1005 | }, |
| 1006 | "Loop" : { |
| 1007 | "type" : "object", |
| 1008 | "properties" : { |
| 1009 | "createdDate" : { |
| 1010 | "type" : "integer", |
| 1011 | "format" : "int64" |
| 1012 | }, |
| 1013 | "updatedDate" : { |
| 1014 | "type" : "integer", |
| 1015 | "format" : "int64" |
| 1016 | }, |
| 1017 | "updatedBy" : { |
| 1018 | "type" : "string" |
| 1019 | }, |
| 1020 | "createdBy" : { |
| 1021 | "type" : "string" |
| 1022 | }, |
| 1023 | "name" : { |
| 1024 | "type" : "string" |
| 1025 | }, |
| 1026 | "dcaeDeploymentId" : { |
| 1027 | "type" : "string" |
| 1028 | }, |
| 1029 | "dcaeDeploymentStatusUrl" : { |
| 1030 | "type" : "string" |
| 1031 | }, |
| 1032 | "globalPropertiesJson" : { |
| 1033 | "$ref" : "#/definitions/JsonObject" |
| 1034 | }, |
| 1035 | "modelService" : { |
| 1036 | "$ref" : "#/definitions/Service" |
| 1037 | }, |
| 1038 | "lastComputedState" : { |
| 1039 | "type" : "string", |
| 1040 | "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ] |
| 1041 | }, |
| 1042 | "components" : { |
| 1043 | "type" : "object", |
| 1044 | "additionalProperties" : { |
| 1045 | "$ref" : "#/definitions/ExternalComponent" |
| 1046 | } |
| 1047 | }, |
| 1048 | "operationalPolicies" : { |
| 1049 | "type" : "array", |
| 1050 | "uniqueItems" : true, |
| 1051 | "items" : { |
| 1052 | "$ref" : "#/definitions/OperationalPolicy" |
| 1053 | } |
| 1054 | }, |
| 1055 | "microServicePolicies" : { |
| 1056 | "type" : "array", |
| 1057 | "uniqueItems" : true, |
| 1058 | "items" : { |
| 1059 | "$ref" : "#/definitions/MicroServicePolicy" |
| 1060 | } |
| 1061 | }, |
| 1062 | "loopLogs" : { |
| 1063 | "type" : "array", |
| 1064 | "uniqueItems" : true, |
| 1065 | "items" : { |
| 1066 | "$ref" : "#/definitions/LoopLog" |
| 1067 | } |
| 1068 | }, |
| 1069 | "loopTemplate" : { |
| 1070 | "$ref" : "#/definitions/LoopTemplate" |
| 1071 | } |
| 1072 | }, |
| 1073 | "x-className" : { |
| 1074 | "type" : "string", |
| 1075 | "format" : "org.onap.policy.clamp.loop.Loop" |
| 1076 | } |
| 1077 | }, |
| 1078 | "JsonPrimitive" : { |
| 1079 | "type" : "object", |
| 1080 | "properties" : { |
| 1081 | "asBoolean" : { |
| 1082 | "type" : "boolean" |
| 1083 | }, |
| 1084 | "boolean" : { |
| 1085 | "type" : "boolean" |
| 1086 | }, |
| 1087 | "number" : { |
| 1088 | "type" : "boolean" |
| 1089 | }, |
| 1090 | "asNumber" : { |
| 1091 | "$ref" : "#/definitions/Number" |
| 1092 | }, |
| 1093 | "asString" : { |
| 1094 | "type" : "string" |
| 1095 | }, |
| 1096 | "asDouble" : { |
| 1097 | "type" : "number", |
| 1098 | "format" : "double" |
| 1099 | }, |
| 1100 | "asFloat" : { |
| 1101 | "type" : "number", |
| 1102 | "format" : "float" |
| 1103 | }, |
| 1104 | "asLong" : { |
| 1105 | "type" : "integer", |
| 1106 | "format" : "int64" |
| 1107 | }, |
| 1108 | "asInt" : { |
| 1109 | "type" : "integer", |
| 1110 | "format" : "int32" |
| 1111 | }, |
| 1112 | "asByte" : { |
| 1113 | "type" : "string", |
| 1114 | "format" : "byte" |
| 1115 | }, |
| 1116 | "asCharacter" : { |
| 1117 | "type" : "string" |
| 1118 | }, |
| 1119 | "asBigDecimal" : { |
| 1120 | "type" : "number" |
| 1121 | }, |
| 1122 | "asBigInteger" : { |
| 1123 | "type" : "integer" |
| 1124 | }, |
| 1125 | "asShort" : { |
| 1126 | "type" : "integer", |
| 1127 | "format" : "int32" |
| 1128 | }, |
| 1129 | "string" : { |
| 1130 | "type" : "boolean" |
| 1131 | }, |
| 1132 | "asJsonObject" : { |
| 1133 | "$ref" : "#/definitions/JsonObject" |
| 1134 | }, |
| 1135 | "jsonArray" : { |
| 1136 | "type" : "boolean" |
| 1137 | }, |
| 1138 | "jsonObject" : { |
| 1139 | "type" : "boolean" |
| 1140 | }, |
| 1141 | "jsonPrimitive" : { |
| 1142 | "type" : "boolean" |
| 1143 | }, |
| 1144 | "jsonNull" : { |
| 1145 | "type" : "boolean" |
| 1146 | }, |
| 1147 | "asJsonArray" : { |
| 1148 | "$ref" : "#/definitions/JsonArray" |
| 1149 | }, |
| 1150 | "asJsonPrimitive" : { |
| 1151 | "$ref" : "#/definitions/JsonPrimitive" |
| 1152 | }, |
| 1153 | "asJsonNull" : { |
| 1154 | "$ref" : "#/definitions/JsonNull" |
| 1155 | } |
| 1156 | } |
| 1157 | }, |
| 1158 | "MicroServicePolicy" : { |
| 1159 | "type" : "object", |
| 1160 | "properties" : { |
| 1161 | "createdDate" : { |
| 1162 | "type" : "integer", |
| 1163 | "format" : "int64" |
| 1164 | }, |
| 1165 | "updatedDate" : { |
| 1166 | "type" : "integer", |
| 1167 | "format" : "int64" |
| 1168 | }, |
| 1169 | "updatedBy" : { |
| 1170 | "type" : "string" |
| 1171 | }, |
| 1172 | "createdBy" : { |
| 1173 | "type" : "string" |
| 1174 | }, |
| 1175 | "jsonRepresentation" : { |
| 1176 | "$ref" : "#/definitions/JsonObject" |
| 1177 | }, |
| 1178 | "configurationsJson" : { |
| 1179 | "$ref" : "#/definitions/JsonObject" |
| 1180 | }, |
| 1181 | "loopElementModel" : { |
| 1182 | "$ref" : "#/definitions/LoopElementModel" |
| 1183 | }, |
| 1184 | "pdpGroup" : { |
| 1185 | "type" : "string" |
| 1186 | }, |
| 1187 | "pdpSubgroup" : { |
| 1188 | "type" : "string" |
| 1189 | }, |
| 1190 | "policyModel" : { |
| 1191 | "$ref" : "#/definitions/PolicyModel" |
| 1192 | }, |
| 1193 | "name" : { |
| 1194 | "type" : "string" |
| 1195 | }, |
| 1196 | "context" : { |
| 1197 | "type" : "string" |
| 1198 | }, |
| 1199 | "deviceTypeScope" : { |
| 1200 | "type" : "string" |
| 1201 | }, |
| 1202 | "shared" : { |
| 1203 | "type" : "boolean" |
| 1204 | }, |
| 1205 | "usedByLoops" : { |
| 1206 | "type" : "array", |
| 1207 | "uniqueItems" : true, |
| 1208 | "items" : { |
| 1209 | "$ref" : "#/definitions/Loop" |
| 1210 | } |
| 1211 | }, |
| 1212 | "dcaeDeploymentId" : { |
| 1213 | "type" : "string" |
| 1214 | }, |
| 1215 | "dcaeDeploymentStatusUrl" : { |
| 1216 | "type" : "string" |
| 1217 | }, |
| 1218 | "dcaeBlueprintId" : { |
| 1219 | "type" : "string" |
| 1220 | } |
| 1221 | }, |
| 1222 | "x-className" : { |
| 1223 | "type" : "string", |
| 1224 | "format" : "org.onap.policy.clamp.policy.microservice.MicroServicePolicy" |
| 1225 | } |
| 1226 | }, |
| 1227 | "JsonObject" : { |
| 1228 | "type" : "object", |
| 1229 | "properties" : { |
| 1230 | "asBoolean" : { |
| 1231 | "type" : "boolean" |
| 1232 | }, |
| 1233 | "asJsonObject" : { |
| 1234 | "$ref" : "#/definitions/JsonObject" |
| 1235 | }, |
| 1236 | "jsonArray" : { |
| 1237 | "type" : "boolean" |
| 1238 | }, |
| 1239 | "jsonObject" : { |
| 1240 | "type" : "boolean" |
| 1241 | }, |
| 1242 | "jsonPrimitive" : { |
| 1243 | "type" : "boolean" |
| 1244 | }, |
| 1245 | "jsonNull" : { |
| 1246 | "type" : "boolean" |
| 1247 | }, |
| 1248 | "asJsonArray" : { |
| 1249 | "$ref" : "#/definitions/JsonArray" |
| 1250 | }, |
| 1251 | "asJsonPrimitive" : { |
| 1252 | "$ref" : "#/definitions/JsonPrimitive" |
| 1253 | }, |
| 1254 | "asJsonNull" : { |
| 1255 | "$ref" : "#/definitions/JsonNull" |
| 1256 | }, |
| 1257 | "asNumber" : { |
| 1258 | "$ref" : "#/definitions/Number" |
| 1259 | }, |
| 1260 | "asString" : { |
| 1261 | "type" : "string" |
| 1262 | }, |
| 1263 | "asDouble" : { |
| 1264 | "type" : "number", |
| 1265 | "format" : "double" |
| 1266 | }, |
| 1267 | "asFloat" : { |
| 1268 | "type" : "number", |
| 1269 | "format" : "float" |
| 1270 | }, |
| 1271 | "asLong" : { |
| 1272 | "type" : "integer", |
| 1273 | "format" : "int64" |
| 1274 | }, |
| 1275 | "asInt" : { |
| 1276 | "type" : "integer", |
| 1277 | "format" : "int32" |
| 1278 | }, |
| 1279 | "asByte" : { |
| 1280 | "type" : "string", |
| 1281 | "format" : "byte" |
| 1282 | }, |
| 1283 | "asCharacter" : { |
| 1284 | "type" : "string" |
| 1285 | }, |
| 1286 | "asBigDecimal" : { |
| 1287 | "type" : "number" |
| 1288 | }, |
| 1289 | "asBigInteger" : { |
| 1290 | "type" : "integer" |
| 1291 | }, |
| 1292 | "asShort" : { |
| 1293 | "type" : "integer", |
| 1294 | "format" : "int32" |
| 1295 | } |
| 1296 | }, |
| 1297 | "x-className" : { |
| 1298 | "type" : "string", |
| 1299 | "format" : "com.google.gson.JsonObject" |
| 1300 | } |
| 1301 | }, |
| 1302 | "PolicyModel" : { |
| 1303 | "type" : "object", |
| 1304 | "properties" : { |
| 1305 | "createdDate" : { |
| 1306 | "type" : "integer", |
| 1307 | "format" : "int64" |
| 1308 | }, |
| 1309 | "updatedDate" : { |
| 1310 | "type" : "integer", |
| 1311 | "format" : "int64" |
| 1312 | }, |
| 1313 | "updatedBy" : { |
| 1314 | "type" : "string" |
| 1315 | }, |
| 1316 | "createdBy" : { |
| 1317 | "type" : "string" |
| 1318 | }, |
| 1319 | "policyModelType" : { |
| 1320 | "type" : "string" |
| 1321 | }, |
| 1322 | "version" : { |
| 1323 | "type" : "string" |
| 1324 | }, |
| 1325 | "policyModelTosca" : { |
| 1326 | "type" : "string" |
| 1327 | }, |
| 1328 | "policyAcronym" : { |
| 1329 | "type" : "string" |
| 1330 | }, |
| 1331 | "usedByElementModels" : { |
| 1332 | "type" : "array", |
| 1333 | "uniqueItems" : true, |
| 1334 | "items" : { |
| 1335 | "$ref" : "#/definitions/LoopElementModel" |
| 1336 | } |
| 1337 | }, |
| 1338 | "policyPdpGroup" : { |
| 1339 | "$ref" : "#/definitions/JsonObject" |
| 1340 | } |
| 1341 | }, |
| 1342 | "x-className" : { |
| 1343 | "type" : "string", |
| 1344 | "format" : "org.onap.policy.clamp.loop.template.PolicyModel" |
| 1345 | } |
| 1346 | }, |
| 1347 | "Service" : { |
| 1348 | "type" : "object", |
| 1349 | "properties" : { |
| 1350 | "serviceUuid" : { |
| 1351 | "type" : "string" |
| 1352 | }, |
| 1353 | "name" : { |
| 1354 | "type" : "string" |
| 1355 | }, |
| 1356 | "version" : { |
| 1357 | "type" : "string" |
| 1358 | }, |
| 1359 | "serviceDetails" : { |
| 1360 | "$ref" : "#/definitions/JsonObject" |
| 1361 | }, |
| 1362 | "resourceDetails" : { |
| 1363 | "$ref" : "#/definitions/JsonObject" |
| 1364 | } |
| 1365 | } |
| 1366 | }, |
| 1367 | "LoopTemplateLoopElementModel" : { |
| 1368 | "type" : "object", |
| 1369 | "properties" : { |
| 1370 | "loopTemplate" : { |
| 1371 | "$ref" : "#/definitions/LoopTemplate" |
| 1372 | }, |
| 1373 | "loopElementModel" : { |
| 1374 | "$ref" : "#/definitions/LoopElementModel" |
| 1375 | }, |
| 1376 | "flowOrder" : { |
| 1377 | "type" : "integer", |
| 1378 | "format" : "int32" |
| 1379 | } |
| 1380 | } |
| 1381 | }, |
| 1382 | "OperationalPolicy" : { |
| 1383 | "type" : "object", |
| 1384 | "properties" : { |
| 1385 | "createdDate" : { |
| 1386 | "type" : "integer", |
| 1387 | "format" : "int64" |
| 1388 | }, |
| 1389 | "updatedDate" : { |
| 1390 | "type" : "integer", |
| 1391 | "format" : "int64" |
| 1392 | }, |
| 1393 | "updatedBy" : { |
| 1394 | "type" : "string" |
| 1395 | }, |
| 1396 | "createdBy" : { |
| 1397 | "type" : "string" |
| 1398 | }, |
| 1399 | "jsonRepresentation" : { |
| 1400 | "$ref" : "#/definitions/JsonObject" |
| 1401 | }, |
| 1402 | "configurationsJson" : { |
| 1403 | "$ref" : "#/definitions/JsonObject" |
| 1404 | }, |
| 1405 | "loopElementModel" : { |
| 1406 | "$ref" : "#/definitions/LoopElementModel" |
| 1407 | }, |
| 1408 | "pdpGroup" : { |
| 1409 | "type" : "string" |
| 1410 | }, |
| 1411 | "pdpSubgroup" : { |
| 1412 | "type" : "string" |
| 1413 | }, |
| 1414 | "policyModel" : { |
| 1415 | "$ref" : "#/definitions/PolicyModel" |
| 1416 | }, |
| 1417 | "name" : { |
| 1418 | "type" : "string" |
| 1419 | }, |
| 1420 | "loop" : { |
| 1421 | "$ref" : "#/definitions/Loop" |
| 1422 | } |
| 1423 | } |
| 1424 | }, |
| 1425 | "JsonNull" : { |
| 1426 | "type" : "object", |
| 1427 | "properties" : { |
| 1428 | "asBoolean" : { |
| 1429 | "type" : "boolean" |
| 1430 | }, |
| 1431 | "asJsonObject" : { |
| 1432 | "$ref" : "#/definitions/JsonObject" |
| 1433 | }, |
| 1434 | "jsonArray" : { |
| 1435 | "type" : "boolean" |
| 1436 | }, |
| 1437 | "jsonObject" : { |
| 1438 | "type" : "boolean" |
| 1439 | }, |
| 1440 | "jsonPrimitive" : { |
| 1441 | "type" : "boolean" |
| 1442 | }, |
| 1443 | "jsonNull" : { |
| 1444 | "type" : "boolean" |
| 1445 | }, |
| 1446 | "asJsonArray" : { |
| 1447 | "$ref" : "#/definitions/JsonArray" |
| 1448 | }, |
| 1449 | "asJsonPrimitive" : { |
| 1450 | "$ref" : "#/definitions/JsonPrimitive" |
| 1451 | }, |
| 1452 | "asJsonNull" : { |
| 1453 | "$ref" : "#/definitions/JsonNull" |
| 1454 | }, |
| 1455 | "asNumber" : { |
| 1456 | "$ref" : "#/definitions/Number" |
| 1457 | }, |
| 1458 | "asString" : { |
| 1459 | "type" : "string" |
| 1460 | }, |
| 1461 | "asDouble" : { |
| 1462 | "type" : "number", |
| 1463 | "format" : "double" |
| 1464 | }, |
| 1465 | "asFloat" : { |
| 1466 | "type" : "number", |
| 1467 | "format" : "float" |
| 1468 | }, |
| 1469 | "asLong" : { |
| 1470 | "type" : "integer", |
| 1471 | "format" : "int64" |
| 1472 | }, |
| 1473 | "asInt" : { |
| 1474 | "type" : "integer", |
| 1475 | "format" : "int32" |
| 1476 | }, |
| 1477 | "asByte" : { |
| 1478 | "type" : "string", |
| 1479 | "format" : "byte" |
| 1480 | }, |
| 1481 | "asCharacter" : { |
| 1482 | "type" : "string" |
| 1483 | }, |
| 1484 | "asBigDecimal" : { |
| 1485 | "type" : "number" |
| 1486 | }, |
| 1487 | "asBigInteger" : { |
| 1488 | "type" : "integer" |
| 1489 | }, |
| 1490 | "asShort" : { |
| 1491 | "type" : "integer", |
| 1492 | "format" : "int32" |
| 1493 | } |
| 1494 | } |
| 1495 | }, |
| 1496 | "JsonArray" : { |
| 1497 | "type" : "object", |
| 1498 | "properties" : { |
| 1499 | "asBoolean" : { |
| 1500 | "type" : "boolean" |
| 1501 | }, |
| 1502 | "asNumber" : { |
| 1503 | "$ref" : "#/definitions/Number" |
| 1504 | }, |
| 1505 | "asString" : { |
| 1506 | "type" : "string" |
| 1507 | }, |
| 1508 | "asDouble" : { |
| 1509 | "type" : "number", |
| 1510 | "format" : "double" |
| 1511 | }, |
| 1512 | "asFloat" : { |
| 1513 | "type" : "number", |
| 1514 | "format" : "float" |
| 1515 | }, |
| 1516 | "asLong" : { |
| 1517 | "type" : "integer", |
| 1518 | "format" : "int64" |
| 1519 | }, |
| 1520 | "asInt" : { |
| 1521 | "type" : "integer", |
| 1522 | "format" : "int32" |
| 1523 | }, |
| 1524 | "asByte" : { |
| 1525 | "type" : "string", |
| 1526 | "format" : "byte" |
| 1527 | }, |
| 1528 | "asCharacter" : { |
| 1529 | "type" : "string" |
| 1530 | }, |
| 1531 | "asBigDecimal" : { |
| 1532 | "type" : "number" |
| 1533 | }, |
| 1534 | "asBigInteger" : { |
| 1535 | "type" : "integer" |
| 1536 | }, |
| 1537 | "asShort" : { |
| 1538 | "type" : "integer", |
| 1539 | "format" : "int32" |
| 1540 | }, |
| 1541 | "asJsonObject" : { |
| 1542 | "$ref" : "#/definitions/JsonObject" |
| 1543 | }, |
| 1544 | "jsonArray" : { |
| 1545 | "type" : "boolean" |
| 1546 | }, |
| 1547 | "jsonObject" : { |
| 1548 | "type" : "boolean" |
| 1549 | }, |
| 1550 | "jsonPrimitive" : { |
| 1551 | "type" : "boolean" |
| 1552 | }, |
| 1553 | "jsonNull" : { |
| 1554 | "type" : "boolean" |
| 1555 | }, |
| 1556 | "asJsonArray" : { |
| 1557 | "$ref" : "#/definitions/JsonArray" |
| 1558 | }, |
| 1559 | "asJsonPrimitive" : { |
| 1560 | "$ref" : "#/definitions/JsonPrimitive" |
| 1561 | }, |
| 1562 | "asJsonNull" : { |
| 1563 | "$ref" : "#/definitions/JsonNull" |
| 1564 | } |
| 1565 | }, |
| 1566 | "x-className" : { |
| 1567 | "type" : "string", |
| 1568 | "format" : "com.google.gson.JsonArray" |
| 1569 | } |
| 1570 | }, |
| 1571 | "LoopLog" : { |
| 1572 | "type" : "object", |
| 1573 | "properties" : { |
| 1574 | "id" : { |
| 1575 | "type" : "integer", |
| 1576 | "format" : "int64" |
| 1577 | }, |
| 1578 | "logType" : { |
| 1579 | "type" : "string", |
| 1580 | "enum" : [ "INFO", "WARNING", "ERROR" ] |
| 1581 | }, |
| 1582 | "logComponent" : { |
| 1583 | "type" : "string" |
| 1584 | }, |
| 1585 | "message" : { |
| 1586 | "type" : "string" |
| 1587 | }, |
| 1588 | "loop" : { |
| 1589 | "$ref" : "#/definitions/Loop" |
| 1590 | }, |
| 1591 | "logInstant" : { |
| 1592 | "type" : "integer", |
| 1593 | "format" : "int64" |
| 1594 | } |
| 1595 | } |
| 1596 | }, |
| 1597 | "Number" : { |
| 1598 | "type" : "object" |
| 1599 | }, |
| 1600 | "ExternalComponent" : { |
| 1601 | "type" : "object", |
| 1602 | "properties" : { |
| 1603 | "state" : { |
| 1604 | "$ref" : "#/definitions/ExternalComponentState" |
| 1605 | }, |
| 1606 | "componentName" : { |
| 1607 | "type" : "string" |
| 1608 | } |
| 1609 | } |
| 1610 | }, |
| 1611 | "LoopTemplate" : { |
| 1612 | "type" : "object", |
| 1613 | "properties" : { |
| 1614 | "createdDate" : { |
| 1615 | "type" : "integer", |
| 1616 | "format" : "int64" |
| 1617 | }, |
| 1618 | "updatedDate" : { |
| 1619 | "type" : "integer", |
| 1620 | "format" : "int64" |
| 1621 | }, |
| 1622 | "updatedBy" : { |
| 1623 | "type" : "string" |
| 1624 | }, |
| 1625 | "createdBy" : { |
| 1626 | "type" : "string" |
| 1627 | }, |
| 1628 | "name" : { |
| 1629 | "type" : "string" |
| 1630 | }, |
| 1631 | "dcaeBlueprintId" : { |
| 1632 | "type" : "string" |
| 1633 | }, |
| 1634 | "blueprint" : { |
| 1635 | "type" : "string" |
| 1636 | }, |
| 1637 | "loopElementModelsUsed" : { |
| 1638 | "type" : "array", |
| 1639 | "uniqueItems" : true, |
| 1640 | "items" : { |
| 1641 | "$ref" : "#/definitions/LoopTemplateLoopElementModel" |
| 1642 | } |
| 1643 | }, |
| 1644 | "modelService" : { |
| 1645 | "$ref" : "#/definitions/Service" |
| 1646 | }, |
| 1647 | "maximumInstancesAllowed" : { |
| 1648 | "type" : "integer", |
| 1649 | "format" : "int32" |
| 1650 | }, |
| 1651 | "uniqueBlueprint" : { |
| 1652 | "type" : "boolean" |
| 1653 | }, |
| 1654 | "allowedLoopType" : { |
| 1655 | "type" : "string", |
| 1656 | "enum" : [ "OPEN", "CLOSED", "HYBRID" ] |
| 1657 | } |
| 1658 | }, |
| 1659 | "x-className" : { |
| 1660 | "type" : "string", |
| 1661 | "format" : "org.onap.policy.clamp.loop.template.LoopTemplate" |
| 1662 | } |
| 1663 | }, |
| 1664 | "ExternalComponentState" : { |
| 1665 | "type" : "object", |
| 1666 | "properties" : { |
| 1667 | "stateName" : { |
| 1668 | "type" : "string" |
| 1669 | }, |
| 1670 | "description" : { |
| 1671 | "type" : "string" |
| 1672 | }, |
| 1673 | "level" : { |
| 1674 | "type" : "integer", |
| 1675 | "format" : "int32" |
| 1676 | } |
| 1677 | } |
| 1678 | }, |
| 1679 | "LoopElementModel" : { |
| 1680 | "type" : "object", |
| 1681 | "properties" : { |
| 1682 | "createdDate" : { |
| 1683 | "type" : "integer", |
| 1684 | "format" : "int64" |
| 1685 | }, |
| 1686 | "updatedDate" : { |
| 1687 | "type" : "integer", |
| 1688 | "format" : "int64" |
| 1689 | }, |
| 1690 | "updatedBy" : { |
| 1691 | "type" : "string" |
| 1692 | }, |
| 1693 | "createdBy" : { |
| 1694 | "type" : "string" |
| 1695 | }, |
| 1696 | "name" : { |
| 1697 | "type" : "string" |
| 1698 | }, |
| 1699 | "dcaeBlueprintId" : { |
| 1700 | "type" : "string" |
| 1701 | }, |
| 1702 | "blueprint" : { |
| 1703 | "type" : "string" |
| 1704 | }, |
| 1705 | "loopElementType" : { |
| 1706 | "type" : "string" |
| 1707 | }, |
| 1708 | "shortName" : { |
| 1709 | "type" : "string" |
| 1710 | }, |
| 1711 | "policyModels" : { |
| 1712 | "type" : "array", |
| 1713 | "uniqueItems" : true, |
| 1714 | "items" : { |
| 1715 | "$ref" : "#/definitions/PolicyModel" |
| 1716 | } |
| 1717 | }, |
| 1718 | "usedByLoopTemplates" : { |
| 1719 | "type" : "array", |
| 1720 | "uniqueItems" : true, |
| 1721 | "items" : { |
| 1722 | "$ref" : "#/definitions/LoopTemplateLoopElementModel" |
| 1723 | } |
| 1724 | } |
| 1725 | } |
| 1726 | }, |
| 1727 | "JsonElement" : { |
| 1728 | "type" : "object", |
| 1729 | "properties" : { |
| 1730 | "asBoolean" : { |
| 1731 | "type" : "boolean" |
| 1732 | }, |
| 1733 | "asJsonObject" : { |
| 1734 | "$ref" : "#/definitions/JsonObject" |
| 1735 | }, |
| 1736 | "jsonArray" : { |
| 1737 | "type" : "boolean" |
| 1738 | }, |
| 1739 | "jsonObject" : { |
| 1740 | "type" : "boolean" |
| 1741 | }, |
| 1742 | "jsonPrimitive" : { |
| 1743 | "type" : "boolean" |
| 1744 | }, |
| 1745 | "jsonNull" : { |
| 1746 | "type" : "boolean" |
| 1747 | }, |
| 1748 | "asJsonArray" : { |
| 1749 | "$ref" : "#/definitions/JsonArray" |
| 1750 | }, |
| 1751 | "asJsonPrimitive" : { |
| 1752 | "$ref" : "#/definitions/JsonPrimitive" |
| 1753 | }, |
| 1754 | "asJsonNull" : { |
| 1755 | "$ref" : "#/definitions/JsonNull" |
| 1756 | }, |
| 1757 | "asNumber" : { |
| 1758 | "$ref" : "#/definitions/Number" |
| 1759 | }, |
| 1760 | "asString" : { |
| 1761 | "type" : "string" |
| 1762 | }, |
| 1763 | "asDouble" : { |
| 1764 | "type" : "number", |
| 1765 | "format" : "double" |
| 1766 | }, |
| 1767 | "asFloat" : { |
| 1768 | "type" : "number", |
| 1769 | "format" : "float" |
| 1770 | }, |
| 1771 | "asLong" : { |
| 1772 | "type" : "integer", |
| 1773 | "format" : "int64" |
| 1774 | }, |
| 1775 | "asInt" : { |
| 1776 | "type" : "integer", |
| 1777 | "format" : "int32" |
| 1778 | }, |
| 1779 | "asByte" : { |
| 1780 | "type" : "string", |
| 1781 | "format" : "byte" |
| 1782 | }, |
| 1783 | "asCharacter" : { |
| 1784 | "type" : "string" |
| 1785 | }, |
| 1786 | "asBigDecimal" : { |
| 1787 | "type" : "number" |
| 1788 | }, |
| 1789 | "asBigInteger" : { |
| 1790 | "type" : "integer" |
| 1791 | }, |
| 1792 | "asShort" : { |
| 1793 | "type" : "integer", |
| 1794 | "format" : "int32" |
| 1795 | } |
| 1796 | }, |
| 1797 | "x-className" : { |
| 1798 | "type" : "string", |
| 1799 | "format" : "com.google.gson.JsonElement" |
| 1800 | } |
| 1801 | }, |
| 1802 | "CldsHealthCheck" : { |
| 1803 | "type" : "object", |
| 1804 | "properties" : { |
| 1805 | "healthCheckComponent" : { |
| 1806 | "type" : "string" |
| 1807 | }, |
| 1808 | "healthCheckStatus" : { |
| 1809 | "type" : "string" |
| 1810 | }, |
| 1811 | "description" : { |
| 1812 | "type" : "string" |
| 1813 | } |
| 1814 | }, |
| 1815 | "x-className" : { |
| 1816 | "type" : "string", |
| 1817 | "format" : "org.onap.policy.clamp.clds.model.CldsHealthCheck" |
| 1818 | } |
| 1819 | } |
| 1820 | } |
| 1821 | } |