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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 7 | "host" : "localhost:39237", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 13 | "operationId" : "route49", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 23 | "x-camelContextId" : "camel-2", |
| 24 | "x-routeId" : "route49" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 25 | }, |
| 26 | "put" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 27 | "operationId" : "route51", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 46 | "x-camelContextId" : "camel-2", |
| 47 | "x-routeId" : "route51" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 67 | "x-camelContextId" : "camel-2", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 96 | "x-camelContextId" : "camel-2", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 97 | "x-routeId" : null |
| 98 | }, |
| 99 | "delete" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 100 | "operationId" : "route53", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 111 | "x-camelContextId" : "camel-2", |
| 112 | "x-routeId" : "route53" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 132 | "x-camelContextId" : "camel-2", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 150 | "x-camelContextId" : "camel-2", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 151 | "x-routeId" : null |
| 152 | } |
| 153 | }, |
| 154 | "/v2/loop/{loopName}" : { |
| 155 | "get" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 156 | "operationId" : "route34", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 172 | "x-camelContextId" : "camel-2", |
| 173 | "x-routeId" : "route34" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 174 | } |
| 175 | }, |
| 176 | "/v2/loop/delete/{loopName}" : { |
| 177 | "put" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 178 | "operationId" : "route45", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 188 | "x-camelContextId" : "camel-2", |
| 189 | "x-routeId" : "route45" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 190 | } |
| 191 | }, |
| 192 | "/v2/loop/deploy/{loopName}" : { |
| 193 | "put" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 194 | "operationId" : "route39", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 210 | "x-camelContextId" : "camel-2", |
| 211 | "x-routeId" : "route39" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 212 | } |
| 213 | }, |
| 214 | "/v2/loop/getAllNames" : { |
| 215 | "get" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 216 | "operationId" : "route33", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 229 | "x-camelContextId" : "camel-2", |
| 230 | "x-routeId" : "route33" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 231 | } |
| 232 | }, |
| 233 | "/v2/loop/getstatus/{loopName}" : { |
| 234 | "get" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 235 | "operationId" : "route46", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 251 | "x-camelContextId" : "camel-2", |
| 252 | "x-routeId" : "route46" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 253 | } |
| 254 | }, |
| 255 | "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : { |
| 256 | "put" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 257 | "operationId" : "route40", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 273 | "x-camelContextId" : "camel-2", |
| 274 | "x-routeId" : "route40" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 275 | } |
| 276 | }, |
| 277 | "/v2/loop/restart/{loopName}" : { |
| 278 | "put" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 279 | "operationId" : "route43", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 295 | "x-camelContextId" : "camel-2", |
| 296 | "x-routeId" : "route43" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 297 | } |
| 298 | }, |
| 299 | "/v2/loop/stop/{loopName}" : { |
| 300 | "put" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 301 | "operationId" : "route42", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 317 | "x-camelContextId" : "camel-2", |
| 318 | "x-routeId" : "route42" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 319 | } |
| 320 | }, |
| 321 | "/v2/loop/submit/{loopName}" : { |
| 322 | "put" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 323 | "operationId" : "route44", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 339 | "x-camelContextId" : "camel-2", |
| 340 | "x-routeId" : "route44" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 341 | } |
| 342 | }, |
| 343 | "/v2/loop/svgRepresentation/{loopName}" : { |
| 344 | "get" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 345 | "operationId" : "route35", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 361 | "x-camelContextId" : "camel-2", |
| 362 | "x-routeId" : "route35" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 367 | "operationId" : "route41", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 383 | "x-camelContextId" : "camel-2", |
| 384 | "x-routeId" : "route41" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 385 | } |
| 386 | }, |
| 387 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 388 | "post" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 389 | "operationId" : "route36", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 413 | "x-camelContextId" : "camel-2", |
| 414 | "x-routeId" : "route36" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 415 | } |
| 416 | }, |
| 417 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 418 | "post" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 419 | "operationId" : "route38", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 443 | "x-camelContextId" : "camel-2", |
| 444 | "x-routeId" : "route38" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 445 | } |
| 446 | }, |
| 447 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 448 | "post" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 449 | "operationId" : "route37", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 473 | "x-camelContextId" : "camel-2", |
| 474 | "x-routeId" : "route37" |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 475 | } |
| 476 | }, |
| 477 | "/v2/policyToscaModels" : { |
| 478 | "get" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 479 | "operationId" : "route56", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 489 | "x-camelContextId" : "camel-2", |
| 490 | "x-routeId" : "route56" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 510 | "x-camelContextId" : "camel-2", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 511 | "x-routeId" : null |
| 512 | }, |
| 513 | "put" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 514 | "operationId" : "route57", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 538 | "x-camelContextId" : "camel-2", |
| 539 | "x-routeId" : "route57" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 559 | "x-camelContextId" : "camel-2", |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 560 | "x-routeId" : null |
| 561 | } |
| 562 | }, |
| 563 | "/v2/templates" : { |
| 564 | "get" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 565 | "operationId" : "route60", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 575 | "x-camelContextId" : "camel-2", |
| 576 | "x-routeId" : "route60" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 596 | "x-camelContextId" : "camel-2", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 614 | "x-camelContextId" : "camel-2", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 620 | "operationId" : "route61", |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 630 | "x-camelContextId" : "camel-2", |
| 631 | "x-routeId" : "route61" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 636 | "operationId" : "route62", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 637 | "produces" : [ "text/plain" ], |
| 638 | "responses" : { |
| 639 | "200" : { } |
| 640 | }, |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 641 | "x-camelContextId" : "camel-2", |
| 642 | "x-routeId" : "route62" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 806 | "asInt" : { |
| 807 | "type" : "integer", |
| 808 | "format" : "int32" |
| 809 | }, |
| 810 | "asDouble" : { |
| 811 | "type" : "number", |
| 812 | "format" : "double" |
| 813 | }, |
| 814 | "asLong" : { |
| 815 | "type" : "integer", |
| 816 | "format" : "int64" |
| 817 | }, |
| 818 | "boolean" : { |
| 819 | "type" : "boolean" |
| 820 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 821 | "asBoolean" : { |
| 822 | "type" : "boolean" |
| 823 | }, |
| 824 | "number" : { |
| 825 | "type" : "boolean" |
| 826 | }, |
| 827 | "asString" : { |
| 828 | "type" : "string" |
| 829 | }, |
| 830 | "asNumber" : { |
| 831 | "$ref" : "#/definitions/Number" |
sebdet | 2d28cbf | 2020-02-27 14:43:57 -0800 | [diff] [blame] | 832 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 833 | "asFloat" : { |
| 834 | "type" : "number", |
| 835 | "format" : "float" |
| 836 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 837 | "asByte" : { |
| 838 | "type" : "string", |
| 839 | "format" : "byte" |
| 840 | }, |
| 841 | "asCharacter" : { |
| 842 | "type" : "string" |
| 843 | }, |
| 844 | "asBigDecimal" : { |
| 845 | "type" : "number" |
| 846 | }, |
sebdet | aa486be | 2020-02-18 02:00:11 -0800 | [diff] [blame] | 847 | "asBigInteger" : { |
| 848 | "type" : "integer" |
| 849 | }, |
| 850 | "asShort" : { |
| 851 | "type" : "integer", |
| 852 | "format" : "int32" |
| 853 | }, |
sebdet | 2d28cbf | 2020-02-27 14:43:57 -0800 | [diff] [blame] | 854 | "string" : { |
| 855 | "type" : "boolean" |
| 856 | }, |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 857 | "asJsonObject" : { |
| 858 | "$ref" : "#/definitions/JsonObject" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 863 | "jsonObject" : { |
| 864 | "type" : "boolean" |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 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" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 955 | "asInt" : { |
| 956 | "type" : "integer", |
| 957 | "format" : "int32" |
| 958 | }, |
| 959 | "asDouble" : { |
| 960 | "type" : "number", |
| 961 | "format" : "double" |
| 962 | }, |
| 963 | "asLong" : { |
| 964 | "type" : "integer", |
| 965 | "format" : "int64" |
| 966 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 967 | "asBoolean" : { |
| 968 | "type" : "boolean" |
| 969 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 970 | "asJsonObject" : { |
| 971 | "$ref" : "#/definitions/JsonObject" |
| 972 | }, |
| 973 | "asString" : { |
| 974 | "type" : "string" |
| 975 | }, |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 976 | "asJsonArray" : { |
| 977 | "$ref" : "#/definitions/JsonArray" |
| 978 | }, |
| 979 | "jsonObject" : { |
| 980 | "type" : "boolean" |
| 981 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 982 | "jsonArray" : { |
| 983 | "type" : "boolean" |
| 984 | }, |
| 985 | "jsonPrimitive" : { |
| 986 | "type" : "boolean" |
| 987 | }, |
| 988 | "jsonNull" : { |
| 989 | "type" : "boolean" |
| 990 | }, |
| 991 | "asJsonPrimitive" : { |
| 992 | "$ref" : "#/definitions/JsonPrimitive" |
| 993 | }, |
sebdet | aa486be | 2020-02-18 02:00:11 -0800 | [diff] [blame] | 994 | "asJsonNull" : { |
| 995 | "$ref" : "#/definitions/JsonNull" |
| 996 | }, |
| 997 | "asNumber" : { |
| 998 | "$ref" : "#/definitions/Number" |
| 999 | }, |
| 1000 | "asFloat" : { |
| 1001 | "type" : "number", |
| 1002 | "format" : "float" |
| 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" : { |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 1156 | "asInt" : { |
| 1157 | "type" : "integer", |
| 1158 | "format" : "int32" |
| 1159 | }, |
| 1160 | "asDouble" : { |
| 1161 | "type" : "number", |
| 1162 | "format" : "double" |
| 1163 | }, |
| 1164 | "asLong" : { |
| 1165 | "type" : "integer", |
| 1166 | "format" : "int64" |
| 1167 | }, |
nrpandya | 8256126 | 2019-11-21 11:51:18 -0600 | [diff] [blame] | 1168 | "asBoolean" : { |
| 1169 | "type" : "boolean" |
| 1170 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 1171 | "asJsonObject" : { |
| 1172 | "$ref" : "#/definitions/JsonObject" |
| 1173 | }, |
| 1174 | "asString" : { |
| 1175 | "type" : "string" |
| 1176 | }, |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 1177 | "asJsonArray" : { |
| 1178 | "$ref" : "#/definitions/JsonArray" |
| 1179 | }, |
| 1180 | "jsonObject" : { |
| 1181 | "type" : "boolean" |
| 1182 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 1183 | "jsonArray" : { |
| 1184 | "type" : "boolean" |
| 1185 | }, |
| 1186 | "jsonPrimitive" : { |
| 1187 | "type" : "boolean" |
| 1188 | }, |
| 1189 | "jsonNull" : { |
| 1190 | "type" : "boolean" |
| 1191 | }, |
| 1192 | "asJsonPrimitive" : { |
| 1193 | "$ref" : "#/definitions/JsonPrimitive" |
| 1194 | }, |
sebdet | aa486be | 2020-02-18 02:00:11 -0800 | [diff] [blame] | 1195 | "asJsonNull" : { |
| 1196 | "$ref" : "#/definitions/JsonNull" |
| 1197 | }, |
| 1198 | "asNumber" : { |
| 1199 | "$ref" : "#/definitions/Number" |
| 1200 | }, |
| 1201 | "asFloat" : { |
| 1202 | "type" : "number", |
| 1203 | "format" : "float" |
| 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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 1227 | "asInt" : { |
| 1228 | "type" : "integer", |
| 1229 | "format" : "int32" |
| 1230 | }, |
| 1231 | "asDouble" : { |
| 1232 | "type" : "number", |
| 1233 | "format" : "double" |
| 1234 | }, |
| 1235 | "asLong" : { |
| 1236 | "type" : "integer", |
| 1237 | "format" : "int64" |
| 1238 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 1239 | "asBoolean" : { |
| 1240 | "type" : "boolean" |
| 1241 | }, |
| 1242 | "asString" : { |
| 1243 | "type" : "string" |
| 1244 | }, |
| 1245 | "asNumber" : { |
| 1246 | "$ref" : "#/definitions/Number" |
sebdet | 2d28cbf | 2020-02-27 14:43:57 -0800 | [diff] [blame] | 1247 | }, |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 1248 | "asFloat" : { |
| 1249 | "type" : "number", |
| 1250 | "format" : "float" |
| 1251 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 1269 | "asJsonObject" : { |
| 1270 | "$ref" : "#/definitions/JsonObject" |
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 | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 1275 | "jsonObject" : { |
| 1276 | "type" : "boolean" |
sebdet | 2dd4e99 | 2020-03-04 15:47:39 -0800 | [diff] [blame] | 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 | } |