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" : { |
osgn422w | aeb7db7 | 2018-11-24 14:57:43 +0100 | [diff] [blame] | 4 | "version" : "3.0.3-SNAPSHOT", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 5 | "title" : "Clamp Rest API" |
| 6 | }, |
| 7 | "host" : "0.0.0.0", |
| 8 | "basePath" : "/restservices/clds/v1/", |
| 9 | "schemes" : [ "http" ], |
| 10 | "paths" : { |
| 11 | "/clds/action/{action}/{modelName}?test={test}" : { |
| 12 | "put" : { |
| 13 | "operationId" : "route10", |
| 14 | "consumes" : [ "application/json" ], |
| 15 | "produces" : [ "application/json" ], |
| 16 | "parameters" : [ { |
| 17 | "name" : "action", |
| 18 | "in" : "path", |
| 19 | "required" : true, |
| 20 | "type" : "string" |
| 21 | }, { |
| 22 | "name" : "modelName}?test={test", |
| 23 | "in" : "path", |
| 24 | "required" : true, |
| 25 | "type" : "string" |
| 26 | }, { |
| 27 | "in" : "body", |
| 28 | "name" : "body", |
| 29 | "required" : true, |
| 30 | "schema" : { |
| 31 | "$ref" : "#/definitions/CldsModel" |
| 32 | } |
| 33 | } ], |
| 34 | "responses" : { |
| 35 | "200" : { } |
| 36 | }, |
| 37 | "x-camelContextId" : "camel-1", |
| 38 | "x-routeId" : "route10" |
| 39 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 40 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 41 | "/clds/cldsDetails" : { |
| 42 | "get" : { |
| 43 | "operationId" : "route2", |
| 44 | "produces" : [ "application/json" ], |
| 45 | "responses" : { |
| 46 | "200" : { |
| 47 | "description" : "Output type", |
| 48 | "responseSchema" : { |
| 49 | "$ref" : "#/definitions/CldsMonitoringDetails" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 50 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 51 | "schema" : { |
| 52 | "$ref" : "#/definitions/CldsMonitoringDetails" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 53 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 54 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 55 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 56 | "x-camelContextId" : "camel-1", |
| 57 | "x-routeId" : "route2" |
| 58 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 59 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 60 | "/clds/cldsInfo" : { |
| 61 | "get" : { |
| 62 | "operationId" : "route3", |
| 63 | "produces" : [ "application/json" ], |
| 64 | "responses" : { |
| 65 | "200" : { |
| 66 | "description" : "Output type", |
| 67 | "responseSchema" : { |
| 68 | "$ref" : "#/definitions/CldsInfo" |
| 69 | }, |
| 70 | "schema" : { |
| 71 | "$ref" : "#/definitions/CldsInfo" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 72 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 73 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 74 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 75 | "x-camelContextId" : "camel-1", |
| 76 | "x-routeId" : "route3" |
| 77 | } |
| 78 | }, |
| 79 | "/clds/dcae/event?test={test}" : { |
| 80 | "post" : { |
| 81 | "operationId" : "route11", |
| 82 | "consumes" : [ "application/json" ], |
| 83 | "produces" : [ "application/json" ], |
| 84 | "parameters" : [ { |
| 85 | "in" : "body", |
| 86 | "name" : "body", |
| 87 | "required" : true, |
| 88 | "schema" : { |
| 89 | "$ref" : "#/definitions/DcaeEvent" |
| 90 | } |
| 91 | } ], |
| 92 | "responses" : { |
| 93 | "200" : { } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 94 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 95 | "x-camelContextId" : "camel-1", |
| 96 | "x-routeId" : "route11" |
| 97 | } |
| 98 | }, |
| 99 | "/clds/deploy/{modelName}" : { |
| 100 | "put" : { |
| 101 | "operationId" : "route15", |
| 102 | "consumes" : [ "application/json" ], |
| 103 | "produces" : [ "application/json" ], |
| 104 | "parameters" : [ { |
| 105 | "name" : "modelName", |
| 106 | "in" : "path", |
| 107 | "required" : true, |
| 108 | "type" : "string" |
| 109 | }, { |
| 110 | "in" : "body", |
| 111 | "name" : "body", |
| 112 | "required" : true, |
| 113 | "schema" : { |
| 114 | "$ref" : "#/definitions/CldsModel" |
| 115 | } |
| 116 | } ], |
| 117 | "responses" : { |
| 118 | "200" : { } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 119 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 120 | "x-camelContextId" : "camel-1", |
| 121 | "x-routeId" : "route15" |
| 122 | } |
| 123 | }, |
| 124 | "/clds/model-names" : { |
| 125 | "get" : { |
| 126 | "operationId" : "route9", |
| 127 | "produces" : [ "application/json" ], |
| 128 | "responses" : { |
| 129 | "200" : { |
| 130 | "description" : "Output type", |
| 131 | "responseSchema" : { |
| 132 | "$ref" : "#/definitions/ValueItem" |
| 133 | }, |
| 134 | "schema" : { |
| 135 | "$ref" : "#/definitions/ValueItem" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 136 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 137 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 138 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 139 | "x-camelContextId" : "camel-1", |
| 140 | "x-routeId" : "route9" |
| 141 | } |
| 142 | }, |
| 143 | "/clds/model/{modelName}" : { |
| 144 | "get" : { |
| 145 | "operationId" : "route7", |
| 146 | "produces" : [ "application/json" ], |
| 147 | "parameters" : [ { |
| 148 | "name" : "modelName", |
| 149 | "in" : "path", |
| 150 | "required" : true, |
| 151 | "type" : "string" |
| 152 | } ], |
| 153 | "responses" : { |
| 154 | "200" : { |
| 155 | "description" : "Output type", |
| 156 | "responseSchema" : { |
| 157 | "$ref" : "#/definitions/CldsModel" |
| 158 | }, |
| 159 | "schema" : { |
| 160 | "$ref" : "#/definitions/CldsModel" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 161 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 162 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 163 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 164 | "x-camelContextId" : "camel-1", |
| 165 | "x-routeId" : "route7" |
| 166 | }, |
| 167 | "put" : { |
| 168 | "operationId" : "route8", |
| 169 | "consumes" : [ "application/json" ], |
| 170 | "produces" : [ "application/json" ], |
| 171 | "parameters" : [ { |
| 172 | "name" : "modelName", |
| 173 | "in" : "path", |
| 174 | "required" : true, |
| 175 | "type" : "string" |
| 176 | }, { |
| 177 | "in" : "body", |
| 178 | "name" : "body", |
| 179 | "required" : true, |
| 180 | "schema" : { |
| 181 | "$ref" : "#/definitions/CldsModel" |
| 182 | } |
| 183 | } ], |
| 184 | "responses" : { |
| 185 | "200" : { |
| 186 | "description" : "Output type", |
| 187 | "responseSchema" : { |
| 188 | "$ref" : "#/definitions/CldsModel" |
| 189 | }, |
| 190 | "schema" : { |
| 191 | "$ref" : "#/definitions/CldsModel" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 192 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 193 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 194 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 195 | "x-camelContextId" : "camel-1", |
| 196 | "x-routeId" : "route8" |
| 197 | } |
| 198 | }, |
| 199 | "/clds/model/bpmn/{modelName}" : { |
| 200 | "get" : { |
| 201 | "operationId" : "route5", |
| 202 | "produces" : [ "text/xml" ], |
| 203 | "parameters" : [ { |
| 204 | "name" : "modelName", |
| 205 | "in" : "path", |
| 206 | "required" : true, |
| 207 | "type" : "string" |
| 208 | } ], |
| 209 | "responses" : { |
| 210 | "200" : { } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 211 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 212 | "x-camelContextId" : "camel-1", |
| 213 | "x-routeId" : "route5" |
| 214 | } |
| 215 | }, |
| 216 | "/clds/model/image/{modelName}" : { |
| 217 | "get" : { |
| 218 | "operationId" : "route6", |
| 219 | "produces" : [ "text/xml" ], |
| 220 | "parameters" : [ { |
| 221 | "name" : "modelName", |
| 222 | "in" : "path", |
| 223 | "required" : true, |
| 224 | "type" : "string" |
| 225 | } ], |
| 226 | "responses" : { |
| 227 | "200" : { } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 228 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 229 | "x-camelContextId" : "camel-1", |
| 230 | "x-routeId" : "route6" |
| 231 | } |
| 232 | }, |
| 233 | "/clds/properties" : { |
| 234 | "get" : { |
| 235 | "operationId" : "route13", |
| 236 | "produces" : [ "application/json" ], |
| 237 | "responses" : { |
| 238 | "200" : { } |
| 239 | }, |
| 240 | "x-camelContextId" : "camel-1", |
| 241 | "x-routeId" : "route13" |
| 242 | } |
| 243 | }, |
| 244 | "/clds/properties/{serviceInvariantUUID}?refresh={refresh}" : { |
| 245 | "get" : { |
| 246 | "operationId" : "route14", |
| 247 | "produces" : [ "application/json" ], |
| 248 | "parameters" : [ { |
| 249 | "name" : "serviceInvariantUUID}?refresh={refresh", |
| 250 | "in" : "path", |
| 251 | "required" : true, |
| 252 | "type" : "string" |
| 253 | } ], |
| 254 | "responses" : { |
| 255 | "200" : { } |
| 256 | }, |
| 257 | "x-camelContextId" : "camel-1", |
| 258 | "x-routeId" : "route14" |
| 259 | } |
| 260 | }, |
| 261 | "/clds/sdc/services" : { |
| 262 | "get" : { |
| 263 | "operationId" : "route12", |
| 264 | "produces" : [ "application/json" ], |
| 265 | "responses" : { |
| 266 | "200" : { } |
| 267 | }, |
| 268 | "x-camelContextId" : "camel-1", |
| 269 | "x-routeId" : "route12" |
| 270 | } |
| 271 | }, |
| 272 | "/clds/undeploy/{modelName}" : { |
| 273 | "put" : { |
| 274 | "operationId" : "route16", |
| 275 | "consumes" : [ "application/json" ], |
| 276 | "produces" : [ "application/json" ], |
| 277 | "parameters" : [ { |
| 278 | "name" : "modelName", |
| 279 | "in" : "path", |
| 280 | "required" : true, |
| 281 | "type" : "string" |
| 282 | }, { |
| 283 | "in" : "body", |
| 284 | "name" : "body", |
| 285 | "required" : true, |
| 286 | "schema" : { |
| 287 | "$ref" : "#/definitions/CldsModel" |
| 288 | } |
| 289 | } ], |
| 290 | "responses" : { |
| 291 | "200" : { } |
| 292 | }, |
| 293 | "x-camelContextId" : "camel-1", |
| 294 | "x-routeId" : "route16" |
| 295 | } |
| 296 | }, |
| 297 | "/cldsTempate/template-names" : { |
| 298 | "get" : { |
| 299 | "operationId" : "route21", |
| 300 | "produces" : [ "application/json" ], |
| 301 | "responses" : { |
| 302 | "200" : { |
| 303 | "description" : "Output type", |
| 304 | "responseSchema" : { |
| 305 | "$ref" : "#/definitions/ValueItem" |
| 306 | }, |
| 307 | "schema" : { |
| 308 | "$ref" : "#/definitions/ValueItem" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 309 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 310 | } |
| 311 | }, |
| 312 | "x-camelContextId" : "camel-1", |
| 313 | "x-routeId" : "route21" |
| 314 | } |
| 315 | }, |
| 316 | "/cldsTempate/template/{templateName}" : { |
| 317 | "get" : { |
| 318 | "operationId" : "route19", |
| 319 | "produces" : [ "application/json" ], |
| 320 | "parameters" : [ { |
| 321 | "name" : "templateName", |
| 322 | "in" : "path", |
| 323 | "required" : true, |
| 324 | "type" : "string" |
| 325 | } ], |
| 326 | "responses" : { |
| 327 | "200" : { |
| 328 | "description" : "Output type", |
| 329 | "responseSchema" : { |
| 330 | "$ref" : "#/definitions/CldsTemplate" |
| 331 | }, |
| 332 | "schema" : { |
| 333 | "$ref" : "#/definitions/CldsTemplate" |
| 334 | } |
| 335 | } |
| 336 | }, |
| 337 | "x-camelContextId" : "camel-1", |
| 338 | "x-routeId" : "route19" |
| 339 | }, |
| 340 | "put" : { |
| 341 | "operationId" : "route20", |
| 342 | "consumes" : [ "application/json" ], |
| 343 | "produces" : [ "application/json" ], |
| 344 | "parameters" : [ { |
| 345 | "name" : "templateName", |
| 346 | "in" : "path", |
| 347 | "required" : true, |
| 348 | "type" : "string" |
| 349 | }, { |
| 350 | "in" : "body", |
| 351 | "name" : "body", |
| 352 | "required" : true, |
| 353 | "schema" : { |
| 354 | "$ref" : "#/definitions/CldsTemplate" |
| 355 | } |
| 356 | } ], |
| 357 | "responses" : { |
| 358 | "200" : { |
| 359 | "description" : "Output type", |
| 360 | "responseSchema" : { |
| 361 | "$ref" : "#/definitions/CldsTemplate" |
| 362 | }, |
| 363 | "schema" : { |
| 364 | "$ref" : "#/definitions/CldsTemplate" |
| 365 | } |
| 366 | } |
| 367 | }, |
| 368 | "x-camelContextId" : "camel-1", |
| 369 | "x-routeId" : "route20" |
| 370 | } |
| 371 | }, |
| 372 | "/cldsTempate/template/bpmn/{templateName}" : { |
| 373 | "get" : { |
| 374 | "operationId" : "route17", |
| 375 | "produces" : [ "text/xml" ], |
| 376 | "parameters" : [ { |
| 377 | "name" : "templateName", |
| 378 | "in" : "path", |
| 379 | "required" : true, |
| 380 | "type" : "string" |
| 381 | } ], |
| 382 | "responses" : { |
| 383 | "200" : { } |
| 384 | }, |
| 385 | "x-camelContextId" : "camel-1", |
| 386 | "x-routeId" : "route17" |
| 387 | } |
| 388 | }, |
| 389 | "/cldsTempate/template/image/{templateName}" : { |
| 390 | "get" : { |
| 391 | "operationId" : "route18", |
| 392 | "produces" : [ "text/xml" ], |
| 393 | "parameters" : [ { |
| 394 | "name" : "templateName", |
| 395 | "in" : "path", |
| 396 | "required" : true, |
| 397 | "type" : "string" |
| 398 | } ], |
| 399 | "responses" : { |
| 400 | "200" : { } |
| 401 | }, |
| 402 | "x-camelContextId" : "camel-1", |
| 403 | "x-routeId" : "route18" |
| 404 | } |
| 405 | }, |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 406 | "/dictionary" : { |
| 407 | "get" : { |
| 408 | "operationId" : "route27", |
| 409 | "produces" : [ "application/json" ], |
| 410 | "responses" : { |
| 411 | "200" : { |
| 412 | "description" : "Output type", |
| 413 | "responseSchema" : { |
| 414 | "$ref" : "#/definitions/CldsDictionary" |
| 415 | }, |
| 416 | "schema" : { |
| 417 | "$ref" : "#/definitions/CldsDictionary" |
| 418 | } |
| 419 | } |
| 420 | }, |
| 421 | "x-camelContextId" : "camel-1", |
| 422 | "x-routeId" : "route27" |
| 423 | } |
| 424 | }, |
| 425 | "/dictionary/{dictionaryName}" : { |
| 426 | "put" : { |
| 427 | "operationId" : "route26", |
| 428 | "consumes" : [ "application/json" ], |
| 429 | "produces" : [ "application/json" ], |
| 430 | "parameters" : [ { |
| 431 | "name" : "dictionaryName", |
| 432 | "in" : "path", |
| 433 | "required" : true, |
| 434 | "type" : "string" |
| 435 | }, { |
| 436 | "in" : "body", |
| 437 | "name" : "body", |
| 438 | "required" : true, |
| 439 | "schema" : { |
| 440 | "$ref" : "#/definitions/CldsDictionary" |
| 441 | } |
| 442 | } ], |
| 443 | "responses" : { |
| 444 | "200" : { |
| 445 | "description" : "Output type", |
| 446 | "responseSchema" : { |
| 447 | "$ref" : "#/definitions/CldsDictionary" |
| 448 | }, |
| 449 | "schema" : { |
| 450 | "$ref" : "#/definitions/CldsDictionary" |
| 451 | } |
| 452 | } |
| 453 | }, |
| 454 | "x-camelContextId" : "camel-1", |
| 455 | "x-routeId" : "route26" |
| 456 | } |
| 457 | }, |
| 458 | "/dictionary/{dictionaryName}/items" : { |
| 459 | "get" : { |
| 460 | "operationId" : "route29", |
| 461 | "produces" : [ "application/json" ], |
| 462 | "parameters" : [ { |
| 463 | "name" : "dictionaryName", |
| 464 | "in" : "path", |
| 465 | "required" : true, |
| 466 | "type" : "string" |
| 467 | } ], |
| 468 | "responses" : { |
| 469 | "200" : { |
| 470 | "description" : "Output type", |
| 471 | "responseSchema" : { |
| 472 | "$ref" : "#/definitions/CldsDictionary" |
| 473 | }, |
| 474 | "schema" : { |
| 475 | "$ref" : "#/definitions/CldsDictionary" |
| 476 | } |
| 477 | } |
| 478 | }, |
| 479 | "x-camelContextId" : "camel-1", |
| 480 | "x-routeId" : "route29" |
| 481 | }, |
| 482 | "put" : { |
| 483 | "operationId" : "route28", |
| 484 | "consumes" : [ "application/json" ], |
| 485 | "produces" : [ "application/json" ], |
| 486 | "parameters" : [ { |
| 487 | "name" : "dictionaryName", |
| 488 | "in" : "path", |
| 489 | "required" : true, |
| 490 | "type" : "string" |
| 491 | }, { |
| 492 | "in" : "body", |
| 493 | "name" : "body", |
| 494 | "required" : true, |
| 495 | "schema" : { |
| 496 | "$ref" : "#/definitions/CldsDictionaryItem" |
| 497 | } |
| 498 | } ], |
| 499 | "responses" : { |
| 500 | "200" : { |
| 501 | "description" : "Output type", |
| 502 | "responseSchema" : { |
| 503 | "$ref" : "#/definitions/CldsDictionaryItem" |
| 504 | }, |
| 505 | "schema" : { |
| 506 | "$ref" : "#/definitions/CldsDictionaryItem" |
| 507 | } |
| 508 | } |
| 509 | }, |
| 510 | "x-camelContextId" : "camel-1", |
| 511 | "x-routeId" : "route28" |
| 512 | } |
| 513 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 514 | "/healthcheck" : { |
| 515 | "get" : { |
| 516 | "operationId" : "route4", |
| 517 | "produces" : [ "application/json" ], |
| 518 | "responses" : { |
| 519 | "200" : { } |
| 520 | }, |
| 521 | "x-camelContextId" : "camel-1", |
| 522 | "x-routeId" : "route4" |
| 523 | } |
| 524 | }, |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 525 | "/tosca/models" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 526 | "get" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 527 | "operationId" : "route24", |
| 528 | "produces" : [ "application/json" ], |
| 529 | "responses" : { |
| 530 | "200" : { |
| 531 | "description" : "Output type", |
| 532 | "responseSchema" : { |
| 533 | "$ref" : "#/definitions/CldsToscaModel" |
| 534 | }, |
| 535 | "schema" : { |
| 536 | "$ref" : "#/definitions/CldsToscaModel" |
| 537 | } |
| 538 | } |
| 539 | }, |
| 540 | "x-camelContextId" : "camel-1", |
| 541 | "x-routeId" : "route24" |
| 542 | } |
| 543 | }, |
| 544 | "/tosca/models/{toscaModelName}" : { |
| 545 | "get" : { |
| 546 | "operationId" : "route25", |
| 547 | "produces" : [ "application/json" ], |
| 548 | "parameters" : [ { |
| 549 | "name" : "toscaModelName", |
| 550 | "in" : "path", |
| 551 | "required" : true, |
| 552 | "type" : "string" |
| 553 | } ], |
| 554 | "responses" : { |
| 555 | "200" : { |
| 556 | "description" : "Output type", |
| 557 | "responseSchema" : { |
| 558 | "$ref" : "#/definitions/CldsToscaModel" |
| 559 | }, |
| 560 | "schema" : { |
| 561 | "$ref" : "#/definitions/CldsToscaModel" |
| 562 | } |
| 563 | } |
| 564 | }, |
| 565 | "x-camelContextId" : "camel-1", |
| 566 | "x-routeId" : "route25" |
| 567 | }, |
| 568 | "put" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 569 | "operationId" : "route22", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 570 | "consumes" : [ "application/json" ], |
| 571 | "produces" : [ "application/json" ], |
| 572 | "parameters" : [ { |
| 573 | "name" : "toscaModelName", |
| 574 | "in" : "path", |
| 575 | "required" : true, |
| 576 | "type" : "string" |
| 577 | }, { |
| 578 | "in" : "body", |
| 579 | "name" : "body", |
| 580 | "required" : true, |
| 581 | "schema" : { |
| 582 | "$ref" : "#/definitions/CldsToscaModel" |
| 583 | } |
| 584 | } ], |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 585 | "responses" : { |
| 586 | "200" : { } |
| 587 | }, |
| 588 | "x-camelContextId" : "camel-1", |
| 589 | "x-routeId" : "route22" |
| 590 | } |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 591 | }, |
| 592 | "/tosca/models/policyType/{policyType}" : { |
| 593 | "get" : { |
| 594 | "operationId" : "route23", |
| 595 | "produces" : [ "application/json" ], |
| 596 | "parameters" : [ { |
| 597 | "name" : "policyType", |
| 598 | "in" : "path", |
| 599 | "required" : true, |
| 600 | "type" : "string" |
| 601 | } ], |
| 602 | "responses" : { |
| 603 | "200" : { } |
| 604 | }, |
| 605 | "x-camelContextId" : "camel-1", |
| 606 | "x-routeId" : "route23" |
| 607 | } |
| 608 | }, |
| 609 | "/user/getUser" : { |
| 610 | "get" : { |
| 611 | "operationId" : "route30", |
| 612 | "produces" : [ "text/plain" ], |
| 613 | "responses" : { |
| 614 | "200" : { } |
| 615 | }, |
| 616 | "x-camelContextId" : "camel-1", |
| 617 | "x-routeId" : "route30" |
| 618 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 619 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 620 | }, |
| 621 | "definitions" : { |
| 622 | "CldsModelInstance" : { |
| 623 | "type" : "object", |
| 624 | "properties" : { |
| 625 | "modelInstanceId" : { |
| 626 | "type" : "string" |
| 627 | }, |
| 628 | "location" : { |
| 629 | "type" : "string" |
| 630 | }, |
| 631 | "vmName" : { |
| 632 | "type" : "string" |
| 633 | } |
| 634 | } |
| 635 | }, |
| 636 | "CldsModel" : { |
| 637 | "type" : "object", |
| 638 | "properties" : { |
| 639 | "id" : { |
| 640 | "type" : "string" |
| 641 | }, |
| 642 | "templateId" : { |
| 643 | "type" : "string" |
| 644 | }, |
| 645 | "templateName" : { |
| 646 | "type" : "string" |
| 647 | }, |
| 648 | "name" : { |
| 649 | "type" : "string" |
| 650 | }, |
| 651 | "controlNamePrefix" : { |
| 652 | "type" : "string" |
| 653 | }, |
| 654 | "controlNameUuid" : { |
| 655 | "type" : "string" |
| 656 | }, |
| 657 | "bpmnText" : { |
| 658 | "type" : "string" |
| 659 | }, |
| 660 | "propText" : { |
| 661 | "type" : "string" |
| 662 | }, |
| 663 | "imageText" : { |
| 664 | "type" : "string" |
| 665 | }, |
| 666 | "docText" : { |
| 667 | "type" : "string" |
| 668 | }, |
| 669 | "blueprintText" : { |
| 670 | "type" : "string" |
| 671 | }, |
| 672 | "event" : { |
| 673 | "$ref" : "#/definitions/CldsEvent" |
| 674 | }, |
| 675 | "status" : { |
| 676 | "type" : "string" |
| 677 | }, |
| 678 | "permittedActionCd" : { |
| 679 | "type" : "array", |
| 680 | "items" : { |
| 681 | "type" : "string" |
| 682 | } |
| 683 | }, |
| 684 | "cldsModelInstanceList" : { |
| 685 | "type" : "array", |
| 686 | "items" : { |
| 687 | "$ref" : "#/definitions/CldsModelInstance" |
| 688 | } |
| 689 | }, |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 690 | "errorMessageForUi" : { |
| 691 | "type" : "string" |
| 692 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 693 | "typeId" : { |
| 694 | "type" : "string" |
| 695 | }, |
| 696 | "typeName" : { |
| 697 | "type" : "string" |
| 698 | }, |
| 699 | "deploymentId" : { |
| 700 | "type" : "string" |
| 701 | }, |
osgn422w | aeb7db7 | 2018-11-24 14:57:43 +0100 | [diff] [blame] | 702 | "deploymentStatusUrl" : { |
| 703 | "type" : "string" |
| 704 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 705 | "controlName" : { |
| 706 | "type" : "string" |
| 707 | } |
| 708 | }, |
| 709 | "x-className" : { |
| 710 | "type" : "string", |
| 711 | "format" : "org.onap.clamp.clds.model.CldsModel" |
| 712 | } |
| 713 | }, |
| 714 | "CldsEvent" : { |
| 715 | "type" : "object", |
| 716 | "properties" : { |
| 717 | "id" : { |
| 718 | "type" : "string" |
| 719 | }, |
| 720 | "actionCd" : { |
| 721 | "type" : "string" |
| 722 | }, |
| 723 | "actionStateCd" : { |
| 724 | "type" : "string" |
| 725 | }, |
| 726 | "processInstanceId" : { |
| 727 | "type" : "string" |
| 728 | }, |
| 729 | "userid" : { |
| 730 | "type" : "string" |
| 731 | } |
| 732 | } |
| 733 | }, |
| 734 | "CldsMonitoringDetails" : { |
| 735 | "type" : "object", |
| 736 | "properties" : { |
| 737 | "closeloopName" : { |
| 738 | "type" : "string" |
| 739 | }, |
| 740 | "modelName" : { |
| 741 | "type" : "string" |
| 742 | }, |
| 743 | "serviceTypeId" : { |
| 744 | "type" : "string" |
| 745 | }, |
| 746 | "deploymentId" : { |
| 747 | "type" : "string" |
| 748 | }, |
| 749 | "templateName" : { |
| 750 | "type" : "string" |
| 751 | }, |
| 752 | "action" : { |
| 753 | "type" : "string" |
| 754 | }, |
| 755 | "userid" : { |
| 756 | "type" : "string" |
| 757 | }, |
| 758 | "timestamp" : { |
| 759 | "type" : "string" |
| 760 | } |
| 761 | }, |
| 762 | "x-className" : { |
| 763 | "type" : "string", |
| 764 | "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails" |
| 765 | } |
| 766 | }, |
| 767 | "CldsInfo" : { |
| 768 | "type" : "object", |
| 769 | "properties" : { |
| 770 | "userName" : { |
| 771 | "type" : "string" |
| 772 | }, |
| 773 | "cldsVersion" : { |
| 774 | "type" : "string" |
| 775 | }, |
| 776 | "permissionReadCl" : { |
| 777 | "type" : "boolean" |
| 778 | }, |
| 779 | "permissionUpdateCl" : { |
| 780 | "type" : "boolean" |
| 781 | }, |
| 782 | "permissionReadTemplate" : { |
| 783 | "type" : "boolean" |
| 784 | }, |
| 785 | "permissionUpdateTemplate" : { |
| 786 | "type" : "boolean" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 787 | }, |
| 788 | "permissionReadTosca" : { |
| 789 | "type" : "boolean" |
| 790 | }, |
| 791 | "permissionUpdateTosca" : { |
| 792 | "type" : "boolean" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 793 | } |
| 794 | }, |
| 795 | "x-className" : { |
| 796 | "type" : "string", |
| 797 | "format" : "org.onap.clamp.clds.model.CldsInfo" |
| 798 | } |
| 799 | }, |
| 800 | "DcaeEvent" : { |
| 801 | "type" : "object", |
| 802 | "properties" : { |
| 803 | "event" : { |
| 804 | "type" : "string" |
| 805 | }, |
| 806 | "serviceUUID" : { |
| 807 | "type" : "string" |
| 808 | }, |
| 809 | "resourceUUID" : { |
| 810 | "type" : "string" |
| 811 | }, |
| 812 | "artifactName" : { |
| 813 | "type" : "string" |
| 814 | }, |
| 815 | "instances" : { |
| 816 | "type" : "array", |
| 817 | "items" : { |
| 818 | "$ref" : "#/definitions/CldsModelInstance" |
| 819 | } |
| 820 | }, |
| 821 | "controlName" : { |
| 822 | "type" : "string" |
| 823 | }, |
| 824 | "cldsActionCd" : { |
| 825 | "type" : "string" |
| 826 | } |
| 827 | }, |
| 828 | "x-className" : { |
| 829 | "type" : "string", |
| 830 | "format" : "org.onap.clamp.clds.model.DcaeEvent" |
| 831 | } |
| 832 | }, |
| 833 | "ValueItem" : { |
| 834 | "type" : "object", |
| 835 | "properties" : { |
| 836 | "value" : { |
| 837 | "type" : "string" |
| 838 | } |
| 839 | }, |
| 840 | "x-className" : { |
| 841 | "type" : "string", |
| 842 | "format" : "org.onap.clamp.clds.model.ValueItem" |
| 843 | } |
| 844 | }, |
| 845 | "CldsTemplate" : { |
| 846 | "type" : "object", |
| 847 | "properties" : { |
| 848 | "id" : { |
| 849 | "type" : "string" |
| 850 | }, |
| 851 | "name" : { |
| 852 | "type" : "string" |
| 853 | }, |
| 854 | "controlNamePrefix" : { |
| 855 | "type" : "string" |
| 856 | }, |
| 857 | "controlNameUuid" : { |
| 858 | "type" : "string" |
| 859 | }, |
| 860 | "bpmnId" : { |
| 861 | "type" : "string" |
| 862 | }, |
| 863 | "bpmnUserid" : { |
| 864 | "type" : "string" |
| 865 | }, |
| 866 | "bpmnText" : { |
| 867 | "type" : "string" |
| 868 | }, |
| 869 | "imageId" : { |
| 870 | "type" : "string" |
| 871 | }, |
| 872 | "imageUserid" : { |
| 873 | "type" : "string" |
| 874 | }, |
| 875 | "imageText" : { |
| 876 | "type" : "string" |
| 877 | }, |
| 878 | "propId" : { |
| 879 | "type" : "string" |
| 880 | }, |
| 881 | "propUserid" : { |
| 882 | "type" : "string" |
| 883 | }, |
| 884 | "propText" : { |
| 885 | "type" : "string" |
| 886 | }, |
| 887 | "userAuthorizedToUpdate" : { |
| 888 | "type" : "boolean" |
| 889 | } |
| 890 | }, |
| 891 | "x-className" : { |
| 892 | "type" : "string", |
| 893 | "format" : "org.onap.clamp.clds.model.CldsTemplate" |
| 894 | } |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 895 | }, |
| 896 | "CldsDictionary" : { |
| 897 | "type" : "object", |
| 898 | "properties" : { |
| 899 | "dictionaryId" : { |
| 900 | "type" : "string" |
| 901 | }, |
| 902 | "dictionaryName" : { |
| 903 | "type" : "string" |
| 904 | }, |
| 905 | "createdBy" : { |
| 906 | "type" : "string" |
| 907 | }, |
| 908 | "updatedBy" : { |
| 909 | "type" : "string" |
| 910 | }, |
| 911 | "lastUpdatedDate" : { |
| 912 | "type" : "string" |
| 913 | }, |
| 914 | "cldsDictionaryItems" : { |
| 915 | "type" : "array", |
| 916 | "items" : { |
| 917 | "$ref" : "#/definitions/CldsDictionaryItem" |
| 918 | } |
| 919 | } |
| 920 | }, |
| 921 | "x-className" : { |
| 922 | "type" : "string", |
| 923 | "format" : "org.onap.clamp.clds.model.CldsDictionary" |
| 924 | } |
| 925 | }, |
| 926 | "CldsDictionaryItem" : { |
| 927 | "type" : "object", |
| 928 | "properties" : { |
| 929 | "dictElementId" : { |
| 930 | "type" : "string" |
| 931 | }, |
| 932 | "dictionaryId" : { |
| 933 | "type" : "string" |
| 934 | }, |
| 935 | "dictElementName" : { |
| 936 | "type" : "string" |
| 937 | }, |
| 938 | "dictElementShortName" : { |
| 939 | "type" : "string" |
| 940 | }, |
| 941 | "dictElementDesc" : { |
| 942 | "type" : "string" |
| 943 | }, |
| 944 | "dictElementType" : { |
| 945 | "type" : "string" |
| 946 | }, |
| 947 | "createdBy" : { |
| 948 | "type" : "string" |
| 949 | }, |
| 950 | "updatedBy" : { |
| 951 | "type" : "string" |
| 952 | }, |
| 953 | "lastUpdatedDate" : { |
| 954 | "type" : "string" |
| 955 | } |
| 956 | }, |
| 957 | "x-className" : { |
| 958 | "type" : "string", |
| 959 | "format" : "org.onap.clamp.clds.model.CldsDictionaryItem" |
| 960 | } |
| 961 | }, |
| 962 | "CldsToscaModel" : { |
| 963 | "type" : "object", |
| 964 | "properties" : { |
| 965 | "revisionId" : { |
| 966 | "type" : "string" |
| 967 | }, |
| 968 | "toscaModelYaml" : { |
| 969 | "type" : "string" |
| 970 | }, |
| 971 | "version" : { |
| 972 | "type" : "number", |
| 973 | "format" : "double" |
| 974 | }, |
| 975 | "toscaModelJson" : { |
| 976 | "type" : "string" |
| 977 | }, |
| 978 | "userId" : { |
| 979 | "type" : "string" |
| 980 | }, |
| 981 | "createdDate" : { |
| 982 | "type" : "string" |
| 983 | }, |
| 984 | "lastUpdatedDate" : { |
| 985 | "type" : "string" |
| 986 | }, |
| 987 | "id" : { |
| 988 | "type" : "string" |
| 989 | }, |
| 990 | "policyType" : { |
| 991 | "type" : "string" |
| 992 | }, |
| 993 | "toscaModelName" : { |
| 994 | "type" : "string" |
| 995 | } |
| 996 | }, |
| 997 | "x-className" : { |
| 998 | "type" : "string", |
| 999 | "format" : "org.onap.clamp.clds.model.CldsToscaModel" |
| 1000 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1001 | } |
| 1002 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 1003 | } |