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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 4 | "version" : "5.1.0-SNAPSHOT", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 5 | "title" : "Clamp Rest API" |
| 6 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 7 | "host" : "localhost:37033", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 13 | "operationId" : "route112", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 23 | "x-camelContextId" : "camel-3", |
| 24 | "x-routeId" : "route112" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 29 | "operationId" : "route96", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 39 | "x-camelContextId" : "camel-3", |
| 40 | "x-routeId" : "route96" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 41 | }, |
| 42 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 43 | "operationId" : "route99", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 62 | "x-camelContextId" : "camel-3", |
| 63 | "x-routeId" : "route99" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 64 | } |
| 65 | }, |
| 66 | "/v2/dictionary/{dictionaryName}" : { |
| 67 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 68 | "operationId" : "route98", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 84 | "x-camelContextId" : "camel-3", |
| 85 | "x-routeId" : "route98" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 90 | "operationId" : "route100", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 114 | "x-camelContextId" : "camel-3", |
| 115 | "x-routeId" : "route100" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 116 | }, |
| 117 | "delete" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 118 | "operationId" : "route101", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 129 | "x-camelContextId" : "camel-3", |
| 130 | "x-routeId" : "route101" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 135 | "operationId" : "route102", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 151 | "x-camelContextId" : "camel-3", |
| 152 | "x-routeId" : "route102" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 157 | "operationId" : "route97", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 170 | "x-camelContextId" : "camel-3", |
| 171 | "x-routeId" : "route97" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 172 | } |
| 173 | }, |
| 174 | "/v2/loop/{loopName}" : { |
| 175 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 176 | "operationId" : "route79", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 192 | "x-camelContextId" : "camel-3", |
| 193 | "x-routeId" : "route79" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 194 | } |
| 195 | }, |
| 196 | "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : { |
| 197 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 198 | "operationId" : "route93", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 224 | "x-camelContextId" : "camel-3", |
| 225 | "x-routeId" : "route93" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 226 | } |
| 227 | }, |
| 228 | "/v2/loop/create/{loopName}?templateName={templateName}" : { |
| 229 | "post" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 230 | "operationId" : "route95", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 247 | "x-camelContextId" : "camel-3", |
| 248 | "x-routeId" : "route95" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 249 | } |
| 250 | }, |
| 251 | "/v2/loop/delete/{loopName}" : { |
| 252 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 253 | "operationId" : "route91", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 263 | "x-camelContextId" : "camel-3", |
| 264 | "x-routeId" : "route91" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 265 | } |
| 266 | }, |
| 267 | "/v2/loop/deploy/{loopName}" : { |
| 268 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 269 | "operationId" : "route84", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 285 | "x-camelContextId" : "camel-3", |
| 286 | "x-routeId" : "route84" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 287 | } |
| 288 | }, |
| 289 | "/v2/loop/getAllNames" : { |
| 290 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 291 | "operationId" : "route78", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 304 | "x-camelContextId" : "camel-3", |
| 305 | "x-routeId" : "route78" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 306 | } |
| 307 | }, |
| 308 | "/v2/loop/getstatus/{loopName}" : { |
| 309 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 310 | "operationId" : "route92", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 326 | "x-camelContextId" : "camel-3", |
| 327 | "x-routeId" : "route92" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 332 | "operationId" : "route85", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 353 | "x-camelContextId" : "camel-3", |
| 354 | "x-routeId" : "route85" |
sebdet | afac312 | 2020-03-19 10:29:30 -0700 | [diff] [blame] | 355 | } |
| 356 | }, |
| 357 | "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : { |
| 358 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 359 | "operationId" : "route86", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 380 | "x-camelContextId" : "camel-3", |
| 381 | "x-routeId" : "route86" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 386 | "operationId" : "route94", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 417 | "x-camelContextId" : "camel-3", |
| 418 | "x-routeId" : "route94" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 419 | } |
| 420 | }, |
| 421 | "/v2/loop/restart/{loopName}" : { |
| 422 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 423 | "operationId" : "route89", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 439 | "x-camelContextId" : "camel-3", |
| 440 | "x-routeId" : "route89" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 441 | } |
| 442 | }, |
| 443 | "/v2/loop/stop/{loopName}" : { |
| 444 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 445 | "operationId" : "route88", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 461 | "x-camelContextId" : "camel-3", |
| 462 | "x-routeId" : "route88" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 463 | } |
| 464 | }, |
| 465 | "/v2/loop/submit/{loopName}" : { |
| 466 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 467 | "operationId" : "route90", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 483 | "x-camelContextId" : "camel-3", |
| 484 | "x-routeId" : "route90" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 485 | } |
| 486 | }, |
| 487 | "/v2/loop/svgRepresentation/{loopName}" : { |
| 488 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 489 | "operationId" : "route80", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 505 | "x-camelContextId" : "camel-3", |
| 506 | "x-routeId" : "route80" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 511 | "operationId" : "route87", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 527 | "x-camelContextId" : "camel-3", |
| 528 | "x-routeId" : "route87" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 529 | } |
| 530 | }, |
| 531 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 532 | "post" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 533 | "operationId" : "route81", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 557 | "x-camelContextId" : "camel-3", |
| 558 | "x-routeId" : "route81" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 559 | } |
| 560 | }, |
| 561 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 562 | "post" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 563 | "operationId" : "route83", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 587 | "x-camelContextId" : "camel-3", |
| 588 | "x-routeId" : "route83" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 589 | } |
| 590 | }, |
| 591 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 592 | "post" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 593 | "operationId" : "route82", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 617 | "x-camelContextId" : "camel-3", |
| 618 | "x-routeId" : "route82" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 619 | } |
| 620 | }, |
| 621 | "/v2/policyToscaModels" : { |
| 622 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 623 | "operationId" : "route103", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 633 | "x-camelContextId" : "camel-3", |
| 634 | "x-routeId" : "route103" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 635 | }, |
| 636 | "post" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 637 | "operationId" : "route106", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 656 | "x-camelContextId" : "camel-3", |
| 657 | "x-routeId" : "route106" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 662 | "operationId" : "route104", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 683 | "x-camelContextId" : "camel-3", |
| 684 | "x-routeId" : "route104" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 685 | }, |
| 686 | "put" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 687 | "operationId" : "route107", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 716 | "x-camelContextId" : "camel-3", |
| 717 | "x-routeId" : "route107" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 722 | "operationId" : "route105", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 743 | "x-camelContextId" : "camel-3", |
| 744 | "x-routeId" : "route105" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 745 | } |
| 746 | }, |
| 747 | "/v2/templates" : { |
| 748 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 749 | "operationId" : "route108", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 759 | "x-camelContextId" : "camel-3", |
| 760 | "x-routeId" : "route108" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 761 | } |
| 762 | }, |
| 763 | "/v2/templates/{templateName}" : { |
| 764 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 765 | "operationId" : "route109", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 781 | "x-camelContextId" : "camel-3", |
| 782 | "x-routeId" : "route109" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 783 | } |
| 784 | }, |
| 785 | "/v2/templates/{templateName}/svgRepresentation" : { |
| 786 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 787 | "operationId" : "route111", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 803 | "x-camelContextId" : "camel-3", |
| 804 | "x-routeId" : "route111" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 805 | } |
| 806 | }, |
| 807 | "/v2/templates/names" : { |
| 808 | "get" : { |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 809 | "operationId" : "route110", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 822 | "x-camelContextId" : "camel-3", |
| 823 | "x-routeId" : "route110" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 828 | "operationId" : "route113", |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 838 | "x-camelContextId" : "camel-3", |
| 839 | "x-routeId" : "route113" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 844 | "operationId" : "route114", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 845 | "produces" : [ "text/plain" ], |
| 846 | "responses" : { |
| 847 | "200" : { } |
| 848 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 849 | "x-camelContextId" : "camel-3", |
| 850 | "x-routeId" : "route114" |
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 | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 1035 | "asBoolean" : { |
| 1036 | "type" : "boolean" |
| 1037 | }, |
| 1038 | "number" : { |
| 1039 | "type" : "boolean" |
| 1040 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1041 | "asString" : { |
| 1042 | "type" : "string" |
sebdet | afac312 | 2020-03-19 10:29:30 -0700 | [diff] [blame] | 1043 | }, |
| 1044 | "asCharacter" : { |
| 1045 | "type" : "string" |
| 1046 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1047 | "asBigDecimal" : { |
| 1048 | "type" : "number" |
| 1049 | }, |
sebdet | aa486be | 2020-02-18 02:00:11 -0800 | [diff] [blame] | 1050 | "asBigInteger" : { |
| 1051 | "type" : "integer" |
| 1052 | }, |
| 1053 | "asShort" : { |
| 1054 | "type" : "integer", |
| 1055 | "format" : "int32" |
| 1056 | }, |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1057 | "asNumber" : { |
| 1058 | "$ref" : "#/definitions/Number" |
sebdet | afac312 | 2020-03-19 10:29:30 -0700 | [diff] [blame] | 1059 | }, |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1060 | "asDouble" : { |
| 1061 | "type" : "number", |
| 1062 | "format" : "double" |
| 1063 | }, |
| 1064 | "asFloat" : { |
| 1065 | "type" : "number", |
| 1066 | "format" : "float" |
| 1067 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1068 | "asLong" : { |
| 1069 | "type" : "integer", |
| 1070 | "format" : "int64" |
| 1071 | }, |
| 1072 | "asInt" : { |
| 1073 | "type" : "integer", |
| 1074 | "format" : "int32" |
| 1075 | }, |
| 1076 | "asByte" : { |
| 1077 | "type" : "string", |
| 1078 | "format" : "byte" |
| 1079 | }, |
| 1080 | "boolean" : { |
| 1081 | "type" : "boolean" |
| 1082 | }, |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1086 | "asJsonArray" : { |
| 1087 | "$ref" : "#/definitions/JsonArray" |
| 1088 | }, |
| 1089 | "asJsonObject" : { |
| 1090 | "$ref" : "#/definitions/JsonObject" |
| 1091 | }, |
| 1092 | "jsonArray" : { |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1093 | "type" : "boolean" |
| 1094 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1095 | "asJsonNull" : { |
| 1096 | "$ref" : "#/definitions/JsonNull" |
| 1097 | }, |
xuegao | 58c7c97 | 2019-09-26 13:29:10 +0200 | [diff] [blame] | 1098 | "jsonPrimitive" : { |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 1099 | "type" : "boolean" |
xuegao | 58c7c97 | 2019-09-26 13:29:10 +0200 | [diff] [blame] | 1100 | }, |
sebdet | afac312 | 2020-03-19 10:29:30 -0700 | [diff] [blame] | 1101 | "jsonNull" : { |
sebdet | 8604d37 | 2020-03-10 02:44:53 -0700 | [diff] [blame] | 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 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1107 | "jsonObject" : { |
| 1108 | "type" : "boolean" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1190 | "asJsonArray" : { |
| 1191 | "$ref" : "#/definitions/JsonArray" |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1192 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1193 | "asJsonObject" : { |
| 1194 | "$ref" : "#/definitions/JsonObject" |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1195 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1196 | "asString" : { |
| 1197 | "type" : "string" |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1198 | }, |
| 1199 | "asCharacter" : { |
| 1200 | "type" : "string" |
| 1201 | }, |
| 1202 | "asBigDecimal" : { |
| 1203 | "type" : "number" |
| 1204 | }, |
| 1205 | "asBigInteger" : { |
| 1206 | "type" : "integer" |
| 1207 | }, |
| 1208 | "asShort" : { |
| 1209 | "type" : "integer", |
| 1210 | "format" : "int32" |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1211 | }, |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1212 | "jsonArray" : { |
| 1213 | "type" : "boolean" |
| 1214 | }, |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1215 | "asJsonNull" : { |
| 1216 | "$ref" : "#/definitions/JsonNull" |
| 1217 | }, |
| 1218 | "asNumber" : { |
| 1219 | "$ref" : "#/definitions/Number" |
| 1220 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1221 | "jsonPrimitive" : { |
| 1222 | "type" : "boolean" |
| 1223 | }, |
| 1224 | "jsonNull" : { |
| 1225 | "type" : "boolean" |
| 1226 | }, |
| 1227 | "asJsonPrimitive" : { |
| 1228 | "$ref" : "#/definitions/JsonPrimitive" |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1229 | }, |
| 1230 | "asDouble" : { |
| 1231 | "type" : "number", |
| 1232 | "format" : "double" |
| 1233 | }, |
| 1234 | "asFloat" : { |
| 1235 | "type" : "number", |
| 1236 | "format" : "float" |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1237 | }, |
| 1238 | "asLong" : { |
| 1239 | "type" : "integer", |
| 1240 | "format" : "int64" |
| 1241 | }, |
| 1242 | "asInt" : { |
| 1243 | "type" : "integer", |
| 1244 | "format" : "int32" |
| 1245 | }, |
| 1246 | "asByte" : { |
| 1247 | "type" : "string", |
| 1248 | "format" : "byte" |
| 1249 | }, |
| 1250 | "jsonObject" : { |
| 1251 | "type" : "boolean" |
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 | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1391 | "asJsonArray" : { |
| 1392 | "$ref" : "#/definitions/JsonArray" |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1393 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1394 | "asJsonObject" : { |
| 1395 | "$ref" : "#/definitions/JsonObject" |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1396 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1397 | "asString" : { |
| 1398 | "type" : "string" |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1399 | }, |
| 1400 | "asCharacter" : { |
| 1401 | "type" : "string" |
| 1402 | }, |
| 1403 | "asBigDecimal" : { |
| 1404 | "type" : "number" |
| 1405 | }, |
| 1406 | "asBigInteger" : { |
| 1407 | "type" : "integer" |
| 1408 | }, |
| 1409 | "asShort" : { |
| 1410 | "type" : "integer", |
| 1411 | "format" : "int32" |
sebdet | e65d457 | 2020-03-24 08:51:20 -0700 | [diff] [blame] | 1412 | }, |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1413 | "jsonArray" : { |
| 1414 | "type" : "boolean" |
| 1415 | }, |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1416 | "asJsonNull" : { |
| 1417 | "$ref" : "#/definitions/JsonNull" |
| 1418 | }, |
| 1419 | "asNumber" : { |
| 1420 | "$ref" : "#/definitions/Number" |
| 1421 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1422 | "jsonPrimitive" : { |
| 1423 | "type" : "boolean" |
| 1424 | }, |
| 1425 | "jsonNull" : { |
| 1426 | "type" : "boolean" |
| 1427 | }, |
| 1428 | "asJsonPrimitive" : { |
| 1429 | "$ref" : "#/definitions/JsonPrimitive" |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1430 | }, |
| 1431 | "asDouble" : { |
| 1432 | "type" : "number", |
| 1433 | "format" : "double" |
| 1434 | }, |
| 1435 | "asFloat" : { |
| 1436 | "type" : "number", |
| 1437 | "format" : "float" |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1438 | }, |
| 1439 | "asLong" : { |
| 1440 | "type" : "integer", |
| 1441 | "format" : "int64" |
| 1442 | }, |
| 1443 | "asInt" : { |
| 1444 | "type" : "integer", |
| 1445 | "format" : "int32" |
| 1446 | }, |
| 1447 | "asByte" : { |
| 1448 | "type" : "string", |
| 1449 | "format" : "byte" |
| 1450 | }, |
| 1451 | "jsonObject" : { |
| 1452 | "type" : "boolean" |
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 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1462 | "asString" : { |
| 1463 | "type" : "string" |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1464 | }, |
| 1465 | "asCharacter" : { |
| 1466 | "type" : "string" |
| 1467 | }, |
| 1468 | "asBigDecimal" : { |
| 1469 | "type" : "number" |
| 1470 | }, |
| 1471 | "asBigInteger" : { |
| 1472 | "type" : "integer" |
| 1473 | }, |
| 1474 | "asShort" : { |
| 1475 | "type" : "integer", |
| 1476 | "format" : "int32" |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame] | 1477 | }, |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1478 | "asNumber" : { |
| 1479 | "$ref" : "#/definitions/Number" |
| 1480 | }, |
sebdet | e65d457 | 2020-03-24 08:51:20 -0700 | [diff] [blame] | 1481 | "asDouble" : { |
| 1482 | "type" : "number", |
| 1483 | "format" : "double" |
| 1484 | }, |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1485 | "asFloat" : { |
| 1486 | "type" : "number", |
| 1487 | "format" : "float" |
| 1488 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1489 | "asLong" : { |
| 1490 | "type" : "integer", |
| 1491 | "format" : "int64" |
| 1492 | }, |
| 1493 | "asInt" : { |
| 1494 | "type" : "integer", |
| 1495 | "format" : "int32" |
| 1496 | }, |
| 1497 | "asByte" : { |
| 1498 | "type" : "string", |
| 1499 | "format" : "byte" |
| 1500 | }, |
| 1501 | "asJsonArray" : { |
| 1502 | "$ref" : "#/definitions/JsonArray" |
| 1503 | }, |
| 1504 | "asJsonObject" : { |
| 1505 | "$ref" : "#/definitions/JsonObject" |
| 1506 | }, |
| 1507 | "jsonArray" : { |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1508 | "type" : "boolean" |
| 1509 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1510 | "asJsonNull" : { |
| 1511 | "$ref" : "#/definitions/JsonNull" |
| 1512 | }, |
xuegao | 58c7c97 | 2019-09-26 13:29:10 +0200 | [diff] [blame] | 1513 | "jsonPrimitive" : { |
| 1514 | "type" : "boolean" |
| 1515 | }, |
sebdet | afac312 | 2020-03-19 10:29:30 -0700 | [diff] [blame] | 1516 | "jsonNull" : { |
sebdet | 8604d37 | 2020-03-10 02:44:53 -0700 | [diff] [blame] | 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 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1522 | "jsonObject" : { |
| 1523 | "type" : "boolean" |
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 | } |