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