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