Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 1 | deployment-handler API 3.0.3 |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 2 | ============================ |
| 3 | |
| 4 | .. toctree:: |
| 5 | :maxdepth: 3 |
| 6 | |
| 7 | |
| 8 | Description |
| 9 | ~~~~~~~~~~~ |
| 10 | |
| 11 | High-level API for deploying/undeploying composed DCAE services using Cloudify Manager. |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | License |
| 18 | ~~~~~~~ |
| 19 | |
| 20 | |
| 21 | `Apache 2.0 <http://www.apache.org/licenses/LICENSE-2.0.html>`_ |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | DCAE-DEPLOYMENTS |
| 27 | ~~~~~~~~~~~~~~~~ |
| 28 | |
| 29 | |
| 30 | operations on dcae-deployments |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | DELETE ``/dcae-deployments/{deploymentId}`` |
| 37 | ------------------------------------------- |
| 38 | |
| 39 | |
| 40 | |
| 41 | Description |
| 42 | +++++++++++ |
| 43 | |
| 44 | .. raw:: html |
| 45 | |
| 46 | Uninstall the DCAE service and remove all associated data from the orchestrator. |
| 47 | |
| 48 | |
| 49 | Parameters |
| 50 | ++++++++++ |
| 51 | |
| 52 | .. csv-table:: |
| 53 | :delim: | |
| 54 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 55 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 56 | |
| 57 | deploymentId | path | Yes | string | | | Deployment identifier for the service to be uninstalled. |
| 58 | |
| 59 | |
| 60 | Request |
| 61 | +++++++ |
| 62 | |
| 63 | |
| 64 | Responses |
| 65 | +++++++++ |
| 66 | |
| 67 | **202** |
| 68 | ^^^^^^^ |
| 69 | |
| 70 | Success: The dispatcher has initiated the uninstall operation. |
| 71 | |
| 72 | |
| 73 | |
| 74 | Type: :ref:`DCAEDeploymentResponse <d_6157bd3de5c8c7de78f2ab86397667e0>` |
| 75 | |
| 76 | **Example:** |
| 77 | |
| 78 | .. code-block:: javascript |
| 79 | |
| 80 | { |
| 81 | "links": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 82 | "self": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 83 | "status": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 84 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 85 | "requestId": "somestring" |
| 86 | } |
| 87 | |
| 88 | **400** |
| 89 | ^^^^^^^ |
| 90 | |
| 91 | Bad request: See the message in the response for details. |
| 92 | |
| 93 | |
| 94 | |
| 95 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 96 | |
| 97 | **Example:** |
| 98 | |
| 99 | .. code-block:: javascript |
| 100 | |
| 101 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 102 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 103 | "status": 1 |
| 104 | } |
| 105 | |
| 106 | **500** |
| 107 | ^^^^^^^ |
| 108 | |
| 109 | Problem on the server side. See the message |
| 110 | in the response for more details. |
| 111 | |
| 112 | |
| 113 | |
| 114 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 115 | |
| 116 | **Example:** |
| 117 | |
| 118 | .. code-block:: javascript |
| 119 | |
| 120 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 121 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 122 | "status": 1 |
| 123 | } |
| 124 | |
| 125 | **502** |
| 126 | ^^^^^^^ |
| 127 | |
| 128 | Error reported to the dispatcher by a downstream system. See the message |
| 129 | in the response for more details. |
| 130 | |
| 131 | |
| 132 | |
| 133 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 134 | |
| 135 | **Example:** |
| 136 | |
| 137 | .. code-block:: javascript |
| 138 | |
| 139 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 140 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 141 | "status": 1 |
| 142 | } |
| 143 | |
| 144 | **504** |
| 145 | ^^^^^^^ |
| 146 | |
| 147 | Error communicating with a downstream system. See the message |
| 148 | in the response for more details. |
| 149 | |
| 150 | |
| 151 | |
| 152 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 153 | |
| 154 | **Example:** |
| 155 | |
| 156 | .. code-block:: javascript |
| 157 | |
| 158 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 159 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 160 | "status": 1 |
| 161 | } |
| 162 | |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | GET ``/dcae-deployments`` |
| 168 | ------------------------- |
| 169 | |
| 170 | |
| 171 | |
| 172 | Description |
| 173 | +++++++++++ |
| 174 | |
| 175 | .. raw:: html |
| 176 | |
| 177 | List service deployments known to the orchestrator, optionally restricted to a single service type |
| 178 | |
| 179 | |
| 180 | Parameters |
| 181 | ++++++++++ |
| 182 | |
| 183 | .. csv-table:: |
| 184 | :delim: | |
| 185 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 186 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 187 | |
| 188 | serviceTypeId | query | No | string | | | Service type identifier for the type whose deployments are to be listed |
| 189 | |
| 190 | |
| 191 | Request |
| 192 | +++++++ |
| 193 | |
| 194 | |
| 195 | Responses |
| 196 | +++++++++ |
| 197 | |
| 198 | **200** |
| 199 | ^^^^^^^ |
| 200 | |
| 201 | Success. (Note that if no matching deployments are found, the request is still a success; the |
| 202 | deployments array is empty in that case.) |
| 203 | |
| 204 | |
| 205 | |
| 206 | Type: :ref:`DCAEDeploymentsListResponse <d_c51e57d9583f6119caf83dd017cf214c>` |
| 207 | |
| 208 | **Example:** |
| 209 | |
| 210 | .. code-block:: javascript |
| 211 | |
| 212 | { |
| 213 | "deployments": [ |
| 214 | { |
| 215 | "href": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 216 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 217 | { |
| 218 | "href": "somestring" |
| 219 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 220 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 221 | "requestId": "somestring" |
| 222 | } |
| 223 | |
| 224 | **500** |
| 225 | ^^^^^^^ |
| 226 | |
| 227 | Problem on the server side. See the message |
| 228 | in the response for more details. |
| 229 | |
| 230 | |
| 231 | |
| 232 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 233 | |
| 234 | **Example:** |
| 235 | |
| 236 | .. code-block:: javascript |
| 237 | |
| 238 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 239 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 240 | "status": 1 |
| 241 | } |
| 242 | |
| 243 | **502** |
| 244 | ^^^^^^^ |
| 245 | |
| 246 | Error reported to the dispatcher by a downstream system. See the message |
| 247 | in the response for more details. |
| 248 | |
| 249 | |
| 250 | |
| 251 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 252 | |
| 253 | **Example:** |
| 254 | |
| 255 | .. code-block:: javascript |
| 256 | |
| 257 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 258 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 259 | "status": 1 |
| 260 | } |
| 261 | |
| 262 | **504** |
| 263 | ^^^^^^^ |
| 264 | |
| 265 | Error communicating with a downstream system. See the message |
| 266 | in the response for more details. |
| 267 | |
| 268 | |
| 269 | |
| 270 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 271 | |
| 272 | **Example:** |
| 273 | |
| 274 | .. code-block:: javascript |
| 275 | |
| 276 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 277 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 278 | "status": 1 |
| 279 | } |
| 280 | |
| 281 | |
| 282 | |
| 283 | |
| 284 | |
| 285 | GET ``/dcae-deployments/{deploymentId}/operation/{operationId}`` |
| 286 | ---------------------------------------------------------------- |
| 287 | |
| 288 | |
| 289 | |
| 290 | Description |
| 291 | +++++++++++ |
| 292 | |
| 293 | .. raw:: html |
| 294 | |
| 295 | Get status of a deployment operation |
| 296 | |
| 297 | |
| 298 | Parameters |
| 299 | ++++++++++ |
| 300 | |
| 301 | .. csv-table:: |
| 302 | :delim: | |
| 303 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 304 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 305 | |
| 306 | deploymentId | path | Yes | string | | | |
| 307 | operationId | path | Yes | string | | | |
| 308 | |
| 309 | |
| 310 | Request |
| 311 | +++++++ |
| 312 | |
| 313 | |
| 314 | Responses |
| 315 | +++++++++ |
| 316 | |
| 317 | **200** |
| 318 | ^^^^^^^ |
| 319 | |
| 320 | Status information retrieved successfully |
| 321 | |
| 322 | |
| 323 | Type: :ref:`DCAEOperationStatusResponse <d_f0103f05736b04468a4f85fe90da2e16>` |
| 324 | |
| 325 | **Example:** |
| 326 | |
| 327 | .. code-block:: javascript |
| 328 | |
| 329 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 330 | "error": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 331 | "links": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 332 | "self": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 333 | "uninstall": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 334 | }, |
| 335 | "operationType": "somestring", |
| 336 | "requestId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 337 | "status": "somestring" |
| 338 | } |
| 339 | |
| 340 | **404** |
| 341 | ^^^^^^^ |
| 342 | |
| 343 | The operation information does not exist (possibly because the service has been uninstalled and deleted). |
| 344 | |
| 345 | |
| 346 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 347 | |
| 348 | **Example:** |
| 349 | |
| 350 | .. code-block:: javascript |
| 351 | |
| 352 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 353 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 354 | "status": 1 |
| 355 | } |
| 356 | |
| 357 | **500** |
| 358 | ^^^^^^^ |
| 359 | |
| 360 | Problem on the server side. See the message |
| 361 | in the response for more details. |
| 362 | |
| 363 | |
| 364 | |
| 365 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 366 | |
| 367 | **Example:** |
| 368 | |
| 369 | .. code-block:: javascript |
| 370 | |
| 371 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 372 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 373 | "status": 1 |
| 374 | } |
| 375 | |
| 376 | **502** |
| 377 | ^^^^^^^ |
| 378 | |
| 379 | Error reported to the dispatcher by a downstream system. See the message |
| 380 | in the response for more details. |
| 381 | |
| 382 | |
| 383 | |
| 384 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 385 | |
| 386 | **Example:** |
| 387 | |
| 388 | .. code-block:: javascript |
| 389 | |
| 390 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 391 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 392 | "status": 1 |
| 393 | } |
| 394 | |
| 395 | **504** |
| 396 | ^^^^^^^ |
| 397 | |
| 398 | Error communicating with a downstream system. See the message |
| 399 | in the response for more details. |
| 400 | |
| 401 | |
| 402 | |
| 403 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 404 | |
| 405 | **Example:** |
| 406 | |
| 407 | .. code-block:: javascript |
| 408 | |
| 409 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 410 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 411 | "status": 1 |
| 412 | } |
| 413 | |
| 414 | |
| 415 | |
| 416 | |
| 417 | |
| 418 | PUT ``/dcae-deployments/{deploymentId}`` |
| 419 | ---------------------------------------- |
| 420 | |
| 421 | |
| 422 | |
| 423 | Description |
| 424 | +++++++++++ |
| 425 | |
| 426 | .. raw:: html |
| 427 | |
| 428 | Request deployment of a DCAE service |
| 429 | |
| 430 | |
| 431 | Parameters |
| 432 | ++++++++++ |
| 433 | |
| 434 | .. csv-table:: |
| 435 | :delim: | |
| 436 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 437 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 438 | |
| 439 | deploymentId | path | Yes | string | | | Unique deployment identifier assigned by the API client. |
| 440 | |
| 441 | |
| 442 | Request |
| 443 | +++++++ |
| 444 | |
| 445 | |
| 446 | |
| 447 | .. _d_eea14e4929853a5aa415f44cd4868302: |
| 448 | |
| 449 | Body |
| 450 | ^^^^ |
| 451 | |
| 452 | Request for deploying a DCAE service. |
| 453 | |
| 454 | |
| 455 | .. csv-table:: |
| 456 | :delim: | |
| 457 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 458 | :widths: 20, 10, 15, 15, 30, 25 |
| 459 | |
Lusheng Ji | eaac78d | 2018-06-06 00:20:03 -0400 | [diff] [blame] | 460 | inputs | No | | | | Object containing inputs needed by the service blueprint to create an instance of the service. |
| 461 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 462 | Content of the object depends on the service being deployed. |
| 463 | |
| 464 | serviceTypeId | Yes | string | | | The service type identifier (a unique ID assigned by DCAE inventory) for the service to be deployed. |
| 465 | |
| 466 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 467 | .. _i_08ada55a389e24cd45beef83306fd08e: |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 468 | |
| 469 | **Inputs schema:** |
| 470 | |
| 471 | |
| 472 | Object containing inputs needed by the service blueprint to create an instance of the service. |
| 473 | Content of the object depends on the service being deployed. |
| 474 | |
| 475 | |
| 476 | |
| 477 | |
| 478 | .. code-block:: javascript |
| 479 | |
| 480 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 481 | "inputs": {}, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 482 | "serviceTypeId": "somestring" |
| 483 | } |
| 484 | |
| 485 | Responses |
| 486 | +++++++++ |
| 487 | |
| 488 | **202** |
| 489 | ^^^^^^^ |
| 490 | |
| 491 | Success: The content that was posted is valid, the dispatcher has |
| 492 | found the needed blueprint, created an instance of the topology in the orchestrator, |
| 493 | and started an installation workflow. |
| 494 | |
| 495 | |
| 496 | |
| 497 | Type: :ref:`DCAEDeploymentResponse <d_6157bd3de5c8c7de78f2ab86397667e0>` |
| 498 | |
| 499 | **Example:** |
| 500 | |
| 501 | .. code-block:: javascript |
| 502 | |
| 503 | { |
| 504 | "links": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 505 | "self": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 506 | "status": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 507 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 508 | "requestId": "somestring" |
| 509 | } |
| 510 | |
| 511 | **400** |
| 512 | ^^^^^^^ |
| 513 | |
| 514 | Bad request: See the message in the response for details. |
| 515 | |
| 516 | |
| 517 | |
| 518 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 519 | |
| 520 | **Example:** |
| 521 | |
| 522 | .. code-block:: javascript |
| 523 | |
| 524 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 525 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 526 | "status": 1 |
| 527 | } |
| 528 | |
| 529 | **409** |
| 530 | ^^^^^^^ |
| 531 | |
| 532 | A service with the specified deployment Id already exists. Using PUT to update the service is not a supported operation. |
| 533 | |
| 534 | |
| 535 | |
| 536 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 537 | |
| 538 | **Example:** |
| 539 | |
| 540 | .. code-block:: javascript |
| 541 | |
| 542 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 543 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 544 | "status": 1 |
| 545 | } |
| 546 | |
| 547 | **415** |
| 548 | ^^^^^^^ |
| 549 | |
| 550 | Bad request: The Content-Type header does not indicate that the content is |
| 551 | 'application/json' |
| 552 | |
| 553 | |
| 554 | |
| 555 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 556 | |
| 557 | **Example:** |
| 558 | |
| 559 | .. code-block:: javascript |
| 560 | |
| 561 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 562 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 563 | "status": 1 |
| 564 | } |
| 565 | |
| 566 | **500** |
| 567 | ^^^^^^^ |
| 568 | |
| 569 | Problem on the server side. See the message |
| 570 | in the response for more details. |
| 571 | |
| 572 | |
| 573 | |
| 574 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 575 | |
| 576 | **Example:** |
| 577 | |
| 578 | .. code-block:: javascript |
| 579 | |
| 580 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 581 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 582 | "status": 1 |
| 583 | } |
| 584 | |
| 585 | **502** |
| 586 | ^^^^^^^ |
| 587 | |
| 588 | Error reported to the dispatcher by a downstream system. See the message |
| 589 | in the response for more details. |
| 590 | |
| 591 | |
| 592 | |
| 593 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 594 | |
| 595 | **Example:** |
| 596 | |
| 597 | .. code-block:: javascript |
| 598 | |
| 599 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 600 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 601 | "status": 1 |
| 602 | } |
| 603 | |
| 604 | **504** |
| 605 | ^^^^^^^ |
| 606 | |
| 607 | Error communicating with a downstream system. See the message |
| 608 | in the response for more details. |
| 609 | |
| 610 | |
| 611 | |
| 612 | Type: :ref:`DCAEErrorResponse <d_74f3f4f847dfb6bd181fcae06ad880b4>` |
| 613 | |
| 614 | **Example:** |
| 615 | |
| 616 | .. code-block:: javascript |
| 617 | |
| 618 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 619 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 620 | "status": 1 |
| 621 | } |
| 622 | |
| 623 | |
| 624 | |
| 625 | |
| 626 | INFO |
| 627 | ~~~~ |
| 628 | |
| 629 | |
| 630 | version and links |
| 631 | |
| 632 | |
| 633 | |
| 634 | |
| 635 | |
| 636 | GET ``/`` |
| 637 | --------- |
| 638 | |
| 639 | |
| 640 | |
| 641 | Description |
| 642 | +++++++++++ |
| 643 | |
| 644 | .. raw:: html |
| 645 | |
| 646 | Returns version information and links to API operations |
| 647 | |
| 648 | |
| 649 | Request |
| 650 | +++++++ |
| 651 | |
| 652 | |
| 653 | Responses |
| 654 | +++++++++ |
| 655 | |
| 656 | **200** |
| 657 | ^^^^^^^ |
| 658 | |
| 659 | Success |
| 660 | |
| 661 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 662 | .. _i_2e7b26d45eaa7203222963d454a86a88: |
| 663 | |
| 664 | **Response Schema:** |
| 665 | |
| 666 | .. csv-table:: |
| 667 | :delim: | |
| 668 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 669 | :widths: 20, 10, 15, 15, 30, 25 |
| 670 | |
| 671 | apiVersion | No | string | | | version of API supported by this server |
| 672 | |
| 673 | links | No | :ref:`links <i_bcea41e897f5de95cd50fa873acb5f65>` | | | Links to API resources |
| 674 | |
| 675 | serverVersion | No | string | | | version of software running on this server |
| 676 | |
| 677 | |
| 678 | .. _i_bcea41e897f5de95cd50fa873acb5f65: |
| 679 | |
| 680 | **Links schema:** |
| 681 | |
| 682 | |
| 683 | Links to API resources |
| 684 | |
| 685 | |
| 686 | .. csv-table:: |
| 687 | :delim: | |
| 688 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 689 | :widths: 20, 10, 15, 15, 30, 25 |
| 690 | |
| 691 | events | No | string | | | path for the events endpoint |
| 692 | |
| 693 | info | No | string | | | path for the server information endpoint |
| 694 | |
| 695 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 696 | |
| 697 | **Example:** |
| 698 | |
| 699 | .. code-block:: javascript |
| 700 | |
| 701 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 702 | "apiVersion": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 703 | "links": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 704 | "events": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 705 | "info": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 706 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 707 | "serverVersion": "somestring" |
| 708 | } |
| 709 | |
| 710 | |
| 711 | |
| 712 | |
| 713 | POLICY |
| 714 | ~~~~~~ |
| 715 | |
| 716 | |
| 717 | policy update API consumed by policy-handler and debug API to find policies on components |
| 718 | |
| 719 | |
| 720 | |
| 721 | |
| 722 | |
| 723 | GET ``/policy/components`` |
| 724 | -------------------------- |
| 725 | |
| 726 | |
| 727 | |
| 728 | Description |
| 729 | +++++++++++ |
| 730 | |
| 731 | .. raw:: html |
| 732 | |
| 733 | debug API to find policies on components |
| 734 | |
| 735 | |
| 736 | Request |
| 737 | +++++++ |
| 738 | |
| 739 | |
| 740 | Responses |
| 741 | +++++++++ |
| 742 | |
| 743 | **200** |
| 744 | ^^^^^^^ |
| 745 | |
| 746 | deployment-handler found components with or without policies in cloudify |
| 747 | |
| 748 | |
| 749 | |
| 750 | |
| 751 | |
| 752 | |
| 753 | POST ``/policy`` |
| 754 | ---------------- |
| 755 | |
| 756 | |
| 757 | |
| 758 | Description |
| 759 | +++++++++++ |
| 760 | |
| 761 | .. raw:: html |
| 762 | |
| 763 | policy update API consumed by policy-handler |
| 764 | |
| 765 | |
| 766 | Request |
| 767 | +++++++ |
| 768 | |
| 769 | |
| 770 | |
| 771 | .. _d_6ea6e6f48a0302e963a67833bbd0ff4a: |
| 772 | |
| 773 | Body |
| 774 | ^^^^ |
| 775 | |
| 776 | request to update policies on DCAE components. |
| 777 | |
| 778 | .. csv-table:: |
| 779 | :delim: | |
| 780 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 781 | :widths: 20, 10, 15, 15, 30, 25 |
| 782 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 783 | catch_up | Yes | boolean | | | flag to indicate whether the request contains all the policies in PDP or not |
Lusheng Ji | eaac78d | 2018-06-06 00:20:03 -0400 | [diff] [blame] | 784 | errored_policies | No | | | | whether policy-engine returned an error on the policy. |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 785 | errored_scopes | No | array of string | | | on cartchup - list of policy scope_prefix values on wchich the policy-engine experienced an error other than not-found data. |
Lusheng Ji | eaac78d | 2018-06-06 00:20:03 -0400 | [diff] [blame] | 786 | latest_policies | Yes | | | | dictionary of (policy_id -> DCAEPolicy object). |
| 787 | removed_policies | Yes | | | | whether policy was removed from policy-engine. |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 788 | scope_prefixes | No | array of string | | | on catchup - list of all scope_prefixes used by the policy-handler to retrieve the policies from policy-engine. |
| 789 | |
| 790 | |
| 791 | .. _i_0e88fa72c5312eaae3990753181ce5fe: |
| 792 | |
| 793 | **Errored_policies schema:** |
| 794 | |
| 795 | |
| 796 | whether policy-engine returned an error on the policy. |
| 797 | dictionary of (policy_id -> true). |
| 798 | In example: replace additionalProp1,2,3 with policy_id1,2,3 values |
| 799 | |
| 800 | |
| 801 | Map of {"key":"boolean"} |
| 802 | |
| 803 | .. _i_cbc40bad95bddbd536eeab0a92f483af: |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 804 | |
| 805 | **Latest_policies schema:** |
| 806 | |
| 807 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 808 | dictionary of (policy_id -> DCAEPolicy object). |
| 809 | In example: replace additionalProp1,2,3 with policy_id1,2,3 values |
| 810 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 811 | |
| 812 | Map of {"key":":ref:`DCAEPolicy <d_1e3e880a733b457b648bd8c99e6c859c>`"} |
| 813 | |
| 814 | |
| 815 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 816 | .. _i_0ce52a29e44aa0cc7929fe7b555551bc: |
| 817 | |
| 818 | **Removed_policies schema:** |
| 819 | |
| 820 | |
| 821 | whether policy was removed from policy-engine. |
| 822 | dictionary of (policy_id -> true). |
| 823 | In example: replace additionalProp1,2,3 with policy_id1,2,3 values |
| 824 | |
| 825 | |
| 826 | Map of {"key":"boolean"} |
| 827 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 828 | .. code-block:: javascript |
| 829 | |
| 830 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 831 | "catch_up": true, |
| 832 | "errored_policies": {}, |
| 833 | "errored_scopes": [ |
| 834 | "somestring", |
| 835 | "somestring" |
| 836 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 837 | "latest_policies": { |
| 838 | "DCAEPolicy": { |
| 839 | "policy_body": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 840 | "config": {}, |
| 841 | "policyName": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 842 | "policyVersion": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 843 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 844 | "policy_id": "somestring" |
| 845 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 846 | }, |
| 847 | "removed_policies": {}, |
| 848 | "scope_prefixes": [ |
| 849 | "somestring", |
| 850 | "somestring" |
| 851 | ] |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 852 | } |
| 853 | |
| 854 | Responses |
| 855 | +++++++++ |
| 856 | |
| 857 | **200** |
| 858 | ^^^^^^^ |
| 859 | |
| 860 | deployment-handler always responds with ok to /policy before processing the request |
| 861 | |
| 862 | |
| 863 | |
| 864 | |
| 865 | |
| 866 | Data Structures |
| 867 | ~~~~~~~~~~~~~~~ |
| 868 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 869 | |
| 870 | DCAEDeploymentRequest Model Structure |
| 871 | ------------------------------------- |
| 872 | |
| 873 | Request for deploying a DCAE service. |
| 874 | |
| 875 | |
| 876 | .. csv-table:: |
| 877 | :delim: | |
| 878 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 879 | :widths: 20, 10, 15, 15, 30, 25 |
| 880 | |
Lusheng Ji | eaac78d | 2018-06-06 00:20:03 -0400 | [diff] [blame] | 881 | inputs | No | | | | Object containing inputs needed by the service blueprint to create an instance of the service. |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 882 | serviceTypeId | Yes | string | | | The service type identifier (a unique ID assigned by DCAE inventory) for the service to be deployed. |
| 883 | |
| 884 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 885 | |
| 886 | **Inputs schema:** |
| 887 | |
| 888 | |
| 889 | Object containing inputs needed by the service blueprint to create an instance of the service. |
| 890 | Content of the object depends on the service being deployed. |
| 891 | |
| 892 | |
| 893 | |
| 894 | |
| 895 | .. _d_6157bd3de5c8c7de78f2ab86397667e0: |
| 896 | |
| 897 | DCAEDeploymentResponse Model Structure |
| 898 | -------------------------------------- |
| 899 | |
| 900 | Response body for a PUT or DELETE to /dcae-deployments/{deploymentId} |
| 901 | |
| 902 | |
| 903 | .. csv-table:: |
| 904 | :delim: | |
| 905 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 906 | :widths: 20, 10, 15, 15, 30, 25 |
| 907 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 908 | links | Yes | :ref:`links <i_4a894329f99280d2268e250444b59376>` | | | Links that the API client can access. |
| 909 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 910 | requestId | Yes | string | | | Unique identifier for the request |
| 911 | |
| 912 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 913 | .. _i_4a894329f99280d2268e250444b59376: |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 914 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 915 | **Links schema:** |
| 916 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 917 | |
| 918 | Links that the API client can access. |
| 919 | |
| 920 | |
| 921 | .. csv-table:: |
| 922 | :delim: | |
| 923 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 924 | :widths: 20, 10, 15, 15, 30, 25 |
| 925 | |
| 926 | self | No | string | | | Link used to retrieve information about the service being deployed |
| 927 | |
| 928 | status | No | string | | | Link used to retrieve information about the status of the installation workflow |
| 929 | |
| 930 | .. _d_c51e57d9583f6119caf83dd017cf214c: |
| 931 | |
| 932 | DCAEDeploymentsListResponse Model Structure |
| 933 | ------------------------------------------- |
| 934 | |
| 935 | Object providing a list of deployments |
| 936 | |
| 937 | |
| 938 | .. csv-table:: |
| 939 | :delim: | |
| 940 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 941 | :widths: 20, 10, 15, 15, 30, 25 |
| 942 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 943 | deployments | Yes | array of :ref:`deployments <i_98a80d81e7d1973d54db7713913d37e8>` | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 944 | requestId | Yes | string | | | Unique identifier for the request |
| 945 | |
| 946 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 947 | .. _i_98a80d81e7d1973d54db7713913d37e8: |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 948 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 949 | **Deployments schema:** |
| 950 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 951 | |
| 952 | .. csv-table:: |
| 953 | :delim: | |
| 954 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 955 | :widths: 20, 10, 15, 15, 30, 25 |
| 956 | |
| 957 | href | No | string | | | URL for the service deployment |
| 958 | |
| 959 | |
| 960 | .. _d_74f3f4f847dfb6bd181fcae06ad880b4: |
| 961 | |
| 962 | DCAEErrorResponse Model Structure |
| 963 | --------------------------------- |
| 964 | |
| 965 | Object reporting an error. |
| 966 | |
| 967 | |
| 968 | .. csv-table:: |
| 969 | :delim: | |
| 970 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 971 | :widths: 20, 10, 15, 15, 30, 25 |
| 972 | |
| 973 | message | No | string | | | Human-readable description of the reason for the error |
| 974 | status | Yes | integer | | | HTTP status code for the response |
| 975 | |
| 976 | .. _d_f0103f05736b04468a4f85fe90da2e16: |
| 977 | |
| 978 | DCAEOperationStatusResponse Model Structure |
| 979 | ------------------------------------------- |
| 980 | |
| 981 | Response body for a request for status of an installation or uninstallation operation. |
| 982 | |
| 983 | |
| 984 | .. csv-table:: |
| 985 | :delim: | |
| 986 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 987 | :widths: 20, 10, 15, 15, 30, 25 |
| 988 | |
| 989 | error | No | string | | | If status is 'failed', this field will be present and contain additional information about the reason the operation failed. |
| 990 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 991 | links | No | :ref:`links <i_2feace8c1d3584ec637edc0eb1b92699>` | | | If the operation succeeded, links that the client can follow to take further action. Note that a successful 'uninstall' operation removes the DCAE service instance completely, so there are no possible further actions, and no links. |
| 992 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 993 | operationType | Yes | string | | | Type of operation being reported on. ('install' or 'uninstall') |
| 994 | |
| 995 | requestId | Yes | string | | | A unique identifier assigned to the request. Useful for tracing a request through logs. |
| 996 | |
| 997 | status | Yes | string | | | Status of the installation or uninstallation operation. Possible values are 'processing', |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 998 | |
| 999 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1000 | .. _i_2feace8c1d3584ec637edc0eb1b92699: |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1001 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1002 | **Links schema:** |
| 1003 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1004 | |
| 1005 | If the operation succeeded, links that the client can follow to take further action. Note that a successful 'uninstall' operation removes the DCAE service instance completely, so there are no possible further actions, and no links. |
| 1006 | |
| 1007 | |
| 1008 | .. csv-table:: |
| 1009 | :delim: | |
| 1010 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1011 | :widths: 20, 10, 15, 15, 30, 25 |
| 1012 | |
| 1013 | self | No | string | | | Link used to retrieve information about the service. |
| 1014 | |
| 1015 | uninstall | No | string | | | Link used to trigger an 'uninstall' operation for the service. (Use the DELETE method.) |
| 1016 | |
| 1017 | .. _d_1e3e880a733b457b648bd8c99e6c859c: |
| 1018 | |
| 1019 | DCAEPolicy Model Structure |
| 1020 | -------------------------- |
| 1021 | |
| 1022 | policy object |
| 1023 | |
| 1024 | .. csv-table:: |
| 1025 | :delim: | |
| 1026 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1027 | :widths: 20, 10, 15, 15, 30, 25 |
| 1028 | |
| 1029 | policy_body | Yes | :ref:`DCAEPolicyBody <d_7ffe00ee1aaae6811199d64ff3fea344>` | | | |
| 1030 | policy_id | Yes | string | | | unique identifier of policy regardless of its version |
| 1031 | |
| 1032 | .. _d_7ffe00ee1aaae6811199d64ff3fea344: |
| 1033 | |
| 1034 | DCAEPolicyBody Model Structure |
| 1035 | ------------------------------ |
| 1036 | |
| 1037 | policy_body - the whole object received from policy-engine |
| 1038 | |
| 1039 | .. csv-table:: |
| 1040 | :delim: | |
| 1041 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1042 | :widths: 20, 10, 15, 15, 30, 25 |
| 1043 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1044 | config | Yes | :ref:`config <i_ba9593ef6832fb8401f266e173acaa5c>` | | | the policy-config - the config data provided by policy owner |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1045 | policyName | Yes | string | | | unique policy name that contains the version and extension |
| 1046 | policyVersion | Yes | string | | | stringified int that is autoincremented by policy-engine |
| 1047 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1048 | .. _i_ba9593ef6832fb8401f266e173acaa5c: |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1049 | |
| 1050 | **Config schema:** |
| 1051 | |
| 1052 | |
| 1053 | the policy-config - the config data provided by policy owner |
| 1054 | |
| 1055 | |
| 1056 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1057 | DCAEPolicyRequest Model Structure |
| 1058 | --------------------------------- |
| 1059 | |
| 1060 | request to update policies on DCAE components. |
| 1061 | |
| 1062 | .. csv-table:: |
| 1063 | :delim: | |
| 1064 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1065 | :widths: 20, 10, 15, 15, 30, 25 |
| 1066 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1067 | catch_up | Yes | boolean | | | flag to indicate whether the request contains all the policies in PDP or not |
Lusheng Ji | eaac78d | 2018-06-06 00:20:03 -0400 | [diff] [blame] | 1068 | errored_policies | No | | | | whether policy-engine returned an error on the policy. |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1069 | errored_scopes | No | array of string | | | on cartchup - list of policy scope_prefix values on wchich the policy-engine experienced an error other than not-found data. |
Lusheng Ji | eaac78d | 2018-06-06 00:20:03 -0400 | [diff] [blame] | 1070 | latest_policies | Yes | | | | dictionary of (policy_id -> DCAEPolicy object). |
| 1071 | removed_policies | Yes | | | | whether policy was removed from policy-engine. |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1072 | scope_prefixes | No | array of string | | | on catchup - list of all scope_prefixes used by the policy-handler to retrieve the policies from policy-engine. |
| 1073 | |
| 1074 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1075 | **Errored_policies schema:** |
| 1076 | |
| 1077 | |
| 1078 | whether policy-engine returned an error on the policy. |
| 1079 | dictionary of (policy_id -> true). |
| 1080 | In example: replace additionalProp1,2,3 with policy_id1,2,3 values |
| 1081 | |
| 1082 | |
| 1083 | Map of {"key":"boolean"} |
| 1084 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1085 | **Latest_policies schema:** |
| 1086 | |
| 1087 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1088 | dictionary of (policy_id -> DCAEPolicy object). |
| 1089 | In example: replace additionalProp1,2,3 with policy_id1,2,3 values |
| 1090 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1091 | |
| 1092 | Map of {"key":":ref:`DCAEPolicy <d_1e3e880a733b457b648bd8c99e6c859c>`"} |
| 1093 | |
| 1094 | |
| 1095 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1096 | **Removed_policies schema:** |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1097 | |
| 1098 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1099 | whether policy was removed from policy-engine. |
| 1100 | dictionary of (policy_id -> true). |
| 1101 | In example: replace additionalProp1,2,3 with policy_id1,2,3 values |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1102 | |
| 1103 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1104 | Map of {"key":"boolean"} |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1105 | |