xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 1 | { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 2 | "swagger" : "2.0", |
| 3 | "info" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 4 | "version" : "4.1.1-SNAPSHOT", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 5 | "title" : "Clamp Rest API" |
| 6 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 7 | "host" : "localhost:43819", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 8 | "basePath" : "/restservices/clds/", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 9 | "schemes" : [ "http" ], |
| 10 | "paths" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 11 | "/v2/loop/{loopName}" : { |
| 12 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 13 | "operationId" : "route167", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 14 | "produces" : [ "application/json" ], |
| 15 | "parameters" : [ { |
| 16 | "name" : "loopName", |
| 17 | "in" : "path", |
| 18 | "required" : true, |
| 19 | "type" : "string" |
| 20 | } ], |
| 21 | "responses" : { |
| 22 | "200" : { |
| 23 | "description" : "Output type", |
| 24 | "schema" : { |
| 25 | "$ref" : "#/definitions/Loop" |
| 26 | } |
| 27 | } |
| 28 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 29 | "x-camelContextId" : "camel-5", |
| 30 | "x-routeId" : "route167" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 31 | } |
| 32 | }, |
| 33 | "/v2/loop/delete/{loopName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 34 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 35 | "operationId" : "route177", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 36 | "parameters" : [ { |
| 37 | "name" : "loopName", |
| 38 | "in" : "path", |
| 39 | "required" : true, |
| 40 | "type" : "string" |
| 41 | } ], |
| 42 | "responses" : { |
| 43 | "200" : { } |
| 44 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 45 | "x-camelContextId" : "camel-5", |
| 46 | "x-routeId" : "route177" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 47 | } |
| 48 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 49 | "/v2/loop/deploy/{loopName}" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 50 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 51 | "operationId" : "route172", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 52 | "produces" : [ "application/json" ], |
| 53 | "parameters" : [ { |
| 54 | "name" : "loopName", |
| 55 | "in" : "path", |
| 56 | "required" : true, |
| 57 | "type" : "string" |
| 58 | } ], |
| 59 | "responses" : { |
| 60 | "200" : { |
| 61 | "description" : "Output type", |
| 62 | "schema" : { |
| 63 | "$ref" : "#/definitions/Loop" |
| 64 | } |
| 65 | } |
| 66 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 67 | "x-camelContextId" : "camel-5", |
| 68 | "x-routeId" : "route172" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 69 | } |
| 70 | }, |
| 71 | "/v2/loop/getAllNames" : { |
| 72 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 73 | "operationId" : "route166", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 74 | "produces" : [ "application/json" ], |
| 75 | "responses" : { |
| 76 | "200" : { |
| 77 | "description" : "Output type", |
| 78 | "schema" : { |
| 79 | "type" : "array", |
| 80 | "items" : { |
| 81 | "type" : "string" |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 86 | "x-camelContextId" : "camel-5", |
| 87 | "x-routeId" : "route166" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 88 | } |
| 89 | }, |
| 90 | "/v2/loop/getstatus/{loopName}" : { |
| 91 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 92 | "operationId" : "route178", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 93 | "produces" : [ "application/json" ], |
| 94 | "parameters" : [ { |
| 95 | "name" : "loopName", |
| 96 | "in" : "path", |
| 97 | "required" : true, |
| 98 | "type" : "string" |
| 99 | } ], |
| 100 | "responses" : { |
| 101 | "200" : { |
| 102 | "description" : "Output type", |
| 103 | "schema" : { |
| 104 | "$ref" : "#/definitions/Loop" |
| 105 | } |
| 106 | } |
| 107 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 108 | "x-camelContextId" : "camel-5", |
| 109 | "x-routeId" : "route178" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 110 | } |
| 111 | }, |
| 112 | "/v2/loop/restart/{loopName}" : { |
| 113 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 114 | "operationId" : "route175", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 115 | "produces" : [ "application/json" ], |
| 116 | "parameters" : [ { |
| 117 | "name" : "loopName", |
| 118 | "in" : "path", |
| 119 | "required" : true, |
| 120 | "type" : "string" |
| 121 | } ], |
| 122 | "responses" : { |
| 123 | "200" : { |
| 124 | "description" : "Output type", |
| 125 | "schema" : { |
| 126 | "$ref" : "#/definitions/Loop" |
| 127 | } |
| 128 | } |
| 129 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 130 | "x-camelContextId" : "camel-5", |
| 131 | "x-routeId" : "route175" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 132 | } |
| 133 | }, |
| 134 | "/v2/loop/stop/{loopName}" : { |
| 135 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 136 | "operationId" : "route174", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 137 | "produces" : [ "application/json" ], |
| 138 | "parameters" : [ { |
| 139 | "name" : "loopName", |
| 140 | "in" : "path", |
| 141 | "required" : true, |
| 142 | "type" : "string" |
| 143 | } ], |
| 144 | "responses" : { |
| 145 | "200" : { |
| 146 | "description" : "Output type", |
| 147 | "schema" : { |
| 148 | "$ref" : "#/definitions/Loop" |
| 149 | } |
| 150 | } |
| 151 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 152 | "x-camelContextId" : "camel-5", |
| 153 | "x-routeId" : "route174" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 154 | } |
| 155 | }, |
| 156 | "/v2/loop/submit/{loopName}" : { |
| 157 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 158 | "operationId" : "route176", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 159 | "produces" : [ "application/json" ], |
| 160 | "parameters" : [ { |
| 161 | "name" : "loopName", |
| 162 | "in" : "path", |
| 163 | "required" : true, |
| 164 | "type" : "string" |
| 165 | } ], |
| 166 | "responses" : { |
| 167 | "200" : { |
| 168 | "description" : "Output type", |
| 169 | "schema" : { |
| 170 | "$ref" : "#/definitions/Loop" |
| 171 | } |
| 172 | } |
| 173 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 174 | "x-camelContextId" : "camel-5", |
| 175 | "x-routeId" : "route176" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 176 | } |
| 177 | }, |
| 178 | "/v2/loop/svgRepresentation/{loopName}" : { |
| 179 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 180 | "operationId" : "route168", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 181 | "produces" : [ "application/xml" ], |
| 182 | "parameters" : [ { |
| 183 | "name" : "loopName", |
| 184 | "in" : "path", |
| 185 | "required" : true, |
| 186 | "type" : "string" |
| 187 | } ], |
| 188 | "responses" : { |
| 189 | "200" : { |
| 190 | "description" : "Output type", |
| 191 | "schema" : { |
| 192 | "type" : "string" |
| 193 | } |
| 194 | } |
| 195 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 196 | "x-camelContextId" : "camel-5", |
| 197 | "x-routeId" : "route168" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 198 | } |
| 199 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 200 | "/v2/loop/undeploy/{loopName}" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 201 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 202 | "operationId" : "route173", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 203 | "produces" : [ "application/json" ], |
| 204 | "parameters" : [ { |
| 205 | "name" : "loopName", |
| 206 | "in" : "path", |
| 207 | "required" : true, |
| 208 | "type" : "string" |
| 209 | } ], |
| 210 | "responses" : { |
| 211 | "200" : { |
| 212 | "description" : "Output type", |
| 213 | "schema" : { |
| 214 | "$ref" : "#/definitions/Loop" |
| 215 | } |
| 216 | } |
| 217 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 218 | "x-camelContextId" : "camel-5", |
| 219 | "x-routeId" : "route173" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 220 | } |
| 221 | }, |
| 222 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 223 | "post" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 224 | "operationId" : "route169", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 225 | "consumes" : [ "application/json" ], |
| 226 | "produces" : [ "application/json" ], |
| 227 | "parameters" : [ { |
| 228 | "name" : "loopName", |
| 229 | "in" : "path", |
| 230 | "required" : true, |
| 231 | "type" : "string" |
| 232 | }, { |
| 233 | "in" : "body", |
| 234 | "name" : "body", |
| 235 | "required" : true, |
| 236 | "schema" : { |
| 237 | "$ref" : "#/definitions/JsonObject" |
| 238 | } |
| 239 | } ], |
| 240 | "responses" : { |
| 241 | "200" : { |
| 242 | "description" : "Output type", |
| 243 | "schema" : { |
| 244 | "$ref" : "#/definitions/Loop" |
| 245 | } |
| 246 | } |
| 247 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 248 | "x-camelContextId" : "camel-5", |
| 249 | "x-routeId" : "route169" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 250 | } |
| 251 | }, |
| 252 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 253 | "post" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 254 | "operationId" : "route171", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 255 | "consumes" : [ "application/json" ], |
| 256 | "produces" : [ "application/json" ], |
| 257 | "parameters" : [ { |
| 258 | "name" : "loopName", |
| 259 | "in" : "path", |
| 260 | "required" : true, |
| 261 | "type" : "string" |
| 262 | }, { |
| 263 | "in" : "body", |
| 264 | "name" : "body", |
| 265 | "required" : true, |
| 266 | "schema" : { |
| 267 | "$ref" : "#/definitions/MicroServicePolicy" |
| 268 | } |
| 269 | } ], |
| 270 | "responses" : { |
| 271 | "200" : { |
| 272 | "description" : "Output type", |
| 273 | "schema" : { |
| 274 | "$ref" : "#/definitions/MicroServicePolicy" |
| 275 | } |
| 276 | } |
| 277 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 278 | "x-camelContextId" : "camel-5", |
| 279 | "x-routeId" : "route171" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 280 | } |
| 281 | }, |
| 282 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 283 | "post" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 284 | "operationId" : "route170", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 285 | "consumes" : [ "application/json" ], |
| 286 | "produces" : [ "application/json" ], |
| 287 | "parameters" : [ { |
| 288 | "name" : "loopName", |
| 289 | "in" : "path", |
| 290 | "required" : true, |
| 291 | "type" : "string" |
| 292 | }, { |
| 293 | "in" : "body", |
| 294 | "name" : "body", |
| 295 | "required" : true, |
| 296 | "schema" : { |
| 297 | "$ref" : "#/definitions/JsonArray" |
| 298 | } |
| 299 | } ], |
| 300 | "responses" : { |
| 301 | "200" : { |
| 302 | "description" : "Output type", |
| 303 | "schema" : { |
| 304 | "$ref" : "#/definitions/Loop" |
| 305 | } |
| 306 | } |
| 307 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 308 | "x-camelContextId" : "camel-5", |
| 309 | "x-routeId" : "route170" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 310 | } |
| 311 | }, |
| 312 | "/v1/clds/action/{action}/{modelName}?test={test}" : { |
| 313 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 314 | "operationId" : "route187", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 315 | "consumes" : [ "application/json" ], |
| 316 | "produces" : [ "application/json" ], |
| 317 | "parameters" : [ { |
| 318 | "name" : "action", |
| 319 | "in" : "path", |
| 320 | "required" : true, |
| 321 | "type" : "string" |
| 322 | }, { |
| 323 | "name" : "modelName}?test={test", |
| 324 | "in" : "path", |
| 325 | "required" : true, |
| 326 | "type" : "string" |
| 327 | }, { |
| 328 | "in" : "body", |
| 329 | "name" : "body", |
| 330 | "required" : true, |
| 331 | "schema" : { |
| 332 | "$ref" : "#/definitions/CldsModel" |
| 333 | } |
| 334 | } ], |
| 335 | "responses" : { |
| 336 | "200" : { } |
| 337 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 338 | "x-camelContextId" : "camel-5", |
| 339 | "x-routeId" : "route187" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 340 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 341 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 342 | "/v1/clds/cldsDetails" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 343 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 344 | "operationId" : "route179", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 345 | "produces" : [ "application/json" ], |
| 346 | "responses" : { |
| 347 | "200" : { |
| 348 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 349 | "schema" : { |
| 350 | "$ref" : "#/definitions/CldsMonitoringDetails" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 351 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 352 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 353 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 354 | "x-camelContextId" : "camel-5", |
| 355 | "x-routeId" : "route179" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 356 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 357 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 358 | "/v1/clds/cldsInfo" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 359 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 360 | "operationId" : "route180", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 361 | "produces" : [ "application/json" ], |
| 362 | "responses" : { |
| 363 | "200" : { |
| 364 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 365 | "schema" : { |
| 366 | "$ref" : "#/definitions/CldsInfo" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 367 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 368 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 369 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 370 | "x-camelContextId" : "camel-5", |
| 371 | "x-routeId" : "route180" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 372 | } |
| 373 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 374 | "/v1/clds/dcae/event?test={test}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 375 | "post" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 376 | "operationId" : "route188", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 377 | "consumes" : [ "application/json" ], |
| 378 | "produces" : [ "application/json" ], |
| 379 | "parameters" : [ { |
| 380 | "in" : "body", |
| 381 | "name" : "body", |
| 382 | "required" : true, |
| 383 | "schema" : { |
| 384 | "$ref" : "#/definitions/DcaeEvent" |
| 385 | } |
| 386 | } ], |
| 387 | "responses" : { |
| 388 | "200" : { } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 389 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 390 | "x-camelContextId" : "camel-5", |
| 391 | "x-routeId" : "route188" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 392 | } |
| 393 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 394 | "/v1/clds/deploy/{modelName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 395 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 396 | "operationId" : "route190", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 397 | "consumes" : [ "application/json" ], |
| 398 | "produces" : [ "application/json" ], |
| 399 | "parameters" : [ { |
| 400 | "name" : "modelName", |
| 401 | "in" : "path", |
| 402 | "required" : true, |
| 403 | "type" : "string" |
| 404 | }, { |
| 405 | "in" : "body", |
| 406 | "name" : "body", |
| 407 | "required" : true, |
| 408 | "schema" : { |
| 409 | "$ref" : "#/definitions/CldsModel" |
| 410 | } |
| 411 | } ], |
| 412 | "responses" : { |
| 413 | "200" : { } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 414 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 415 | "x-camelContextId" : "camel-5", |
| 416 | "x-routeId" : "route190" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 417 | } |
| 418 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 419 | "/v1/clds/model-names" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 420 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 421 | "operationId" : "route186", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 422 | "produces" : [ "application/json" ], |
| 423 | "responses" : { |
| 424 | "200" : { |
| 425 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 426 | "schema" : { |
| 427 | "$ref" : "#/definitions/ValueItem" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 428 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 429 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 430 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 431 | "x-camelContextId" : "camel-5", |
| 432 | "x-routeId" : "route186" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 433 | } |
| 434 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 435 | "/v1/clds/model/{modelName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 436 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 437 | "operationId" : "route184", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 438 | "produces" : [ "application/json" ], |
| 439 | "parameters" : [ { |
| 440 | "name" : "modelName", |
| 441 | "in" : "path", |
| 442 | "required" : true, |
| 443 | "type" : "string" |
| 444 | } ], |
| 445 | "responses" : { |
| 446 | "200" : { |
| 447 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 448 | "schema" : { |
| 449 | "$ref" : "#/definitions/CldsModel" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 450 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 451 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 452 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 453 | "x-camelContextId" : "camel-5", |
| 454 | "x-routeId" : "route184" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 455 | }, |
| 456 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 457 | "operationId" : "route185", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 458 | "consumes" : [ "application/json" ], |
| 459 | "produces" : [ "application/json" ], |
| 460 | "parameters" : [ { |
| 461 | "name" : "modelName", |
| 462 | "in" : "path", |
| 463 | "required" : true, |
| 464 | "type" : "string" |
| 465 | }, { |
| 466 | "in" : "body", |
| 467 | "name" : "body", |
| 468 | "required" : true, |
| 469 | "schema" : { |
| 470 | "$ref" : "#/definitions/CldsModel" |
| 471 | } |
| 472 | } ], |
| 473 | "responses" : { |
| 474 | "200" : { |
| 475 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 476 | "schema" : { |
| 477 | "$ref" : "#/definitions/CldsModel" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 478 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 479 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 480 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 481 | "x-camelContextId" : "camel-5", |
| 482 | "x-routeId" : "route185" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 483 | } |
| 484 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 485 | "/v1/clds/model/bpmn/{modelName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 486 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 487 | "operationId" : "route182", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 488 | "produces" : [ "text/xml" ], |
| 489 | "parameters" : [ { |
| 490 | "name" : "modelName", |
| 491 | "in" : "path", |
| 492 | "required" : true, |
| 493 | "type" : "string" |
| 494 | } ], |
| 495 | "responses" : { |
| 496 | "200" : { } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 497 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 498 | "x-camelContextId" : "camel-5", |
| 499 | "x-routeId" : "route182" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 500 | } |
| 501 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 502 | "/v1/clds/model/image/{modelName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 503 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 504 | "operationId" : "route183", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 505 | "produces" : [ "text/xml" ], |
| 506 | "parameters" : [ { |
| 507 | "name" : "modelName", |
| 508 | "in" : "path", |
| 509 | "required" : true, |
| 510 | "type" : "string" |
| 511 | } ], |
| 512 | "responses" : { |
| 513 | "200" : { } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 514 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 515 | "x-camelContextId" : "camel-5", |
| 516 | "x-routeId" : "route183" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 517 | } |
| 518 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 519 | "/v1/clds/properties" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 520 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 521 | "operationId" : "route189", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 522 | "produces" : [ "application/json" ], |
| 523 | "responses" : { |
| 524 | "200" : { } |
| 525 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 526 | "x-camelContextId" : "camel-5", |
| 527 | "x-routeId" : "route189" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 528 | } |
| 529 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 530 | "/v1/clds/undeploy/{modelName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 531 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 532 | "operationId" : "route191", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 533 | "consumes" : [ "application/json" ], |
| 534 | "produces" : [ "application/json" ], |
| 535 | "parameters" : [ { |
| 536 | "name" : "modelName", |
| 537 | "in" : "path", |
| 538 | "required" : true, |
| 539 | "type" : "string" |
| 540 | }, { |
| 541 | "in" : "body", |
| 542 | "name" : "body", |
| 543 | "required" : true, |
| 544 | "schema" : { |
| 545 | "$ref" : "#/definitions/CldsModel" |
| 546 | } |
| 547 | } ], |
| 548 | "responses" : { |
| 549 | "200" : { } |
| 550 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 551 | "x-camelContextId" : "camel-5", |
| 552 | "x-routeId" : "route191" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 553 | } |
| 554 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 555 | "/v1/cldsTempate/template-names" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 556 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 557 | "operationId" : "route196", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 558 | "produces" : [ "application/json" ], |
| 559 | "responses" : { |
| 560 | "200" : { |
| 561 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 562 | "schema" : { |
| 563 | "$ref" : "#/definitions/ValueItem" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 564 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 565 | } |
| 566 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 567 | "x-camelContextId" : "camel-5", |
| 568 | "x-routeId" : "route196" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 569 | } |
| 570 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 571 | "/v1/cldsTempate/template/{templateName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 572 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 573 | "operationId" : "route194", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 574 | "produces" : [ "application/json" ], |
| 575 | "parameters" : [ { |
| 576 | "name" : "templateName", |
| 577 | "in" : "path", |
| 578 | "required" : true, |
| 579 | "type" : "string" |
| 580 | } ], |
| 581 | "responses" : { |
| 582 | "200" : { |
| 583 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 584 | "schema" : { |
| 585 | "$ref" : "#/definitions/CldsTemplate" |
| 586 | } |
| 587 | } |
| 588 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 589 | "x-camelContextId" : "camel-5", |
| 590 | "x-routeId" : "route194" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 591 | }, |
| 592 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 593 | "operationId" : "route195", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 594 | "consumes" : [ "application/json" ], |
| 595 | "produces" : [ "application/json" ], |
| 596 | "parameters" : [ { |
| 597 | "name" : "templateName", |
| 598 | "in" : "path", |
| 599 | "required" : true, |
| 600 | "type" : "string" |
| 601 | }, { |
| 602 | "in" : "body", |
| 603 | "name" : "body", |
| 604 | "required" : true, |
| 605 | "schema" : { |
| 606 | "$ref" : "#/definitions/CldsTemplate" |
| 607 | } |
| 608 | } ], |
| 609 | "responses" : { |
| 610 | "200" : { |
| 611 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 612 | "schema" : { |
| 613 | "$ref" : "#/definitions/CldsTemplate" |
| 614 | } |
| 615 | } |
| 616 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 617 | "x-camelContextId" : "camel-5", |
| 618 | "x-routeId" : "route195" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 619 | } |
| 620 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 621 | "/v1/cldsTempate/template/bpmn/{templateName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 622 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 623 | "operationId" : "route192", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 624 | "produces" : [ "text/xml" ], |
| 625 | "parameters" : [ { |
| 626 | "name" : "templateName", |
| 627 | "in" : "path", |
| 628 | "required" : true, |
| 629 | "type" : "string" |
| 630 | } ], |
| 631 | "responses" : { |
| 632 | "200" : { } |
| 633 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 634 | "x-camelContextId" : "camel-5", |
| 635 | "x-routeId" : "route192" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 636 | } |
| 637 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 638 | "/v1/cldsTempate/template/image/{templateName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 639 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 640 | "operationId" : "route193", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 641 | "produces" : [ "text/xml" ], |
| 642 | "parameters" : [ { |
| 643 | "name" : "templateName", |
| 644 | "in" : "path", |
| 645 | "required" : true, |
| 646 | "type" : "string" |
| 647 | } ], |
| 648 | "responses" : { |
| 649 | "200" : { } |
| 650 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 651 | "x-camelContextId" : "camel-5", |
| 652 | "x-routeId" : "route193" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 653 | } |
| 654 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 655 | "/v1/dictionary" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 656 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 657 | "operationId" : "route204", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 658 | "produces" : [ "application/json" ], |
| 659 | "responses" : { |
| 660 | "200" : { |
| 661 | "description" : "Output type", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 662 | "schema" : { |
| 663 | "$ref" : "#/definitions/CldsDictionary" |
| 664 | } |
| 665 | } |
| 666 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 667 | "x-camelContextId" : "camel-5", |
| 668 | "x-routeId" : "route204" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 669 | } |
| 670 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 671 | "/v1/dictionary/{dictionaryName}" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 672 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 673 | "operationId" : "route203", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 674 | "consumes" : [ "application/json" ], |
| 675 | "produces" : [ "application/json" ], |
| 676 | "parameters" : [ { |
| 677 | "name" : "dictionaryName", |
| 678 | "in" : "path", |
| 679 | "required" : true, |
| 680 | "type" : "string" |
| 681 | }, { |
| 682 | "in" : "body", |
| 683 | "name" : "body", |
| 684 | "required" : true, |
| 685 | "schema" : { |
| 686 | "$ref" : "#/definitions/CldsDictionary" |
| 687 | } |
| 688 | } ], |
| 689 | "responses" : { |
| 690 | "200" : { |
| 691 | "description" : "Output type", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 692 | "schema" : { |
| 693 | "$ref" : "#/definitions/CldsDictionary" |
| 694 | } |
| 695 | } |
| 696 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 697 | "x-camelContextId" : "camel-5", |
| 698 | "x-routeId" : "route203" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 699 | } |
| 700 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 701 | "/v1/dictionary/{dictionaryName}/items" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 702 | "get" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 703 | "produces" : [ "application/json" ], |
| 704 | "parameters" : [ { |
| 705 | "name" : "dictionaryName", |
| 706 | "in" : "path", |
| 707 | "required" : true, |
| 708 | "type" : "string" |
| 709 | } ], |
| 710 | "responses" : { |
| 711 | "200" : { |
| 712 | "description" : "Output type", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 713 | "schema" : { |
| 714 | "$ref" : "#/definitions/CldsDictionary" |
| 715 | } |
| 716 | } |
| 717 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 718 | "x-camelContextId" : "camel-5", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 719 | "x-routeId" : null |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 720 | }, |
| 721 | "put" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 722 | "consumes" : [ "application/json" ], |
| 723 | "produces" : [ "application/json" ], |
| 724 | "parameters" : [ { |
| 725 | "name" : "dictionaryName", |
| 726 | "in" : "path", |
| 727 | "required" : true, |
| 728 | "type" : "string" |
| 729 | }, { |
| 730 | "in" : "body", |
| 731 | "name" : "body", |
| 732 | "required" : true, |
| 733 | "schema" : { |
| 734 | "$ref" : "#/definitions/CldsDictionaryItem" |
| 735 | } |
| 736 | } ], |
| 737 | "responses" : { |
| 738 | "200" : { |
| 739 | "description" : "Output type", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 740 | "schema" : { |
| 741 | "$ref" : "#/definitions/CldsDictionaryItem" |
| 742 | } |
| 743 | } |
| 744 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 745 | "x-camelContextId" : "camel-5", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 746 | "x-routeId" : null |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 747 | } |
| 748 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 749 | "/v1/healthcheck" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 750 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 751 | "operationId" : "route181", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 752 | "produces" : [ "application/json" ], |
| 753 | "responses" : { |
| 754 | "200" : { } |
| 755 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 756 | "x-camelContextId" : "camel-5", |
| 757 | "x-routeId" : "route181" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 758 | } |
| 759 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 760 | "/v1/tosca/models" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 761 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 762 | "operationId" : "route200", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 763 | "produces" : [ "application/json" ], |
| 764 | "responses" : { |
| 765 | "200" : { |
| 766 | "description" : "Output type", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 767 | "schema" : { |
| 768 | "$ref" : "#/definitions/CldsToscaModel" |
| 769 | } |
| 770 | } |
| 771 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 772 | "x-camelContextId" : "camel-5", |
| 773 | "x-routeId" : "route200" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 774 | } |
| 775 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 776 | "/v1/tosca/models/{toscaModelName}" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 777 | "get" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 778 | "produces" : [ "application/json" ], |
| 779 | "parameters" : [ { |
| 780 | "name" : "toscaModelName", |
| 781 | "in" : "path", |
| 782 | "required" : true, |
| 783 | "type" : "string" |
| 784 | } ], |
| 785 | "responses" : { |
| 786 | "200" : { |
| 787 | "description" : "Output type", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 788 | "schema" : { |
| 789 | "$ref" : "#/definitions/CldsToscaModel" |
| 790 | } |
| 791 | } |
| 792 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 793 | "x-camelContextId" : "camel-5", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 794 | "x-routeId" : null |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 795 | }, |
| 796 | "put" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 797 | "operationId" : "route197", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 798 | "consumes" : [ "application/json" ], |
| 799 | "produces" : [ "application/json" ], |
| 800 | "parameters" : [ { |
| 801 | "name" : "toscaModelName", |
| 802 | "in" : "path", |
| 803 | "required" : true, |
| 804 | "type" : "string" |
| 805 | }, { |
| 806 | "in" : "body", |
| 807 | "name" : "body", |
| 808 | "required" : true, |
| 809 | "schema" : { |
| 810 | "$ref" : "#/definitions/CldsToscaModel" |
| 811 | } |
| 812 | } ], |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 813 | "responses" : { |
| 814 | "200" : { } |
| 815 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 816 | "x-camelContextId" : "camel-5", |
| 817 | "x-routeId" : "route197" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 818 | } |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 819 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 820 | "/v1/tosca/models/policyType/{policyType}" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 821 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 822 | "operationId" : "route198", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 823 | "produces" : [ "application/json" ], |
| 824 | "parameters" : [ { |
| 825 | "name" : "policyType", |
| 826 | "in" : "path", |
| 827 | "required" : true, |
| 828 | "type" : "string" |
| 829 | } ], |
| 830 | "responses" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 831 | "200" : { |
| 832 | "description" : "Output type", |
| 833 | "schema" : { |
| 834 | "$ref" : "#/definitions/CldsToscaModel" |
| 835 | } |
| 836 | } |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 837 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 838 | "x-camelContextId" : "camel-5", |
| 839 | "x-routeId" : "route198" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 840 | } |
| 841 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 842 | "/v1/user/getUser" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 843 | "get" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 844 | "operationId" : "route205", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 845 | "produces" : [ "text/plain" ], |
| 846 | "responses" : { |
| 847 | "200" : { } |
| 848 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 849 | "x-camelContextId" : "camel-5", |
| 850 | "x-routeId" : "route205" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 851 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 852 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 853 | }, |
| 854 | "definitions" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 855 | "Loop" : { |
| 856 | "type" : "object", |
| 857 | "properties" : { |
| 858 | "name" : { |
| 859 | "type" : "string" |
| 860 | }, |
| 861 | "dcaeDeploymentId" : { |
| 862 | "type" : "string" |
| 863 | }, |
| 864 | "dcaeDeploymentStatusUrl" : { |
| 865 | "type" : "string" |
| 866 | }, |
| 867 | "dcaeBlueprintId" : { |
| 868 | "type" : "string" |
| 869 | }, |
| 870 | "svgRepresentation" : { |
| 871 | "type" : "string" |
| 872 | }, |
| 873 | "globalPropertiesJson" : { |
| 874 | "$ref" : "#/definitions/JsonObject" |
| 875 | }, |
| 876 | "modelPropertiesJson" : { |
| 877 | "$ref" : "#/definitions/JsonObject" |
| 878 | }, |
| 879 | "blueprint" : { |
| 880 | "type" : "string" |
| 881 | }, |
| 882 | "lastComputedState" : { |
| 883 | "type" : "string", |
| 884 | "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ] |
| 885 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 886 | "components" : { |
| 887 | "type" : "object", |
| 888 | "additionalProperties" : { |
| 889 | "$ref" : "#/definitions/ExternalComponent" |
| 890 | } |
| 891 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 892 | "operationalPolicies" : { |
| 893 | "type" : "array", |
| 894 | "uniqueItems" : true, |
| 895 | "items" : { |
| 896 | "$ref" : "#/definitions/OperationalPolicy" |
| 897 | } |
| 898 | }, |
| 899 | "microServicePolicies" : { |
| 900 | "type" : "array", |
| 901 | "uniqueItems" : true, |
| 902 | "items" : { |
| 903 | "$ref" : "#/definitions/MicroServicePolicy" |
| 904 | } |
| 905 | }, |
| 906 | "loopLogs" : { |
| 907 | "type" : "array", |
| 908 | "uniqueItems" : true, |
| 909 | "items" : { |
| 910 | "$ref" : "#/definitions/LoopLog" |
| 911 | } |
| 912 | } |
| 913 | }, |
| 914 | "x-className" : { |
| 915 | "type" : "string", |
| 916 | "format" : "org.onap.clamp.loop.Loop" |
| 917 | } |
| 918 | }, |
| 919 | "JsonArray" : { |
| 920 | "type" : "object", |
| 921 | "properties" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 922 | "asBoolean" : { |
| 923 | "type" : "boolean" |
| 924 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 925 | "asString" : { |
| 926 | "type" : "string" |
| 927 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 928 | "asNumber" : { |
| 929 | "$ref" : "#/definitions/Number" |
| 930 | }, |
| 931 | "asDouble" : { |
| 932 | "type" : "number", |
| 933 | "format" : "double" |
| 934 | }, |
| 935 | "asFloat" : { |
| 936 | "type" : "number", |
| 937 | "format" : "float" |
| 938 | }, |
| 939 | "asLong" : { |
| 940 | "type" : "integer", |
| 941 | "format" : "int64" |
| 942 | }, |
| 943 | "asInt" : { |
| 944 | "type" : "integer", |
| 945 | "format" : "int32" |
| 946 | }, |
| 947 | "asByte" : { |
| 948 | "type" : "string", |
| 949 | "format" : "byte" |
| 950 | }, |
| 951 | "asCharacter" : { |
| 952 | "type" : "string" |
| 953 | }, |
| 954 | "asBigDecimal" : { |
| 955 | "type" : "number" |
| 956 | }, |
| 957 | "asBigInteger" : { |
| 958 | "type" : "integer" |
| 959 | }, |
| 960 | "asShort" : { |
| 961 | "type" : "integer", |
| 962 | "format" : "int32" |
| 963 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 964 | "asJsonObject" : { |
| 965 | "$ref" : "#/definitions/JsonObject" |
| 966 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 967 | "asJsonPrimitive" : { |
| 968 | "$ref" : "#/definitions/JsonPrimitive" |
| 969 | }, |
| 970 | "asJsonNull" : { |
| 971 | "$ref" : "#/definitions/JsonNull" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 972 | }, |
| 973 | "jsonArray" : { |
| 974 | "type" : "boolean" |
| 975 | }, |
| 976 | "jsonObject" : { |
| 977 | "type" : "boolean" |
| 978 | }, |
| 979 | "jsonPrimitive" : { |
| 980 | "type" : "boolean" |
| 981 | }, |
| 982 | "jsonNull" : { |
| 983 | "type" : "boolean" |
| 984 | }, |
| 985 | "asJsonArray" : { |
| 986 | "$ref" : "#/definitions/JsonArray" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 987 | } |
| 988 | }, |
| 989 | "x-className" : { |
| 990 | "type" : "string", |
| 991 | "format" : "com.google.gson.JsonArray" |
| 992 | } |
| 993 | }, |
| 994 | "LoopLog" : { |
| 995 | "type" : "object", |
| 996 | "properties" : { |
| 997 | "id" : { |
| 998 | "type" : "integer", |
| 999 | "format" : "int64" |
| 1000 | }, |
| 1001 | "logType" : { |
| 1002 | "type" : "string", |
| 1003 | "enum" : [ "INFO", "WARNING", "ERROR" ] |
| 1004 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1005 | "logComponent" : { |
| 1006 | "type" : "string" |
| 1007 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1008 | "message" : { |
| 1009 | "type" : "string" |
| 1010 | }, |
| 1011 | "loop" : { |
| 1012 | "$ref" : "#/definitions/Loop" |
| 1013 | }, |
| 1014 | "logInstant" : { |
| 1015 | "type" : "integer", |
| 1016 | "format" : "int64" |
| 1017 | } |
| 1018 | } |
| 1019 | }, |
| 1020 | "Number" : { |
| 1021 | "type" : "object" |
| 1022 | }, |
| 1023 | "JsonPrimitive" : { |
| 1024 | "type" : "object", |
| 1025 | "properties" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1026 | "asBoolean" : { |
| 1027 | "type" : "boolean" |
| 1028 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1029 | "boolean" : { |
| 1030 | "type" : "boolean" |
| 1031 | }, |
| 1032 | "number" : { |
| 1033 | "type" : "boolean" |
| 1034 | }, |
| 1035 | "asString" : { |
| 1036 | "type" : "string" |
| 1037 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1038 | "asNumber" : { |
| 1039 | "$ref" : "#/definitions/Number" |
| 1040 | }, |
| 1041 | "asDouble" : { |
| 1042 | "type" : "number", |
| 1043 | "format" : "double" |
| 1044 | }, |
| 1045 | "asFloat" : { |
| 1046 | "type" : "number", |
| 1047 | "format" : "float" |
| 1048 | }, |
| 1049 | "asLong" : { |
| 1050 | "type" : "integer", |
| 1051 | "format" : "int64" |
| 1052 | }, |
| 1053 | "asInt" : { |
| 1054 | "type" : "integer", |
| 1055 | "format" : "int32" |
| 1056 | }, |
| 1057 | "asByte" : { |
| 1058 | "type" : "string", |
| 1059 | "format" : "byte" |
| 1060 | }, |
| 1061 | "asCharacter" : { |
| 1062 | "type" : "string" |
| 1063 | }, |
| 1064 | "asBigDecimal" : { |
| 1065 | "type" : "number" |
| 1066 | }, |
| 1067 | "asBigInteger" : { |
| 1068 | "type" : "integer" |
| 1069 | }, |
| 1070 | "asShort" : { |
| 1071 | "type" : "integer", |
| 1072 | "format" : "int32" |
| 1073 | }, |
| 1074 | "string" : { |
| 1075 | "type" : "boolean" |
| 1076 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1077 | "asJsonObject" : { |
| 1078 | "$ref" : "#/definitions/JsonObject" |
| 1079 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1080 | "asJsonPrimitive" : { |
| 1081 | "$ref" : "#/definitions/JsonPrimitive" |
| 1082 | }, |
| 1083 | "asJsonNull" : { |
| 1084 | "$ref" : "#/definitions/JsonNull" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1085 | }, |
| 1086 | "jsonArray" : { |
| 1087 | "type" : "boolean" |
| 1088 | }, |
| 1089 | "jsonObject" : { |
| 1090 | "type" : "boolean" |
| 1091 | }, |
| 1092 | "jsonPrimitive" : { |
| 1093 | "type" : "boolean" |
| 1094 | }, |
| 1095 | "jsonNull" : { |
| 1096 | "type" : "boolean" |
| 1097 | }, |
| 1098 | "asJsonArray" : { |
| 1099 | "$ref" : "#/definitions/JsonArray" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1100 | } |
| 1101 | } |
| 1102 | }, |
| 1103 | "MicroServicePolicy" : { |
| 1104 | "type" : "object", |
| 1105 | "properties" : { |
| 1106 | "name" : { |
| 1107 | "type" : "string" |
| 1108 | }, |
| 1109 | "modelType" : { |
| 1110 | "type" : "string" |
| 1111 | }, |
| 1112 | "properties" : { |
| 1113 | "$ref" : "#/definitions/JsonObject" |
| 1114 | }, |
| 1115 | "shared" : { |
| 1116 | "type" : "boolean" |
| 1117 | }, |
| 1118 | "policyTosca" : { |
| 1119 | "type" : "string" |
| 1120 | }, |
| 1121 | "jsonRepresentation" : { |
| 1122 | "$ref" : "#/definitions/JsonObject" |
| 1123 | }, |
| 1124 | "usedByLoops" : { |
| 1125 | "type" : "array", |
| 1126 | "uniqueItems" : true, |
| 1127 | "items" : { |
| 1128 | "$ref" : "#/definitions/Loop" |
| 1129 | } |
| 1130 | } |
| 1131 | }, |
| 1132 | "x-className" : { |
| 1133 | "type" : "string", |
| 1134 | "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy" |
| 1135 | } |
| 1136 | }, |
| 1137 | "JsonObject" : { |
| 1138 | "type" : "object", |
| 1139 | "properties" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1140 | "asBoolean" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1141 | "type" : "boolean" |
| 1142 | }, |
| 1143 | "asJsonObject" : { |
| 1144 | "$ref" : "#/definitions/JsonObject" |
| 1145 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1146 | "asJsonPrimitive" : { |
| 1147 | "$ref" : "#/definitions/JsonPrimitive" |
| 1148 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1149 | "asString" : { |
| 1150 | "type" : "string" |
| 1151 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1152 | "asJsonNull" : { |
| 1153 | "$ref" : "#/definitions/JsonNull" |
| 1154 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1155 | "asNumber" : { |
| 1156 | "$ref" : "#/definitions/Number" |
| 1157 | }, |
| 1158 | "asDouble" : { |
| 1159 | "type" : "number", |
| 1160 | "format" : "double" |
| 1161 | }, |
| 1162 | "asFloat" : { |
| 1163 | "type" : "number", |
| 1164 | "format" : "float" |
| 1165 | }, |
| 1166 | "asLong" : { |
| 1167 | "type" : "integer", |
| 1168 | "format" : "int64" |
| 1169 | }, |
| 1170 | "asInt" : { |
| 1171 | "type" : "integer", |
| 1172 | "format" : "int32" |
| 1173 | }, |
| 1174 | "asByte" : { |
| 1175 | "type" : "string", |
| 1176 | "format" : "byte" |
| 1177 | }, |
| 1178 | "asCharacter" : { |
| 1179 | "type" : "string" |
| 1180 | }, |
| 1181 | "asBigDecimal" : { |
| 1182 | "type" : "number" |
| 1183 | }, |
| 1184 | "asBigInteger" : { |
| 1185 | "type" : "integer" |
| 1186 | }, |
| 1187 | "asShort" : { |
| 1188 | "type" : "integer", |
| 1189 | "format" : "int32" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1190 | }, |
| 1191 | "jsonArray" : { |
| 1192 | "type" : "boolean" |
| 1193 | }, |
| 1194 | "jsonObject" : { |
| 1195 | "type" : "boolean" |
| 1196 | }, |
| 1197 | "jsonPrimitive" : { |
| 1198 | "type" : "boolean" |
| 1199 | }, |
| 1200 | "jsonNull" : { |
| 1201 | "type" : "boolean" |
| 1202 | }, |
| 1203 | "asJsonArray" : { |
| 1204 | "$ref" : "#/definitions/JsonArray" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1205 | } |
| 1206 | }, |
| 1207 | "x-className" : { |
| 1208 | "type" : "string", |
| 1209 | "format" : "com.google.gson.JsonObject" |
| 1210 | } |
| 1211 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1212 | "ExternalComponent" : { |
| 1213 | "type" : "object", |
| 1214 | "properties" : { |
| 1215 | "state" : { |
| 1216 | "$ref" : "#/definitions/ExternalComponentState" |
| 1217 | }, |
| 1218 | "componentName" : { |
| 1219 | "type" : "string" |
| 1220 | } |
| 1221 | } |
| 1222 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1223 | "OperationalPolicy" : { |
| 1224 | "type" : "object", |
| 1225 | "properties" : { |
| 1226 | "name" : { |
| 1227 | "type" : "string" |
| 1228 | }, |
| 1229 | "configurationsJson" : { |
| 1230 | "$ref" : "#/definitions/JsonObject" |
| 1231 | }, |
| 1232 | "loop" : { |
| 1233 | "$ref" : "#/definitions/Loop" |
| 1234 | }, |
| 1235 | "jsonRepresentation" : { |
| 1236 | "$ref" : "#/definitions/JsonObject" |
| 1237 | } |
| 1238 | } |
| 1239 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1240 | "ExternalComponentState" : { |
| 1241 | "type" : "object", |
| 1242 | "properties" : { |
| 1243 | "stateName" : { |
| 1244 | "type" : "string" |
| 1245 | }, |
| 1246 | "description" : { |
| 1247 | "type" : "string" |
| 1248 | }, |
| 1249 | "level" : { |
| 1250 | "type" : "integer", |
| 1251 | "format" : "int32" |
| 1252 | } |
| 1253 | } |
| 1254 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1255 | "JsonNull" : { |
| 1256 | "type" : "object", |
| 1257 | "properties" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1258 | "asBoolean" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1259 | "type" : "boolean" |
| 1260 | }, |
| 1261 | "asJsonObject" : { |
| 1262 | "$ref" : "#/definitions/JsonObject" |
| 1263 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1264 | "asJsonPrimitive" : { |
| 1265 | "$ref" : "#/definitions/JsonPrimitive" |
| 1266 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1267 | "asString" : { |
| 1268 | "type" : "string" |
| 1269 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1270 | "asJsonNull" : { |
| 1271 | "$ref" : "#/definitions/JsonNull" |
| 1272 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1273 | "asNumber" : { |
| 1274 | "$ref" : "#/definitions/Number" |
| 1275 | }, |
| 1276 | "asDouble" : { |
| 1277 | "type" : "number", |
| 1278 | "format" : "double" |
| 1279 | }, |
| 1280 | "asFloat" : { |
| 1281 | "type" : "number", |
| 1282 | "format" : "float" |
| 1283 | }, |
| 1284 | "asLong" : { |
| 1285 | "type" : "integer", |
| 1286 | "format" : "int64" |
| 1287 | }, |
| 1288 | "asInt" : { |
| 1289 | "type" : "integer", |
| 1290 | "format" : "int32" |
| 1291 | }, |
| 1292 | "asByte" : { |
| 1293 | "type" : "string", |
| 1294 | "format" : "byte" |
| 1295 | }, |
| 1296 | "asCharacter" : { |
| 1297 | "type" : "string" |
| 1298 | }, |
| 1299 | "asBigDecimal" : { |
| 1300 | "type" : "number" |
| 1301 | }, |
| 1302 | "asBigInteger" : { |
| 1303 | "type" : "integer" |
| 1304 | }, |
| 1305 | "asShort" : { |
| 1306 | "type" : "integer", |
| 1307 | "format" : "int32" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1308 | }, |
| 1309 | "jsonArray" : { |
| 1310 | "type" : "boolean" |
| 1311 | }, |
| 1312 | "jsonObject" : { |
| 1313 | "type" : "boolean" |
| 1314 | }, |
| 1315 | "jsonPrimitive" : { |
| 1316 | "type" : "boolean" |
| 1317 | }, |
| 1318 | "jsonNull" : { |
| 1319 | "type" : "boolean" |
| 1320 | }, |
| 1321 | "asJsonArray" : { |
| 1322 | "$ref" : "#/definitions/JsonArray" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1323 | } |
| 1324 | } |
| 1325 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1326 | "CldsModelInstance" : { |
| 1327 | "type" : "object", |
| 1328 | "properties" : { |
| 1329 | "modelInstanceId" : { |
| 1330 | "type" : "string" |
| 1331 | }, |
| 1332 | "location" : { |
| 1333 | "type" : "string" |
| 1334 | }, |
| 1335 | "vmName" : { |
| 1336 | "type" : "string" |
| 1337 | } |
| 1338 | } |
| 1339 | }, |
| 1340 | "CldsModel" : { |
| 1341 | "type" : "object", |
| 1342 | "properties" : { |
| 1343 | "id" : { |
| 1344 | "type" : "string" |
| 1345 | }, |
| 1346 | "templateId" : { |
| 1347 | "type" : "string" |
| 1348 | }, |
| 1349 | "templateName" : { |
| 1350 | "type" : "string" |
| 1351 | }, |
| 1352 | "name" : { |
| 1353 | "type" : "string" |
| 1354 | }, |
| 1355 | "controlNamePrefix" : { |
| 1356 | "type" : "string" |
| 1357 | }, |
| 1358 | "controlNameUuid" : { |
| 1359 | "type" : "string" |
| 1360 | }, |
| 1361 | "bpmnText" : { |
| 1362 | "type" : "string" |
| 1363 | }, |
| 1364 | "propText" : { |
| 1365 | "type" : "string" |
| 1366 | }, |
| 1367 | "imageText" : { |
| 1368 | "type" : "string" |
| 1369 | }, |
| 1370 | "docText" : { |
| 1371 | "type" : "string" |
| 1372 | }, |
| 1373 | "blueprintText" : { |
| 1374 | "type" : "string" |
| 1375 | }, |
| 1376 | "event" : { |
| 1377 | "$ref" : "#/definitions/CldsEvent" |
| 1378 | }, |
| 1379 | "status" : { |
| 1380 | "type" : "string" |
| 1381 | }, |
| 1382 | "permittedActionCd" : { |
| 1383 | "type" : "array", |
| 1384 | "items" : { |
| 1385 | "type" : "string" |
| 1386 | } |
| 1387 | }, |
| 1388 | "cldsModelInstanceList" : { |
| 1389 | "type" : "array", |
| 1390 | "items" : { |
| 1391 | "$ref" : "#/definitions/CldsModelInstance" |
| 1392 | } |
| 1393 | }, |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 1394 | "errorMessageForUi" : { |
| 1395 | "type" : "string" |
| 1396 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1397 | "typeId" : { |
| 1398 | "type" : "string" |
| 1399 | }, |
| 1400 | "typeName" : { |
| 1401 | "type" : "string" |
| 1402 | }, |
| 1403 | "deploymentId" : { |
| 1404 | "type" : "string" |
| 1405 | }, |
osgn422w | aeb7db7 | 2018-11-24 14:57:43 +0100 | [diff] [blame] | 1406 | "deploymentStatusUrl" : { |
| 1407 | "type" : "string" |
| 1408 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1409 | "controlName" : { |
| 1410 | "type" : "string" |
| 1411 | } |
| 1412 | }, |
| 1413 | "x-className" : { |
| 1414 | "type" : "string", |
| 1415 | "format" : "org.onap.clamp.clds.model.CldsModel" |
| 1416 | } |
| 1417 | }, |
| 1418 | "CldsEvent" : { |
| 1419 | "type" : "object", |
| 1420 | "properties" : { |
| 1421 | "id" : { |
| 1422 | "type" : "string" |
| 1423 | }, |
| 1424 | "actionCd" : { |
| 1425 | "type" : "string" |
| 1426 | }, |
| 1427 | "actionStateCd" : { |
| 1428 | "type" : "string" |
| 1429 | }, |
| 1430 | "processInstanceId" : { |
| 1431 | "type" : "string" |
| 1432 | }, |
| 1433 | "userid" : { |
| 1434 | "type" : "string" |
| 1435 | } |
| 1436 | } |
| 1437 | }, |
| 1438 | "CldsMonitoringDetails" : { |
| 1439 | "type" : "object", |
| 1440 | "properties" : { |
| 1441 | "closeloopName" : { |
| 1442 | "type" : "string" |
| 1443 | }, |
xg353y | aef5d4b | 2019-02-11 13:50:16 +0100 | [diff] [blame] | 1444 | "modelId" : { |
| 1445 | "type" : "string" |
| 1446 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1447 | "modelName" : { |
| 1448 | "type" : "string" |
| 1449 | }, |
| 1450 | "serviceTypeId" : { |
| 1451 | "type" : "string" |
| 1452 | }, |
| 1453 | "deploymentId" : { |
| 1454 | "type" : "string" |
| 1455 | }, |
| 1456 | "templateName" : { |
| 1457 | "type" : "string" |
| 1458 | }, |
| 1459 | "action" : { |
| 1460 | "type" : "string" |
| 1461 | }, |
| 1462 | "userid" : { |
| 1463 | "type" : "string" |
| 1464 | }, |
| 1465 | "timestamp" : { |
| 1466 | "type" : "string" |
| 1467 | } |
| 1468 | }, |
| 1469 | "x-className" : { |
| 1470 | "type" : "string", |
| 1471 | "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails" |
| 1472 | } |
| 1473 | }, |
| 1474 | "CldsInfo" : { |
| 1475 | "type" : "object", |
| 1476 | "properties" : { |
| 1477 | "userName" : { |
| 1478 | "type" : "string" |
| 1479 | }, |
| 1480 | "cldsVersion" : { |
| 1481 | "type" : "string" |
| 1482 | }, |
| 1483 | "permissionReadCl" : { |
| 1484 | "type" : "boolean" |
| 1485 | }, |
| 1486 | "permissionUpdateCl" : { |
| 1487 | "type" : "boolean" |
| 1488 | }, |
| 1489 | "permissionReadTemplate" : { |
| 1490 | "type" : "boolean" |
| 1491 | }, |
| 1492 | "permissionUpdateTemplate" : { |
| 1493 | "type" : "boolean" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 1494 | }, |
| 1495 | "permissionReadTosca" : { |
| 1496 | "type" : "boolean" |
| 1497 | }, |
| 1498 | "permissionUpdateTosca" : { |
| 1499 | "type" : "boolean" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1500 | } |
| 1501 | }, |
| 1502 | "x-className" : { |
| 1503 | "type" : "string", |
| 1504 | "format" : "org.onap.clamp.clds.model.CldsInfo" |
| 1505 | } |
| 1506 | }, |
| 1507 | "DcaeEvent" : { |
| 1508 | "type" : "object", |
| 1509 | "properties" : { |
| 1510 | "event" : { |
| 1511 | "type" : "string" |
| 1512 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1513 | "artifactName" : { |
| 1514 | "type" : "string" |
| 1515 | }, |
| 1516 | "instances" : { |
| 1517 | "type" : "array", |
| 1518 | "items" : { |
| 1519 | "$ref" : "#/definitions/CldsModelInstance" |
| 1520 | } |
| 1521 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1522 | "serviceUUID" : { |
| 1523 | "type" : "string" |
| 1524 | }, |
| 1525 | "resourceUUID" : { |
| 1526 | "type" : "string" |
| 1527 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1528 | "controlName" : { |
| 1529 | "type" : "string" |
| 1530 | }, |
| 1531 | "cldsActionCd" : { |
| 1532 | "type" : "string" |
| 1533 | } |
| 1534 | }, |
| 1535 | "x-className" : { |
| 1536 | "type" : "string", |
| 1537 | "format" : "org.onap.clamp.clds.model.DcaeEvent" |
| 1538 | } |
| 1539 | }, |
| 1540 | "ValueItem" : { |
| 1541 | "type" : "object", |
| 1542 | "properties" : { |
| 1543 | "value" : { |
| 1544 | "type" : "string" |
| 1545 | } |
| 1546 | }, |
| 1547 | "x-className" : { |
| 1548 | "type" : "string", |
| 1549 | "format" : "org.onap.clamp.clds.model.ValueItem" |
| 1550 | } |
| 1551 | }, |
| 1552 | "CldsTemplate" : { |
| 1553 | "type" : "object", |
| 1554 | "properties" : { |
| 1555 | "id" : { |
| 1556 | "type" : "string" |
| 1557 | }, |
| 1558 | "name" : { |
| 1559 | "type" : "string" |
| 1560 | }, |
| 1561 | "controlNamePrefix" : { |
| 1562 | "type" : "string" |
| 1563 | }, |
| 1564 | "controlNameUuid" : { |
| 1565 | "type" : "string" |
| 1566 | }, |
| 1567 | "bpmnId" : { |
| 1568 | "type" : "string" |
| 1569 | }, |
| 1570 | "bpmnUserid" : { |
| 1571 | "type" : "string" |
| 1572 | }, |
| 1573 | "bpmnText" : { |
| 1574 | "type" : "string" |
| 1575 | }, |
| 1576 | "imageId" : { |
| 1577 | "type" : "string" |
| 1578 | }, |
| 1579 | "imageUserid" : { |
| 1580 | "type" : "string" |
| 1581 | }, |
| 1582 | "imageText" : { |
| 1583 | "type" : "string" |
| 1584 | }, |
| 1585 | "propId" : { |
| 1586 | "type" : "string" |
| 1587 | }, |
| 1588 | "propUserid" : { |
| 1589 | "type" : "string" |
| 1590 | }, |
| 1591 | "propText" : { |
| 1592 | "type" : "string" |
| 1593 | }, |
| 1594 | "userAuthorizedToUpdate" : { |
| 1595 | "type" : "boolean" |
| 1596 | } |
| 1597 | }, |
| 1598 | "x-className" : { |
| 1599 | "type" : "string", |
| 1600 | "format" : "org.onap.clamp.clds.model.CldsTemplate" |
| 1601 | } |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 1602 | }, |
| 1603 | "CldsDictionary" : { |
| 1604 | "type" : "object", |
| 1605 | "properties" : { |
| 1606 | "dictionaryId" : { |
| 1607 | "type" : "string" |
| 1608 | }, |
| 1609 | "dictionaryName" : { |
| 1610 | "type" : "string" |
| 1611 | }, |
| 1612 | "createdBy" : { |
| 1613 | "type" : "string" |
| 1614 | }, |
| 1615 | "updatedBy" : { |
| 1616 | "type" : "string" |
| 1617 | }, |
| 1618 | "lastUpdatedDate" : { |
| 1619 | "type" : "string" |
| 1620 | }, |
| 1621 | "cldsDictionaryItems" : { |
| 1622 | "type" : "array", |
| 1623 | "items" : { |
| 1624 | "$ref" : "#/definitions/CldsDictionaryItem" |
| 1625 | } |
| 1626 | } |
| 1627 | }, |
| 1628 | "x-className" : { |
| 1629 | "type" : "string", |
| 1630 | "format" : "org.onap.clamp.clds.model.CldsDictionary" |
| 1631 | } |
| 1632 | }, |
| 1633 | "CldsDictionaryItem" : { |
| 1634 | "type" : "object", |
| 1635 | "properties" : { |
| 1636 | "dictElementId" : { |
| 1637 | "type" : "string" |
| 1638 | }, |
| 1639 | "dictionaryId" : { |
| 1640 | "type" : "string" |
| 1641 | }, |
| 1642 | "dictElementName" : { |
| 1643 | "type" : "string" |
| 1644 | }, |
| 1645 | "dictElementShortName" : { |
| 1646 | "type" : "string" |
| 1647 | }, |
| 1648 | "dictElementDesc" : { |
| 1649 | "type" : "string" |
| 1650 | }, |
| 1651 | "dictElementType" : { |
| 1652 | "type" : "string" |
| 1653 | }, |
| 1654 | "createdBy" : { |
| 1655 | "type" : "string" |
| 1656 | }, |
| 1657 | "updatedBy" : { |
| 1658 | "type" : "string" |
| 1659 | }, |
| 1660 | "lastUpdatedDate" : { |
| 1661 | "type" : "string" |
| 1662 | } |
| 1663 | }, |
| 1664 | "x-className" : { |
| 1665 | "type" : "string", |
| 1666 | "format" : "org.onap.clamp.clds.model.CldsDictionaryItem" |
| 1667 | } |
| 1668 | }, |
| 1669 | "CldsToscaModel" : { |
| 1670 | "type" : "object", |
| 1671 | "properties" : { |
| 1672 | "revisionId" : { |
| 1673 | "type" : "string" |
| 1674 | }, |
| 1675 | "toscaModelYaml" : { |
| 1676 | "type" : "string" |
| 1677 | }, |
| 1678 | "version" : { |
| 1679 | "type" : "number", |
| 1680 | "format" : "double" |
| 1681 | }, |
| 1682 | "toscaModelJson" : { |
| 1683 | "type" : "string" |
| 1684 | }, |
| 1685 | "userId" : { |
| 1686 | "type" : "string" |
| 1687 | }, |
| 1688 | "createdDate" : { |
| 1689 | "type" : "string" |
| 1690 | }, |
| 1691 | "lastUpdatedDate" : { |
| 1692 | "type" : "string" |
| 1693 | }, |
| 1694 | "id" : { |
| 1695 | "type" : "string" |
| 1696 | }, |
| 1697 | "policyType" : { |
| 1698 | "type" : "string" |
| 1699 | }, |
| 1700 | "toscaModelName" : { |
| 1701 | "type" : "string" |
| 1702 | } |
| 1703 | }, |
| 1704 | "x-className" : { |
| 1705 | "type" : "string", |
| 1706 | "format" : "org.onap.clamp.clds.model.CldsToscaModel" |
| 1707 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1708 | } |
| 1709 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 1710 | } |