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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 4 | "version" : "4.0.3-SNAPSHOT", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 5 | "title" : "Clamp Rest API" |
| 6 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 7 | "host" : "localhost:46235", |
| 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" : { |
| 13 | "operationId" : "route3", |
| 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 | }, |
| 29 | "x-camelContextId" : "camel-1", |
| 30 | "x-routeId" : "route3" |
| 31 | } |
| 32 | }, |
| 33 | "/v2/loop/delete/{loopName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 34 | "put" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 35 | "operationId" : "route13", |
| 36 | "parameters" : [ { |
| 37 | "name" : "loopName", |
| 38 | "in" : "path", |
| 39 | "required" : true, |
| 40 | "type" : "string" |
| 41 | } ], |
| 42 | "responses" : { |
| 43 | "200" : { } |
| 44 | }, |
| 45 | "x-camelContextId" : "camel-1", |
| 46 | "x-routeId" : "route13" |
| 47 | } |
| 48 | }, |
| 49 | "/v2/loop/deployLoop/{loopName}" : { |
| 50 | "put" : { |
| 51 | "operationId" : "route8", |
| 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 | }, |
| 67 | "x-camelContextId" : "camel-1", |
| 68 | "x-routeId" : "route8" |
| 69 | } |
| 70 | }, |
| 71 | "/v2/loop/getAllNames" : { |
| 72 | "get" : { |
| 73 | "operationId" : "route2", |
| 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 | }, |
| 86 | "x-camelContextId" : "camel-1", |
| 87 | "x-routeId" : "route2" |
| 88 | } |
| 89 | }, |
| 90 | "/v2/loop/getstatus/{loopName}" : { |
| 91 | "get" : { |
| 92 | "operationId" : "route14", |
| 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 | }, |
| 108 | "x-camelContextId" : "camel-1", |
| 109 | "x-routeId" : "route14" |
| 110 | } |
| 111 | }, |
| 112 | "/v2/loop/restart/{loopName}" : { |
| 113 | "put" : { |
| 114 | "operationId" : "route11", |
| 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 | }, |
| 130 | "x-camelContextId" : "camel-1", |
| 131 | "x-routeId" : "route11" |
| 132 | } |
| 133 | }, |
| 134 | "/v2/loop/stop/{loopName}" : { |
| 135 | "put" : { |
| 136 | "operationId" : "route10", |
| 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 | }, |
| 152 | "x-camelContextId" : "camel-1", |
| 153 | "x-routeId" : "route10" |
| 154 | } |
| 155 | }, |
| 156 | "/v2/loop/submit/{loopName}" : { |
| 157 | "put" : { |
| 158 | "operationId" : "route12", |
| 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 | }, |
| 174 | "x-camelContextId" : "camel-1", |
| 175 | "x-routeId" : "route12" |
| 176 | } |
| 177 | }, |
| 178 | "/v2/loop/svgRepresentation/{loopName}" : { |
| 179 | "get" : { |
| 180 | "operationId" : "route4", |
| 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 | }, |
| 196 | "x-camelContextId" : "camel-1", |
| 197 | "x-routeId" : "route4" |
| 198 | } |
| 199 | }, |
| 200 | "/v2/loop/undeployLoop/{loopName}" : { |
| 201 | "put" : { |
| 202 | "operationId" : "route9", |
| 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 | }, |
| 218 | "x-camelContextId" : "camel-1", |
| 219 | "x-routeId" : "route9" |
| 220 | } |
| 221 | }, |
| 222 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 223 | "post" : { |
| 224 | "operationId" : "route5", |
| 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 | }, |
| 248 | "x-camelContextId" : "camel-1", |
| 249 | "x-routeId" : "route5" |
| 250 | } |
| 251 | }, |
| 252 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 253 | "post" : { |
| 254 | "operationId" : "route7", |
| 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 | }, |
| 278 | "x-camelContextId" : "camel-1", |
| 279 | "x-routeId" : "route7" |
| 280 | } |
| 281 | }, |
| 282 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 283 | "post" : { |
| 284 | "operationId" : "route6", |
| 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 | }, |
| 308 | "x-camelContextId" : "camel-1", |
| 309 | "x-routeId" : "route6" |
| 310 | } |
| 311 | }, |
| 312 | "/v1/clds/action/{action}/{modelName}?test={test}" : { |
| 313 | "put" : { |
| 314 | "operationId" : "route23", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 338 | "x-camelContextId" : "camel-1", |
| 339 | "x-routeId" : "route23" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 344 | "operationId" : "route15", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 354 | "x-camelContextId" : "camel-1", |
| 355 | "x-routeId" : "route15" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 360 | "operationId" : "route16", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 370 | "x-camelContextId" : "camel-1", |
| 371 | "x-routeId" : "route16" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 376 | "operationId" : "route24", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 390 | "x-camelContextId" : "camel-1", |
| 391 | "x-routeId" : "route24" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 396 | "operationId" : "route26", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 415 | "x-camelContextId" : "camel-1", |
| 416 | "x-routeId" : "route26" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 421 | "operationId" : "route22", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 431 | "x-camelContextId" : "camel-1", |
| 432 | "x-routeId" : "route22" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 437 | "operationId" : "route20", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 453 | "x-camelContextId" : "camel-1", |
| 454 | "x-routeId" : "route20" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 455 | }, |
| 456 | "put" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 457 | "operationId" : "route21", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 481 | "x-camelContextId" : "camel-1", |
| 482 | "x-routeId" : "route21" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 487 | "operationId" : "route18", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 498 | "x-camelContextId" : "camel-1", |
| 499 | "x-routeId" : "route18" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 504 | "operationId" : "route19", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 515 | "x-camelContextId" : "camel-1", |
| 516 | "x-routeId" : "route19" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 521 | "operationId" : "route25", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 522 | "produces" : [ "application/json" ], |
| 523 | "responses" : { |
| 524 | "200" : { } |
| 525 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 526 | "x-camelContextId" : "camel-1", |
| 527 | "x-routeId" : "route25" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 532 | "operationId" : "route27", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 551 | "x-camelContextId" : "camel-1", |
| 552 | "x-routeId" : "route27" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 557 | "operationId" : "route32", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 567 | "x-camelContextId" : "camel-1", |
| 568 | "x-routeId" : "route32" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 573 | "operationId" : "route30", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 589 | "x-camelContextId" : "camel-1", |
| 590 | "x-routeId" : "route30" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 591 | }, |
| 592 | "put" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 593 | "operationId" : "route31", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 617 | "x-camelContextId" : "camel-1", |
| 618 | "x-routeId" : "route31" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 623 | "operationId" : "route28", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 634 | "x-camelContextId" : "camel-1", |
| 635 | "x-routeId" : "route28" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 640 | "operationId" : "route29", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 651 | "x-camelContextId" : "camel-1", |
| 652 | "x-routeId" : "route29" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 657 | "operationId" : "route40", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 667 | "x-camelContextId" : "camel-1", |
| 668 | "x-routeId" : "route40" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 673 | "operationId" : "route39", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 697 | "x-camelContextId" : "camel-1", |
| 698 | "x-routeId" : "route39" |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 718 | "x-camelContextId" : "camel-1", |
| 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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 745 | "x-camelContextId" : "camel-1", |
| 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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 751 | "operationId" : "route17", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 752 | "produces" : [ "application/json" ], |
| 753 | "responses" : { |
| 754 | "200" : { } |
| 755 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 756 | "x-camelContextId" : "camel-1", |
| 757 | "x-routeId" : "route17" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 762 | "operationId" : "route36", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 772 | "x-camelContextId" : "camel-1", |
| 773 | "x-routeId" : "route36" |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 793 | "x-camelContextId" : "camel-1", |
| 794 | "x-routeId" : null |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 795 | }, |
| 796 | "put" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 797 | "operationId" : "route33", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 816 | "x-camelContextId" : "camel-1", |
| 817 | "x-routeId" : "route33" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 822 | "operationId" : "route34", |
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 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 838 | "x-camelContextId" : "camel-1", |
| 839 | "x-routeId" : "route34" |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 844 | "operationId" : "route41", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 845 | "produces" : [ "text/plain" ], |
| 846 | "responses" : { |
| 847 | "200" : { } |
| 848 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 849 | "x-camelContextId" : "camel-1", |
| 850 | "x-routeId" : "route41" |
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 | }, |
| 886 | "operationalPolicies" : { |
| 887 | "type" : "array", |
| 888 | "uniqueItems" : true, |
| 889 | "items" : { |
| 890 | "$ref" : "#/definitions/OperationalPolicy" |
| 891 | } |
| 892 | }, |
| 893 | "microServicePolicies" : { |
| 894 | "type" : "array", |
| 895 | "uniqueItems" : true, |
| 896 | "items" : { |
| 897 | "$ref" : "#/definitions/MicroServicePolicy" |
| 898 | } |
| 899 | }, |
| 900 | "loopLogs" : { |
| 901 | "type" : "array", |
| 902 | "uniqueItems" : true, |
| 903 | "items" : { |
| 904 | "$ref" : "#/definitions/LoopLog" |
| 905 | } |
| 906 | } |
| 907 | }, |
| 908 | "x-className" : { |
| 909 | "type" : "string", |
| 910 | "format" : "org.onap.clamp.loop.Loop" |
| 911 | } |
| 912 | }, |
| 913 | "JsonArray" : { |
| 914 | "type" : "object", |
| 915 | "properties" : { |
| 916 | "asString" : { |
| 917 | "type" : "string" |
| 918 | }, |
| 919 | "asBoolean" : { |
| 920 | "type" : "boolean" |
| 921 | }, |
| 922 | "asNumber" : { |
| 923 | "$ref" : "#/definitions/Number" |
| 924 | }, |
| 925 | "asDouble" : { |
| 926 | "type" : "number", |
| 927 | "format" : "double" |
| 928 | }, |
| 929 | "asFloat" : { |
| 930 | "type" : "number", |
| 931 | "format" : "float" |
| 932 | }, |
| 933 | "asLong" : { |
| 934 | "type" : "integer", |
| 935 | "format" : "int64" |
| 936 | }, |
| 937 | "asInt" : { |
| 938 | "type" : "integer", |
| 939 | "format" : "int32" |
| 940 | }, |
| 941 | "asByte" : { |
| 942 | "type" : "string", |
| 943 | "format" : "byte" |
| 944 | }, |
| 945 | "asCharacter" : { |
| 946 | "type" : "string" |
| 947 | }, |
| 948 | "asBigDecimal" : { |
| 949 | "type" : "number" |
| 950 | }, |
| 951 | "asBigInteger" : { |
| 952 | "type" : "integer" |
| 953 | }, |
| 954 | "asShort" : { |
| 955 | "type" : "integer", |
| 956 | "format" : "int32" |
| 957 | }, |
| 958 | "jsonPrimitive" : { |
| 959 | "type" : "boolean" |
| 960 | }, |
| 961 | "jsonNull" : { |
| 962 | "type" : "boolean" |
| 963 | }, |
| 964 | "jsonObject" : { |
| 965 | "type" : "boolean" |
| 966 | }, |
| 967 | "asJsonObject" : { |
| 968 | "$ref" : "#/definitions/JsonObject" |
| 969 | }, |
| 970 | "jsonArray" : { |
| 971 | "type" : "boolean" |
| 972 | }, |
| 973 | "asJsonArray" : { |
| 974 | "$ref" : "#/definitions/JsonArray" |
| 975 | }, |
| 976 | "asJsonPrimitive" : { |
| 977 | "$ref" : "#/definitions/JsonPrimitive" |
| 978 | }, |
| 979 | "asJsonNull" : { |
| 980 | "$ref" : "#/definitions/JsonNull" |
| 981 | } |
| 982 | }, |
| 983 | "x-className" : { |
| 984 | "type" : "string", |
| 985 | "format" : "com.google.gson.JsonArray" |
| 986 | } |
| 987 | }, |
| 988 | "LoopLog" : { |
| 989 | "type" : "object", |
| 990 | "properties" : { |
| 991 | "id" : { |
| 992 | "type" : "integer", |
| 993 | "format" : "int64" |
| 994 | }, |
| 995 | "logType" : { |
| 996 | "type" : "string", |
| 997 | "enum" : [ "INFO", "WARNING", "ERROR" ] |
| 998 | }, |
| 999 | "message" : { |
| 1000 | "type" : "string" |
| 1001 | }, |
| 1002 | "loop" : { |
| 1003 | "$ref" : "#/definitions/Loop" |
| 1004 | }, |
| 1005 | "logInstant" : { |
| 1006 | "type" : "integer", |
| 1007 | "format" : "int64" |
| 1008 | } |
| 1009 | } |
| 1010 | }, |
| 1011 | "Number" : { |
| 1012 | "type" : "object" |
| 1013 | }, |
| 1014 | "JsonPrimitive" : { |
| 1015 | "type" : "object", |
| 1016 | "properties" : { |
| 1017 | "boolean" : { |
| 1018 | "type" : "boolean" |
| 1019 | }, |
| 1020 | "number" : { |
| 1021 | "type" : "boolean" |
| 1022 | }, |
| 1023 | "asString" : { |
| 1024 | "type" : "string" |
| 1025 | }, |
| 1026 | "asBoolean" : { |
| 1027 | "type" : "boolean" |
| 1028 | }, |
| 1029 | "asNumber" : { |
| 1030 | "$ref" : "#/definitions/Number" |
| 1031 | }, |
| 1032 | "asDouble" : { |
| 1033 | "type" : "number", |
| 1034 | "format" : "double" |
| 1035 | }, |
| 1036 | "asFloat" : { |
| 1037 | "type" : "number", |
| 1038 | "format" : "float" |
| 1039 | }, |
| 1040 | "asLong" : { |
| 1041 | "type" : "integer", |
| 1042 | "format" : "int64" |
| 1043 | }, |
| 1044 | "asInt" : { |
| 1045 | "type" : "integer", |
| 1046 | "format" : "int32" |
| 1047 | }, |
| 1048 | "asByte" : { |
| 1049 | "type" : "string", |
| 1050 | "format" : "byte" |
| 1051 | }, |
| 1052 | "asCharacter" : { |
| 1053 | "type" : "string" |
| 1054 | }, |
| 1055 | "asBigDecimal" : { |
| 1056 | "type" : "number" |
| 1057 | }, |
| 1058 | "asBigInteger" : { |
| 1059 | "type" : "integer" |
| 1060 | }, |
| 1061 | "asShort" : { |
| 1062 | "type" : "integer", |
| 1063 | "format" : "int32" |
| 1064 | }, |
| 1065 | "string" : { |
| 1066 | "type" : "boolean" |
| 1067 | }, |
| 1068 | "jsonPrimitive" : { |
| 1069 | "type" : "boolean" |
| 1070 | }, |
| 1071 | "jsonNull" : { |
| 1072 | "type" : "boolean" |
| 1073 | }, |
| 1074 | "jsonObject" : { |
| 1075 | "type" : "boolean" |
| 1076 | }, |
| 1077 | "asJsonObject" : { |
| 1078 | "$ref" : "#/definitions/JsonObject" |
| 1079 | }, |
| 1080 | "jsonArray" : { |
| 1081 | "type" : "boolean" |
| 1082 | }, |
| 1083 | "asJsonArray" : { |
| 1084 | "$ref" : "#/definitions/JsonArray" |
| 1085 | }, |
| 1086 | "asJsonPrimitive" : { |
| 1087 | "$ref" : "#/definitions/JsonPrimitive" |
| 1088 | }, |
| 1089 | "asJsonNull" : { |
| 1090 | "$ref" : "#/definitions/JsonNull" |
| 1091 | } |
| 1092 | } |
| 1093 | }, |
| 1094 | "MicroServicePolicy" : { |
| 1095 | "type" : "object", |
| 1096 | "properties" : { |
| 1097 | "name" : { |
| 1098 | "type" : "string" |
| 1099 | }, |
| 1100 | "modelType" : { |
| 1101 | "type" : "string" |
| 1102 | }, |
| 1103 | "properties" : { |
| 1104 | "$ref" : "#/definitions/JsonObject" |
| 1105 | }, |
| 1106 | "shared" : { |
| 1107 | "type" : "boolean" |
| 1108 | }, |
| 1109 | "policyTosca" : { |
| 1110 | "type" : "string" |
| 1111 | }, |
| 1112 | "jsonRepresentation" : { |
| 1113 | "$ref" : "#/definitions/JsonObject" |
| 1114 | }, |
| 1115 | "usedByLoops" : { |
| 1116 | "type" : "array", |
| 1117 | "uniqueItems" : true, |
| 1118 | "items" : { |
| 1119 | "$ref" : "#/definitions/Loop" |
| 1120 | } |
| 1121 | } |
| 1122 | }, |
| 1123 | "x-className" : { |
| 1124 | "type" : "string", |
| 1125 | "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy" |
| 1126 | } |
| 1127 | }, |
| 1128 | "JsonObject" : { |
| 1129 | "type" : "object", |
| 1130 | "properties" : { |
| 1131 | "jsonPrimitive" : { |
| 1132 | "type" : "boolean" |
| 1133 | }, |
| 1134 | "jsonNull" : { |
| 1135 | "type" : "boolean" |
| 1136 | }, |
| 1137 | "jsonObject" : { |
| 1138 | "type" : "boolean" |
| 1139 | }, |
| 1140 | "asJsonObject" : { |
| 1141 | "$ref" : "#/definitions/JsonObject" |
| 1142 | }, |
| 1143 | "asString" : { |
| 1144 | "type" : "string" |
| 1145 | }, |
| 1146 | "jsonArray" : { |
| 1147 | "type" : "boolean" |
| 1148 | }, |
| 1149 | "asJsonArray" : { |
| 1150 | "$ref" : "#/definitions/JsonArray" |
| 1151 | }, |
| 1152 | "asJsonPrimitive" : { |
| 1153 | "$ref" : "#/definitions/JsonPrimitive" |
| 1154 | }, |
| 1155 | "asJsonNull" : { |
| 1156 | "$ref" : "#/definitions/JsonNull" |
| 1157 | }, |
| 1158 | "asBoolean" : { |
| 1159 | "type" : "boolean" |
| 1160 | }, |
| 1161 | "asNumber" : { |
| 1162 | "$ref" : "#/definitions/Number" |
| 1163 | }, |
| 1164 | "asDouble" : { |
| 1165 | "type" : "number", |
| 1166 | "format" : "double" |
| 1167 | }, |
| 1168 | "asFloat" : { |
| 1169 | "type" : "number", |
| 1170 | "format" : "float" |
| 1171 | }, |
| 1172 | "asLong" : { |
| 1173 | "type" : "integer", |
| 1174 | "format" : "int64" |
| 1175 | }, |
| 1176 | "asInt" : { |
| 1177 | "type" : "integer", |
| 1178 | "format" : "int32" |
| 1179 | }, |
| 1180 | "asByte" : { |
| 1181 | "type" : "string", |
| 1182 | "format" : "byte" |
| 1183 | }, |
| 1184 | "asCharacter" : { |
| 1185 | "type" : "string" |
| 1186 | }, |
| 1187 | "asBigDecimal" : { |
| 1188 | "type" : "number" |
| 1189 | }, |
| 1190 | "asBigInteger" : { |
| 1191 | "type" : "integer" |
| 1192 | }, |
| 1193 | "asShort" : { |
| 1194 | "type" : "integer", |
| 1195 | "format" : "int32" |
| 1196 | } |
| 1197 | }, |
| 1198 | "x-className" : { |
| 1199 | "type" : "string", |
| 1200 | "format" : "com.google.gson.JsonObject" |
| 1201 | } |
| 1202 | }, |
| 1203 | "OperationalPolicy" : { |
| 1204 | "type" : "object", |
| 1205 | "properties" : { |
| 1206 | "name" : { |
| 1207 | "type" : "string" |
| 1208 | }, |
| 1209 | "configurationsJson" : { |
| 1210 | "$ref" : "#/definitions/JsonObject" |
| 1211 | }, |
| 1212 | "loop" : { |
| 1213 | "$ref" : "#/definitions/Loop" |
| 1214 | }, |
| 1215 | "jsonRepresentation" : { |
| 1216 | "$ref" : "#/definitions/JsonObject" |
| 1217 | } |
| 1218 | } |
| 1219 | }, |
| 1220 | "JsonNull" : { |
| 1221 | "type" : "object", |
| 1222 | "properties" : { |
| 1223 | "jsonPrimitive" : { |
| 1224 | "type" : "boolean" |
| 1225 | }, |
| 1226 | "jsonNull" : { |
| 1227 | "type" : "boolean" |
| 1228 | }, |
| 1229 | "jsonObject" : { |
| 1230 | "type" : "boolean" |
| 1231 | }, |
| 1232 | "asJsonObject" : { |
| 1233 | "$ref" : "#/definitions/JsonObject" |
| 1234 | }, |
| 1235 | "asString" : { |
| 1236 | "type" : "string" |
| 1237 | }, |
| 1238 | "jsonArray" : { |
| 1239 | "type" : "boolean" |
| 1240 | }, |
| 1241 | "asJsonArray" : { |
| 1242 | "$ref" : "#/definitions/JsonArray" |
| 1243 | }, |
| 1244 | "asJsonPrimitive" : { |
| 1245 | "$ref" : "#/definitions/JsonPrimitive" |
| 1246 | }, |
| 1247 | "asJsonNull" : { |
| 1248 | "$ref" : "#/definitions/JsonNull" |
| 1249 | }, |
| 1250 | "asBoolean" : { |
| 1251 | "type" : "boolean" |
| 1252 | }, |
| 1253 | "asNumber" : { |
| 1254 | "$ref" : "#/definitions/Number" |
| 1255 | }, |
| 1256 | "asDouble" : { |
| 1257 | "type" : "number", |
| 1258 | "format" : "double" |
| 1259 | }, |
| 1260 | "asFloat" : { |
| 1261 | "type" : "number", |
| 1262 | "format" : "float" |
| 1263 | }, |
| 1264 | "asLong" : { |
| 1265 | "type" : "integer", |
| 1266 | "format" : "int64" |
| 1267 | }, |
| 1268 | "asInt" : { |
| 1269 | "type" : "integer", |
| 1270 | "format" : "int32" |
| 1271 | }, |
| 1272 | "asByte" : { |
| 1273 | "type" : "string", |
| 1274 | "format" : "byte" |
| 1275 | }, |
| 1276 | "asCharacter" : { |
| 1277 | "type" : "string" |
| 1278 | }, |
| 1279 | "asBigDecimal" : { |
| 1280 | "type" : "number" |
| 1281 | }, |
| 1282 | "asBigInteger" : { |
| 1283 | "type" : "integer" |
| 1284 | }, |
| 1285 | "asShort" : { |
| 1286 | "type" : "integer", |
| 1287 | "format" : "int32" |
| 1288 | } |
| 1289 | } |
| 1290 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1291 | "CldsModelInstance" : { |
| 1292 | "type" : "object", |
| 1293 | "properties" : { |
| 1294 | "modelInstanceId" : { |
| 1295 | "type" : "string" |
| 1296 | }, |
| 1297 | "location" : { |
| 1298 | "type" : "string" |
| 1299 | }, |
| 1300 | "vmName" : { |
| 1301 | "type" : "string" |
| 1302 | } |
| 1303 | } |
| 1304 | }, |
| 1305 | "CldsModel" : { |
| 1306 | "type" : "object", |
| 1307 | "properties" : { |
| 1308 | "id" : { |
| 1309 | "type" : "string" |
| 1310 | }, |
| 1311 | "templateId" : { |
| 1312 | "type" : "string" |
| 1313 | }, |
| 1314 | "templateName" : { |
| 1315 | "type" : "string" |
| 1316 | }, |
| 1317 | "name" : { |
| 1318 | "type" : "string" |
| 1319 | }, |
| 1320 | "controlNamePrefix" : { |
| 1321 | "type" : "string" |
| 1322 | }, |
| 1323 | "controlNameUuid" : { |
| 1324 | "type" : "string" |
| 1325 | }, |
| 1326 | "bpmnText" : { |
| 1327 | "type" : "string" |
| 1328 | }, |
| 1329 | "propText" : { |
| 1330 | "type" : "string" |
| 1331 | }, |
| 1332 | "imageText" : { |
| 1333 | "type" : "string" |
| 1334 | }, |
| 1335 | "docText" : { |
| 1336 | "type" : "string" |
| 1337 | }, |
| 1338 | "blueprintText" : { |
| 1339 | "type" : "string" |
| 1340 | }, |
| 1341 | "event" : { |
| 1342 | "$ref" : "#/definitions/CldsEvent" |
| 1343 | }, |
| 1344 | "status" : { |
| 1345 | "type" : "string" |
| 1346 | }, |
| 1347 | "permittedActionCd" : { |
| 1348 | "type" : "array", |
| 1349 | "items" : { |
| 1350 | "type" : "string" |
| 1351 | } |
| 1352 | }, |
| 1353 | "cldsModelInstanceList" : { |
| 1354 | "type" : "array", |
| 1355 | "items" : { |
| 1356 | "$ref" : "#/definitions/CldsModelInstance" |
| 1357 | } |
| 1358 | }, |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 1359 | "errorMessageForUi" : { |
| 1360 | "type" : "string" |
| 1361 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1362 | "typeId" : { |
| 1363 | "type" : "string" |
| 1364 | }, |
| 1365 | "typeName" : { |
| 1366 | "type" : "string" |
| 1367 | }, |
| 1368 | "deploymentId" : { |
| 1369 | "type" : "string" |
| 1370 | }, |
osgn422w | aeb7db7 | 2018-11-24 14:57:43 +0100 | [diff] [blame] | 1371 | "deploymentStatusUrl" : { |
| 1372 | "type" : "string" |
| 1373 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1374 | "controlName" : { |
| 1375 | "type" : "string" |
| 1376 | } |
| 1377 | }, |
| 1378 | "x-className" : { |
| 1379 | "type" : "string", |
| 1380 | "format" : "org.onap.clamp.clds.model.CldsModel" |
| 1381 | } |
| 1382 | }, |
| 1383 | "CldsEvent" : { |
| 1384 | "type" : "object", |
| 1385 | "properties" : { |
| 1386 | "id" : { |
| 1387 | "type" : "string" |
| 1388 | }, |
| 1389 | "actionCd" : { |
| 1390 | "type" : "string" |
| 1391 | }, |
| 1392 | "actionStateCd" : { |
| 1393 | "type" : "string" |
| 1394 | }, |
| 1395 | "processInstanceId" : { |
| 1396 | "type" : "string" |
| 1397 | }, |
| 1398 | "userid" : { |
| 1399 | "type" : "string" |
| 1400 | } |
| 1401 | } |
| 1402 | }, |
| 1403 | "CldsMonitoringDetails" : { |
| 1404 | "type" : "object", |
| 1405 | "properties" : { |
| 1406 | "closeloopName" : { |
| 1407 | "type" : "string" |
| 1408 | }, |
xg353y | aef5d4b | 2019-02-11 13:50:16 +0100 | [diff] [blame] | 1409 | "modelId" : { |
| 1410 | "type" : "string" |
| 1411 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1412 | "modelName" : { |
| 1413 | "type" : "string" |
| 1414 | }, |
| 1415 | "serviceTypeId" : { |
| 1416 | "type" : "string" |
| 1417 | }, |
| 1418 | "deploymentId" : { |
| 1419 | "type" : "string" |
| 1420 | }, |
| 1421 | "templateName" : { |
| 1422 | "type" : "string" |
| 1423 | }, |
| 1424 | "action" : { |
| 1425 | "type" : "string" |
| 1426 | }, |
| 1427 | "userid" : { |
| 1428 | "type" : "string" |
| 1429 | }, |
| 1430 | "timestamp" : { |
| 1431 | "type" : "string" |
| 1432 | } |
| 1433 | }, |
| 1434 | "x-className" : { |
| 1435 | "type" : "string", |
| 1436 | "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails" |
| 1437 | } |
| 1438 | }, |
| 1439 | "CldsInfo" : { |
| 1440 | "type" : "object", |
| 1441 | "properties" : { |
| 1442 | "userName" : { |
| 1443 | "type" : "string" |
| 1444 | }, |
| 1445 | "cldsVersion" : { |
| 1446 | "type" : "string" |
| 1447 | }, |
| 1448 | "permissionReadCl" : { |
| 1449 | "type" : "boolean" |
| 1450 | }, |
| 1451 | "permissionUpdateCl" : { |
| 1452 | "type" : "boolean" |
| 1453 | }, |
| 1454 | "permissionReadTemplate" : { |
| 1455 | "type" : "boolean" |
| 1456 | }, |
| 1457 | "permissionUpdateTemplate" : { |
| 1458 | "type" : "boolean" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 1459 | }, |
| 1460 | "permissionReadTosca" : { |
| 1461 | "type" : "boolean" |
| 1462 | }, |
| 1463 | "permissionUpdateTosca" : { |
| 1464 | "type" : "boolean" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1465 | } |
| 1466 | }, |
| 1467 | "x-className" : { |
| 1468 | "type" : "string", |
| 1469 | "format" : "org.onap.clamp.clds.model.CldsInfo" |
| 1470 | } |
| 1471 | }, |
| 1472 | "DcaeEvent" : { |
| 1473 | "type" : "object", |
| 1474 | "properties" : { |
| 1475 | "event" : { |
| 1476 | "type" : "string" |
| 1477 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1478 | "artifactName" : { |
| 1479 | "type" : "string" |
| 1480 | }, |
| 1481 | "instances" : { |
| 1482 | "type" : "array", |
| 1483 | "items" : { |
| 1484 | "$ref" : "#/definitions/CldsModelInstance" |
| 1485 | } |
| 1486 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1487 | "serviceUUID" : { |
| 1488 | "type" : "string" |
| 1489 | }, |
| 1490 | "resourceUUID" : { |
| 1491 | "type" : "string" |
| 1492 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1493 | "controlName" : { |
| 1494 | "type" : "string" |
| 1495 | }, |
| 1496 | "cldsActionCd" : { |
| 1497 | "type" : "string" |
| 1498 | } |
| 1499 | }, |
| 1500 | "x-className" : { |
| 1501 | "type" : "string", |
| 1502 | "format" : "org.onap.clamp.clds.model.DcaeEvent" |
| 1503 | } |
| 1504 | }, |
| 1505 | "ValueItem" : { |
| 1506 | "type" : "object", |
| 1507 | "properties" : { |
| 1508 | "value" : { |
| 1509 | "type" : "string" |
| 1510 | } |
| 1511 | }, |
| 1512 | "x-className" : { |
| 1513 | "type" : "string", |
| 1514 | "format" : "org.onap.clamp.clds.model.ValueItem" |
| 1515 | } |
| 1516 | }, |
| 1517 | "CldsTemplate" : { |
| 1518 | "type" : "object", |
| 1519 | "properties" : { |
| 1520 | "id" : { |
| 1521 | "type" : "string" |
| 1522 | }, |
| 1523 | "name" : { |
| 1524 | "type" : "string" |
| 1525 | }, |
| 1526 | "controlNamePrefix" : { |
| 1527 | "type" : "string" |
| 1528 | }, |
| 1529 | "controlNameUuid" : { |
| 1530 | "type" : "string" |
| 1531 | }, |
| 1532 | "bpmnId" : { |
| 1533 | "type" : "string" |
| 1534 | }, |
| 1535 | "bpmnUserid" : { |
| 1536 | "type" : "string" |
| 1537 | }, |
| 1538 | "bpmnText" : { |
| 1539 | "type" : "string" |
| 1540 | }, |
| 1541 | "imageId" : { |
| 1542 | "type" : "string" |
| 1543 | }, |
| 1544 | "imageUserid" : { |
| 1545 | "type" : "string" |
| 1546 | }, |
| 1547 | "imageText" : { |
| 1548 | "type" : "string" |
| 1549 | }, |
| 1550 | "propId" : { |
| 1551 | "type" : "string" |
| 1552 | }, |
| 1553 | "propUserid" : { |
| 1554 | "type" : "string" |
| 1555 | }, |
| 1556 | "propText" : { |
| 1557 | "type" : "string" |
| 1558 | }, |
| 1559 | "userAuthorizedToUpdate" : { |
| 1560 | "type" : "boolean" |
| 1561 | } |
| 1562 | }, |
| 1563 | "x-className" : { |
| 1564 | "type" : "string", |
| 1565 | "format" : "org.onap.clamp.clds.model.CldsTemplate" |
| 1566 | } |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 1567 | }, |
| 1568 | "CldsDictionary" : { |
| 1569 | "type" : "object", |
| 1570 | "properties" : { |
| 1571 | "dictionaryId" : { |
| 1572 | "type" : "string" |
| 1573 | }, |
| 1574 | "dictionaryName" : { |
| 1575 | "type" : "string" |
| 1576 | }, |
| 1577 | "createdBy" : { |
| 1578 | "type" : "string" |
| 1579 | }, |
| 1580 | "updatedBy" : { |
| 1581 | "type" : "string" |
| 1582 | }, |
| 1583 | "lastUpdatedDate" : { |
| 1584 | "type" : "string" |
| 1585 | }, |
| 1586 | "cldsDictionaryItems" : { |
| 1587 | "type" : "array", |
| 1588 | "items" : { |
| 1589 | "$ref" : "#/definitions/CldsDictionaryItem" |
| 1590 | } |
| 1591 | } |
| 1592 | }, |
| 1593 | "x-className" : { |
| 1594 | "type" : "string", |
| 1595 | "format" : "org.onap.clamp.clds.model.CldsDictionary" |
| 1596 | } |
| 1597 | }, |
| 1598 | "CldsDictionaryItem" : { |
| 1599 | "type" : "object", |
| 1600 | "properties" : { |
| 1601 | "dictElementId" : { |
| 1602 | "type" : "string" |
| 1603 | }, |
| 1604 | "dictionaryId" : { |
| 1605 | "type" : "string" |
| 1606 | }, |
| 1607 | "dictElementName" : { |
| 1608 | "type" : "string" |
| 1609 | }, |
| 1610 | "dictElementShortName" : { |
| 1611 | "type" : "string" |
| 1612 | }, |
| 1613 | "dictElementDesc" : { |
| 1614 | "type" : "string" |
| 1615 | }, |
| 1616 | "dictElementType" : { |
| 1617 | "type" : "string" |
| 1618 | }, |
| 1619 | "createdBy" : { |
| 1620 | "type" : "string" |
| 1621 | }, |
| 1622 | "updatedBy" : { |
| 1623 | "type" : "string" |
| 1624 | }, |
| 1625 | "lastUpdatedDate" : { |
| 1626 | "type" : "string" |
| 1627 | } |
| 1628 | }, |
| 1629 | "x-className" : { |
| 1630 | "type" : "string", |
| 1631 | "format" : "org.onap.clamp.clds.model.CldsDictionaryItem" |
| 1632 | } |
| 1633 | }, |
| 1634 | "CldsToscaModel" : { |
| 1635 | "type" : "object", |
| 1636 | "properties" : { |
| 1637 | "revisionId" : { |
| 1638 | "type" : "string" |
| 1639 | }, |
| 1640 | "toscaModelYaml" : { |
| 1641 | "type" : "string" |
| 1642 | }, |
| 1643 | "version" : { |
| 1644 | "type" : "number", |
| 1645 | "format" : "double" |
| 1646 | }, |
| 1647 | "toscaModelJson" : { |
| 1648 | "type" : "string" |
| 1649 | }, |
| 1650 | "userId" : { |
| 1651 | "type" : "string" |
| 1652 | }, |
| 1653 | "createdDate" : { |
| 1654 | "type" : "string" |
| 1655 | }, |
| 1656 | "lastUpdatedDate" : { |
| 1657 | "type" : "string" |
| 1658 | }, |
| 1659 | "id" : { |
| 1660 | "type" : "string" |
| 1661 | }, |
| 1662 | "policyType" : { |
| 1663 | "type" : "string" |
| 1664 | }, |
| 1665 | "toscaModelName" : { |
| 1666 | "type" : "string" |
| 1667 | } |
| 1668 | }, |
| 1669 | "x-className" : { |
| 1670 | "type" : "string", |
| 1671 | "format" : "org.onap.clamp.clds.model.CldsToscaModel" |
| 1672 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1673 | } |
| 1674 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 1675 | } |