Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1 | .. This work is licensed under a |
| 2 | Creative Commons Attribution 4.0 International License. |
| 3 | |
Vijay VK | 86cd893 | 2018-10-23 16:35:29 +0100 | [diff] [blame] | 4 | DCAE Inventory API 3.0.4 |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 5 | ======================== |
| 6 | |
| 7 | .. toctree:: |
| 8 | :maxdepth: 3 |
| 9 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 10 | Description |
| 11 | ~~~~~~~~~~~ |
| 12 | |
| 13 | DCAE Inventory is a web service that provides the following: |
| 14 | |
| 15 | 1. Real-time data on all DCAE services and their components |
| 16 | 2. Comprehensive details on available DCAE service types |
| 17 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 18 | .. csv-table:: |
| 19 | :header: "API name", "Swagger YAML" |
| 20 | :widths: 10,5 |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 21 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 22 | "Inventory", ":download:`link <swagger_inventory.yaml>`" |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 23 | |
| 24 | Contact Information |
| 25 | ~~~~~~~~~~~~~~~~~~~ |
| 26 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 27 | dcae@lists.openecomp.org |
| 28 | |
| 29 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 30 | DEFAULT |
| 31 | ~~~~~~~ |
| 32 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 33 | GET ``/dcae-service-types`` |
| 34 | --------------------------- |
| 35 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 36 | Description |
| 37 | +++++++++++ |
| 38 | |
| 39 | .. raw:: html |
| 40 | |
| 41 | Get a list of `DCAEServiceType` objects. |
| 42 | |
| 43 | Parameters |
| 44 | ++++++++++ |
| 45 | |
| 46 | .. csv-table:: |
| 47 | :delim: | |
| 48 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 49 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 50 | |
| 51 | typeName | query | No | string | | | Filter by service type name |
| 52 | onlyLatest | query | No | boolean | | {"default": true} | If set to true, query returns just the latest versions of DCAE service types. If set to false, then all versions are returned. Default is true |
| 53 | onlyActive | query | No | boolean | | {"default": true} | If set to true, query returns only *active* DCAE service types. If set to false, then all DCAE service types are returned. Default is true |
| 54 | vnfType | query | No | string | | | Filter by associated vnf type. No wildcards, matches are explicit. This field is treated case insensitive. |
| 55 | serviceId | query | No | string | | | Filter by assocaited service id. Instances with service id null or empty is always returned. |
| 56 | serviceLocation | query | No | string | | | Filter by associated service location. Instances with service location null or empty is always returned. |
| 57 | asdcServiceId | query | No | string | | | Filter by associated asdc design service id. Setting this to `NONE` will return instances that have asdc service id set to null |
| 58 | asdcResourceId | query | No | string | | | Filter by associated asdc design resource id. Setting this to `NONE` will return instances that have asdc resource id set to null |
| 59 | offset | query | No | integer | int32 | | Query resultset offset used for pagination (zero-based) |
| 60 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 61 | Request |
| 62 | +++++++ |
| 63 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 64 | Responses |
| 65 | +++++++++ |
| 66 | |
| 67 | **200** |
| 68 | ^^^^^^^ |
| 69 | |
| 70 | List of `DCAEServiceType` objects |
| 71 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 72 | Type: :ref:`InlineResponse200 <d_b1ccd4187d31690b8e704c0aa01b2c59>` |
| 73 | |
| 74 | **Example:** |
| 75 | |
| 76 | .. code-block:: javascript |
| 77 | |
| 78 | { |
| 79 | "items": [ |
| 80 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 81 | "asdcResourceId": "somestring", |
| 82 | "asdcServiceId": "somestring", |
| 83 | "asdcServiceURL": "somestring", |
| 84 | "blueprintTemplate": "somestring", |
| 85 | "created": "2015-01-01T15:00:00.000Z", |
| 86 | "deactivated": "2015-01-01T15:00:00.000Z", |
| 87 | "owner": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 88 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 89 | "params": {}, |
| 90 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 91 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 92 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 93 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 94 | ], |
| 95 | "title": "somestring", |
| 96 | "type": "somestring", |
| 97 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 98 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 99 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 100 | "serviceIds": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 101 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 102 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 103 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 104 | "serviceLocations": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 105 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 106 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 107 | ], |
| 108 | "typeId": "somestring", |
| 109 | "typeName": "somestring", |
| 110 | "typeVersion": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 111 | "vnfTypes": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 112 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 113 | "somestring" |
| 114 | ] |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 115 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 116 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 117 | "asdcResourceId": "somestring", |
| 118 | "asdcServiceId": "somestring", |
| 119 | "asdcServiceURL": "somestring", |
| 120 | "blueprintTemplate": "somestring", |
| 121 | "created": "2015-01-01T15:00:00.000Z", |
| 122 | "deactivated": "2015-01-01T15:00:00.000Z", |
| 123 | "owner": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 124 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 125 | "params": {}, |
| 126 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 127 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 128 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 129 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 130 | ], |
| 131 | "title": "somestring", |
| 132 | "type": "somestring", |
| 133 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 134 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 135 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 136 | "serviceIds": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 137 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 138 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 139 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 140 | "serviceLocations": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 141 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 142 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 143 | ], |
| 144 | "typeId": "somestring", |
| 145 | "typeName": "somestring", |
| 146 | "typeVersion": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 147 | "vnfTypes": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 148 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 149 | "somestring" |
| 150 | ] |
| 151 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 152 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 153 | "links": { |
| 154 | "nextLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 155 | "params": {}, |
| 156 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 157 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 158 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 159 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 160 | ], |
| 161 | "title": "somestring", |
| 162 | "type": "somestring", |
| 163 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 164 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 165 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 166 | "previousLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 167 | "params": {}, |
| 168 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 169 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 170 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 171 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 172 | ], |
| 173 | "title": "somestring", |
| 174 | "type": "somestring", |
| 175 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 176 | "uriBuilder": {} |
| 177 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 178 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 179 | "totalCount": 1 |
| 180 | } |
| 181 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 182 | DELETE ``/dcae-service-types/{typeId}`` |
| 183 | --------------------------------------- |
| 184 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 185 | Description |
| 186 | +++++++++++ |
| 187 | |
| 188 | .. raw:: html |
| 189 | |
| 190 | Deactivates existing `DCAEServiceType` instances |
| 191 | |
| 192 | Parameters |
| 193 | ++++++++++ |
| 194 | |
| 195 | .. csv-table:: |
| 196 | :delim: | |
| 197 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 198 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 199 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 200 | typeId | path | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 201 | |
| 202 | Request |
| 203 | +++++++ |
| 204 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 205 | Responses |
| 206 | +++++++++ |
| 207 | |
| 208 | **200** |
| 209 | ^^^^^^^ |
| 210 | |
| 211 | `DCAEServiceType` has been deactivated |
| 212 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 213 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 214 | |
| 215 | **Example:** |
| 216 | |
| 217 | .. code-block:: javascript |
| 218 | |
| 219 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 220 | "code": 1, |
| 221 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 222 | "type": "somestring" |
| 223 | } |
| 224 | |
| 225 | **404** |
| 226 | ^^^^^^^ |
| 227 | |
| 228 | `DCAEServiceType` not found |
| 229 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 230 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 231 | |
| 232 | **Example:** |
| 233 | |
| 234 | .. code-block:: javascript |
| 235 | |
| 236 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 237 | "code": 1, |
| 238 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 239 | "type": "somestring" |
| 240 | } |
| 241 | |
| 242 | **410** |
| 243 | ^^^^^^^ |
| 244 | |
| 245 | `DCAEServiceType` already gone |
| 246 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 247 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 248 | |
| 249 | **Example:** |
| 250 | |
| 251 | .. code-block:: javascript |
| 252 | |
| 253 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 254 | "code": 1, |
| 255 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 256 | "type": "somestring" |
| 257 | } |
| 258 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 259 | GET ``/dcae-service-types/{typeId}`` |
| 260 | ------------------------------------ |
| 261 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 262 | Description |
| 263 | +++++++++++ |
| 264 | |
| 265 | .. raw:: html |
| 266 | |
| 267 | Get a `DCAEServiceType` object. |
| 268 | |
| 269 | Parameters |
| 270 | ++++++++++ |
| 271 | |
| 272 | .. csv-table:: |
| 273 | :delim: | |
| 274 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 275 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 276 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 277 | typeId | path | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 278 | |
| 279 | Request |
| 280 | +++++++ |
| 281 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 282 | Responses |
| 283 | +++++++++ |
| 284 | |
| 285 | **200** |
| 286 | ^^^^^^^ |
| 287 | |
| 288 | Single `DCAEServiceType` object |
| 289 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 290 | Type: :ref:`DCAEServiceType <d_b0cb5f12dbde8c0c42487c089983687e>` |
| 291 | |
| 292 | **Example:** |
| 293 | |
| 294 | .. code-block:: javascript |
| 295 | |
| 296 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 297 | "asdcResourceId": "somestring", |
| 298 | "asdcServiceId": "somestring", |
| 299 | "asdcServiceURL": "somestring", |
| 300 | "blueprintTemplate": "somestring", |
| 301 | "created": "2015-01-01T15:00:00.000Z", |
| 302 | "deactivated": "2015-01-01T15:00:00.000Z", |
| 303 | "owner": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 304 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 305 | "params": {}, |
| 306 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 307 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 308 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 309 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 310 | ], |
| 311 | "title": "somestring", |
| 312 | "type": "somestring", |
| 313 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 314 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 315 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 316 | "serviceIds": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 317 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 318 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 319 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 320 | "serviceLocations": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 321 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 322 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 323 | ], |
| 324 | "typeId": "somestring", |
| 325 | "typeName": "somestring", |
| 326 | "typeVersion": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 327 | "vnfTypes": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 328 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 329 | "somestring" |
| 330 | ] |
| 331 | } |
| 332 | |
| 333 | **404** |
| 334 | ^^^^^^^ |
| 335 | |
| 336 | Resource not found |
| 337 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 338 | Type: :ref:`DCAEServiceType <d_b0cb5f12dbde8c0c42487c089983687e>` |
| 339 | |
| 340 | **Example:** |
| 341 | |
| 342 | .. code-block:: javascript |
| 343 | |
| 344 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 345 | "asdcResourceId": "somestring", |
| 346 | "asdcServiceId": "somestring", |
| 347 | "asdcServiceURL": "somestring", |
| 348 | "blueprintTemplate": "somestring", |
| 349 | "created": "2015-01-01T15:00:00.000Z", |
| 350 | "deactivated": "2015-01-01T15:00:00.000Z", |
| 351 | "owner": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 352 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 353 | "params": {}, |
| 354 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 355 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 356 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 357 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 358 | ], |
| 359 | "title": "somestring", |
| 360 | "type": "somestring", |
| 361 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 362 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 363 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 364 | "serviceIds": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 365 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 366 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 367 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 368 | "serviceLocations": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 369 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 370 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 371 | ], |
| 372 | "typeId": "somestring", |
| 373 | "typeName": "somestring", |
| 374 | "typeVersion": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 375 | "vnfTypes": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 376 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 377 | "somestring" |
| 378 | ] |
| 379 | } |
| 380 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 381 | POST ``/dcae-service-types`` |
| 382 | ---------------------------- |
| 383 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 384 | Description |
| 385 | +++++++++++ |
| 386 | |
| 387 | .. raw:: html |
| 388 | |
| 389 | Inserts a new `DCAEServiceType` or updates an existing instance. Updates are only allowed iff there are no running DCAE services of the requested type, |
| 390 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 391 | Request |
| 392 | +++++++ |
| 393 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 394 | .. _d_57dc24aa38507ded2f27eec90206336e: |
| 395 | |
| 396 | Body |
| 397 | ^^^^ |
| 398 | |
| 399 | .. csv-table:: |
| 400 | :delim: | |
| 401 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 402 | :widths: 20, 10, 15, 15, 30, 25 |
| 403 | |
| 404 | asdcResourceId | No | string | | | Id of vf/vnf instance this DCAE service type is associated with. Value source is from ASDC's notification event's field `resourceInvariantUUID`. |
| 405 | asdcServiceId | No | string | | | Id of service this DCAE service type is associated with. Value source is from ASDC's notification event's field `serviceInvariantUUID`. |
| 406 | asdcServiceURL | No | string | | | URL to the ASDC service model |
| 407 | blueprintTemplate | Yes | string | | | String representation of a Cloudify blueprint with unbound variables |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 408 | owner | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 409 | serviceIds | No | array of string | | | List of service ids that are used to associate with DCAE service type. DCAE service types with this propery as null or empty means them apply for every service id. |
| 410 | serviceLocations | No | array of string | | | List of service locations that are used to associate with DCAE service type. DCAE service types with this propery as null or empty means them apply for every service location. |
| 411 | typeName | Yes | string | | | Descriptive name for this DCAE service type |
| 412 | typeVersion | Yes | integer | int32 | | Version number for this DCAE service type |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 413 | vnfTypes | No | array of string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 414 | |
| 415 | .. code-block:: javascript |
| 416 | |
| 417 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 418 | "asdcResourceId": "somestring", |
| 419 | "asdcServiceId": "somestring", |
| 420 | "asdcServiceURL": "somestring", |
| 421 | "blueprintTemplate": "somestring", |
| 422 | "owner": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 423 | "serviceIds": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 424 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 425 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 426 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 427 | "serviceLocations": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 428 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 429 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 430 | ], |
| 431 | "typeName": "somestring", |
| 432 | "typeVersion": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 433 | "vnfTypes": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 434 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 435 | "somestring" |
| 436 | ] |
| 437 | } |
| 438 | |
| 439 | Responses |
| 440 | +++++++++ |
| 441 | |
| 442 | **200** |
| 443 | ^^^^^^^ |
| 444 | |
| 445 | Single `DCAEServiceType` object. |
| 446 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 447 | Type: :ref:`DCAEServiceType <d_b0cb5f12dbde8c0c42487c089983687e>` |
| 448 | |
| 449 | **Example:** |
| 450 | |
| 451 | .. code-block:: javascript |
| 452 | |
| 453 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 454 | "asdcResourceId": "somestring", |
| 455 | "asdcServiceId": "somestring", |
| 456 | "asdcServiceURL": "somestring", |
| 457 | "blueprintTemplate": "somestring", |
| 458 | "created": "2015-01-01T15:00:00.000Z", |
| 459 | "deactivated": "2015-01-01T15:00:00.000Z", |
| 460 | "owner": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 461 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 462 | "params": {}, |
| 463 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 464 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 465 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 466 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 467 | ], |
| 468 | "title": "somestring", |
| 469 | "type": "somestring", |
| 470 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 471 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 472 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 473 | "serviceIds": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 474 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 475 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 476 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 477 | "serviceLocations": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 478 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 479 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 480 | ], |
| 481 | "typeId": "somestring", |
| 482 | "typeName": "somestring", |
| 483 | "typeVersion": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 484 | "vnfTypes": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 485 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 486 | "somestring" |
| 487 | ] |
| 488 | } |
| 489 | |
| 490 | **400** |
| 491 | ^^^^^^^ |
| 492 | |
| 493 | Bad request provided. |
| 494 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 495 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 496 | |
| 497 | **Example:** |
| 498 | |
| 499 | .. code-block:: javascript |
| 500 | |
| 501 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 502 | "code": 1, |
| 503 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 504 | "type": "somestring" |
| 505 | } |
| 506 | |
| 507 | **409** |
| 508 | ^^^^^^^ |
| 509 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 510 | Failed to update because there are still DCAE services of the requested type |
| 511 | running. |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 512 | |
| 513 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 514 | |
| 515 | **Example:** |
| 516 | |
| 517 | .. code-block:: javascript |
| 518 | |
| 519 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 520 | "code": 1, |
| 521 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 522 | "type": "somestring" |
| 523 | } |
| 524 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 525 | GET ``/dcae-services`` |
| 526 | ---------------------- |
| 527 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 528 | Description |
| 529 | +++++++++++ |
| 530 | |
| 531 | .. raw:: html |
| 532 | |
| 533 | Get a list of `DCAEService` objects. |
| 534 | |
| 535 | Parameters |
| 536 | ++++++++++ |
| 537 | |
| 538 | .. csv-table:: |
| 539 | :delim: | |
| 540 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 541 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 542 | |
| 543 | typeId | query | No | string | | | DCAE service type name |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 544 | vnfId | query | No | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 545 | vnfType | query | No | string | | | Filter by associated vnf type. This field is treated case insensitive. |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 546 | vnfLocation | query | No | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 547 | componentType | query | No | string | | | Use to filter by a specific DCAE service component type |
| 548 | shareable | query | No | boolean | | | Use to filter by DCAE services that have shareable components or not |
| 549 | created | query | No | string | | | Use to filter by created time |
| 550 | offset | query | No | integer | int32 | | Query resultset offset used for pagination (zero-based) |
| 551 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 552 | Request |
| 553 | +++++++ |
| 554 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 555 | Responses |
| 556 | +++++++++ |
| 557 | |
| 558 | **200** |
| 559 | ^^^^^^^ |
| 560 | |
| 561 | List of `DCAEService` objects |
| 562 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 563 | Type: :ref:`InlineResponse2001 <d_31bb361a8900a0bed20df49b94f1e33b>` |
| 564 | |
| 565 | **Example:** |
| 566 | |
| 567 | .. code-block:: javascript |
| 568 | |
| 569 | { |
| 570 | "items": [ |
| 571 | { |
| 572 | "components": [ |
| 573 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 574 | "componentId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 575 | "componentLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 576 | "params": {}, |
| 577 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 578 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 579 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 580 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 581 | ], |
| 582 | "title": "somestring", |
| 583 | "type": "somestring", |
| 584 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 585 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 586 | }, |
| 587 | "componentSource": "DCAEController", |
| 588 | "componentType": "somestring", |
| 589 | "created": "2015-01-01T15:00:00.000Z", |
| 590 | "location": "somestring", |
| 591 | "modified": "2015-01-01T15:00:00.000Z", |
| 592 | "shareable": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 593 | "status": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 594 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 595 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 596 | "componentId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 597 | "componentLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 598 | "params": {}, |
| 599 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 600 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 601 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 602 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 603 | ], |
| 604 | "title": "somestring", |
| 605 | "type": "somestring", |
| 606 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 607 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 608 | }, |
| 609 | "componentSource": "DCAEController", |
| 610 | "componentType": "somestring", |
| 611 | "created": "2015-01-01T15:00:00.000Z", |
| 612 | "location": "somestring", |
| 613 | "modified": "2015-01-01T15:00:00.000Z", |
| 614 | "shareable": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 615 | "status": "somestring" |
| 616 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 617 | ], |
| 618 | "created": "2015-01-01T15:00:00.000Z", |
| 619 | "deploymentRef": "somestring", |
| 620 | "modified": "2015-01-01T15:00:00.000Z", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 621 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 622 | "params": {}, |
| 623 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 624 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 625 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 626 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 627 | ], |
| 628 | "title": "somestring", |
| 629 | "type": "somestring", |
| 630 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 631 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 632 | }, |
| 633 | "serviceId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 634 | "typeLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 635 | "params": {}, |
| 636 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 637 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 638 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 639 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 640 | ], |
| 641 | "title": "somestring", |
| 642 | "type": "somestring", |
| 643 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 644 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 645 | }, |
| 646 | "vnfId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 647 | "vnfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 648 | "params": {}, |
| 649 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 650 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 651 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 652 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 653 | ], |
| 654 | "title": "somestring", |
| 655 | "type": "somestring", |
| 656 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 657 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 658 | }, |
| 659 | "vnfLocation": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 660 | "vnfType": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 661 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 662 | { |
| 663 | "components": [ |
| 664 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 665 | "componentId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 666 | "componentLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 667 | "params": {}, |
| 668 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 669 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 670 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 671 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 672 | ], |
| 673 | "title": "somestring", |
| 674 | "type": "somestring", |
| 675 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 676 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 677 | }, |
| 678 | "componentSource": "DCAEController", |
| 679 | "componentType": "somestring", |
| 680 | "created": "2015-01-01T15:00:00.000Z", |
| 681 | "location": "somestring", |
| 682 | "modified": "2015-01-01T15:00:00.000Z", |
| 683 | "shareable": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 684 | "status": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 685 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 686 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 687 | "componentId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 688 | "componentLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 689 | "params": {}, |
| 690 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 691 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 692 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 693 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 694 | ], |
| 695 | "title": "somestring", |
| 696 | "type": "somestring", |
| 697 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 698 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 699 | }, |
| 700 | "componentSource": "DCAEController", |
| 701 | "componentType": "somestring", |
| 702 | "created": "2015-01-01T15:00:00.000Z", |
| 703 | "location": "somestring", |
| 704 | "modified": "2015-01-01T15:00:00.000Z", |
| 705 | "shareable": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 706 | "status": "somestring" |
| 707 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 708 | ], |
| 709 | "created": "2015-01-01T15:00:00.000Z", |
| 710 | "deploymentRef": "somestring", |
| 711 | "modified": "2015-01-01T15:00:00.000Z", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 712 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 713 | "params": {}, |
| 714 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 715 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 716 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 717 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 718 | ], |
| 719 | "title": "somestring", |
| 720 | "type": "somestring", |
| 721 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 722 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 723 | }, |
| 724 | "serviceId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 725 | "typeLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 726 | "params": {}, |
| 727 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 728 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 729 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 730 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 731 | ], |
| 732 | "title": "somestring", |
| 733 | "type": "somestring", |
| 734 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 735 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 736 | }, |
| 737 | "vnfId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 738 | "vnfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 739 | "params": {}, |
| 740 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 741 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 742 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 743 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 744 | ], |
| 745 | "title": "somestring", |
| 746 | "type": "somestring", |
| 747 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 748 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 749 | }, |
| 750 | "vnfLocation": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 751 | "vnfType": "somestring" |
| 752 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 753 | ], |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 754 | "links": { |
| 755 | "nextLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 756 | "params": {}, |
| 757 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 758 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 759 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 760 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 761 | ], |
| 762 | "title": "somestring", |
| 763 | "type": "somestring", |
| 764 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 765 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 766 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 767 | "previousLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 768 | "params": {}, |
| 769 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 770 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 771 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 772 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 773 | ], |
| 774 | "title": "somestring", |
| 775 | "type": "somestring", |
| 776 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 777 | "uriBuilder": {} |
| 778 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 779 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 780 | "totalCount": 1 |
| 781 | } |
| 782 | |
| 783 | **502** |
| 784 | ^^^^^^^ |
| 785 | |
| 786 | Bad response from DCAE controller |
| 787 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 788 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 789 | |
| 790 | **Example:** |
| 791 | |
| 792 | .. code-block:: javascript |
| 793 | |
| 794 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 795 | "code": 1, |
| 796 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 797 | "type": "somestring" |
| 798 | } |
| 799 | |
| 800 | **504** |
| 801 | ^^^^^^^ |
| 802 | |
| 803 | Failed to connect with DCAE controller |
| 804 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 805 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 806 | |
| 807 | **Example:** |
| 808 | |
| 809 | .. code-block:: javascript |
| 810 | |
| 811 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 812 | "code": 1, |
| 813 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 814 | "type": "somestring" |
| 815 | } |
| 816 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 817 | GET ``/dcae-services-groupby/{propertyName}`` |
| 818 | --------------------------------------------- |
| 819 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 820 | Description |
| 821 | +++++++++++ |
| 822 | |
| 823 | .. raw:: html |
| 824 | |
| 825 | Get a list of unique values for the given `propertyName` |
| 826 | |
| 827 | Parameters |
| 828 | ++++++++++ |
| 829 | |
| 830 | .. csv-table:: |
| 831 | :delim: | |
| 832 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 833 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 834 | |
| 835 | propertyName | path | Yes | string | | | Property to find unique values. Restricted to `type`, `vnfType`, `vnfLocation` |
| 836 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 837 | Request |
| 838 | +++++++ |
| 839 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 840 | Responses |
| 841 | +++++++++ |
| 842 | |
| 843 | **200** |
| 844 | ^^^^^^^ |
| 845 | |
| 846 | List of unique property values |
| 847 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 848 | Type: :ref:`DCAEServiceGroupByResults <d_a6dc4f986873bc126fc916189ffa5e91>` |
| 849 | |
| 850 | **Example:** |
| 851 | |
| 852 | .. code-block:: javascript |
| 853 | |
| 854 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 855 | "propertyName": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 856 | "propertyValues": [ |
| 857 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 858 | "count": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 859 | "dcaeServiceQueryLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 860 | "params": {}, |
| 861 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 862 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 863 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 864 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 865 | ], |
| 866 | "title": "somestring", |
| 867 | "type": "somestring", |
| 868 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 869 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 870 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 871 | "propertyValue": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 872 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 873 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 874 | "count": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 875 | "dcaeServiceQueryLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 876 | "params": {}, |
| 877 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 878 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 879 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 880 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 881 | ], |
| 882 | "title": "somestring", |
| 883 | "type": "somestring", |
| 884 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 885 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 886 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 887 | "propertyValue": "somestring" |
| 888 | } |
| 889 | ] |
| 890 | } |
| 891 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 892 | DELETE ``/dcae-services/{serviceId}`` |
| 893 | ------------------------------------- |
| 894 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 895 | Description |
| 896 | +++++++++++ |
| 897 | |
| 898 | .. raw:: html |
| 899 | |
| 900 | Remove an existing `DCAEService` object. |
| 901 | |
| 902 | Parameters |
| 903 | ++++++++++ |
| 904 | |
| 905 | .. csv-table:: |
| 906 | :delim: | |
| 907 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 908 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 909 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 910 | serviceId | path | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 911 | |
| 912 | Request |
| 913 | +++++++ |
| 914 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 915 | Responses |
| 916 | +++++++++ |
| 917 | |
| 918 | **200** |
| 919 | ^^^^^^^ |
| 920 | |
| 921 | DCAE service has been removed |
| 922 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 923 | **404** |
| 924 | ^^^^^^^ |
| 925 | |
| 926 | Unknown DCAE service |
| 927 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 928 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 929 | |
| 930 | **Example:** |
| 931 | |
| 932 | .. code-block:: javascript |
| 933 | |
| 934 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 935 | "code": 1, |
| 936 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 937 | "type": "somestring" |
| 938 | } |
| 939 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 940 | GET ``/dcae-services/{serviceId}`` |
| 941 | ---------------------------------- |
| 942 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 943 | Description |
| 944 | +++++++++++ |
| 945 | |
| 946 | .. raw:: html |
| 947 | |
| 948 | Get a `DCAEService` object. |
| 949 | |
| 950 | Parameters |
| 951 | ++++++++++ |
| 952 | |
| 953 | .. csv-table:: |
| 954 | :delim: | |
| 955 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 956 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 957 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 958 | serviceId | path | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 959 | |
| 960 | Request |
| 961 | +++++++ |
| 962 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 963 | Responses |
| 964 | +++++++++ |
| 965 | |
| 966 | **200** |
| 967 | ^^^^^^^ |
| 968 | |
| 969 | Single `DCAEService` object |
| 970 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 971 | Type: :ref:`DCAEService <d_ae85cd292c2b4046e1ea1bbb02c7ea63>` |
| 972 | |
| 973 | **Example:** |
| 974 | |
| 975 | .. code-block:: javascript |
| 976 | |
| 977 | { |
| 978 | "components": [ |
| 979 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 980 | "componentId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 981 | "componentLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 982 | "params": {}, |
| 983 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 984 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 985 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 986 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 987 | ], |
| 988 | "title": "somestring", |
| 989 | "type": "somestring", |
| 990 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 991 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 992 | }, |
| 993 | "componentSource": "DCAEController", |
| 994 | "componentType": "somestring", |
| 995 | "created": "2015-01-01T15:00:00.000Z", |
| 996 | "location": "somestring", |
| 997 | "modified": "2015-01-01T15:00:00.000Z", |
| 998 | "shareable": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 999 | "status": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1000 | }, |
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 | "componentId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1003 | "componentLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1004 | "params": {}, |
| 1005 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1006 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1007 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1008 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1009 | ], |
| 1010 | "title": "somestring", |
| 1011 | "type": "somestring", |
| 1012 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1013 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1014 | }, |
| 1015 | "componentSource": "DCAEController", |
| 1016 | "componentType": "somestring", |
| 1017 | "created": "2015-01-01T15:00:00.000Z", |
| 1018 | "location": "somestring", |
| 1019 | "modified": "2015-01-01T15:00:00.000Z", |
| 1020 | "shareable": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1021 | "status": "somestring" |
| 1022 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1023 | ], |
| 1024 | "created": "2015-01-01T15:00:00.000Z", |
| 1025 | "deploymentRef": "somestring", |
| 1026 | "modified": "2015-01-01T15:00:00.000Z", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1027 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1028 | "params": {}, |
| 1029 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1030 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1031 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1032 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1033 | ], |
| 1034 | "title": "somestring", |
| 1035 | "type": "somestring", |
| 1036 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1037 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1038 | }, |
| 1039 | "serviceId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1040 | "typeLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1041 | "params": {}, |
| 1042 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1043 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1044 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1045 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1046 | ], |
| 1047 | "title": "somestring", |
| 1048 | "type": "somestring", |
| 1049 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1050 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1051 | }, |
| 1052 | "vnfId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1053 | "vnfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1054 | "params": {}, |
| 1055 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1056 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1057 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1058 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1059 | ], |
| 1060 | "title": "somestring", |
| 1061 | "type": "somestring", |
| 1062 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1063 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1064 | }, |
| 1065 | "vnfLocation": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1066 | "vnfType": "somestring" |
| 1067 | } |
| 1068 | |
| 1069 | **404** |
| 1070 | ^^^^^^^ |
| 1071 | |
| 1072 | DCAE service not found |
| 1073 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1074 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 1075 | |
| 1076 | **Example:** |
| 1077 | |
| 1078 | .. code-block:: javascript |
| 1079 | |
| 1080 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1081 | "code": 1, |
| 1082 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1083 | "type": "somestring" |
| 1084 | } |
| 1085 | |
| 1086 | **502** |
| 1087 | ^^^^^^^ |
| 1088 | |
| 1089 | Bad response from DCAE controller |
| 1090 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1091 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 1092 | |
| 1093 | **Example:** |
| 1094 | |
| 1095 | .. code-block:: javascript |
| 1096 | |
| 1097 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1098 | "code": 1, |
| 1099 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1100 | "type": "somestring" |
| 1101 | } |
| 1102 | |
| 1103 | **504** |
| 1104 | ^^^^^^^ |
| 1105 | |
| 1106 | Failed to connect with DCAE controller |
| 1107 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1108 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 1109 | |
| 1110 | **Example:** |
| 1111 | |
| 1112 | .. code-block:: javascript |
| 1113 | |
| 1114 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1115 | "code": 1, |
| 1116 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1117 | "type": "somestring" |
| 1118 | } |
| 1119 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1120 | PUT ``/dcae-services/{serviceId}`` |
| 1121 | ---------------------------------- |
| 1122 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1123 | Description |
| 1124 | +++++++++++ |
| 1125 | |
| 1126 | .. raw:: html |
| 1127 | |
| 1128 | Put a new or update an existing `DCAEService` object. |
| 1129 | |
| 1130 | Parameters |
| 1131 | ++++++++++ |
| 1132 | |
| 1133 | .. csv-table:: |
| 1134 | :delim: | |
| 1135 | :header: "Name", "Located in", "Required", "Type", "Format", "Properties", "Description" |
| 1136 | :widths: 20, 15, 10, 10, 10, 20, 30 |
| 1137 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1138 | serviceId | path | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1139 | |
| 1140 | Request |
| 1141 | +++++++ |
| 1142 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1143 | .. _d_81c18e0dd7a3af8fb1ba658e72907e7b: |
| 1144 | |
| 1145 | Body |
| 1146 | ^^^^ |
| 1147 | |
| 1148 | .. csv-table:: |
| 1149 | :delim: | |
| 1150 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1151 | :widths: 20, 10, 15, 15, 30, 25 |
| 1152 | |
| 1153 | components | Yes | array of :ref:`DCAEServiceComponentRequest <d_55af22c43245c290d643f75be1f4f254>` | | | List of DCAE service components that this service is composed of |
| 1154 | deploymentRef | No | string | | | Reference to a Cloudify deployment |
| 1155 | typeId | Yes | string | | | Id of the associated DCAE service type |
| 1156 | vnfId | Yes | string | | | Id of the associated VNF that this service is monitoring |
| 1157 | vnfLocation | Yes | string | | | Location identifier of the associated VNF that this service is monitoring |
| 1158 | vnfType | Yes | string | | | The type of the associated VNF that this service is monitoring |
| 1159 | |
| 1160 | .. code-block:: javascript |
| 1161 | |
| 1162 | { |
| 1163 | "components": [ |
| 1164 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1165 | "componentId": "somestring", |
| 1166 | "componentSource": "DCAEController", |
| 1167 | "componentType": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1168 | "shareable": 1 |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1169 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1170 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1171 | "componentId": "somestring", |
| 1172 | "componentSource": "DCAEController", |
| 1173 | "componentType": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1174 | "shareable": 1 |
| 1175 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1176 | ], |
| 1177 | "deploymentRef": "somestring", |
| 1178 | "typeId": "somestring", |
| 1179 | "vnfId": "somestring", |
| 1180 | "vnfLocation": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1181 | "vnfType": "somestring" |
| 1182 | } |
| 1183 | |
| 1184 | Responses |
| 1185 | +++++++++ |
| 1186 | |
| 1187 | **200** |
| 1188 | ^^^^^^^ |
| 1189 | |
| 1190 | Single `DCAEService` object |
| 1191 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1192 | Type: :ref:`DCAEService <d_ae85cd292c2b4046e1ea1bbb02c7ea63>` |
| 1193 | |
| 1194 | **Example:** |
| 1195 | |
| 1196 | .. code-block:: javascript |
| 1197 | |
| 1198 | { |
| 1199 | "components": [ |
| 1200 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1201 | "componentId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1202 | "componentLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1203 | "params": {}, |
| 1204 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1205 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1206 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1207 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1208 | ], |
| 1209 | "title": "somestring", |
| 1210 | "type": "somestring", |
| 1211 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1212 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1213 | }, |
| 1214 | "componentSource": "DCAEController", |
| 1215 | "componentType": "somestring", |
| 1216 | "created": "2015-01-01T15:00:00.000Z", |
| 1217 | "location": "somestring", |
| 1218 | "modified": "2015-01-01T15:00:00.000Z", |
| 1219 | "shareable": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1220 | "status": "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1221 | }, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1222 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1223 | "componentId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1224 | "componentLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1225 | "params": {}, |
| 1226 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1227 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1228 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1229 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1230 | ], |
| 1231 | "title": "somestring", |
| 1232 | "type": "somestring", |
| 1233 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1234 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1235 | }, |
| 1236 | "componentSource": "DCAEController", |
| 1237 | "componentType": "somestring", |
| 1238 | "created": "2015-01-01T15:00:00.000Z", |
| 1239 | "location": "somestring", |
| 1240 | "modified": "2015-01-01T15:00:00.000Z", |
| 1241 | "shareable": 1, |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1242 | "status": "somestring" |
| 1243 | } |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1244 | ], |
| 1245 | "created": "2015-01-01T15:00:00.000Z", |
| 1246 | "deploymentRef": "somestring", |
| 1247 | "modified": "2015-01-01T15:00:00.000Z", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1248 | "selfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1249 | "params": {}, |
| 1250 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1251 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1252 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1253 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1254 | ], |
| 1255 | "title": "somestring", |
| 1256 | "type": "somestring", |
| 1257 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1258 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1259 | }, |
| 1260 | "serviceId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1261 | "typeLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1262 | "params": {}, |
| 1263 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1264 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1265 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1266 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1267 | ], |
| 1268 | "title": "somestring", |
| 1269 | "type": "somestring", |
| 1270 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1271 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1272 | }, |
| 1273 | "vnfId": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1274 | "vnfLink": { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1275 | "params": {}, |
| 1276 | "rel": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1277 | "rels": [ |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1278 | "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1279 | "somestring" |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1280 | ], |
| 1281 | "title": "somestring", |
| 1282 | "type": "somestring", |
| 1283 | "uri": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1284 | "uriBuilder": {} |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1285 | }, |
| 1286 | "vnfLocation": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1287 | "vnfType": "somestring" |
| 1288 | } |
| 1289 | |
| 1290 | **422** |
| 1291 | ^^^^^^^ |
| 1292 | |
| 1293 | Bad request provided |
| 1294 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1295 | Type: :ref:`ApiResponseMessage <d_8a94f348f7df00259702f8d9b7d2ea84>` |
| 1296 | |
| 1297 | **Example:** |
| 1298 | |
| 1299 | .. code-block:: javascript |
| 1300 | |
| 1301 | { |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1302 | "code": 1, |
| 1303 | "message": "somestring", |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1304 | "type": "somestring" |
| 1305 | } |
| 1306 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1307 | Data Structures |
| 1308 | ~~~~~~~~~~~~~~~ |
| 1309 | |
| 1310 | .. _d_8a94f348f7df00259702f8d9b7d2ea84: |
| 1311 | |
| 1312 | ApiResponseMessage Model Structure |
| 1313 | ---------------------------------- |
| 1314 | |
| 1315 | .. csv-table:: |
| 1316 | :delim: | |
| 1317 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1318 | :widths: 20, 10, 15, 15, 30, 25 |
| 1319 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1320 | code | No | integer | int32 | | |
| 1321 | message | No | string | | | |
| 1322 | type | No | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1323 | |
| 1324 | .. _d_ae85cd292c2b4046e1ea1bbb02c7ea63: |
| 1325 | |
| 1326 | DCAEService Model Structure |
| 1327 | --------------------------- |
| 1328 | |
| 1329 | .. csv-table:: |
| 1330 | :delim: | |
| 1331 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1332 | :widths: 20, 10, 15, 15, 30, 25 |
| 1333 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1334 | components | No | array of :ref:`DCAEServiceComponent <d_51674dafcc623be79f21ecea545c345d>` | | | |
| 1335 | created | No | string | date-time | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1336 | deploymentRef | No | string | | | Reference to a Cloudify deployment |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1337 | modified | No | string | date-time | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1338 | selfLink | No | :ref:`Link <d_add3c3fd2e145f9e5a78be6e7b208ebb>` | | | Link.title is serviceId |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1339 | serviceId | No | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1340 | typeLink | No | :ref:`Link <d_add3c3fd2e145f9e5a78be6e7b208ebb>` | | | Link.title is typeId |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1341 | vnfId | No | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1342 | vnfLink | No | :ref:`Link <d_add3c3fd2e145f9e5a78be6e7b208ebb>` | | | Link.title is vnfId |
| 1343 | vnfLocation | No | string | | | Location information of the associated VNF |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1344 | vnfType | No | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1345 | |
| 1346 | .. _d_51674dafcc623be79f21ecea545c345d: |
| 1347 | |
| 1348 | DCAEServiceComponent Model Structure |
| 1349 | ------------------------------------ |
| 1350 | |
| 1351 | .. csv-table:: |
| 1352 | :delim: | |
| 1353 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1354 | :widths: 20, 10, 15, 15, 30, 25 |
| 1355 | |
| 1356 | componentId | Yes | string | | | The id format is unique to the source |
| 1357 | componentLink | Yes | :ref:`Link <d_add3c3fd2e145f9e5a78be6e7b208ebb>` | | | Link to the underlying resource of this component |
| 1358 | componentSource | Yes | string | | {'enum': ['DCAEController', 'DMaaPController']} | Specifies the name of the underying source service that is responsible for this components |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1359 | componentType | Yes | string | | | |
| 1360 | created | Yes | string | date-time | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1361 | location | No | string | | | Location information of the component |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1362 | modified | Yes | string | date-time | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1363 | shareable | Yes | integer | int32 | | Used to determine if this component can be shared amongst different DCAE services |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1364 | status | No | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1365 | |
| 1366 | .. _d_55af22c43245c290d643f75be1f4f254: |
| 1367 | |
| 1368 | DCAEServiceComponentRequest Model Structure |
| 1369 | ------------------------------------------- |
| 1370 | |
| 1371 | .. csv-table:: |
| 1372 | :delim: | |
| 1373 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1374 | :widths: 20, 10, 15, 15, 30, 25 |
| 1375 | |
| 1376 | componentId | Yes | string | | | The id format is unique to the source |
| 1377 | componentSource | Yes | string | | {'enum': ['DCAEController', 'DMaaPController']} | Specifies the name of the underying source service that is responsible for this components |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1378 | componentType | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1379 | shareable | Yes | integer | int32 | | Used to determine if this component can be shared amongst different DCAE services |
| 1380 | |
| 1381 | .. _d_a6dc4f986873bc126fc916189ffa5e91: |
| 1382 | |
| 1383 | DCAEServiceGroupByResults Model Structure |
| 1384 | ----------------------------------------- |
| 1385 | |
| 1386 | .. csv-table:: |
| 1387 | :delim: | |
| 1388 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1389 | :widths: 20, 10, 15, 15, 30, 25 |
| 1390 | |
| 1391 | propertyName | No | string | | | Property name of DCAE service that the group by operation was performed on |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1392 | propertyValues | No | array of :ref:`DCAEServiceGroupByResultsPropertyValues <d_0119caa52e274e5e2311b367df38d686>` | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1393 | |
| 1394 | .. _d_0119caa52e274e5e2311b367df38d686: |
| 1395 | |
| 1396 | DCAEServiceGroupByResultsPropertyValues Model Structure |
| 1397 | ------------------------------------------------------- |
| 1398 | |
| 1399 | .. csv-table:: |
| 1400 | :delim: | |
| 1401 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1402 | :widths: 20, 10, 15, 15, 30, 25 |
| 1403 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1404 | count | No | integer | int32 | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1405 | dcaeServiceQueryLink | No | :ref:`Link <d_add3c3fd2e145f9e5a78be6e7b208ebb>` | | | Link.title is the DCAE service property value. Following this link will provide a list of DCAE services that all have this property value. |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1406 | propertyValue | No | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1407 | |
| 1408 | DCAEServiceRequest Model Structure |
| 1409 | ---------------------------------- |
| 1410 | |
| 1411 | .. csv-table:: |
| 1412 | :delim: | |
| 1413 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1414 | :widths: 20, 10, 15, 15, 30, 25 |
| 1415 | |
| 1416 | components | Yes | array of :ref:`DCAEServiceComponentRequest <d_55af22c43245c290d643f75be1f4f254>` | | | List of DCAE service components that this service is composed of |
| 1417 | deploymentRef | No | string | | | Reference to a Cloudify deployment |
| 1418 | typeId | Yes | string | | | Id of the associated DCAE service type |
| 1419 | vnfId | Yes | string | | | Id of the associated VNF that this service is monitoring |
| 1420 | vnfLocation | Yes | string | | | Location identifier of the associated VNF that this service is monitoring |
| 1421 | vnfType | Yes | string | | | The type of the associated VNF that this service is monitoring |
| 1422 | |
| 1423 | .. _d_b0cb5f12dbde8c0c42487c089983687e: |
| 1424 | |
| 1425 | DCAEServiceType Model Structure |
| 1426 | ------------------------------- |
| 1427 | |
| 1428 | .. csv-table:: |
| 1429 | :delim: | |
| 1430 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1431 | :widths: 20, 10, 15, 15, 30, 25 |
| 1432 | |
| 1433 | asdcResourceId | No | string | | | Id of vf/vnf instance this DCAE service type is associated with. Value source is from ASDC's notification event's field `resourceInvariantUUID`. |
| 1434 | asdcServiceId | No | string | | | Id of service this DCAE service type is associated with. Value source is from ASDC's notification event's field `serviceInvariantUUID`. |
| 1435 | asdcServiceURL | No | string | | | URL to the ASDC service model |
| 1436 | blueprintTemplate | Yes | string | | | String representation of a Cloudify blueprint with unbound variables |
| 1437 | created | Yes | string | date-time | | Created timestamp for this DCAE service type in epoch time |
| 1438 | deactivated | No | string | date-time | | Deactivated timestamp for this DCAE service type in epoch time |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1439 | owner | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1440 | selfLink | Yes | :ref:`Link <d_add3c3fd2e145f9e5a78be6e7b208ebb>` | | | Link to self where the Link.title is typeName |
| 1441 | serviceIds | No | array of string | | | List of service ids that are used to associate with DCAE service type. DCAE service types with this propery as null or empty means them apply for every service id. |
| 1442 | serviceLocations | No | array of string | | | List of service locations that are used to associate with DCAE service type. DCAE service types with this propery as null or empty means them apply for every service location. |
| 1443 | typeId | Yes | string | | | Unique identifier for this DCAE service type |
| 1444 | typeName | Yes | string | | | Descriptive name for this DCAE service type |
| 1445 | typeVersion | Yes | integer | int32 | | Version number for this DCAE service type |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1446 | vnfTypes | No | array of string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1447 | |
| 1448 | DCAEServiceTypeRequest Model Structure |
| 1449 | -------------------------------------- |
| 1450 | |
| 1451 | .. csv-table:: |
| 1452 | :delim: | |
| 1453 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1454 | :widths: 20, 10, 15, 15, 30, 25 |
| 1455 | |
| 1456 | asdcResourceId | No | string | | | Id of vf/vnf instance this DCAE service type is associated with. Value source is from ASDC's notification event's field `resourceInvariantUUID`. |
| 1457 | asdcServiceId | No | string | | | Id of service this DCAE service type is associated with. Value source is from ASDC's notification event's field `serviceInvariantUUID`. |
| 1458 | asdcServiceURL | No | string | | | URL to the ASDC service model |
| 1459 | blueprintTemplate | Yes | string | | | String representation of a Cloudify blueprint with unbound variables |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1460 | owner | Yes | string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1461 | serviceIds | No | array of string | | | List of service ids that are used to associate with DCAE service type. DCAE service types with this propery as null or empty means them apply for every service id. |
| 1462 | serviceLocations | No | array of string | | | List of service locations that are used to associate with DCAE service type. DCAE service types with this propery as null or empty means them apply for every service location. |
| 1463 | typeName | Yes | string | | | Descriptive name for this DCAE service type |
| 1464 | typeVersion | Yes | integer | int32 | | Version number for this DCAE service type |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1465 | vnfTypes | No | array of string | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1466 | |
| 1467 | .. _d_b1ccd4187d31690b8e704c0aa01b2c59: |
| 1468 | |
| 1469 | InlineResponse200 Model Structure |
| 1470 | --------------------------------- |
| 1471 | |
| 1472 | .. csv-table:: |
| 1473 | :delim: | |
| 1474 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1475 | :widths: 20, 10, 15, 15, 30, 25 |
| 1476 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1477 | items | No | array of :ref:`DCAEServiceType <d_b0cb5f12dbde8c0c42487c089983687e>` | | | |
| 1478 | links | No | :ref:`InlineResponse200Links <d_e52a59e574408d4d622b3f1f61619b1c>` | | | |
| 1479 | totalCount | No | integer | int32 | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1480 | |
| 1481 | .. _d_31bb361a8900a0bed20df49b94f1e33b: |
| 1482 | |
| 1483 | InlineResponse2001 Model Structure |
| 1484 | ---------------------------------- |
| 1485 | |
| 1486 | .. csv-table:: |
| 1487 | :delim: | |
| 1488 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1489 | :widths: 20, 10, 15, 15, 30, 25 |
| 1490 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1491 | items | No | array of :ref:`DCAEService <d_ae85cd292c2b4046e1ea1bbb02c7ea63>` | | | |
| 1492 | links | No | :ref:`InlineResponse200Links <d_e52a59e574408d4d622b3f1f61619b1c>` | | | |
| 1493 | totalCount | No | integer | int32 | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1494 | |
| 1495 | .. _d_e52a59e574408d4d622b3f1f61619b1c: |
| 1496 | |
| 1497 | InlineResponse200Links Model Structure |
| 1498 | -------------------------------------- |
| 1499 | |
| 1500 | Pagination links |
| 1501 | |
| 1502 | .. csv-table:: |
| 1503 | :delim: | |
| 1504 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1505 | :widths: 20, 10, 15, 15, 30, 25 |
| 1506 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1507 | nextLink | No | :ref:`Link <d_add3c3fd2e145f9e5a78be6e7b208ebb>` | | | |
| 1508 | previousLink | No | :ref:`Link <d_add3c3fd2e145f9e5a78be6e7b208ebb>` | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1509 | |
| 1510 | .. _d_add3c3fd2e145f9e5a78be6e7b208ebb: |
| 1511 | |
| 1512 | Link Model Structure |
| 1513 | -------------------- |
| 1514 | |
| 1515 | .. csv-table:: |
| 1516 | :delim: | |
| 1517 | :header: "Name", "Required", "Type", "Format", "Properties", "Description" |
| 1518 | :widths: 20, 10, 15, 15, 30, 25 |
| 1519 | |
Eric Debeau | 1af3053 | 2019-05-14 17:45:22 +0000 | [diff] [blame] | 1520 | params | No | :ref:`params <i_f76783e4d75c137d1fc68696fcfdb72c>` | | | |
| 1521 | rel | No | string | | | |
| 1522 | rels | No | array of string | | | |
| 1523 | title | No | string | | | |
| 1524 | type | No | string | | | |
| 1525 | uri | No | string | uri | | |
| 1526 | uriBuilder | No | :ref:`UriBuilder <d_a7b6b5c694147ea9dcfb5a5a6cbef017>` | | | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1527 | |
Lusheng Ji | b2a561b | 2018-03-27 23:24:33 -0400 | [diff] [blame] | 1528 | .. _i_f76783e4d75c137d1fc68696fcfdb72c: |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1529 | |
| 1530 | **Params schema:** |
| 1531 | |
Lusheng Ji | 6553a13 | 2017-10-12 02:47:00 +0000 | [diff] [blame] | 1532 | Map of {"key":"string"} |
| 1533 | |
| 1534 | .. _d_a7b6b5c694147ea9dcfb5a5a6cbef017: |
| 1535 | |
| 1536 | UriBuilder Model Structure |
| 1537 | -------------------------- |
| 1538 | |