seshukm | ef45a05 | 2018-09-25 19:13:07 +0800 | [diff] [blame^] | 1 | { |
| 2 | "swagger": "2.0", |
| 3 | "info": { |
| 4 | "version": "3.1.2", |
| 5 | "title": "SO Casablanca APIs" |
| 6 | }, |
| 7 | "tags": [ |
| 8 | { |
| 9 | "name": "e2eServiceInstances" |
| 10 | }, |
| 11 | { |
| 12 | "name": "globalhealthcheck" |
| 13 | }, |
| 14 | { |
| 15 | "name": "nodehealthcheck" |
| 16 | }, |
| 17 | { |
| 18 | "name": "onapsoinfraorchestrationRequests" |
| 19 | }, |
| 20 | { |
| 21 | "name": "onapsoinfraserviceInstantiation" |
| 22 | }, |
| 23 | { |
| 24 | "name": "onapsoinfratasks" |
| 25 | }, |
| 26 | { |
| 27 | "name": "onapsoinfracloudResources" |
| 28 | }, |
| 29 | { |
| 30 | "name": "onapsoinfracloudResourcesRequests" |
| 31 | }, |
| 32 | { |
| 33 | "name": "onapsoinframodelDistributions" |
| 34 | } |
| 35 | ], |
| 36 | "schemes": [ |
| 37 | "https" |
| 38 | ], |
| 39 | "paths": { |
| 40 | "/e2eServiceInstances/{version}": { |
| 41 | "post": { |
| 42 | "tags": [ |
| 43 | "e2eServiceInstances" |
| 44 | ], |
| 45 | "summary": "Create an E2E Service Instance on a version provided", |
| 46 | "description": "", |
| 47 | "operationId": "createE2EServiceInstance", |
| 48 | "consumes": [ |
| 49 | "application/json" |
| 50 | ], |
| 51 | "produces": [ |
| 52 | "application/json" |
| 53 | ], |
| 54 | "parameters": [ |
| 55 | { |
| 56 | "in": "body", |
| 57 | "name": "body", |
| 58 | "required": false, |
| 59 | "schema": { |
| 60 | "type": "string" |
| 61 | } |
| 62 | }, |
| 63 | { |
| 64 | "name": "version", |
| 65 | "in": "path", |
| 66 | "required": true, |
| 67 | "type": "string", |
| 68 | "pattern": "[vV][3-5]" |
| 69 | } |
| 70 | ], |
| 71 | "responses": { |
| 72 | "default": { |
| 73 | "description": "successful operation" |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | }, |
| 78 | "/e2eServiceInstances/{version}/{serviceId}": { |
| 79 | "put": { |
| 80 | "tags": [ |
| 81 | "e2eServiceInstances" |
| 82 | ], |
| 83 | "summary": "Update an E2E Service Instance on a version provided and serviceId", |
| 84 | "description": "", |
| 85 | "operationId": "updateE2EServiceInstance", |
| 86 | "consumes": [ |
| 87 | "application/json" |
| 88 | ], |
| 89 | "produces": [ |
| 90 | "application/json" |
| 91 | ], |
| 92 | "parameters": [ |
| 93 | { |
| 94 | "in": "body", |
| 95 | "name": "body", |
| 96 | "required": false, |
| 97 | "schema": { |
| 98 | "type": "string" |
| 99 | } |
| 100 | }, |
| 101 | { |
| 102 | "name": "version", |
| 103 | "in": "path", |
| 104 | "required": true, |
| 105 | "type": "string", |
| 106 | "pattern": "[vV][3-5]" |
| 107 | }, |
| 108 | { |
| 109 | "name": "serviceId", |
| 110 | "in": "path", |
| 111 | "required": true, |
| 112 | "type": "string" |
| 113 | } |
| 114 | ], |
| 115 | "responses": { |
| 116 | "default": { |
| 117 | "description": "successful operation" |
| 118 | } |
| 119 | } |
| 120 | }, |
| 121 | "delete": { |
| 122 | "tags": [ |
| 123 | "e2eServiceInstances" |
| 124 | ], |
| 125 | "summary": "Delete E2E Service Instance on a specified version and serviceId", |
| 126 | "description": "", |
| 127 | "operationId": "deleteE2EServiceInstance", |
| 128 | "consumes": [ |
| 129 | "application/json" |
| 130 | ], |
| 131 | "produces": [ |
| 132 | "application/json" |
| 133 | ], |
| 134 | "parameters": [ |
| 135 | { |
| 136 | "in": "body", |
| 137 | "name": "body", |
| 138 | "required": false, |
| 139 | "schema": { |
| 140 | "type": "string" |
| 141 | } |
| 142 | }, |
| 143 | { |
| 144 | "name": "version", |
| 145 | "in": "path", |
| 146 | "required": true, |
| 147 | "type": "string", |
| 148 | "pattern": "[vV][3-5]" |
| 149 | }, |
| 150 | { |
| 151 | "name": "serviceId", |
| 152 | "in": "path", |
| 153 | "required": true, |
| 154 | "type": "string" |
| 155 | } |
| 156 | ], |
| 157 | "responses": { |
| 158 | "default": { |
| 159 | "description": "successful operation" |
| 160 | } |
| 161 | } |
| 162 | } |
| 163 | }, |
| 164 | "/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}": { |
| 165 | "get": { |
| 166 | "tags": [ |
| 167 | "e2eServiceInstances" |
| 168 | ], |
| 169 | "summary": "Find e2eServiceInstances Requests for a given serviceId and operationId", |
| 170 | "description": "", |
| 171 | "operationId": "getE2EServiceInstances", |
| 172 | "produces": [ |
| 173 | "application/json" |
| 174 | ], |
| 175 | "parameters": [ |
| 176 | { |
| 177 | "name": "serviceId", |
| 178 | "in": "path", |
| 179 | "required": true, |
| 180 | "type": "string" |
| 181 | }, |
| 182 | { |
| 183 | "name": "version", |
| 184 | "in": "path", |
| 185 | "required": true, |
| 186 | "type": "string", |
| 187 | "pattern": "[vV][3-5]" |
| 188 | }, |
| 189 | { |
| 190 | "name": "operationId", |
| 191 | "in": "path", |
| 192 | "required": true, |
| 193 | "type": "string" |
| 194 | } |
| 195 | ], |
| 196 | "responses": { |
| 197 | "default": { |
| 198 | "description": "successful operation" |
| 199 | } |
| 200 | } |
| 201 | } |
| 202 | }, |
| 203 | "/e2eServiceInstances/{version}/{serviceId}/scale": { |
| 204 | "post": { |
| 205 | "tags": [ |
| 206 | "e2eServiceInstances" |
| 207 | ], |
| 208 | "summary": "Scale E2E Service Instance on a specified version", |
| 209 | "description": "", |
| 210 | "operationId": "scaleE2EServiceInstance", |
| 211 | "consumes": [ |
| 212 | "application/json" |
| 213 | ], |
| 214 | "produces": [ |
| 215 | "application/json" |
| 216 | ], |
| 217 | "parameters": [ |
| 218 | { |
| 219 | "in": "body", |
| 220 | "name": "body", |
| 221 | "required": false, |
| 222 | "schema": { |
| 223 | "type": "string" |
| 224 | } |
| 225 | }, |
| 226 | { |
| 227 | "name": "version", |
| 228 | "in": "path", |
| 229 | "required": true, |
| 230 | "type": "string", |
| 231 | "pattern": "[vV][3-5]" |
| 232 | }, |
| 233 | { |
| 234 | "name": "serviceId", |
| 235 | "in": "path", |
| 236 | "required": true, |
| 237 | "type": "string" |
| 238 | } |
| 239 | ], |
| 240 | "responses": { |
| 241 | "default": { |
| 242 | "description": "successful operation" |
| 243 | } |
| 244 | } |
| 245 | } |
| 246 | }, |
| 247 | "/e2eServiceInstances/{version}/{serviceId}/modeldifferences": { |
| 248 | "post": { |
| 249 | "tags": [ |
| 250 | "e2eServiceInstances" |
| 251 | ], |
| 252 | "summary": "Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId ", |
| 253 | "description": "", |
| 254 | "operationId": "compareModelwithTargetVersion", |
| 255 | "consumes": [ |
| 256 | "application/json" |
| 257 | ], |
| 258 | "produces": [ |
| 259 | "application/json" |
| 260 | ], |
| 261 | "parameters": [ |
| 262 | { |
| 263 | "in": "body", |
| 264 | "name": "body", |
| 265 | "required": false, |
| 266 | "schema": { |
| 267 | "type": "string" |
| 268 | } |
| 269 | }, |
| 270 | { |
| 271 | "name": "serviceId", |
| 272 | "in": "path", |
| 273 | "required": true, |
| 274 | "type": "string" |
| 275 | }, |
| 276 | { |
| 277 | "name": "version", |
| 278 | "in": "path", |
| 279 | "required": true, |
| 280 | "type": "string", |
| 281 | "pattern": "[vV][3-5]" |
| 282 | } |
| 283 | ], |
| 284 | "responses": { |
| 285 | "default": { |
| 286 | "description": "successful operation" |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | }, |
| 291 | "/globalhealthcheck": { |
| 292 | "get": { |
| 293 | "tags": [ |
| 294 | "globalhealthcheck" |
| 295 | ], |
| 296 | "summary": "Performing global health check", |
| 297 | "description": "", |
| 298 | "operationId": "globalHealthcheck", |
| 299 | "produces": [ |
| 300 | "text/html" |
| 301 | ], |
| 302 | "parameters": [ |
| 303 | { |
| 304 | "name": "enableBpmn", |
| 305 | "in": "query", |
| 306 | "required": false, |
| 307 | "type": "boolean", |
| 308 | "default": true |
| 309 | } |
| 310 | ], |
| 311 | "responses": { |
| 312 | "default": { |
| 313 | "description": "successful operation" |
| 314 | } |
| 315 | } |
| 316 | } |
| 317 | }, |
| 318 | "/nodehealthcheck": { |
| 319 | "get": { |
| 320 | "tags": [ |
| 321 | "nodehealthcheck" |
| 322 | ], |
| 323 | "summary": "Performing node health check", |
| 324 | "description": "", |
| 325 | "operationId": "nodeHealthcheck", |
| 326 | "produces": [ |
| 327 | "text/html" |
| 328 | ], |
| 329 | "parameters": [], |
| 330 | "responses": { |
| 331 | "default": { |
| 332 | "description": "successful operation" |
| 333 | } |
| 334 | } |
| 335 | } |
| 336 | }, |
| 337 | "/onap/so/infra/orchestrationRequests/{version}": { |
| 338 | "get": { |
| 339 | "tags": [ |
| 340 | "onapsoinfraorchestrationRequests" |
| 341 | ], |
| 342 | "summary": "Find Orchestrated Requests for a URI Information", |
| 343 | "description": "", |
| 344 | "operationId": "getOrchestrationRequest", |
| 345 | "produces": [ |
| 346 | "application/json" |
| 347 | ], |
| 348 | "parameters": [ |
| 349 | { |
| 350 | "name": "version", |
| 351 | "in": "path", |
| 352 | "required": true, |
| 353 | "type": "string", |
| 354 | "pattern": "[vV][4-7]" |
| 355 | } |
| 356 | ], |
| 357 | "responses": { |
| 358 | "default": { |
| 359 | "description": "successful operation" |
| 360 | } |
| 361 | } |
| 362 | } |
| 363 | }, |
| 364 | "/onap/so/infra/orchestrationRequests/{version}/{requestId}": { |
| 365 | "get": { |
| 366 | "tags": [ |
| 367 | "onapsoinfraorchestrationRequests" |
| 368 | ], |
| 369 | "summary": "Find Orchestrated Requests for a given requestId", |
| 370 | "description": "", |
| 371 | "operationId": "getOrchestrationRequestForReqId", |
| 372 | "produces": [ |
| 373 | "application/json" |
| 374 | ], |
| 375 | "parameters": [ |
| 376 | { |
| 377 | "name": "requestId", |
| 378 | "in": "path", |
| 379 | "required": true, |
| 380 | "type": "string" |
| 381 | }, |
| 382 | { |
| 383 | "name": "version", |
| 384 | "in": "path", |
| 385 | "required": true, |
| 386 | "type": "string", |
| 387 | "pattern": "[vV][4-7]" |
| 388 | } |
| 389 | ], |
| 390 | "responses": { |
| 391 | "default": { |
| 392 | "description": "successful operation" |
| 393 | } |
| 394 | } |
| 395 | } |
| 396 | }, |
| 397 | "/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock": { |
| 398 | "post": { |
| 399 | "tags": [ |
| 400 | "onapsoinfraorchestrationRequests" |
| 401 | ], |
| 402 | "summary": "Unlock Orchestrated Requests for a given requestId", |
| 403 | "description": "", |
| 404 | "operationId": "unlockOrchestrationRequest", |
| 405 | "consumes": [ |
| 406 | "application/json" |
| 407 | ], |
| 408 | "produces": [ |
| 409 | "application/json" |
| 410 | ], |
| 411 | "parameters": [ |
| 412 | { |
| 413 | "in": "body", |
| 414 | "name": "body", |
| 415 | "required": false, |
| 416 | "schema": { |
| 417 | "type": "string" |
| 418 | } |
| 419 | }, |
| 420 | { |
| 421 | "name": "requestId", |
| 422 | "in": "path", |
| 423 | "required": true, |
| 424 | "type": "string" |
| 425 | }, |
| 426 | { |
| 427 | "name": "version", |
| 428 | "in": "path", |
| 429 | "required": true, |
| 430 | "type": "string", |
| 431 | "pattern": "[vV][4-7]" |
| 432 | } |
| 433 | ], |
| 434 | "responses": { |
| 435 | "default": { |
| 436 | "description": "successful operation" |
| 437 | } |
| 438 | } |
| 439 | } |
| 440 | }, |
| 441 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete": { |
| 442 | "post": { |
| 443 | "tags": [ |
| 444 | "onapsoinfraserviceInstantiation" |
| 445 | ], |
| 446 | "summary": "Deactivate and Cloud Delete VfModule instance", |
| 447 | "description": "", |
| 448 | "operationId": "deactivateAndCloudDeleteVfModuleInstance", |
| 449 | "consumes": [ |
| 450 | "application/json" |
| 451 | ], |
| 452 | "produces": [ |
| 453 | "application/json" |
| 454 | ], |
| 455 | "parameters": [ |
| 456 | { |
| 457 | "in": "body", |
| 458 | "name": "body", |
| 459 | "required": false, |
| 460 | "schema": { |
| 461 | "type": "string" |
| 462 | } |
| 463 | }, |
| 464 | { |
| 465 | "name": "version", |
| 466 | "in": "path", |
| 467 | "required": true, |
| 468 | "type": "string", |
| 469 | "pattern": "[vV][7]" |
| 470 | }, |
| 471 | { |
| 472 | "name": "serviceInstanceId", |
| 473 | "in": "path", |
| 474 | "required": true, |
| 475 | "type": "string" |
| 476 | }, |
| 477 | { |
| 478 | "name": "vnfInstanceId", |
| 479 | "in": "path", |
| 480 | "required": true, |
| 481 | "type": "string" |
| 482 | }, |
| 483 | { |
| 484 | "name": "vfmoduleInstanceId", |
| 485 | "in": "path", |
| 486 | "required": true, |
| 487 | "type": "string" |
| 488 | } |
| 489 | ], |
| 490 | "responses": { |
| 491 | "default": { |
| 492 | "description": "successful operation" |
| 493 | } |
| 494 | } |
| 495 | } |
| 496 | }, |
| 497 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort": { |
| 498 | "post": { |
| 499 | "tags": [ |
| 500 | "onapsoinfraserviceInstantiation" |
| 501 | ], |
| 502 | "summary": "Enable Port Mirroring", |
| 503 | "description": "", |
| 504 | "operationId": "enablePort", |
| 505 | "consumes": [ |
| 506 | "application/json" |
| 507 | ], |
| 508 | "produces": [ |
| 509 | "application/json" |
| 510 | ], |
| 511 | "parameters": [ |
| 512 | { |
| 513 | "in": "body", |
| 514 | "name": "body", |
| 515 | "required": false, |
| 516 | "schema": { |
| 517 | "type": "string" |
| 518 | } |
| 519 | }, |
| 520 | { |
| 521 | "name": "version", |
| 522 | "in": "path", |
| 523 | "required": true, |
| 524 | "type": "string", |
| 525 | "pattern": "[vV][5-7]" |
| 526 | }, |
| 527 | { |
| 528 | "name": "serviceInstanceId", |
| 529 | "in": "path", |
| 530 | "required": true, |
| 531 | "type": "string" |
| 532 | }, |
| 533 | { |
| 534 | "name": "configurationInstanceId", |
| 535 | "in": "path", |
| 536 | "required": true, |
| 537 | "type": "string" |
| 538 | } |
| 539 | ], |
| 540 | "responses": { |
| 541 | "default": { |
| 542 | "description": "successful operation" |
| 543 | } |
| 544 | } |
| 545 | } |
| 546 | }, |
| 547 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort": { |
| 548 | "post": { |
| 549 | "tags": [ |
| 550 | "onapsoinfraserviceInstantiation" |
| 551 | ], |
| 552 | "summary": "Disable Port Mirroring", |
| 553 | "description": "", |
| 554 | "operationId": "disablePort", |
| 555 | "consumes": [ |
| 556 | "application/json" |
| 557 | ], |
| 558 | "produces": [ |
| 559 | "application/json" |
| 560 | ], |
| 561 | "parameters": [ |
| 562 | { |
| 563 | "in": "body", |
| 564 | "name": "body", |
| 565 | "required": false, |
| 566 | "schema": { |
| 567 | "type": "string" |
| 568 | } |
| 569 | }, |
| 570 | { |
| 571 | "name": "version", |
| 572 | "in": "path", |
| 573 | "required": true, |
| 574 | "type": "string", |
| 575 | "pattern": "[vV][5-7]" |
| 576 | }, |
| 577 | { |
| 578 | "name": "serviceInstanceId", |
| 579 | "in": "path", |
| 580 | "required": true, |
| 581 | "type": "string" |
| 582 | }, |
| 583 | { |
| 584 | "name": "configurationInstanceId", |
| 585 | "in": "path", |
| 586 | "required": true, |
| 587 | "type": "string" |
| 588 | } |
| 589 | ], |
| 590 | "responses": { |
| 591 | "default": { |
| 592 | "description": "successful operation" |
| 593 | } |
| 594 | } |
| 595 | } |
| 596 | }, |
| 597 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate": { |
| 598 | "post": { |
| 599 | "tags": [ |
| 600 | "onapsoinfraserviceInstantiation" |
| 601 | ], |
| 602 | "summary": "Activate Port Mirroring", |
| 603 | "description": "", |
| 604 | "operationId": "activatePort", |
| 605 | "consumes": [ |
| 606 | "application/json" |
| 607 | ], |
| 608 | "produces": [ |
| 609 | "application/json" |
| 610 | ], |
| 611 | "parameters": [ |
| 612 | { |
| 613 | "in": "body", |
| 614 | "name": "body", |
| 615 | "required": false, |
| 616 | "schema": { |
| 617 | "type": "string" |
| 618 | } |
| 619 | }, |
| 620 | { |
| 621 | "name": "version", |
| 622 | "in": "path", |
| 623 | "required": true, |
| 624 | "type": "string", |
| 625 | "pattern": "[vV][5-7]" |
| 626 | }, |
| 627 | { |
| 628 | "name": "serviceInstanceId", |
| 629 | "in": "path", |
| 630 | "required": true, |
| 631 | "type": "string" |
| 632 | }, |
| 633 | { |
| 634 | "name": "configurationInstanceId", |
| 635 | "in": "path", |
| 636 | "required": true, |
| 637 | "type": "string" |
| 638 | } |
| 639 | ], |
| 640 | "responses": { |
| 641 | "default": { |
| 642 | "description": "successful operation" |
| 643 | } |
| 644 | } |
| 645 | } |
| 646 | }, |
| 647 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate": { |
| 648 | "post": { |
| 649 | "tags": [ |
| 650 | "onapsoinfraserviceInstantiation" |
| 651 | ], |
| 652 | "summary": "Deactivate Port Mirroring", |
| 653 | "description": "", |
| 654 | "operationId": "deactivatePort", |
| 655 | "consumes": [ |
| 656 | "application/json" |
| 657 | ], |
| 658 | "produces": [ |
| 659 | "application/json" |
| 660 | ], |
| 661 | "parameters": [ |
| 662 | { |
| 663 | "in": "body", |
| 664 | "name": "body", |
| 665 | "required": false, |
| 666 | "schema": { |
| 667 | "type": "string" |
| 668 | } |
| 669 | }, |
| 670 | { |
| 671 | "name": "version", |
| 672 | "in": "path", |
| 673 | "required": true, |
| 674 | "type": "string", |
| 675 | "pattern": "[vV][5-7]" |
| 676 | }, |
| 677 | { |
| 678 | "name": "serviceInstanceId", |
| 679 | "in": "path", |
| 680 | "required": true, |
| 681 | "type": "string" |
| 682 | }, |
| 683 | { |
| 684 | "name": "configurationInstanceId", |
| 685 | "in": "path", |
| 686 | "required": true, |
| 687 | "type": "string" |
| 688 | } |
| 689 | ], |
| 690 | "responses": { |
| 691 | "default": { |
| 692 | "description": "successful operation" |
| 693 | } |
| 694 | } |
| 695 | } |
| 696 | }, |
| 697 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships": { |
| 698 | "post": { |
| 699 | "tags": [ |
| 700 | "onapsoinfraserviceInstantiation" |
| 701 | ], |
| 702 | "summary": "Add Relationships to a Service Instance", |
| 703 | "description": "", |
| 704 | "operationId": "addRelationships", |
| 705 | "consumes": [ |
| 706 | "application/json" |
| 707 | ], |
| 708 | "produces": [ |
| 709 | "application/json" |
| 710 | ], |
| 711 | "parameters": [ |
| 712 | { |
| 713 | "in": "body", |
| 714 | "name": "body", |
| 715 | "required": false, |
| 716 | "schema": { |
| 717 | "type": "string" |
| 718 | } |
| 719 | }, |
| 720 | { |
| 721 | "name": "version", |
| 722 | "in": "path", |
| 723 | "required": true, |
| 724 | "type": "string", |
| 725 | "pattern": "[vV][6-7]" |
| 726 | }, |
| 727 | { |
| 728 | "name": "serviceInstanceId", |
| 729 | "in": "path", |
| 730 | "required": true, |
| 731 | "type": "string" |
| 732 | } |
| 733 | ], |
| 734 | "responses": { |
| 735 | "default": { |
| 736 | "description": "successful operation" |
| 737 | } |
| 738 | } |
| 739 | } |
| 740 | }, |
| 741 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut": { |
| 742 | "post": { |
| 743 | "tags": [ |
| 744 | "onapsoinfraserviceInstantiation" |
| 745 | ], |
| 746 | "summary": "VF Auto Scale Out", |
| 747 | "description": "", |
| 748 | "operationId": "scaleOutVfModule", |
| 749 | "consumes": [ |
| 750 | "application/json" |
| 751 | ], |
| 752 | "produces": [ |
| 753 | "application/json" |
| 754 | ], |
| 755 | "parameters": [ |
| 756 | { |
| 757 | "in": "body", |
| 758 | "name": "body", |
| 759 | "required": false, |
| 760 | "schema": { |
| 761 | "type": "string" |
| 762 | } |
| 763 | }, |
| 764 | { |
| 765 | "name": "version", |
| 766 | "in": "path", |
| 767 | "required": true, |
| 768 | "type": "string", |
| 769 | "pattern": "[vV][7]" |
| 770 | }, |
| 771 | { |
| 772 | "name": "serviceInstanceId", |
| 773 | "in": "path", |
| 774 | "required": true, |
| 775 | "type": "string" |
| 776 | }, |
| 777 | { |
| 778 | "name": "vnfInstanceId", |
| 779 | "in": "path", |
| 780 | "required": true, |
| 781 | "type": "string" |
| 782 | } |
| 783 | ], |
| 784 | "responses": { |
| 785 | "default": { |
| 786 | "description": "successful operation" |
| 787 | } |
| 788 | } |
| 789 | } |
| 790 | }, |
| 791 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate": { |
| 792 | "post": { |
| 793 | "tags": [ |
| 794 | "onapsoinfraserviceInstantiation" |
| 795 | ], |
| 796 | "summary": "Perform VNF software update", |
| 797 | "description": "", |
| 798 | "operationId": "inPlaceSoftwareUpdate", |
| 799 | "consumes": [ |
| 800 | "application/json" |
| 801 | ], |
| 802 | "produces": [ |
| 803 | "application/json" |
| 804 | ], |
| 805 | "parameters": [ |
| 806 | { |
| 807 | "in": "body", |
| 808 | "name": "body", |
| 809 | "required": false, |
| 810 | "schema": { |
| 811 | "type": "string" |
| 812 | } |
| 813 | }, |
| 814 | { |
| 815 | "name": "version", |
| 816 | "in": "path", |
| 817 | "required": true, |
| 818 | "type": "string", |
| 819 | "pattern": "[vV][6-7]" |
| 820 | }, |
| 821 | { |
| 822 | "name": "serviceInstanceId", |
| 823 | "in": "path", |
| 824 | "required": true, |
| 825 | "type": "string" |
| 826 | }, |
| 827 | { |
| 828 | "name": "vnfInstanceId", |
| 829 | "in": "path", |
| 830 | "required": true, |
| 831 | "type": "string" |
| 832 | } |
| 833 | ], |
| 834 | "responses": { |
| 835 | "default": { |
| 836 | "description": "successful operation" |
| 837 | } |
| 838 | } |
| 839 | } |
| 840 | }, |
| 841 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig": { |
| 842 | "post": { |
| 843 | "tags": [ |
| 844 | "onapsoinfraserviceInstantiation" |
| 845 | ], |
| 846 | "summary": "Apply updated configuration", |
| 847 | "description": "", |
| 848 | "operationId": "applyUpdatedConfig", |
| 849 | "consumes": [ |
| 850 | "application/json" |
| 851 | ], |
| 852 | "produces": [ |
| 853 | "application/json" |
| 854 | ], |
| 855 | "parameters": [ |
| 856 | { |
| 857 | "in": "body", |
| 858 | "name": "body", |
| 859 | "required": false, |
| 860 | "schema": { |
| 861 | "type": "string" |
| 862 | } |
| 863 | }, |
| 864 | { |
| 865 | "name": "version", |
| 866 | "in": "path", |
| 867 | "required": true, |
| 868 | "type": "string", |
| 869 | "pattern": "[vV][6-7]" |
| 870 | }, |
| 871 | { |
| 872 | "name": "serviceInstanceId", |
| 873 | "in": "path", |
| 874 | "required": true, |
| 875 | "type": "string" |
| 876 | }, |
| 877 | { |
| 878 | "name": "vnfInstanceId", |
| 879 | "in": "path", |
| 880 | "required": true, |
| 881 | "type": "string" |
| 882 | } |
| 883 | ], |
| 884 | "responses": { |
| 885 | "default": { |
| 886 | "description": "successful operation" |
| 887 | } |
| 888 | } |
| 889 | } |
| 890 | }, |
| 891 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances": { |
| 892 | "post": { |
| 893 | "tags": [ |
| 894 | "onapsoinfraserviceInstantiation" |
| 895 | ], |
| 896 | "summary": "Create a Service Instance on a version provided", |
| 897 | "description": "", |
| 898 | "operationId": "createServiceInstance", |
| 899 | "consumes": [ |
| 900 | "application/json" |
| 901 | ], |
| 902 | "produces": [ |
| 903 | "application/json" |
| 904 | ], |
| 905 | "parameters": [ |
| 906 | { |
| 907 | "in": "body", |
| 908 | "name": "body", |
| 909 | "required": false, |
| 910 | "schema": { |
| 911 | "type": "string" |
| 912 | } |
| 913 | }, |
| 914 | { |
| 915 | "name": "version", |
| 916 | "in": "path", |
| 917 | "required": true, |
| 918 | "type": "string", |
| 919 | "pattern": "[vV][5-7]" |
| 920 | } |
| 921 | ], |
| 922 | "responses": { |
| 923 | "default": { |
| 924 | "description": "successful operation" |
| 925 | } |
| 926 | } |
| 927 | } |
| 928 | }, |
| 929 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate": { |
| 930 | "post": { |
| 931 | "tags": [ |
| 932 | "onapsoinfraserviceInstantiation" |
| 933 | ], |
| 934 | "summary": "Activate provided Service Instance", |
| 935 | "description": "", |
| 936 | "operationId": "activateServiceInstance", |
| 937 | "consumes": [ |
| 938 | "application/json" |
| 939 | ], |
| 940 | "produces": [ |
| 941 | "application/json" |
| 942 | ], |
| 943 | "parameters": [ |
| 944 | { |
| 945 | "in": "body", |
| 946 | "name": "body", |
| 947 | "required": false, |
| 948 | "schema": { |
| 949 | "type": "string" |
| 950 | } |
| 951 | }, |
| 952 | { |
| 953 | "name": "version", |
| 954 | "in": "path", |
| 955 | "required": true, |
| 956 | "type": "string", |
| 957 | "pattern": "[vV][5-7]" |
| 958 | }, |
| 959 | { |
| 960 | "name": "serviceInstanceId", |
| 961 | "in": "path", |
| 962 | "required": true, |
| 963 | "type": "string" |
| 964 | } |
| 965 | ], |
| 966 | "responses": { |
| 967 | "default": { |
| 968 | "description": "successful operation" |
| 969 | } |
| 970 | } |
| 971 | } |
| 972 | }, |
| 973 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate": { |
| 974 | "post": { |
| 975 | "tags": [ |
| 976 | "onapsoinfraserviceInstantiation" |
| 977 | ], |
| 978 | "summary": "Deactivate provided Service Instance", |
| 979 | "description": "", |
| 980 | "operationId": "deactivateServiceInstance", |
| 981 | "consumes": [ |
| 982 | "application/json" |
| 983 | ], |
| 984 | "produces": [ |
| 985 | "application/json" |
| 986 | ], |
| 987 | "parameters": [ |
| 988 | { |
| 989 | "in": "body", |
| 990 | "name": "body", |
| 991 | "required": false, |
| 992 | "schema": { |
| 993 | "type": "string" |
| 994 | } |
| 995 | }, |
| 996 | { |
| 997 | "name": "version", |
| 998 | "in": "path", |
| 999 | "required": true, |
| 1000 | "type": "string", |
| 1001 | "pattern": "[vV][5-7]" |
| 1002 | }, |
| 1003 | { |
| 1004 | "name": "serviceInstanceId", |
| 1005 | "in": "path", |
| 1006 | "required": true, |
| 1007 | "type": "string" |
| 1008 | } |
| 1009 | ], |
| 1010 | "responses": { |
| 1011 | "default": { |
| 1012 | "description": "successful operation" |
| 1013 | } |
| 1014 | } |
| 1015 | } |
| 1016 | }, |
| 1017 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}": { |
| 1018 | "delete": { |
| 1019 | "tags": [ |
| 1020 | "onapsoinfraserviceInstantiation" |
| 1021 | ], |
| 1022 | "summary": "Delete provided Service Instance", |
| 1023 | "description": "", |
| 1024 | "operationId": "deleteServiceInstance", |
| 1025 | "consumes": [ |
| 1026 | "application/json" |
| 1027 | ], |
| 1028 | "produces": [ |
| 1029 | "application/json" |
| 1030 | ], |
| 1031 | "parameters": [ |
| 1032 | { |
| 1033 | "in": "body", |
| 1034 | "name": "body", |
| 1035 | "required": false, |
| 1036 | "schema": { |
| 1037 | "type": "string" |
| 1038 | } |
| 1039 | }, |
| 1040 | { |
| 1041 | "name": "version", |
| 1042 | "in": "path", |
| 1043 | "required": true, |
| 1044 | "type": "string", |
| 1045 | "pattern": "[vV][5-7]" |
| 1046 | }, |
| 1047 | { |
| 1048 | "name": "serviceInstanceId", |
| 1049 | "in": "path", |
| 1050 | "required": true, |
| 1051 | "type": "string" |
| 1052 | } |
| 1053 | ], |
| 1054 | "responses": { |
| 1055 | "default": { |
| 1056 | "description": "successful operation" |
| 1057 | } |
| 1058 | } |
| 1059 | } |
| 1060 | }, |
| 1061 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign": { |
| 1062 | "post": { |
| 1063 | "tags": [ |
| 1064 | "onapsoinfraserviceInstantiation" |
| 1065 | ], |
| 1066 | "summary": "Assign Service Instance", |
| 1067 | "description": "", |
| 1068 | "operationId": "assignServiceInstance", |
| 1069 | "consumes": [ |
| 1070 | "application/json" |
| 1071 | ], |
| 1072 | "produces": [ |
| 1073 | "application/json" |
| 1074 | ], |
| 1075 | "parameters": [ |
| 1076 | { |
| 1077 | "in": "body", |
| 1078 | "name": "body", |
| 1079 | "required": false, |
| 1080 | "schema": { |
| 1081 | "type": "string" |
| 1082 | } |
| 1083 | }, |
| 1084 | { |
| 1085 | "name": "version", |
| 1086 | "in": "path", |
| 1087 | "required": true, |
| 1088 | "type": "string", |
| 1089 | "pattern": "[vV][7]" |
| 1090 | } |
| 1091 | ], |
| 1092 | "responses": { |
| 1093 | "default": { |
| 1094 | "description": "successful operation" |
| 1095 | } |
| 1096 | } |
| 1097 | } |
| 1098 | }, |
| 1099 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign": { |
| 1100 | "post": { |
| 1101 | "tags": [ |
| 1102 | "onapsoinfraserviceInstantiation" |
| 1103 | ], |
| 1104 | "summary": "Unassign Service Instance", |
| 1105 | "description": "", |
| 1106 | "operationId": "unassignServiceInstance", |
| 1107 | "consumes": [ |
| 1108 | "application/json" |
| 1109 | ], |
| 1110 | "produces": [ |
| 1111 | "application/json" |
| 1112 | ], |
| 1113 | "parameters": [ |
| 1114 | { |
| 1115 | "in": "body", |
| 1116 | "name": "body", |
| 1117 | "required": false, |
| 1118 | "schema": { |
| 1119 | "type": "string" |
| 1120 | } |
| 1121 | }, |
| 1122 | { |
| 1123 | "name": "version", |
| 1124 | "in": "path", |
| 1125 | "required": true, |
| 1126 | "type": "string", |
| 1127 | "pattern": "[vV][7]" |
| 1128 | }, |
| 1129 | { |
| 1130 | "name": "serviceInstanceId", |
| 1131 | "in": "path", |
| 1132 | "required": true, |
| 1133 | "type": "string" |
| 1134 | } |
| 1135 | ], |
| 1136 | "responses": { |
| 1137 | "default": { |
| 1138 | "description": "successful operation" |
| 1139 | } |
| 1140 | } |
| 1141 | } |
| 1142 | }, |
| 1143 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations": { |
| 1144 | "post": { |
| 1145 | "tags": [ |
| 1146 | "onapsoinfraserviceInstantiation" |
| 1147 | ], |
| 1148 | "summary": "Create Port Mirroring Configuration", |
| 1149 | "description": "", |
| 1150 | "operationId": "createPortConfiguration", |
| 1151 | "consumes": [ |
| 1152 | "application/json" |
| 1153 | ], |
| 1154 | "produces": [ |
| 1155 | "application/json" |
| 1156 | ], |
| 1157 | "parameters": [ |
| 1158 | { |
| 1159 | "in": "body", |
| 1160 | "name": "body", |
| 1161 | "required": false, |
| 1162 | "schema": { |
| 1163 | "type": "string" |
| 1164 | } |
| 1165 | }, |
| 1166 | { |
| 1167 | "name": "version", |
| 1168 | "in": "path", |
| 1169 | "required": true, |
| 1170 | "type": "string", |
| 1171 | "pattern": "[vV][5-7]" |
| 1172 | }, |
| 1173 | { |
| 1174 | "name": "serviceInstanceId", |
| 1175 | "in": "path", |
| 1176 | "required": true, |
| 1177 | "type": "string" |
| 1178 | } |
| 1179 | ], |
| 1180 | "responses": { |
| 1181 | "default": { |
| 1182 | "description": "successful operation" |
| 1183 | } |
| 1184 | } |
| 1185 | } |
| 1186 | }, |
| 1187 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}": { |
| 1188 | "delete": { |
| 1189 | "tags": [ |
| 1190 | "onapsoinfraserviceInstantiation" |
| 1191 | ], |
| 1192 | "summary": "Delete provided Port", |
| 1193 | "description": "", |
| 1194 | "operationId": "deletePortConfiguration", |
| 1195 | "consumes": [ |
| 1196 | "application/json" |
| 1197 | ], |
| 1198 | "produces": [ |
| 1199 | "application/json" |
| 1200 | ], |
| 1201 | "parameters": [ |
| 1202 | { |
| 1203 | "in": "body", |
| 1204 | "name": "body", |
| 1205 | "required": false, |
| 1206 | "schema": { |
| 1207 | "type": "string" |
| 1208 | } |
| 1209 | }, |
| 1210 | { |
| 1211 | "name": "version", |
| 1212 | "in": "path", |
| 1213 | "required": true, |
| 1214 | "type": "string", |
| 1215 | "pattern": "[vV][5-7]" |
| 1216 | }, |
| 1217 | { |
| 1218 | "name": "serviceInstanceId", |
| 1219 | "in": "path", |
| 1220 | "required": true, |
| 1221 | "type": "string" |
| 1222 | }, |
| 1223 | { |
| 1224 | "name": "configurationInstanceId", |
| 1225 | "in": "path", |
| 1226 | "required": true, |
| 1227 | "type": "string" |
| 1228 | } |
| 1229 | ], |
| 1230 | "responses": { |
| 1231 | "default": { |
| 1232 | "description": "successful operation" |
| 1233 | } |
| 1234 | } |
| 1235 | } |
| 1236 | }, |
| 1237 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships": { |
| 1238 | "post": { |
| 1239 | "tags": [ |
| 1240 | "onapsoinfraserviceInstantiation" |
| 1241 | ], |
| 1242 | "summary": "Remove Relationships from Service Instance", |
| 1243 | "description": "", |
| 1244 | "operationId": "removeRelationships", |
| 1245 | "consumes": [ |
| 1246 | "application/json" |
| 1247 | ], |
| 1248 | "produces": [ |
| 1249 | "application/json" |
| 1250 | ], |
| 1251 | "parameters": [ |
| 1252 | { |
| 1253 | "in": "body", |
| 1254 | "name": "body", |
| 1255 | "required": false, |
| 1256 | "schema": { |
| 1257 | "type": "string" |
| 1258 | } |
| 1259 | }, |
| 1260 | { |
| 1261 | "name": "version", |
| 1262 | "in": "path", |
| 1263 | "required": true, |
| 1264 | "type": "string", |
| 1265 | "pattern": "[vV][6-7]" |
| 1266 | }, |
| 1267 | { |
| 1268 | "name": "serviceInstanceId", |
| 1269 | "in": "path", |
| 1270 | "required": true, |
| 1271 | "type": "string" |
| 1272 | } |
| 1273 | ], |
| 1274 | "responses": { |
| 1275 | "default": { |
| 1276 | "description": "successful operation" |
| 1277 | } |
| 1278 | } |
| 1279 | } |
| 1280 | }, |
| 1281 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs": { |
| 1282 | "post": { |
| 1283 | "tags": [ |
| 1284 | "onapsoinfraserviceInstantiation" |
| 1285 | ], |
| 1286 | "summary": "Create VNF on a specified version and serviceInstance", |
| 1287 | "description": "", |
| 1288 | "operationId": "createVnfInstance", |
| 1289 | "consumes": [ |
| 1290 | "application/json" |
| 1291 | ], |
| 1292 | "produces": [ |
| 1293 | "application/json" |
| 1294 | ], |
| 1295 | "parameters": [ |
| 1296 | { |
| 1297 | "in": "body", |
| 1298 | "name": "body", |
| 1299 | "required": false, |
| 1300 | "schema": { |
| 1301 | "type": "string" |
| 1302 | } |
| 1303 | }, |
| 1304 | { |
| 1305 | "name": "version", |
| 1306 | "in": "path", |
| 1307 | "required": true, |
| 1308 | "type": "string", |
| 1309 | "pattern": "[vV][5-7]" |
| 1310 | }, |
| 1311 | { |
| 1312 | "name": "serviceInstanceId", |
| 1313 | "in": "path", |
| 1314 | "required": true, |
| 1315 | "type": "string" |
| 1316 | } |
| 1317 | ], |
| 1318 | "responses": { |
| 1319 | "default": { |
| 1320 | "description": "successful operation" |
| 1321 | } |
| 1322 | } |
| 1323 | } |
| 1324 | }, |
| 1325 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace": { |
| 1326 | "post": { |
| 1327 | "tags": [ |
| 1328 | "onapsoinfraserviceInstantiation" |
| 1329 | ], |
| 1330 | "summary": "Replace provided VNF instance", |
| 1331 | "description": "", |
| 1332 | "operationId": "replaceVnfInstance", |
| 1333 | "consumes": [ |
| 1334 | "application/json" |
| 1335 | ], |
| 1336 | "produces": [ |
| 1337 | "application/json" |
| 1338 | ], |
| 1339 | "parameters": [ |
| 1340 | { |
| 1341 | "in": "body", |
| 1342 | "name": "body", |
| 1343 | "required": false, |
| 1344 | "schema": { |
| 1345 | "type": "string" |
| 1346 | } |
| 1347 | }, |
| 1348 | { |
| 1349 | "name": "version", |
| 1350 | "in": "path", |
| 1351 | "required": true, |
| 1352 | "type": "string", |
| 1353 | "pattern": "[vV][5-7]" |
| 1354 | }, |
| 1355 | { |
| 1356 | "name": "serviceInstanceId", |
| 1357 | "in": "path", |
| 1358 | "required": true, |
| 1359 | "type": "string" |
| 1360 | }, |
| 1361 | { |
| 1362 | "name": "vnfInstanceId", |
| 1363 | "in": "path", |
| 1364 | "required": true, |
| 1365 | "type": "string" |
| 1366 | } |
| 1367 | ], |
| 1368 | "responses": { |
| 1369 | "default": { |
| 1370 | "description": "successful operation" |
| 1371 | } |
| 1372 | } |
| 1373 | } |
| 1374 | }, |
| 1375 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}": { |
| 1376 | "put": { |
| 1377 | "tags": [ |
| 1378 | "onapsoinfraserviceInstantiation" |
| 1379 | ], |
| 1380 | "summary": "Update VNF on a specified version, serviceInstance and vnfInstance", |
| 1381 | "description": "", |
| 1382 | "operationId": "updateVnfInstance", |
| 1383 | "consumes": [ |
| 1384 | "application/json" |
| 1385 | ], |
| 1386 | "produces": [ |
| 1387 | "application/json" |
| 1388 | ], |
| 1389 | "parameters": [ |
| 1390 | { |
| 1391 | "in": "body", |
| 1392 | "name": "body", |
| 1393 | "required": false, |
| 1394 | "schema": { |
| 1395 | "type": "string" |
| 1396 | } |
| 1397 | }, |
| 1398 | { |
| 1399 | "name": "version", |
| 1400 | "in": "path", |
| 1401 | "required": true, |
| 1402 | "type": "string", |
| 1403 | "pattern": "[vV][5-7]" |
| 1404 | }, |
| 1405 | { |
| 1406 | "name": "serviceInstanceId", |
| 1407 | "in": "path", |
| 1408 | "required": true, |
| 1409 | "type": "string" |
| 1410 | }, |
| 1411 | { |
| 1412 | "name": "vnfInstanceId", |
| 1413 | "in": "path", |
| 1414 | "required": true, |
| 1415 | "type": "string" |
| 1416 | } |
| 1417 | ], |
| 1418 | "responses": { |
| 1419 | "default": { |
| 1420 | "description": "successful operation" |
| 1421 | } |
| 1422 | } |
| 1423 | }, |
| 1424 | "delete": { |
| 1425 | "tags": [ |
| 1426 | "onapsoinfraserviceInstantiation" |
| 1427 | ], |
| 1428 | "summary": "Delete provided VNF instance", |
| 1429 | "description": "", |
| 1430 | "operationId": "deleteVnfInstance", |
| 1431 | "consumes": [ |
| 1432 | "application/json" |
| 1433 | ], |
| 1434 | "produces": [ |
| 1435 | "application/json" |
| 1436 | ], |
| 1437 | "parameters": [ |
| 1438 | { |
| 1439 | "in": "body", |
| 1440 | "name": "body", |
| 1441 | "required": false, |
| 1442 | "schema": { |
| 1443 | "type": "string" |
| 1444 | } |
| 1445 | }, |
| 1446 | { |
| 1447 | "name": "version", |
| 1448 | "in": "path", |
| 1449 | "required": true, |
| 1450 | "type": "string", |
| 1451 | "pattern": "[vV][5-7]" |
| 1452 | }, |
| 1453 | { |
| 1454 | "name": "serviceInstanceId", |
| 1455 | "in": "path", |
| 1456 | "required": true, |
| 1457 | "type": "string" |
| 1458 | }, |
| 1459 | { |
| 1460 | "name": "vnfInstanceId", |
| 1461 | "in": "path", |
| 1462 | "required": true, |
| 1463 | "type": "string" |
| 1464 | } |
| 1465 | ], |
| 1466 | "responses": { |
| 1467 | "default": { |
| 1468 | "description": "successful operation" |
| 1469 | } |
| 1470 | } |
| 1471 | } |
| 1472 | }, |
| 1473 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules": { |
| 1474 | "post": { |
| 1475 | "tags": [ |
| 1476 | "onapsoinfraserviceInstantiation" |
| 1477 | ], |
| 1478 | "summary": "Create VfModule on a specified version, serviceInstance and vnfInstance", |
| 1479 | "description": "", |
| 1480 | "operationId": "createVfModuleInstance", |
| 1481 | "consumes": [ |
| 1482 | "application/json" |
| 1483 | ], |
| 1484 | "produces": [ |
| 1485 | "application/json" |
| 1486 | ], |
| 1487 | "parameters": [ |
| 1488 | { |
| 1489 | "in": "body", |
| 1490 | "name": "body", |
| 1491 | "required": false, |
| 1492 | "schema": { |
| 1493 | "type": "string" |
| 1494 | } |
| 1495 | }, |
| 1496 | { |
| 1497 | "name": "version", |
| 1498 | "in": "path", |
| 1499 | "required": true, |
| 1500 | "type": "string", |
| 1501 | "pattern": "[vV][5-7]" |
| 1502 | }, |
| 1503 | { |
| 1504 | "name": "serviceInstanceId", |
| 1505 | "in": "path", |
| 1506 | "required": true, |
| 1507 | "type": "string" |
| 1508 | }, |
| 1509 | { |
| 1510 | "name": "vnfInstanceId", |
| 1511 | "in": "path", |
| 1512 | "required": true, |
| 1513 | "type": "string" |
| 1514 | } |
| 1515 | ], |
| 1516 | "responses": { |
| 1517 | "default": { |
| 1518 | "description": "successful operation" |
| 1519 | } |
| 1520 | } |
| 1521 | } |
| 1522 | }, |
| 1523 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace": { |
| 1524 | "post": { |
| 1525 | "tags": [ |
| 1526 | "onapsoinfraserviceInstantiation" |
| 1527 | ], |
| 1528 | "summary": "Create VfModule on a specified version, serviceInstance and vnfInstance", |
| 1529 | "description": "", |
| 1530 | "operationId": "replaceVfModuleInstance", |
| 1531 | "consumes": [ |
| 1532 | "application/json" |
| 1533 | ], |
| 1534 | "produces": [ |
| 1535 | "application/json" |
| 1536 | ], |
| 1537 | "parameters": [ |
| 1538 | { |
| 1539 | "in": "body", |
| 1540 | "name": "body", |
| 1541 | "required": false, |
| 1542 | "schema": { |
| 1543 | "type": "string" |
| 1544 | } |
| 1545 | }, |
| 1546 | { |
| 1547 | "name": "version", |
| 1548 | "in": "path", |
| 1549 | "required": true, |
| 1550 | "type": "string", |
| 1551 | "pattern": "[vV][5-7]" |
| 1552 | }, |
| 1553 | { |
| 1554 | "name": "serviceInstanceId", |
| 1555 | "in": "path", |
| 1556 | "required": true, |
| 1557 | "type": "string" |
| 1558 | }, |
| 1559 | { |
| 1560 | "name": "vnfInstanceId", |
| 1561 | "in": "path", |
| 1562 | "required": true, |
| 1563 | "type": "string" |
| 1564 | }, |
| 1565 | { |
| 1566 | "name": "vfmoduleInstanceId", |
| 1567 | "in": "path", |
| 1568 | "required": true, |
| 1569 | "type": "string" |
| 1570 | } |
| 1571 | ], |
| 1572 | "responses": { |
| 1573 | "default": { |
| 1574 | "description": "successful operation" |
| 1575 | } |
| 1576 | } |
| 1577 | } |
| 1578 | }, |
| 1579 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}": { |
| 1580 | "put": { |
| 1581 | "tags": [ |
| 1582 | "onapsoinfraserviceInstantiation" |
| 1583 | ], |
| 1584 | "summary": "Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule", |
| 1585 | "description": "", |
| 1586 | "operationId": "updateVfModuleInstance", |
| 1587 | "consumes": [ |
| 1588 | "application/json" |
| 1589 | ], |
| 1590 | "produces": [ |
| 1591 | "application/json" |
| 1592 | ], |
| 1593 | "parameters": [ |
| 1594 | { |
| 1595 | "in": "body", |
| 1596 | "name": "body", |
| 1597 | "required": false, |
| 1598 | "schema": { |
| 1599 | "type": "string" |
| 1600 | } |
| 1601 | }, |
| 1602 | { |
| 1603 | "name": "version", |
| 1604 | "in": "path", |
| 1605 | "required": true, |
| 1606 | "type": "string", |
| 1607 | "pattern": "[vV][5-7]" |
| 1608 | }, |
| 1609 | { |
| 1610 | "name": "serviceInstanceId", |
| 1611 | "in": "path", |
| 1612 | "required": true, |
| 1613 | "type": "string" |
| 1614 | }, |
| 1615 | { |
| 1616 | "name": "vnfInstanceId", |
| 1617 | "in": "path", |
| 1618 | "required": true, |
| 1619 | "type": "string" |
| 1620 | }, |
| 1621 | { |
| 1622 | "name": "vfmoduleInstanceId", |
| 1623 | "in": "path", |
| 1624 | "required": true, |
| 1625 | "type": "string" |
| 1626 | } |
| 1627 | ], |
| 1628 | "responses": { |
| 1629 | "default": { |
| 1630 | "description": "successful operation" |
| 1631 | } |
| 1632 | } |
| 1633 | }, |
| 1634 | "delete": { |
| 1635 | "tags": [ |
| 1636 | "onapsoinfraserviceInstantiation" |
| 1637 | ], |
| 1638 | "summary": "Delete provided VfModule instance", |
| 1639 | "description": "", |
| 1640 | "operationId": "deleteVfModuleInstance", |
| 1641 | "consumes": [ |
| 1642 | "application/json" |
| 1643 | ], |
| 1644 | "produces": [ |
| 1645 | "application/json" |
| 1646 | ], |
| 1647 | "parameters": [ |
| 1648 | { |
| 1649 | "in": "body", |
| 1650 | "name": "body", |
| 1651 | "required": false, |
| 1652 | "schema": { |
| 1653 | "type": "string" |
| 1654 | } |
| 1655 | }, |
| 1656 | { |
| 1657 | "name": "version", |
| 1658 | "in": "path", |
| 1659 | "required": true, |
| 1660 | "type": "string", |
| 1661 | "pattern": "[vV][5-7]" |
| 1662 | }, |
| 1663 | { |
| 1664 | "name": "serviceInstanceId", |
| 1665 | "in": "path", |
| 1666 | "required": true, |
| 1667 | "type": "string" |
| 1668 | }, |
| 1669 | { |
| 1670 | "name": "vnfInstanceId", |
| 1671 | "in": "path", |
| 1672 | "required": true, |
| 1673 | "type": "string" |
| 1674 | }, |
| 1675 | { |
| 1676 | "name": "vfmoduleInstanceId", |
| 1677 | "in": "path", |
| 1678 | "required": true, |
| 1679 | "type": "string" |
| 1680 | } |
| 1681 | ], |
| 1682 | "responses": { |
| 1683 | "default": { |
| 1684 | "description": "successful operation" |
| 1685 | } |
| 1686 | } |
| 1687 | } |
| 1688 | }, |
| 1689 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups": { |
| 1690 | "post": { |
| 1691 | "tags": [ |
| 1692 | "onapsoinfraserviceInstantiation" |
| 1693 | ], |
| 1694 | "summary": "Create VolumeGroup on a specified version, serviceInstance, vnfInstance", |
| 1695 | "description": "", |
| 1696 | "operationId": "createVolumeGroupInstance", |
| 1697 | "consumes": [ |
| 1698 | "application/json" |
| 1699 | ], |
| 1700 | "produces": [ |
| 1701 | "application/json" |
| 1702 | ], |
| 1703 | "parameters": [ |
| 1704 | { |
| 1705 | "in": "body", |
| 1706 | "name": "body", |
| 1707 | "required": false, |
| 1708 | "schema": { |
| 1709 | "type": "string" |
| 1710 | } |
| 1711 | }, |
| 1712 | { |
| 1713 | "name": "version", |
| 1714 | "in": "path", |
| 1715 | "required": true, |
| 1716 | "type": "string", |
| 1717 | "pattern": "[vV][5-7]" |
| 1718 | }, |
| 1719 | { |
| 1720 | "name": "serviceInstanceId", |
| 1721 | "in": "path", |
| 1722 | "required": true, |
| 1723 | "type": "string" |
| 1724 | }, |
| 1725 | { |
| 1726 | "name": "vnfInstanceId", |
| 1727 | "in": "path", |
| 1728 | "required": true, |
| 1729 | "type": "string" |
| 1730 | } |
| 1731 | ], |
| 1732 | "responses": { |
| 1733 | "default": { |
| 1734 | "description": "successful operation" |
| 1735 | } |
| 1736 | } |
| 1737 | } |
| 1738 | }, |
| 1739 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}": { |
| 1740 | "put": { |
| 1741 | "tags": [ |
| 1742 | "onapsoinfraserviceInstantiation" |
| 1743 | ], |
| 1744 | "summary": "Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup", |
| 1745 | "description": "", |
| 1746 | "operationId": "updateVolumeGroupInstance", |
| 1747 | "consumes": [ |
| 1748 | "application/json" |
| 1749 | ], |
| 1750 | "produces": [ |
| 1751 | "application/json" |
| 1752 | ], |
| 1753 | "parameters": [ |
| 1754 | { |
| 1755 | "in": "body", |
| 1756 | "name": "body", |
| 1757 | "required": false, |
| 1758 | "schema": { |
| 1759 | "type": "string" |
| 1760 | } |
| 1761 | }, |
| 1762 | { |
| 1763 | "name": "version", |
| 1764 | "in": "path", |
| 1765 | "required": true, |
| 1766 | "type": "string", |
| 1767 | "pattern": "[vV][5-7]" |
| 1768 | }, |
| 1769 | { |
| 1770 | "name": "serviceInstanceId", |
| 1771 | "in": "path", |
| 1772 | "required": true, |
| 1773 | "type": "string" |
| 1774 | }, |
| 1775 | { |
| 1776 | "name": "vnfInstanceId", |
| 1777 | "in": "path", |
| 1778 | "required": true, |
| 1779 | "type": "string" |
| 1780 | }, |
| 1781 | { |
| 1782 | "name": "volumeGroupInstanceId", |
| 1783 | "in": "path", |
| 1784 | "required": true, |
| 1785 | "type": "string" |
| 1786 | } |
| 1787 | ], |
| 1788 | "responses": { |
| 1789 | "default": { |
| 1790 | "description": "successful operation" |
| 1791 | } |
| 1792 | } |
| 1793 | }, |
| 1794 | "delete": { |
| 1795 | "tags": [ |
| 1796 | "onapsoinfraserviceInstantiation" |
| 1797 | ], |
| 1798 | "summary": "Delete provided VolumeGroup instance", |
| 1799 | "description": "", |
| 1800 | "operationId": "deleteVolumeGroupInstance", |
| 1801 | "consumes": [ |
| 1802 | "application/json" |
| 1803 | ], |
| 1804 | "produces": [ |
| 1805 | "application/json" |
| 1806 | ], |
| 1807 | "parameters": [ |
| 1808 | { |
| 1809 | "in": "body", |
| 1810 | "name": "body", |
| 1811 | "required": false, |
| 1812 | "schema": { |
| 1813 | "type": "string" |
| 1814 | } |
| 1815 | }, |
| 1816 | { |
| 1817 | "name": "version", |
| 1818 | "in": "path", |
| 1819 | "required": true, |
| 1820 | "type": "string", |
| 1821 | "pattern": "[vV][5-7]" |
| 1822 | }, |
| 1823 | { |
| 1824 | "name": "serviceInstanceId", |
| 1825 | "in": "path", |
| 1826 | "required": true, |
| 1827 | "type": "string" |
| 1828 | }, |
| 1829 | { |
| 1830 | "name": "vnfInstanceId", |
| 1831 | "in": "path", |
| 1832 | "required": true, |
| 1833 | "type": "string" |
| 1834 | }, |
| 1835 | { |
| 1836 | "name": "volumeGroupInstanceId", |
| 1837 | "in": "path", |
| 1838 | "required": true, |
| 1839 | "type": "string" |
| 1840 | } |
| 1841 | ], |
| 1842 | "responses": { |
| 1843 | "default": { |
| 1844 | "description": "successful operation" |
| 1845 | } |
| 1846 | } |
| 1847 | } |
| 1848 | }, |
| 1849 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks": { |
| 1850 | "post": { |
| 1851 | "tags": [ |
| 1852 | "onapsoinfraserviceInstantiation" |
| 1853 | ], |
| 1854 | "summary": "Create NetworkInstance on a specified version and serviceInstance ", |
| 1855 | "description": "", |
| 1856 | "operationId": "createNetworkInstance", |
| 1857 | "consumes": [ |
| 1858 | "application/json" |
| 1859 | ], |
| 1860 | "produces": [ |
| 1861 | "application/json" |
| 1862 | ], |
| 1863 | "parameters": [ |
| 1864 | { |
| 1865 | "in": "body", |
| 1866 | "name": "body", |
| 1867 | "required": false, |
| 1868 | "schema": { |
| 1869 | "type": "string" |
| 1870 | } |
| 1871 | }, |
| 1872 | { |
| 1873 | "name": "version", |
| 1874 | "in": "path", |
| 1875 | "required": true, |
| 1876 | "type": "string", |
| 1877 | "pattern": "[vV][5-7]" |
| 1878 | }, |
| 1879 | { |
| 1880 | "name": "serviceInstanceId", |
| 1881 | "in": "path", |
| 1882 | "required": true, |
| 1883 | "type": "string" |
| 1884 | } |
| 1885 | ], |
| 1886 | "responses": { |
| 1887 | "default": { |
| 1888 | "description": "successful operation" |
| 1889 | } |
| 1890 | } |
| 1891 | } |
| 1892 | }, |
| 1893 | "/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}": { |
| 1894 | "put": { |
| 1895 | "tags": [ |
| 1896 | "onapsoinfraserviceInstantiation" |
| 1897 | ], |
| 1898 | "summary": "Update VolumeGroup on a specified version, serviceInstance, networkInstance", |
| 1899 | "description": "", |
| 1900 | "operationId": "updateNetworkInstance", |
| 1901 | "consumes": [ |
| 1902 | "application/json" |
| 1903 | ], |
| 1904 | "produces": [ |
| 1905 | "application/json" |
| 1906 | ], |
| 1907 | "parameters": [ |
| 1908 | { |
| 1909 | "in": "body", |
| 1910 | "name": "body", |
| 1911 | "required": false, |
| 1912 | "schema": { |
| 1913 | "type": "string" |
| 1914 | } |
| 1915 | }, |
| 1916 | { |
| 1917 | "name": "version", |
| 1918 | "in": "path", |
| 1919 | "required": true, |
| 1920 | "type": "string", |
| 1921 | "pattern": "[vV][5-7]" |
| 1922 | }, |
| 1923 | { |
| 1924 | "name": "serviceInstanceId", |
| 1925 | "in": "path", |
| 1926 | "required": true, |
| 1927 | "type": "string" |
| 1928 | }, |
| 1929 | { |
| 1930 | "name": "networkInstanceId", |
| 1931 | "in": "path", |
| 1932 | "required": true, |
| 1933 | "type": "string" |
| 1934 | } |
| 1935 | ], |
| 1936 | "responses": { |
| 1937 | "default": { |
| 1938 | "description": "successful operation" |
| 1939 | } |
| 1940 | } |
| 1941 | }, |
| 1942 | "delete": { |
| 1943 | "tags": [ |
| 1944 | "onapsoinfraserviceInstantiation" |
| 1945 | ], |
| 1946 | "summary": "Delete provided Network instance", |
| 1947 | "description": "", |
| 1948 | "operationId": "deleteNetworkInstance", |
| 1949 | "consumes": [ |
| 1950 | "application/json" |
| 1951 | ], |
| 1952 | "produces": [ |
| 1953 | "application/json" |
| 1954 | ], |
| 1955 | "parameters": [ |
| 1956 | { |
| 1957 | "in": "body", |
| 1958 | "name": "body", |
| 1959 | "required": false, |
| 1960 | "schema": { |
| 1961 | "type": "string" |
| 1962 | } |
| 1963 | }, |
| 1964 | { |
| 1965 | "name": "version", |
| 1966 | "in": "path", |
| 1967 | "required": true, |
| 1968 | "type": "string", |
| 1969 | "pattern": "[vV][5-7]" |
| 1970 | }, |
| 1971 | { |
| 1972 | "name": "serviceInstanceId", |
| 1973 | "in": "path", |
| 1974 | "required": true, |
| 1975 | "type": "string" |
| 1976 | }, |
| 1977 | { |
| 1978 | "name": "networkInstanceId", |
| 1979 | "in": "path", |
| 1980 | "required": true, |
| 1981 | "type": "string" |
| 1982 | } |
| 1983 | ], |
| 1984 | "responses": { |
| 1985 | "default": { |
| 1986 | "description": "successful operation" |
| 1987 | } |
| 1988 | } |
| 1989 | } |
| 1990 | }, |
| 1991 | "/onap/so/infra/tasks/{version}": { |
| 1992 | "get": { |
| 1993 | "tags": [ |
| 1994 | "onapsoinfratasks" |
| 1995 | ], |
| 1996 | "summary": "Finds Manual Tasks", |
| 1997 | "description": "", |
| 1998 | "operationId": "queryFilters", |
| 1999 | "parameters": [ |
| 2000 | { |
| 2001 | "name": "taskId", |
| 2002 | "in": "query", |
| 2003 | "required": false, |
| 2004 | "type": "string" |
| 2005 | }, |
| 2006 | { |
| 2007 | "name": "originalRequestId", |
| 2008 | "in": "query", |
| 2009 | "required": false, |
| 2010 | "type": "string" |
| 2011 | }, |
| 2012 | { |
| 2013 | "name": "subscriptionServiceType", |
| 2014 | "in": "query", |
| 2015 | "required": false, |
| 2016 | "type": "string" |
| 2017 | }, |
| 2018 | { |
| 2019 | "name": "nfRole", |
| 2020 | "in": "query", |
| 2021 | "required": false, |
| 2022 | "type": "string" |
| 2023 | }, |
| 2024 | { |
| 2025 | "name": "buildingBlockName", |
| 2026 | "in": "query", |
| 2027 | "required": false, |
| 2028 | "type": "string" |
| 2029 | }, |
| 2030 | { |
| 2031 | "name": "originalRequestDate", |
| 2032 | "in": "query", |
| 2033 | "required": false, |
| 2034 | "type": "string" |
| 2035 | }, |
| 2036 | { |
| 2037 | "name": "originalRequestorId", |
| 2038 | "in": "query", |
| 2039 | "required": false, |
| 2040 | "type": "string" |
| 2041 | }, |
| 2042 | { |
| 2043 | "name": "version", |
| 2044 | "in": "path", |
| 2045 | "required": true, |
| 2046 | "type": "string", |
| 2047 | "pattern": "[vV]1" |
| 2048 | } |
| 2049 | ], |
| 2050 | "responses": { |
| 2051 | "default": { |
| 2052 | "description": "successful operation" |
| 2053 | } |
| 2054 | } |
| 2055 | } |
| 2056 | }, |
| 2057 | "/onap/so/infra/cloudResources/{version}/operationalEnvironments": { |
| 2058 | "post": { |
| 2059 | "tags": [ |
| 2060 | "onapsoinfracloudResources" |
| 2061 | ], |
| 2062 | "summary": "Create an Operational Environment", |
| 2063 | "description": "", |
| 2064 | "operationId": "createOperationEnvironment", |
| 2065 | "consumes": [ |
| 2066 | "application/json" |
| 2067 | ], |
| 2068 | "produces": [ |
| 2069 | "application/json" |
| 2070 | ], |
| 2071 | "parameters": [ |
| 2072 | { |
| 2073 | "in": "body", |
| 2074 | "name": "body", |
| 2075 | "required": false, |
| 2076 | "schema": { |
| 2077 | "type": "string" |
| 2078 | } |
| 2079 | }, |
| 2080 | { |
| 2081 | "name": "version", |
| 2082 | "in": "path", |
| 2083 | "required": true, |
| 2084 | "type": "string", |
| 2085 | "pattern": "[vV][1]" |
| 2086 | } |
| 2087 | ], |
| 2088 | "responses": { |
| 2089 | "default": { |
| 2090 | "description": "successful operation" |
| 2091 | } |
| 2092 | } |
| 2093 | } |
| 2094 | }, |
| 2095 | "/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate": { |
| 2096 | "post": { |
| 2097 | "tags": [ |
| 2098 | "onapsoinfracloudResources" |
| 2099 | ], |
| 2100 | "summary": "Activate an Operational Environment", |
| 2101 | "description": "", |
| 2102 | "operationId": "activateOperationEnvironment", |
| 2103 | "consumes": [ |
| 2104 | "application/json" |
| 2105 | ], |
| 2106 | "produces": [ |
| 2107 | "application/json" |
| 2108 | ], |
| 2109 | "parameters": [ |
| 2110 | { |
| 2111 | "in": "body", |
| 2112 | "name": "body", |
| 2113 | "required": false, |
| 2114 | "schema": { |
| 2115 | "type": "string" |
| 2116 | } |
| 2117 | }, |
| 2118 | { |
| 2119 | "name": "version", |
| 2120 | "in": "path", |
| 2121 | "required": true, |
| 2122 | "type": "string", |
| 2123 | "pattern": "[vV][1]" |
| 2124 | }, |
| 2125 | { |
| 2126 | "name": "operationalEnvironmentId", |
| 2127 | "in": "path", |
| 2128 | "required": true, |
| 2129 | "type": "string" |
| 2130 | } |
| 2131 | ], |
| 2132 | "responses": { |
| 2133 | "default": { |
| 2134 | "description": "successful operation" |
| 2135 | } |
| 2136 | } |
| 2137 | } |
| 2138 | }, |
| 2139 | "/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate": { |
| 2140 | "post": { |
| 2141 | "tags": [ |
| 2142 | "onapsoinfracloudResources" |
| 2143 | ], |
| 2144 | "summary": "Deactivate an Operational Environment", |
| 2145 | "description": "", |
| 2146 | "operationId": "deactivateOperationEnvironment", |
| 2147 | "consumes": [ |
| 2148 | "application/json" |
| 2149 | ], |
| 2150 | "produces": [ |
| 2151 | "application/json" |
| 2152 | ], |
| 2153 | "parameters": [ |
| 2154 | { |
| 2155 | "in": "body", |
| 2156 | "name": "body", |
| 2157 | "required": false, |
| 2158 | "schema": { |
| 2159 | "type": "string" |
| 2160 | } |
| 2161 | }, |
| 2162 | { |
| 2163 | "name": "version", |
| 2164 | "in": "path", |
| 2165 | "required": true, |
| 2166 | "type": "string", |
| 2167 | "pattern": "[vV][1]" |
| 2168 | }, |
| 2169 | { |
| 2170 | "name": "operationalEnvironmentId", |
| 2171 | "in": "path", |
| 2172 | "required": true, |
| 2173 | "type": "string" |
| 2174 | } |
| 2175 | ], |
| 2176 | "responses": { |
| 2177 | "default": { |
| 2178 | "description": "successful operation" |
| 2179 | } |
| 2180 | } |
| 2181 | } |
| 2182 | }, |
| 2183 | "/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock": { |
| 2184 | "post": { |
| 2185 | "tags": [ |
| 2186 | "onapsoinfracloudResourcesRequests" |
| 2187 | ], |
| 2188 | "summary": "Unlock CloudOrchestration requests for a specified requestId", |
| 2189 | "description": "", |
| 2190 | "operationId": "unlockOrchestrationRequestForReqId", |
| 2191 | "consumes": [ |
| 2192 | "application/json" |
| 2193 | ], |
| 2194 | "produces": [ |
| 2195 | "application/json" |
| 2196 | ], |
| 2197 | "parameters": [ |
| 2198 | { |
| 2199 | "in": "body", |
| 2200 | "name": "body", |
| 2201 | "required": false, |
| 2202 | "schema": { |
| 2203 | "type": "string" |
| 2204 | } |
| 2205 | }, |
| 2206 | { |
| 2207 | "name": "requestId", |
| 2208 | "in": "path", |
| 2209 | "required": true, |
| 2210 | "type": "string" |
| 2211 | }, |
| 2212 | { |
| 2213 | "name": "version", |
| 2214 | "in": "path", |
| 2215 | "required": true, |
| 2216 | "type": "string", |
| 2217 | "pattern": "[vV][1]" |
| 2218 | } |
| 2219 | ], |
| 2220 | "responses": { |
| 2221 | "default": { |
| 2222 | "description": "successful operation" |
| 2223 | } |
| 2224 | } |
| 2225 | } |
| 2226 | }, |
| 2227 | "/onap/so/infra/cloudResourcesRequests/{version}": { |
| 2228 | "get": { |
| 2229 | "tags": [ |
| 2230 | "onapsoinfracloudResourcesRequests" |
| 2231 | ], |
| 2232 | "summary": "Get status of an Operational Environment based on filter criteria", |
| 2233 | "description": "", |
| 2234 | "operationId": "getOperationEnvironmentStatusFilter", |
| 2235 | "consumes": [ |
| 2236 | "application/json" |
| 2237 | ], |
| 2238 | "produces": [ |
| 2239 | "application/json" |
| 2240 | ], |
| 2241 | "parameters": [ |
| 2242 | { |
| 2243 | "name": "version", |
| 2244 | "in": "path", |
| 2245 | "required": true, |
| 2246 | "type": "string", |
| 2247 | "pattern": "[vV][1]" |
| 2248 | } |
| 2249 | ], |
| 2250 | "responses": { |
| 2251 | "default": { |
| 2252 | "description": "successful operation" |
| 2253 | } |
| 2254 | } |
| 2255 | } |
| 2256 | }, |
| 2257 | "/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}": { |
| 2258 | "post": { |
| 2259 | "tags": [ |
| 2260 | "onapsoinframodelDistributions" |
| 2261 | ], |
| 2262 | "summary": "Update model distribution status", |
| 2263 | "description": "", |
| 2264 | "operationId": "updateModelDistributionStatus", |
| 2265 | "consumes": [ |
| 2266 | "application/json" |
| 2267 | ], |
| 2268 | "produces": [ |
| 2269 | "application/json" |
| 2270 | ], |
| 2271 | "parameters": [ |
| 2272 | { |
| 2273 | "in": "body", |
| 2274 | "name": "body", |
| 2275 | "required": false, |
| 2276 | "schema": { |
| 2277 | "type": "string" |
| 2278 | } |
| 2279 | }, |
| 2280 | { |
| 2281 | "name": "version", |
| 2282 | "in": "path", |
| 2283 | "required": true, |
| 2284 | "type": "string", |
| 2285 | "pattern": "[vV][1]" |
| 2286 | }, |
| 2287 | { |
| 2288 | "name": "distributionId", |
| 2289 | "in": "path", |
| 2290 | "required": true, |
| 2291 | "type": "string" |
| 2292 | } |
| 2293 | ], |
| 2294 | "responses": { |
| 2295 | "default": { |
| 2296 | "description": "successful operation" |
| 2297 | } |
| 2298 | } |
| 2299 | } |
| 2300 | } |
| 2301 | } |
| 2302 | } |