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 | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 4 | "version" : "6.0.0-SNAPSHOT", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 5 | "title" : "Clamp Rest API" |
| 6 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 7 | "host" : "localhost:39481", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 13 | "operationId" : "route106", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 23 | "x-camelContextId" : "camel-3", |
| 24 | "x-routeId" : "route106" |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 29 | "operationId" : "route91", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 39 | "x-camelContextId" : "camel-3", |
| 40 | "x-routeId" : "route91" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 41 | }, |
| 42 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 43 | "operationId" : "route94", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 62 | "x-camelContextId" : "camel-3", |
| 63 | "x-routeId" : "route94" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 64 | } |
| 65 | }, |
| 66 | "/v2/dictionary/{dictionaryName}" : { |
| 67 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 68 | "operationId" : "route93", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 84 | "x-camelContextId" : "camel-3", |
| 85 | "x-routeId" : "route93" |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 90 | "operationId" : "route95", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 114 | "x-camelContextId" : "camel-3", |
| 115 | "x-routeId" : "route95" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 116 | }, |
| 117 | "delete" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 118 | "operationId" : "route96", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 129 | "x-camelContextId" : "camel-3", |
| 130 | "x-routeId" : "route96" |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 135 | "operationId" : "route97", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 151 | "x-camelContextId" : "camel-3", |
| 152 | "x-routeId" : "route97" |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 157 | "operationId" : "route92", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 170 | "x-camelContextId" : "camel-3", |
| 171 | "x-routeId" : "route92" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 172 | } |
| 173 | }, |
| 174 | "/v2/loop/{loopName}" : { |
| 175 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 176 | "operationId" : "route75", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 192 | "x-camelContextId" : "camel-3", |
| 193 | "x-routeId" : "route75" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 194 | } |
| 195 | }, |
| 196 | "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : { |
| 197 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 198 | "operationId" : "route88", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 224 | "x-camelContextId" : "camel-3", |
| 225 | "x-routeId" : "route88" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 226 | } |
| 227 | }, |
| 228 | "/v2/loop/create/{loopName}?templateName={templateName}" : { |
| 229 | "post" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 230 | "operationId" : "route90", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 247 | "x-camelContextId" : "camel-3", |
| 248 | "x-routeId" : "route90" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 249 | } |
| 250 | }, |
| 251 | "/v2/loop/delete/{loopName}" : { |
| 252 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 253 | "operationId" : "route86", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 263 | "x-camelContextId" : "camel-3", |
| 264 | "x-routeId" : "route86" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 265 | } |
| 266 | }, |
| 267 | "/v2/loop/deploy/{loopName}" : { |
| 268 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 269 | "operationId" : "route79", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 285 | "x-camelContextId" : "camel-3", |
| 286 | "x-routeId" : "route79" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 287 | } |
| 288 | }, |
| 289 | "/v2/loop/getAllNames" : { |
| 290 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 291 | "operationId" : "route74", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 304 | "x-camelContextId" : "camel-3", |
| 305 | "x-routeId" : "route74" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 306 | } |
| 307 | }, |
| 308 | "/v2/loop/getstatus/{loopName}" : { |
| 309 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 310 | "operationId" : "route87", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 326 | "x-camelContextId" : "camel-3", |
| 327 | "x-routeId" : "route87" |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 332 | "operationId" : "route80", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 353 | "x-camelContextId" : "camel-3", |
| 354 | "x-routeId" : "route80" |
sebdet | afac312 | 2020-03-19 10:29:30 -0700 | [diff] [blame] | 355 | } |
| 356 | }, |
| 357 | "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : { |
| 358 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 359 | "operationId" : "route81", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 380 | "x-camelContextId" : "camel-3", |
| 381 | "x-routeId" : "route81" |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 386 | "operationId" : "route89", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 417 | "x-camelContextId" : "camel-3", |
| 418 | "x-routeId" : "route89" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 419 | } |
| 420 | }, |
| 421 | "/v2/loop/restart/{loopName}" : { |
| 422 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 423 | "operationId" : "route84", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 439 | "x-camelContextId" : "camel-3", |
| 440 | "x-routeId" : "route84" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 441 | } |
| 442 | }, |
| 443 | "/v2/loop/stop/{loopName}" : { |
| 444 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 445 | "operationId" : "route83", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 461 | "x-camelContextId" : "camel-3", |
| 462 | "x-routeId" : "route83" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 463 | } |
| 464 | }, |
| 465 | "/v2/loop/submit/{loopName}" : { |
| 466 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 467 | "operationId" : "route85", |
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 | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 483 | "x-camelContextId" : "camel-3", |
| 484 | "x-routeId" : "route85" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 485 | } |
| 486 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 487 | "/v2/loop/undeploy/{loopName}" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 488 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 489 | "operationId" : "route82", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 490 | "produces" : [ "application/json" ], |
| 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 | "$ref" : "#/definitions/Loop" |
| 502 | } |
| 503 | } |
| 504 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 505 | "x-camelContextId" : "camel-3", |
| 506 | "x-routeId" : "route82" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 507 | } |
| 508 | }, |
| 509 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 510 | "post" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 511 | "operationId" : "route76", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 512 | "consumes" : [ "application/json" ], |
| 513 | "produces" : [ "application/json" ], |
| 514 | "parameters" : [ { |
| 515 | "name" : "loopName", |
| 516 | "in" : "path", |
| 517 | "required" : true, |
| 518 | "type" : "string" |
| 519 | }, { |
| 520 | "in" : "body", |
| 521 | "name" : "body", |
| 522 | "required" : true, |
| 523 | "schema" : { |
| 524 | "$ref" : "#/definitions/JsonObject" |
| 525 | } |
| 526 | } ], |
| 527 | "responses" : { |
| 528 | "200" : { |
| 529 | "description" : "Output type", |
| 530 | "schema" : { |
| 531 | "$ref" : "#/definitions/Loop" |
| 532 | } |
| 533 | } |
| 534 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 535 | "x-camelContextId" : "camel-3", |
| 536 | "x-routeId" : "route76" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 537 | } |
| 538 | }, |
| 539 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 540 | "post" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 541 | "operationId" : "route78", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 542 | "consumes" : [ "application/json" ], |
| 543 | "produces" : [ "application/json" ], |
| 544 | "parameters" : [ { |
| 545 | "name" : "loopName", |
| 546 | "in" : "path", |
| 547 | "required" : true, |
| 548 | "type" : "string" |
| 549 | }, { |
| 550 | "in" : "body", |
| 551 | "name" : "body", |
| 552 | "required" : true, |
| 553 | "schema" : { |
| 554 | "$ref" : "#/definitions/MicroServicePolicy" |
| 555 | } |
| 556 | } ], |
| 557 | "responses" : { |
| 558 | "200" : { |
| 559 | "description" : "Output type", |
| 560 | "schema" : { |
| 561 | "$ref" : "#/definitions/MicroServicePolicy" |
| 562 | } |
| 563 | } |
| 564 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 565 | "x-camelContextId" : "camel-3", |
| 566 | "x-routeId" : "route78" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 567 | } |
| 568 | }, |
| 569 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 570 | "post" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 571 | "operationId" : "route77", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 572 | "consumes" : [ "application/json" ], |
| 573 | "produces" : [ "application/json" ], |
| 574 | "parameters" : [ { |
| 575 | "name" : "loopName", |
| 576 | "in" : "path", |
| 577 | "required" : true, |
| 578 | "type" : "string" |
| 579 | }, { |
| 580 | "in" : "body", |
| 581 | "name" : "body", |
| 582 | "required" : true, |
| 583 | "schema" : { |
| 584 | "$ref" : "#/definitions/JsonArray" |
| 585 | } |
| 586 | } ], |
| 587 | "responses" : { |
| 588 | "200" : { |
| 589 | "description" : "Output type", |
| 590 | "schema" : { |
| 591 | "$ref" : "#/definitions/Loop" |
| 592 | } |
| 593 | } |
| 594 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 595 | "x-camelContextId" : "camel-3", |
| 596 | "x-routeId" : "route77" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 597 | } |
| 598 | }, |
| 599 | "/v2/policyToscaModels" : { |
| 600 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 601 | "operationId" : "route98", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 602 | "produces" : [ "application/json" ], |
| 603 | "responses" : { |
| 604 | "200" : { |
| 605 | "description" : "Output type", |
| 606 | "schema" : { |
| 607 | "$ref" : "#/definitions/PolicyModel" |
| 608 | } |
| 609 | } |
| 610 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 611 | "x-camelContextId" : "camel-3", |
| 612 | "x-routeId" : "route98" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 613 | }, |
| 614 | "post" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 615 | "operationId" : "route101", |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 616 | "consumes" : [ "plain/text" ], |
| 617 | "produces" : [ "application/json" ], |
| 618 | "parameters" : [ { |
| 619 | "in" : "body", |
| 620 | "name" : "body", |
| 621 | "required" : true, |
| 622 | "schema" : { |
| 623 | "type" : "string" |
| 624 | } |
| 625 | } ], |
| 626 | "responses" : { |
| 627 | "200" : { |
| 628 | "description" : "Output type", |
| 629 | "schema" : { |
| 630 | "$ref" : "#/definitions/PolicyModel" |
| 631 | } |
| 632 | } |
| 633 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 634 | "x-camelContextId" : "camel-3", |
| 635 | "x-routeId" : "route101" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 636 | } |
| 637 | }, |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 638 | "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : { |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 639 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 640 | "operationId" : "route99", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 641 | "produces" : [ "application/json" ], |
| 642 | "parameters" : [ { |
| 643 | "name" : "policyModelType", |
| 644 | "in" : "path", |
| 645 | "required" : true, |
| 646 | "type" : "string" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 647 | }, { |
| 648 | "name" : "policyModelVersion", |
| 649 | "in" : "path", |
| 650 | "required" : true, |
| 651 | "type" : "string" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 652 | } ], |
| 653 | "responses" : { |
| 654 | "200" : { |
| 655 | "description" : "Output type", |
| 656 | "schema" : { |
| 657 | "$ref" : "#/definitions/PolicyModel" |
| 658 | } |
| 659 | } |
| 660 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 661 | "x-camelContextId" : "camel-3", |
| 662 | "x-routeId" : "route99" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 663 | }, |
| 664 | "put" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 665 | "operationId" : "route102", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 666 | "consumes" : [ "plain/text" ], |
| 667 | "produces" : [ "application/json" ], |
| 668 | "parameters" : [ { |
| 669 | "name" : "policyModelType", |
| 670 | "in" : "path", |
| 671 | "required" : true, |
| 672 | "type" : "string" |
| 673 | }, { |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 674 | "name" : "policyModelVersion", |
| 675 | "in" : "path", |
| 676 | "required" : true, |
| 677 | "type" : "string" |
| 678 | }, { |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 679 | "in" : "body", |
| 680 | "name" : "body", |
| 681 | "required" : true, |
| 682 | "schema" : { |
| 683 | "type" : "string" |
| 684 | } |
| 685 | } ], |
| 686 | "responses" : { |
| 687 | "200" : { |
| 688 | "description" : "Output type", |
| 689 | "schema" : { |
| 690 | "$ref" : "#/definitions/PolicyModel" |
| 691 | } |
| 692 | } |
| 693 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 694 | "x-camelContextId" : "camel-3", |
| 695 | "x-routeId" : "route102" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 696 | } |
| 697 | }, |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 698 | "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : { |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 699 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 700 | "operationId" : "route100", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 701 | "produces" : [ "application/json" ], |
| 702 | "parameters" : [ { |
| 703 | "name" : "policyModelType", |
| 704 | "in" : "path", |
| 705 | "required" : true, |
| 706 | "type" : "string" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 707 | }, { |
| 708 | "name" : "policyModelVersion", |
| 709 | "in" : "path", |
| 710 | "required" : true, |
| 711 | "type" : "string" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 712 | } ], |
| 713 | "responses" : { |
| 714 | "200" : { |
| 715 | "description" : "Output type", |
| 716 | "schema" : { |
| 717 | "type" : "string" |
| 718 | } |
| 719 | } |
| 720 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 721 | "x-camelContextId" : "camel-3", |
| 722 | "x-routeId" : "route100" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 723 | } |
| 724 | }, |
| 725 | "/v2/templates" : { |
| 726 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 727 | "operationId" : "route103", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 728 | "produces" : [ "application/json" ], |
| 729 | "responses" : { |
| 730 | "200" : { |
| 731 | "description" : "Output type", |
| 732 | "schema" : { |
| 733 | "$ref" : "#/definitions/LoopTemplate" |
| 734 | } |
| 735 | } |
| 736 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 737 | "x-camelContextId" : "camel-3", |
| 738 | "x-routeId" : "route103" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 739 | } |
| 740 | }, |
| 741 | "/v2/templates/{templateName}" : { |
| 742 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 743 | "operationId" : "route104", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 744 | "produces" : [ "application/json" ], |
| 745 | "parameters" : [ { |
| 746 | "name" : "templateName", |
| 747 | "in" : "path", |
| 748 | "required" : true, |
| 749 | "type" : "string" |
| 750 | } ], |
| 751 | "responses" : { |
| 752 | "200" : { |
| 753 | "description" : "Output type", |
| 754 | "schema" : { |
| 755 | "$ref" : "#/definitions/LoopTemplate" |
| 756 | } |
| 757 | } |
| 758 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 759 | "x-camelContextId" : "camel-3", |
| 760 | "x-routeId" : "route104" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 761 | } |
| 762 | }, |
| 763 | "/v2/templates/names" : { |
| 764 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 765 | "operationId" : "route105", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 766 | "produces" : [ "application/json" ], |
| 767 | "responses" : { |
| 768 | "200" : { |
| 769 | "description" : "Output type", |
| 770 | "schema" : { |
| 771 | "type" : "array", |
| 772 | "items" : { |
| 773 | "type" : "string" |
| 774 | } |
| 775 | } |
| 776 | } |
| 777 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 778 | "x-camelContextId" : "camel-3", |
| 779 | "x-routeId" : "route105" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 780 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 781 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 782 | "/v1/healthcheck" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 783 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 784 | "operationId" : "route107", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 785 | "produces" : [ "application/json" ], |
| 786 | "responses" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 787 | "200" : { |
| 788 | "description" : "Output type", |
| 789 | "schema" : { |
| 790 | "$ref" : "#/definitions/CldsHealthCheck" |
| 791 | } |
| 792 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 793 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 794 | "x-camelContextId" : "camel-3", |
| 795 | "x-routeId" : "route107" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 796 | } |
| 797 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 798 | "/v1/user/getUser" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 799 | "get" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 800 | "operationId" : "route108", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 801 | "produces" : [ "text/plain" ], |
| 802 | "responses" : { |
| 803 | "200" : { } |
| 804 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 805 | "x-camelContextId" : "camel-3", |
| 806 | "x-routeId" : "route108" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 807 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 808 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 809 | }, |
| 810 | "definitions" : { |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 811 | "ClampInformation" : { |
| 812 | "type" : "object", |
| 813 | "properties" : { |
| 814 | "userName" : { |
| 815 | "type" : "string" |
| 816 | }, |
| 817 | "cldsVersion" : { |
| 818 | "type" : "string" |
| 819 | }, |
| 820 | "allPermissions" : { |
| 821 | "type" : "array", |
| 822 | "items" : { |
| 823 | "type" : "string" |
| 824 | } |
| 825 | } |
| 826 | }, |
| 827 | "x-className" : { |
| 828 | "type" : "string", |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 829 | "format" : "org.onap.policy.clamp.clds.model.ClampInformation" |
sebdet | 723de7f | 2020-03-12 14:38:07 -0700 | [diff] [blame] | 830 | } |
| 831 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 832 | "Dictionary" : { |
| 833 | "type" : "object", |
| 834 | "properties" : { |
| 835 | "createdDate" : { |
| 836 | "type" : "integer", |
| 837 | "format" : "int64" |
| 838 | }, |
| 839 | "updatedDate" : { |
| 840 | "type" : "integer", |
| 841 | "format" : "int64" |
| 842 | }, |
| 843 | "updatedBy" : { |
| 844 | "type" : "string" |
| 845 | }, |
| 846 | "createdBy" : { |
| 847 | "type" : "string" |
| 848 | }, |
| 849 | "name" : { |
| 850 | "type" : "string" |
| 851 | }, |
| 852 | "secondLevelDictionary" : { |
| 853 | "type" : "integer", |
| 854 | "format" : "int32" |
| 855 | }, |
| 856 | "subDictionaryType" : { |
| 857 | "type" : "string" |
| 858 | }, |
| 859 | "dictionaryElements" : { |
| 860 | "type" : "array", |
| 861 | "uniqueItems" : true, |
| 862 | "items" : { |
| 863 | "$ref" : "#/definitions/DictionaryElement" |
| 864 | } |
| 865 | } |
| 866 | }, |
| 867 | "x-className" : { |
| 868 | "type" : "string", |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 869 | "format" : "org.onap.policy.clamp.tosca.Dictionary" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 870 | } |
| 871 | }, |
| 872 | "DictionaryElement" : { |
| 873 | "type" : "object", |
| 874 | "properties" : { |
| 875 | "createdDate" : { |
| 876 | "type" : "integer", |
| 877 | "format" : "int64" |
| 878 | }, |
| 879 | "updatedDate" : { |
| 880 | "type" : "integer", |
| 881 | "format" : "int64" |
| 882 | }, |
| 883 | "updatedBy" : { |
| 884 | "type" : "string" |
| 885 | }, |
| 886 | "createdBy" : { |
| 887 | "type" : "string" |
| 888 | }, |
| 889 | "shortName" : { |
| 890 | "type" : "string" |
| 891 | }, |
| 892 | "name" : { |
| 893 | "type" : "string" |
| 894 | }, |
| 895 | "description" : { |
| 896 | "type" : "string" |
| 897 | }, |
| 898 | "type" : { |
| 899 | "type" : "string" |
| 900 | }, |
| 901 | "subDictionary" : { |
| 902 | "type" : "string" |
| 903 | }, |
| 904 | "usedByDictionaries" : { |
| 905 | "type" : "array", |
| 906 | "uniqueItems" : true, |
| 907 | "items" : { |
| 908 | "$ref" : "#/definitions/Dictionary" |
| 909 | } |
| 910 | } |
| 911 | } |
| 912 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 913 | "Loop" : { |
| 914 | "type" : "object", |
| 915 | "properties" : { |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 916 | "createdDate" : { |
| 917 | "type" : "integer", |
| 918 | "format" : "int64" |
| 919 | }, |
| 920 | "updatedDate" : { |
| 921 | "type" : "integer", |
| 922 | "format" : "int64" |
| 923 | }, |
| 924 | "updatedBy" : { |
| 925 | "type" : "string" |
| 926 | }, |
| 927 | "createdBy" : { |
| 928 | "type" : "string" |
| 929 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 930 | "name" : { |
| 931 | "type" : "string" |
| 932 | }, |
| 933 | "dcaeDeploymentId" : { |
| 934 | "type" : "string" |
| 935 | }, |
| 936 | "dcaeDeploymentStatusUrl" : { |
| 937 | "type" : "string" |
| 938 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 939 | "globalPropertiesJson" : { |
| 940 | "$ref" : "#/definitions/JsonObject" |
| 941 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 942 | "modelService" : { |
| 943 | "$ref" : "#/definitions/Service" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 944 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 945 | "lastComputedState" : { |
| 946 | "type" : "string", |
| 947 | "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ] |
| 948 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 949 | "components" : { |
| 950 | "type" : "object", |
| 951 | "additionalProperties" : { |
| 952 | "$ref" : "#/definitions/ExternalComponent" |
| 953 | } |
| 954 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 955 | "operationalPolicies" : { |
| 956 | "type" : "array", |
| 957 | "uniqueItems" : true, |
| 958 | "items" : { |
| 959 | "$ref" : "#/definitions/OperationalPolicy" |
| 960 | } |
| 961 | }, |
| 962 | "microServicePolicies" : { |
| 963 | "type" : "array", |
| 964 | "uniqueItems" : true, |
| 965 | "items" : { |
| 966 | "$ref" : "#/definitions/MicroServicePolicy" |
| 967 | } |
| 968 | }, |
| 969 | "loopLogs" : { |
| 970 | "type" : "array", |
| 971 | "uniqueItems" : true, |
| 972 | "items" : { |
| 973 | "$ref" : "#/definitions/LoopLog" |
| 974 | } |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 975 | }, |
| 976 | "loopTemplate" : { |
| 977 | "$ref" : "#/definitions/LoopTemplate" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 978 | } |
| 979 | }, |
| 980 | "x-className" : { |
| 981 | "type" : "string", |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 982 | "format" : "org.onap.policy.clamp.loop.Loop" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 983 | } |
| 984 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 985 | "JsonPrimitive" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 986 | "type" : "object", |
| 987 | "properties" : { |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 988 | "asBoolean" : { |
| 989 | "type" : "boolean" |
| 990 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 991 | "asDouble" : { |
| 992 | "type" : "number", |
| 993 | "format" : "double" |
| 994 | }, |
| 995 | "asLong" : { |
| 996 | "type" : "integer", |
| 997 | "format" : "int64" |
| 998 | }, |
sebdet | 88fd35f | 2020-10-09 16:32:12 +0200 | [diff] [blame] | 999 | "boolean" : { |
| 1000 | "type" : "boolean" |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1001 | }, |
sebdet | 88fd35f | 2020-10-09 16:32:12 +0200 | [diff] [blame] | 1002 | "number" : { |
| 1003 | "type" : "boolean" |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1004 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1005 | "asInt" : { |
| 1006 | "type" : "integer", |
| 1007 | "format" : "int32" |
| 1008 | }, |
sebdet | 88fd35f | 2020-10-09 16:32:12 +0200 | [diff] [blame] | 1009 | "asString" : { |
sebdet | 03d382d | 2020-06-03 14:22:37 +0200 | [diff] [blame] | 1010 | "type" : "string" |
| 1011 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1012 | "asFloat" : { |
| 1013 | "type" : "number", |
| 1014 | "format" : "float" |
| 1015 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1016 | "asByte" : { |
| 1017 | "type" : "string", |
| 1018 | "format" : "byte" |
| 1019 | }, |
| 1020 | "asCharacter" : { |
| 1021 | "type" : "string" |
| 1022 | }, |
sebdet | 03d382d | 2020-06-03 14:22:37 +0200 | [diff] [blame] | 1023 | "asBigDecimal" : { |
| 1024 | "type" : "number" |
| 1025 | }, |
| 1026 | "asBigInteger" : { |
| 1027 | "type" : "integer" |
| 1028 | }, |
| 1029 | "asShort" : { |
| 1030 | "type" : "integer", |
| 1031 | "format" : "int32" |
| 1032 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1033 | "asNumber" : { |
| 1034 | "$ref" : "#/definitions/Number" |
| 1035 | }, |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1036 | "string" : { |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1037 | "type" : "boolean" |
sebdet | e65d457 | 2020-03-24 08:51:20 -0700 | [diff] [blame] | 1038 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1039 | "asJsonObject" : { |
| 1040 | "$ref" : "#/definitions/JsonObject" |
| 1041 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1042 | "asJsonArray" : { |
| 1043 | "$ref" : "#/definitions/JsonArray" |
| 1044 | }, |
| 1045 | "jsonObject" : { |
| 1046 | "type" : "boolean" |
| 1047 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1048 | "jsonNull" : { |
| 1049 | "type" : "boolean" |
| 1050 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1051 | "jsonPrimitive" : { |
| 1052 | "type" : "boolean" |
| 1053 | }, |
| 1054 | "asJsonPrimitive" : { |
| 1055 | "$ref" : "#/definitions/JsonPrimitive" |
| 1056 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1057 | "jsonArray" : { |
| 1058 | "type" : "boolean" |
| 1059 | }, |
sebdet | 5ec88e4 | 2020-08-03 15:25:07 +0200 | [diff] [blame] | 1060 | "asJsonNull" : { |
| 1061 | "$ref" : "#/definitions/JsonNull" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1062 | } |
| 1063 | } |
| 1064 | }, |
| 1065 | "MicroServicePolicy" : { |
| 1066 | "type" : "object", |
| 1067 | "properties" : { |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1068 | "createdDate" : { |
| 1069 | "type" : "integer", |
| 1070 | "format" : "int64" |
| 1071 | }, |
| 1072 | "updatedDate" : { |
| 1073 | "type" : "integer", |
| 1074 | "format" : "int64" |
| 1075 | }, |
| 1076 | "updatedBy" : { |
| 1077 | "type" : "string" |
| 1078 | }, |
| 1079 | "createdBy" : { |
| 1080 | "type" : "string" |
| 1081 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1082 | "jsonRepresentation" : { |
| 1083 | "$ref" : "#/definitions/JsonObject" |
| 1084 | }, |
| 1085 | "configurationsJson" : { |
| 1086 | "$ref" : "#/definitions/JsonObject" |
| 1087 | }, |
| 1088 | "loopElementModel" : { |
| 1089 | "$ref" : "#/definitions/LoopElementModel" |
| 1090 | }, |
| 1091 | "pdpGroup" : { |
| 1092 | "type" : "string" |
| 1093 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 1094 | "pdpSubgroup" : { |
sebdet | 2d28cbf | 2020-02-27 14:43:57 -0800 | [diff] [blame] | 1095 | "type" : "string" |
| 1096 | }, |
sebdet | 897a3e0 | 2020-02-28 06:03:51 -0800 | [diff] [blame] | 1097 | "policyModel" : { |
| 1098 | "$ref" : "#/definitions/PolicyModel" |
| 1099 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1100 | "name" : { |
| 1101 | "type" : "string" |
| 1102 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1103 | "context" : { |
| 1104 | "type" : "string" |
| 1105 | }, |
| 1106 | "deviceTypeScope" : { |
| 1107 | "type" : "string" |
| 1108 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1109 | "shared" : { |
| 1110 | "type" : "boolean" |
| 1111 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1112 | "usedByLoops" : { |
| 1113 | "type" : "array", |
| 1114 | "uniqueItems" : true, |
| 1115 | "items" : { |
| 1116 | "$ref" : "#/definitions/Loop" |
| 1117 | } |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1118 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1119 | "dcaeDeploymentId" : { |
| 1120 | "type" : "string" |
| 1121 | }, |
| 1122 | "dcaeDeploymentStatusUrl" : { |
| 1123 | "type" : "string" |
| 1124 | }, |
| 1125 | "dcaeBlueprintId" : { |
| 1126 | "type" : "string" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1127 | } |
| 1128 | }, |
| 1129 | "x-className" : { |
| 1130 | "type" : "string", |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1131 | "format" : "org.onap.policy.clamp.policy.microservice.MicroServicePolicy" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1132 | } |
| 1133 | }, |
| 1134 | "JsonObject" : { |
| 1135 | "type" : "object", |
| 1136 | "properties" : { |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1137 | "asBoolean" : { |
| 1138 | "type" : "boolean" |
| 1139 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1140 | "asDouble" : { |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1141 | "type" : "number", |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1142 | "format" : "double" |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1143 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1144 | "asLong" : { |
| 1145 | "type" : "integer", |
| 1146 | "format" : "int64" |
| 1147 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1148 | "asInt" : { |
| 1149 | "type" : "integer", |
| 1150 | "format" : "int32" |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1151 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1152 | "asJsonObject" : { |
| 1153 | "$ref" : "#/definitions/JsonObject" |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1154 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1155 | "asString" : { |
| 1156 | "type" : "string" |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1157 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1158 | "asJsonArray" : { |
| 1159 | "$ref" : "#/definitions/JsonArray" |
sebdet | 03d382d | 2020-06-03 14:22:37 +0200 | [diff] [blame] | 1160 | }, |
sebdet | 88fd35f | 2020-10-09 16:32:12 +0200 | [diff] [blame] | 1161 | "jsonObject" : { |
| 1162 | "type" : "boolean" |
| 1163 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1164 | "jsonNull" : { |
| 1165 | "type" : "boolean" |
| 1166 | }, |
| 1167 | "jsonPrimitive" : { |
| 1168 | "type" : "boolean" |
| 1169 | }, |
| 1170 | "asJsonPrimitive" : { |
| 1171 | "$ref" : "#/definitions/JsonPrimitive" |
| 1172 | }, |
| 1173 | "jsonArray" : { |
| 1174 | "type" : "boolean" |
| 1175 | }, |
| 1176 | "asFloat" : { |
| 1177 | "type" : "number", |
| 1178 | "format" : "float" |
| 1179 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1180 | "asByte" : { |
| 1181 | "type" : "string", |
| 1182 | "format" : "byte" |
| 1183 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1184 | "asJsonNull" : { |
| 1185 | "$ref" : "#/definitions/JsonNull" |
| 1186 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1187 | "asCharacter" : { |
| 1188 | "type" : "string" |
sebdet | 88fd35f | 2020-10-09 16:32:12 +0200 | [diff] [blame] | 1189 | }, |
sebdet | 03d382d | 2020-06-03 14:22:37 +0200 | [diff] [blame] | 1190 | "asBigDecimal" : { |
| 1191 | "type" : "number" |
| 1192 | }, |
| 1193 | "asBigInteger" : { |
| 1194 | "type" : "integer" |
| 1195 | }, |
| 1196 | "asShort" : { |
| 1197 | "type" : "integer", |
| 1198 | "format" : "int32" |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1199 | }, |
| 1200 | "asNumber" : { |
| 1201 | "$ref" : "#/definitions/Number" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1202 | } |
| 1203 | }, |
| 1204 | "x-className" : { |
| 1205 | "type" : "string", |
| 1206 | "format" : "com.google.gson.JsonObject" |
| 1207 | } |
| 1208 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1209 | "PolicyModel" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1210 | "type" : "object", |
| 1211 | "properties" : { |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1212 | "createdDate" : { |
| 1213 | "type" : "integer", |
| 1214 | "format" : "int64" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1215 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1216 | "updatedDate" : { |
| 1217 | "type" : "integer", |
| 1218 | "format" : "int64" |
| 1219 | }, |
| 1220 | "updatedBy" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1221 | "type" : "string" |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1222 | }, |
| 1223 | "createdBy" : { |
| 1224 | "type" : "string" |
| 1225 | }, |
| 1226 | "policyModelType" : { |
| 1227 | "type" : "string" |
| 1228 | }, |
| 1229 | "version" : { |
| 1230 | "type" : "string" |
| 1231 | }, |
| 1232 | "policyModelTosca" : { |
| 1233 | "type" : "string" |
| 1234 | }, |
| 1235 | "policyAcronym" : { |
| 1236 | "type" : "string" |
| 1237 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1238 | "usedByElementModels" : { |
| 1239 | "type" : "array", |
| 1240 | "uniqueItems" : true, |
| 1241 | "items" : { |
| 1242 | "$ref" : "#/definitions/LoopElementModel" |
| 1243 | } |
sebdet | 2d28cbf | 2020-02-27 14:43:57 -0800 | [diff] [blame] | 1244 | }, |
| 1245 | "policyPdpGroup" : { |
| 1246 | "$ref" : "#/definitions/JsonObject" |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1247 | } |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1248 | }, |
| 1249 | "x-className" : { |
| 1250 | "type" : "string", |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1251 | "format" : "org.onap.policy.clamp.loop.template.PolicyModel" |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1252 | } |
| 1253 | }, |
| 1254 | "Service" : { |
| 1255 | "type" : "object", |
| 1256 | "properties" : { |
| 1257 | "serviceUuid" : { |
| 1258 | "type" : "string" |
| 1259 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1260 | "name" : { |
| 1261 | "type" : "string" |
| 1262 | }, |
| 1263 | "version" : { |
| 1264 | "type" : "string" |
| 1265 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1266 | "serviceDetails" : { |
| 1267 | "$ref" : "#/definitions/JsonObject" |
| 1268 | }, |
| 1269 | "resourceDetails" : { |
| 1270 | "$ref" : "#/definitions/JsonObject" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 1271 | } |
| 1272 | } |
| 1273 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1274 | "LoopTemplateLoopElementModel" : { |
| 1275 | "type" : "object", |
| 1276 | "properties" : { |
| 1277 | "loopTemplate" : { |
| 1278 | "$ref" : "#/definitions/LoopTemplate" |
| 1279 | }, |
| 1280 | "loopElementModel" : { |
| 1281 | "$ref" : "#/definitions/LoopElementModel" |
| 1282 | }, |
| 1283 | "flowOrder" : { |
| 1284 | "type" : "integer", |
| 1285 | "format" : "int32" |
| 1286 | } |
| 1287 | } |
| 1288 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1289 | "OperationalPolicy" : { |
| 1290 | "type" : "object", |
| 1291 | "properties" : { |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1292 | "createdDate" : { |
| 1293 | "type" : "integer", |
| 1294 | "format" : "int64" |
| 1295 | }, |
| 1296 | "updatedDate" : { |
| 1297 | "type" : "integer", |
| 1298 | "format" : "int64" |
| 1299 | }, |
| 1300 | "updatedBy" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1301 | "type" : "string" |
| 1302 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1303 | "createdBy" : { |
| 1304 | "type" : "string" |
| 1305 | }, |
| 1306 | "jsonRepresentation" : { |
| 1307 | "$ref" : "#/definitions/JsonObject" |
| 1308 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1309 | "configurationsJson" : { |
| 1310 | "$ref" : "#/definitions/JsonObject" |
| 1311 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1312 | "loopElementModel" : { |
| 1313 | "$ref" : "#/definitions/LoopElementModel" |
| 1314 | }, |
| 1315 | "pdpGroup" : { |
| 1316 | "type" : "string" |
| 1317 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 1318 | "pdpSubgroup" : { |
sebdet | 2d28cbf | 2020-02-27 14:43:57 -0800 | [diff] [blame] | 1319 | "type" : "string" |
| 1320 | }, |
sebdet | 897a3e0 | 2020-02-28 06:03:51 -0800 | [diff] [blame] | 1321 | "policyModel" : { |
| 1322 | "$ref" : "#/definitions/PolicyModel" |
| 1323 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1324 | "name" : { |
| 1325 | "type" : "string" |
| 1326 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1327 | "loop" : { |
| 1328 | "$ref" : "#/definitions/Loop" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1329 | } |
| 1330 | } |
| 1331 | }, |
| 1332 | "JsonNull" : { |
| 1333 | "type" : "object", |
| 1334 | "properties" : { |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1335 | "asBoolean" : { |
| 1336 | "type" : "boolean" |
| 1337 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1338 | "asDouble" : { |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1339 | "type" : "number", |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1340 | "format" : "double" |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1341 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1342 | "asLong" : { |
| 1343 | "type" : "integer", |
| 1344 | "format" : "int64" |
| 1345 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1346 | "asInt" : { |
| 1347 | "type" : "integer", |
| 1348 | "format" : "int32" |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1349 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1350 | "asJsonObject" : { |
| 1351 | "$ref" : "#/definitions/JsonObject" |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1352 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1353 | "asString" : { |
| 1354 | "type" : "string" |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1355 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1356 | "asJsonArray" : { |
| 1357 | "$ref" : "#/definitions/JsonArray" |
sebdet | 03d382d | 2020-06-03 14:22:37 +0200 | [diff] [blame] | 1358 | }, |
sebdet | 88fd35f | 2020-10-09 16:32:12 +0200 | [diff] [blame] | 1359 | "jsonObject" : { |
| 1360 | "type" : "boolean" |
| 1361 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1362 | "jsonNull" : { |
| 1363 | "type" : "boolean" |
| 1364 | }, |
| 1365 | "jsonPrimitive" : { |
| 1366 | "type" : "boolean" |
| 1367 | }, |
| 1368 | "asJsonPrimitive" : { |
| 1369 | "$ref" : "#/definitions/JsonPrimitive" |
| 1370 | }, |
| 1371 | "jsonArray" : { |
| 1372 | "type" : "boolean" |
| 1373 | }, |
| 1374 | "asFloat" : { |
| 1375 | "type" : "number", |
| 1376 | "format" : "float" |
| 1377 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1378 | "asByte" : { |
| 1379 | "type" : "string", |
| 1380 | "format" : "byte" |
| 1381 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1382 | "asJsonNull" : { |
| 1383 | "$ref" : "#/definitions/JsonNull" |
| 1384 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1385 | "asCharacter" : { |
| 1386 | "type" : "string" |
sebdet | 88fd35f | 2020-10-09 16:32:12 +0200 | [diff] [blame] | 1387 | }, |
sebdet | 03d382d | 2020-06-03 14:22:37 +0200 | [diff] [blame] | 1388 | "asBigDecimal" : { |
| 1389 | "type" : "number" |
| 1390 | }, |
| 1391 | "asBigInteger" : { |
| 1392 | "type" : "integer" |
| 1393 | }, |
| 1394 | "asShort" : { |
| 1395 | "type" : "integer", |
| 1396 | "format" : "int32" |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1397 | }, |
| 1398 | "asNumber" : { |
| 1399 | "$ref" : "#/definitions/Number" |
sebdet | ab9bc44 | 2020-04-23 03:01:37 +0200 | [diff] [blame] | 1400 | } |
| 1401 | } |
| 1402 | }, |
| 1403 | "JsonArray" : { |
| 1404 | "type" : "object", |
| 1405 | "properties" : { |
| 1406 | "asBoolean" : { |
| 1407 | "type" : "boolean" |
sebdet | 580141f | 2020-04-01 00:00:37 +0200 | [diff] [blame] | 1408 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1409 | "asDouble" : { |
sebdet | e65d457 | 2020-03-24 08:51:20 -0700 | [diff] [blame] | 1410 | "type" : "number", |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1411 | "format" : "double" |
sebdet | e65d457 | 2020-03-24 08:51:20 -0700 | [diff] [blame] | 1412 | }, |
sebdet | 061ecec | 2020-05-13 09:34:05 +0200 | [diff] [blame] | 1413 | "asLong" : { |
| 1414 | "type" : "integer", |
| 1415 | "format" : "int64" |
| 1416 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1417 | "asInt" : { |
| 1418 | "type" : "integer", |
| 1419 | "format" : "int32" |
| 1420 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1421 | "asString" : { |
| 1422 | "type" : "string" |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1423 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1424 | "asFloat" : { |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1425 | "type" : "number", |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1426 | "format" : "float" |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1427 | }, |
| 1428 | "asByte" : { |
| 1429 | "type" : "string", |
| 1430 | "format" : "byte" |
| 1431 | }, |
| 1432 | "asCharacter" : { |
sebdet | 03d382d | 2020-06-03 14:22:37 +0200 | [diff] [blame] | 1433 | "type" : "string" |
| 1434 | }, |
| 1435 | "asBigDecimal" : { |
| 1436 | "type" : "number" |
| 1437 | }, |
| 1438 | "asBigInteger" : { |
| 1439 | "type" : "integer" |
| 1440 | }, |
| 1441 | "asShort" : { |
| 1442 | "type" : "integer", |
| 1443 | "format" : "int32" |
| 1444 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1445 | "asNumber" : { |
| 1446 | "$ref" : "#/definitions/Number" |
sebdet | 88fd35f | 2020-10-09 16:32:12 +0200 | [diff] [blame] | 1447 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1448 | "asJsonObject" : { |
| 1449 | "$ref" : "#/definitions/JsonObject" |
xuegao | 58c7c97 | 2019-09-26 13:29:10 +0200 | [diff] [blame] | 1450 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1451 | "asJsonArray" : { |
| 1452 | "$ref" : "#/definitions/JsonArray" |
| 1453 | }, |
| 1454 | "jsonObject" : { |
| 1455 | "type" : "boolean" |
| 1456 | }, |
sebdet | afac312 | 2020-03-19 10:29:30 -0700 | [diff] [blame] | 1457 | "jsonNull" : { |
sebdet | 8604d37 | 2020-03-10 02:44:53 -0700 | [diff] [blame] | 1458 | "type" : "boolean" |
| 1459 | }, |
sebdet | bfabac9 | 2021-01-06 17:24:18 +0100 | [diff] [blame] | 1460 | "jsonPrimitive" : { |
| 1461 | "type" : "boolean" |
| 1462 | }, |
| 1463 | "asJsonPrimitive" : { |
| 1464 | "$ref" : "#/definitions/JsonPrimitive" |
| 1465 | }, |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1466 | "jsonArray" : { |
| 1467 | "type" : "boolean" |
sebdet | 5ec88e4 | 2020-08-03 15:25:07 +0200 | [diff] [blame] | 1468 | }, |
| 1469 | "asJsonNull" : { |
| 1470 | "$ref" : "#/definitions/JsonNull" |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1471 | } |
| 1472 | }, |
| 1473 | "x-className" : { |
| 1474 | "type" : "string", |
| 1475 | "format" : "com.google.gson.JsonArray" |
| 1476 | } |
| 1477 | }, |
| 1478 | "LoopLog" : { |
| 1479 | "type" : "object", |
| 1480 | "properties" : { |
| 1481 | "id" : { |
| 1482 | "type" : "integer", |
| 1483 | "format" : "int64" |
| 1484 | }, |
| 1485 | "logType" : { |
| 1486 | "type" : "string", |
| 1487 | "enum" : [ "INFO", "WARNING", "ERROR" ] |
| 1488 | }, |
| 1489 | "logComponent" : { |
| 1490 | "type" : "string" |
| 1491 | }, |
| 1492 | "message" : { |
| 1493 | "type" : "string" |
| 1494 | }, |
| 1495 | "loop" : { |
| 1496 | "$ref" : "#/definitions/Loop" |
| 1497 | }, |
| 1498 | "logInstant" : { |
| 1499 | "type" : "integer", |
| 1500 | "format" : "int64" |
| 1501 | } |
| 1502 | } |
| 1503 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1504 | "Number" : { |
| 1505 | "type" : "object" |
| 1506 | }, |
| 1507 | "ExternalComponent" : { |
| 1508 | "type" : "object", |
| 1509 | "properties" : { |
| 1510 | "state" : { |
| 1511 | "$ref" : "#/definitions/ExternalComponentState" |
| 1512 | }, |
| 1513 | "componentName" : { |
| 1514 | "type" : "string" |
| 1515 | } |
| 1516 | } |
| 1517 | }, |
| 1518 | "LoopTemplate" : { |
| 1519 | "type" : "object", |
| 1520 | "properties" : { |
| 1521 | "createdDate" : { |
| 1522 | "type" : "integer", |
| 1523 | "format" : "int64" |
| 1524 | }, |
| 1525 | "updatedDate" : { |
| 1526 | "type" : "integer", |
| 1527 | "format" : "int64" |
| 1528 | }, |
| 1529 | "updatedBy" : { |
| 1530 | "type" : "string" |
| 1531 | }, |
| 1532 | "createdBy" : { |
| 1533 | "type" : "string" |
| 1534 | }, |
| 1535 | "name" : { |
| 1536 | "type" : "string" |
| 1537 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1538 | "dcaeBlueprintId" : { |
| 1539 | "type" : "string" |
| 1540 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1541 | "blueprint" : { |
| 1542 | "type" : "string" |
| 1543 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1544 | "loopElementModelsUsed" : { |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1545 | "type" : "array", |
| 1546 | "uniqueItems" : true, |
| 1547 | "items" : { |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1548 | "$ref" : "#/definitions/LoopTemplateLoopElementModel" |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1549 | } |
| 1550 | }, |
| 1551 | "modelService" : { |
| 1552 | "$ref" : "#/definitions/Service" |
| 1553 | }, |
| 1554 | "maximumInstancesAllowed" : { |
| 1555 | "type" : "integer", |
| 1556 | "format" : "int32" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1557 | }, |
| 1558 | "uniqueBlueprint" : { |
| 1559 | "type" : "boolean" |
| 1560 | }, |
| 1561 | "allowedLoopType" : { |
| 1562 | "type" : "string", |
| 1563 | "enum" : [ "OPEN", "CLOSED", "HYBRID" ] |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1564 | } |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1565 | }, |
| 1566 | "x-className" : { |
| 1567 | "type" : "string", |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1568 | "format" : "org.onap.policy.clamp.loop.template.LoopTemplate" |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1569 | } |
| 1570 | }, |
| 1571 | "ExternalComponentState" : { |
| 1572 | "type" : "object", |
| 1573 | "properties" : { |
| 1574 | "stateName" : { |
| 1575 | "type" : "string" |
| 1576 | }, |
| 1577 | "description" : { |
| 1578 | "type" : "string" |
| 1579 | }, |
| 1580 | "level" : { |
| 1581 | "type" : "integer", |
| 1582 | "format" : "int32" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 1583 | } |
| 1584 | } |
| 1585 | }, |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 1586 | "LoopElementModel" : { |
| 1587 | "type" : "object", |
| 1588 | "properties" : { |
| 1589 | "createdDate" : { |
| 1590 | "type" : "integer", |
| 1591 | "format" : "int64" |
| 1592 | }, |
| 1593 | "updatedDate" : { |
| 1594 | "type" : "integer", |
| 1595 | "format" : "int64" |
| 1596 | }, |
| 1597 | "updatedBy" : { |
| 1598 | "type" : "string" |
| 1599 | }, |
| 1600 | "createdBy" : { |
| 1601 | "type" : "string" |
| 1602 | }, |
| 1603 | "name" : { |
| 1604 | "type" : "string" |
| 1605 | }, |
| 1606 | "dcaeBlueprintId" : { |
| 1607 | "type" : "string" |
| 1608 | }, |
| 1609 | "blueprint" : { |
| 1610 | "type" : "string" |
| 1611 | }, |
| 1612 | "loopElementType" : { |
| 1613 | "type" : "string" |
| 1614 | }, |
| 1615 | "shortName" : { |
| 1616 | "type" : "string" |
| 1617 | }, |
| 1618 | "policyModels" : { |
| 1619 | "type" : "array", |
| 1620 | "uniqueItems" : true, |
| 1621 | "items" : { |
| 1622 | "$ref" : "#/definitions/PolicyModel" |
| 1623 | } |
| 1624 | }, |
| 1625 | "usedByLoopTemplates" : { |
| 1626 | "type" : "array", |
| 1627 | "uniqueItems" : true, |
| 1628 | "items" : { |
| 1629 | "$ref" : "#/definitions/LoopTemplateLoopElementModel" |
| 1630 | } |
| 1631 | } |
| 1632 | } |
| 1633 | }, |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 1634 | "CldsHealthCheck" : { |
| 1635 | "type" : "object", |
| 1636 | "properties" : { |
| 1637 | "healthCheckComponent" : { |
| 1638 | "type" : "string" |
| 1639 | }, |
| 1640 | "healthCheckStatus" : { |
| 1641 | "type" : "string" |
| 1642 | }, |
| 1643 | "description" : { |
| 1644 | "type" : "string" |
| 1645 | } |
| 1646 | }, |
| 1647 | "x-className" : { |
| 1648 | "type" : "string", |
sebdet | 91ff401 | 2020-12-11 13:11:18 +0100 | [diff] [blame] | 1649 | "format" : "org.onap.policy.clamp.clds.model.CldsHealthCheck" |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 1650 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 1651 | } |
| 1652 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 1653 | } |