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 | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 4 | "version" : "4.1.2-SNAPSHOT", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 5 | "title" : "Clamp Rest API" |
| 6 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 7 | "host" : "localhost:36829", |
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" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 11 | "/v2/loop/{loopName}" : { |
| 12 | "get" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 13 | "operationId" : "route20", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 14 | "produces" : [ "application/json" ], |
| 15 | "parameters" : [ { |
| 16 | "name" : "loopName", |
| 17 | "in" : "path", |
| 18 | "required" : true, |
| 19 | "type" : "string" |
| 20 | } ], |
| 21 | "responses" : { |
| 22 | "200" : { |
| 23 | "description" : "Output type", |
| 24 | "schema" : { |
| 25 | "$ref" : "#/definitions/Loop" |
| 26 | } |
| 27 | } |
| 28 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 29 | "x-camelContextId" : "camel-2", |
| 30 | "x-routeId" : "route20" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 31 | } |
| 32 | }, |
| 33 | "/v2/loop/delete/{loopName}" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 34 | "put" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 35 | "operationId" : "route30", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 36 | "parameters" : [ { |
| 37 | "name" : "loopName", |
| 38 | "in" : "path", |
| 39 | "required" : true, |
| 40 | "type" : "string" |
| 41 | } ], |
| 42 | "responses" : { |
| 43 | "200" : { } |
| 44 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 45 | "x-camelContextId" : "camel-2", |
| 46 | "x-routeId" : "route30" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 47 | } |
| 48 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 49 | "/v2/loop/deploy/{loopName}" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 50 | "put" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 51 | "operationId" : "route25", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 52 | "produces" : [ "application/json" ], |
| 53 | "parameters" : [ { |
| 54 | "name" : "loopName", |
| 55 | "in" : "path", |
| 56 | "required" : true, |
| 57 | "type" : "string" |
| 58 | } ], |
| 59 | "responses" : { |
| 60 | "200" : { |
| 61 | "description" : "Output type", |
| 62 | "schema" : { |
| 63 | "$ref" : "#/definitions/Loop" |
| 64 | } |
| 65 | } |
| 66 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 67 | "x-camelContextId" : "camel-2", |
| 68 | "x-routeId" : "route25" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 69 | } |
| 70 | }, |
| 71 | "/v2/loop/getAllNames" : { |
| 72 | "get" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 73 | "operationId" : "route19", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 74 | "produces" : [ "application/json" ], |
| 75 | "responses" : { |
| 76 | "200" : { |
| 77 | "description" : "Output type", |
| 78 | "schema" : { |
| 79 | "type" : "array", |
| 80 | "items" : { |
| 81 | "type" : "string" |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 86 | "x-camelContextId" : "camel-2", |
| 87 | "x-routeId" : "route19" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 88 | } |
| 89 | }, |
| 90 | "/v2/loop/getstatus/{loopName}" : { |
| 91 | "get" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 92 | "operationId" : "route31", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 93 | "produces" : [ "application/json" ], |
| 94 | "parameters" : [ { |
| 95 | "name" : "loopName", |
| 96 | "in" : "path", |
| 97 | "required" : true, |
| 98 | "type" : "string" |
| 99 | } ], |
| 100 | "responses" : { |
| 101 | "200" : { |
| 102 | "description" : "Output type", |
| 103 | "schema" : { |
| 104 | "$ref" : "#/definitions/Loop" |
| 105 | } |
| 106 | } |
| 107 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 108 | "x-camelContextId" : "camel-2", |
| 109 | "x-routeId" : "route31" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 110 | } |
| 111 | }, |
| 112 | "/v2/loop/restart/{loopName}" : { |
| 113 | "put" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 114 | "operationId" : "route28", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 115 | "produces" : [ "application/json" ], |
| 116 | "parameters" : [ { |
| 117 | "name" : "loopName", |
| 118 | "in" : "path", |
| 119 | "required" : true, |
| 120 | "type" : "string" |
| 121 | } ], |
| 122 | "responses" : { |
| 123 | "200" : { |
| 124 | "description" : "Output type", |
| 125 | "schema" : { |
| 126 | "$ref" : "#/definitions/Loop" |
| 127 | } |
| 128 | } |
| 129 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 130 | "x-camelContextId" : "camel-2", |
| 131 | "x-routeId" : "route28" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 132 | } |
| 133 | }, |
| 134 | "/v2/loop/stop/{loopName}" : { |
| 135 | "put" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 136 | "operationId" : "route27", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 137 | "produces" : [ "application/json" ], |
| 138 | "parameters" : [ { |
| 139 | "name" : "loopName", |
| 140 | "in" : "path", |
| 141 | "required" : true, |
| 142 | "type" : "string" |
| 143 | } ], |
| 144 | "responses" : { |
| 145 | "200" : { |
| 146 | "description" : "Output type", |
| 147 | "schema" : { |
| 148 | "$ref" : "#/definitions/Loop" |
| 149 | } |
| 150 | } |
| 151 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 152 | "x-camelContextId" : "camel-2", |
| 153 | "x-routeId" : "route27" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 154 | } |
| 155 | }, |
| 156 | "/v2/loop/submit/{loopName}" : { |
| 157 | "put" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 158 | "operationId" : "route29", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 159 | "produces" : [ "application/json" ], |
| 160 | "parameters" : [ { |
| 161 | "name" : "loopName", |
| 162 | "in" : "path", |
| 163 | "required" : true, |
| 164 | "type" : "string" |
| 165 | } ], |
| 166 | "responses" : { |
| 167 | "200" : { |
| 168 | "description" : "Output type", |
| 169 | "schema" : { |
| 170 | "$ref" : "#/definitions/Loop" |
| 171 | } |
| 172 | } |
| 173 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 174 | "x-camelContextId" : "camel-2", |
| 175 | "x-routeId" : "route29" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 176 | } |
| 177 | }, |
| 178 | "/v2/loop/svgRepresentation/{loopName}" : { |
| 179 | "get" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 180 | "operationId" : "route21", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 181 | "produces" : [ "application/xml" ], |
| 182 | "parameters" : [ { |
| 183 | "name" : "loopName", |
| 184 | "in" : "path", |
| 185 | "required" : true, |
| 186 | "type" : "string" |
| 187 | } ], |
| 188 | "responses" : { |
| 189 | "200" : { |
| 190 | "description" : "Output type", |
| 191 | "schema" : { |
| 192 | "type" : "string" |
| 193 | } |
| 194 | } |
| 195 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 196 | "x-camelContextId" : "camel-2", |
| 197 | "x-routeId" : "route21" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 198 | } |
| 199 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 200 | "/v2/loop/undeploy/{loopName}" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 201 | "put" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 202 | "operationId" : "route26", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 203 | "produces" : [ "application/json" ], |
| 204 | "parameters" : [ { |
| 205 | "name" : "loopName", |
| 206 | "in" : "path", |
| 207 | "required" : true, |
| 208 | "type" : "string" |
| 209 | } ], |
| 210 | "responses" : { |
| 211 | "200" : { |
| 212 | "description" : "Output type", |
| 213 | "schema" : { |
| 214 | "$ref" : "#/definitions/Loop" |
| 215 | } |
| 216 | } |
| 217 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 218 | "x-camelContextId" : "camel-2", |
| 219 | "x-routeId" : "route26" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 220 | } |
| 221 | }, |
| 222 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 223 | "post" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 224 | "operationId" : "route22", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 225 | "consumes" : [ "application/json" ], |
| 226 | "produces" : [ "application/json" ], |
| 227 | "parameters" : [ { |
| 228 | "name" : "loopName", |
| 229 | "in" : "path", |
| 230 | "required" : true, |
| 231 | "type" : "string" |
| 232 | }, { |
| 233 | "in" : "body", |
| 234 | "name" : "body", |
| 235 | "required" : true, |
| 236 | "schema" : { |
| 237 | "$ref" : "#/definitions/JsonObject" |
| 238 | } |
| 239 | } ], |
| 240 | "responses" : { |
| 241 | "200" : { |
| 242 | "description" : "Output type", |
| 243 | "schema" : { |
| 244 | "$ref" : "#/definitions/Loop" |
| 245 | } |
| 246 | } |
| 247 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 248 | "x-camelContextId" : "camel-2", |
| 249 | "x-routeId" : "route22" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 250 | } |
| 251 | }, |
| 252 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 253 | "post" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 254 | "operationId" : "route24", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 255 | "consumes" : [ "application/json" ], |
| 256 | "produces" : [ "application/json" ], |
| 257 | "parameters" : [ { |
| 258 | "name" : "loopName", |
| 259 | "in" : "path", |
| 260 | "required" : true, |
| 261 | "type" : "string" |
| 262 | }, { |
| 263 | "in" : "body", |
| 264 | "name" : "body", |
| 265 | "required" : true, |
| 266 | "schema" : { |
| 267 | "$ref" : "#/definitions/MicroServicePolicy" |
| 268 | } |
| 269 | } ], |
| 270 | "responses" : { |
| 271 | "200" : { |
| 272 | "description" : "Output type", |
| 273 | "schema" : { |
| 274 | "$ref" : "#/definitions/MicroServicePolicy" |
| 275 | } |
| 276 | } |
| 277 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 278 | "x-camelContextId" : "camel-2", |
| 279 | "x-routeId" : "route24" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 280 | } |
| 281 | }, |
| 282 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 283 | "post" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 284 | "operationId" : "route23", |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 285 | "consumes" : [ "application/json" ], |
| 286 | "produces" : [ "application/json" ], |
| 287 | "parameters" : [ { |
| 288 | "name" : "loopName", |
| 289 | "in" : "path", |
| 290 | "required" : true, |
| 291 | "type" : "string" |
| 292 | }, { |
| 293 | "in" : "body", |
| 294 | "name" : "body", |
| 295 | "required" : true, |
| 296 | "schema" : { |
| 297 | "$ref" : "#/definitions/JsonArray" |
| 298 | } |
| 299 | } ], |
| 300 | "responses" : { |
| 301 | "200" : { |
| 302 | "description" : "Output type", |
| 303 | "schema" : { |
| 304 | "$ref" : "#/definitions/Loop" |
| 305 | } |
| 306 | } |
| 307 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 308 | "x-camelContextId" : "camel-2", |
| 309 | "x-routeId" : "route23" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 310 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 311 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 312 | "/v1/clds/cldsInfo" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 313 | "get" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 314 | "operationId" : "route32", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 315 | "produces" : [ "application/json" ], |
| 316 | "responses" : { |
| 317 | "200" : { |
| 318 | "description" : "Output type", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 319 | "schema" : { |
| 320 | "$ref" : "#/definitions/CldsInfo" |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 321 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 322 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 323 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 324 | "x-camelContextId" : "camel-2", |
| 325 | "x-routeId" : "route32" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 326 | } |
| 327 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 328 | "/v1/healthcheck" : { |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 329 | "get" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 330 | "operationId" : "route33", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 331 | "produces" : [ "application/json" ], |
| 332 | "responses" : { |
| 333 | "200" : { } |
| 334 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 335 | "x-camelContextId" : "camel-2", |
| 336 | "x-routeId" : "route33" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 337 | } |
| 338 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 339 | "/v1/user/getUser" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 340 | "get" : { |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 341 | "operationId" : "route34", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 342 | "produces" : [ "text/plain" ], |
| 343 | "responses" : { |
| 344 | "200" : { } |
| 345 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 346 | "x-camelContextId" : "camel-2", |
| 347 | "x-routeId" : "route34" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 348 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 349 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 350 | }, |
| 351 | "definitions" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 352 | "Loop" : { |
| 353 | "type" : "object", |
| 354 | "properties" : { |
| 355 | "name" : { |
| 356 | "type" : "string" |
| 357 | }, |
| 358 | "dcaeDeploymentId" : { |
| 359 | "type" : "string" |
| 360 | }, |
| 361 | "dcaeDeploymentStatusUrl" : { |
| 362 | "type" : "string" |
| 363 | }, |
| 364 | "dcaeBlueprintId" : { |
| 365 | "type" : "string" |
| 366 | }, |
| 367 | "svgRepresentation" : { |
| 368 | "type" : "string" |
| 369 | }, |
| 370 | "globalPropertiesJson" : { |
| 371 | "$ref" : "#/definitions/JsonObject" |
| 372 | }, |
| 373 | "modelPropertiesJson" : { |
| 374 | "$ref" : "#/definitions/JsonObject" |
| 375 | }, |
| 376 | "blueprint" : { |
| 377 | "type" : "string" |
| 378 | }, |
| 379 | "lastComputedState" : { |
| 380 | "type" : "string", |
| 381 | "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ] |
| 382 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 383 | "components" : { |
| 384 | "type" : "object", |
| 385 | "additionalProperties" : { |
| 386 | "$ref" : "#/definitions/ExternalComponent" |
| 387 | } |
| 388 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 389 | "operationalPolicies" : { |
| 390 | "type" : "array", |
| 391 | "uniqueItems" : true, |
| 392 | "items" : { |
| 393 | "$ref" : "#/definitions/OperationalPolicy" |
| 394 | } |
| 395 | }, |
| 396 | "microServicePolicies" : { |
| 397 | "type" : "array", |
| 398 | "uniqueItems" : true, |
| 399 | "items" : { |
| 400 | "$ref" : "#/definitions/MicroServicePolicy" |
| 401 | } |
| 402 | }, |
| 403 | "loopLogs" : { |
| 404 | "type" : "array", |
| 405 | "uniqueItems" : true, |
| 406 | "items" : { |
| 407 | "$ref" : "#/definitions/LoopLog" |
| 408 | } |
| 409 | } |
| 410 | }, |
| 411 | "x-className" : { |
| 412 | "type" : "string", |
| 413 | "format" : "org.onap.clamp.loop.Loop" |
| 414 | } |
| 415 | }, |
| 416 | "JsonArray" : { |
| 417 | "type" : "object", |
| 418 | "properties" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 419 | "asString" : { |
| 420 | "type" : "string" |
| 421 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 422 | "asNumber" : { |
| 423 | "$ref" : "#/definitions/Number" |
| 424 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 425 | "asBoolean" : { |
| 426 | "type" : "boolean" |
| 427 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 428 | "asDouble" : { |
| 429 | "type" : "number", |
| 430 | "format" : "double" |
| 431 | }, |
| 432 | "asFloat" : { |
| 433 | "type" : "number", |
| 434 | "format" : "float" |
| 435 | }, |
| 436 | "asLong" : { |
| 437 | "type" : "integer", |
| 438 | "format" : "int64" |
| 439 | }, |
| 440 | "asInt" : { |
| 441 | "type" : "integer", |
| 442 | "format" : "int32" |
| 443 | }, |
| 444 | "asByte" : { |
| 445 | "type" : "string", |
| 446 | "format" : "byte" |
| 447 | }, |
| 448 | "asCharacter" : { |
| 449 | "type" : "string" |
| 450 | }, |
| 451 | "asBigDecimal" : { |
| 452 | "type" : "number" |
| 453 | }, |
| 454 | "asBigInteger" : { |
| 455 | "type" : "integer" |
| 456 | }, |
| 457 | "asShort" : { |
| 458 | "type" : "integer", |
| 459 | "format" : "int32" |
| 460 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 461 | "asJsonObject" : { |
| 462 | "$ref" : "#/definitions/JsonObject" |
| 463 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 464 | "asJsonPrimitive" : { |
| 465 | "$ref" : "#/definitions/JsonPrimitive" |
| 466 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 467 | "jsonPrimitive" : { |
| 468 | "type" : "boolean" |
| 469 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 470 | "asJsonArray" : { |
| 471 | "$ref" : "#/definitions/JsonArray" |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 472 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 473 | "jsonObject" : { |
| 474 | "type" : "boolean" |
| 475 | }, |
| 476 | "jsonNull" : { |
| 477 | "type" : "boolean" |
| 478 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 479 | "asJsonNull" : { |
| 480 | "$ref" : "#/definitions/JsonNull" |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 481 | }, |
| 482 | "jsonArray" : { |
| 483 | "type" : "boolean" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 484 | } |
| 485 | }, |
| 486 | "x-className" : { |
| 487 | "type" : "string", |
| 488 | "format" : "com.google.gson.JsonArray" |
| 489 | } |
| 490 | }, |
| 491 | "LoopLog" : { |
| 492 | "type" : "object", |
| 493 | "properties" : { |
| 494 | "id" : { |
| 495 | "type" : "integer", |
| 496 | "format" : "int64" |
| 497 | }, |
| 498 | "logType" : { |
| 499 | "type" : "string", |
| 500 | "enum" : [ "INFO", "WARNING", "ERROR" ] |
| 501 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 502 | "logComponent" : { |
| 503 | "type" : "string" |
| 504 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 505 | "message" : { |
| 506 | "type" : "string" |
| 507 | }, |
| 508 | "loop" : { |
| 509 | "$ref" : "#/definitions/Loop" |
| 510 | }, |
| 511 | "logInstant" : { |
| 512 | "type" : "integer", |
| 513 | "format" : "int64" |
| 514 | } |
| 515 | } |
| 516 | }, |
| 517 | "Number" : { |
| 518 | "type" : "object" |
| 519 | }, |
| 520 | "JsonPrimitive" : { |
| 521 | "type" : "object", |
| 522 | "properties" : { |
| 523 | "boolean" : { |
| 524 | "type" : "boolean" |
| 525 | }, |
| 526 | "number" : { |
| 527 | "type" : "boolean" |
| 528 | }, |
| 529 | "asString" : { |
| 530 | "type" : "string" |
| 531 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 532 | "asNumber" : { |
| 533 | "$ref" : "#/definitions/Number" |
| 534 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 535 | "asBoolean" : { |
| 536 | "type" : "boolean" |
| 537 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 538 | "asDouble" : { |
| 539 | "type" : "number", |
| 540 | "format" : "double" |
| 541 | }, |
| 542 | "asFloat" : { |
| 543 | "type" : "number", |
| 544 | "format" : "float" |
| 545 | }, |
| 546 | "asLong" : { |
| 547 | "type" : "integer", |
| 548 | "format" : "int64" |
| 549 | }, |
| 550 | "asInt" : { |
| 551 | "type" : "integer", |
| 552 | "format" : "int32" |
| 553 | }, |
| 554 | "asByte" : { |
| 555 | "type" : "string", |
| 556 | "format" : "byte" |
| 557 | }, |
| 558 | "asCharacter" : { |
| 559 | "type" : "string" |
| 560 | }, |
| 561 | "asBigDecimal" : { |
| 562 | "type" : "number" |
| 563 | }, |
| 564 | "asBigInteger" : { |
| 565 | "type" : "integer" |
| 566 | }, |
| 567 | "asShort" : { |
| 568 | "type" : "integer", |
| 569 | "format" : "int32" |
| 570 | }, |
| 571 | "string" : { |
| 572 | "type" : "boolean" |
| 573 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 574 | "asJsonObject" : { |
| 575 | "$ref" : "#/definitions/JsonObject" |
| 576 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 577 | "asJsonPrimitive" : { |
| 578 | "$ref" : "#/definitions/JsonPrimitive" |
| 579 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 580 | "jsonPrimitive" : { |
| 581 | "type" : "boolean" |
| 582 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 583 | "asJsonArray" : { |
| 584 | "$ref" : "#/definitions/JsonArray" |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 585 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 586 | "jsonObject" : { |
| 587 | "type" : "boolean" |
| 588 | }, |
| 589 | "jsonNull" : { |
| 590 | "type" : "boolean" |
| 591 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 592 | "asJsonNull" : { |
| 593 | "$ref" : "#/definitions/JsonNull" |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 594 | }, |
| 595 | "jsonArray" : { |
| 596 | "type" : "boolean" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 597 | } |
| 598 | } |
| 599 | }, |
| 600 | "MicroServicePolicy" : { |
| 601 | "type" : "object", |
| 602 | "properties" : { |
| 603 | "name" : { |
| 604 | "type" : "string" |
| 605 | }, |
| 606 | "modelType" : { |
| 607 | "type" : "string" |
| 608 | }, |
| 609 | "properties" : { |
| 610 | "$ref" : "#/definitions/JsonObject" |
| 611 | }, |
| 612 | "shared" : { |
| 613 | "type" : "boolean" |
| 614 | }, |
| 615 | "policyTosca" : { |
| 616 | "type" : "string" |
| 617 | }, |
| 618 | "jsonRepresentation" : { |
| 619 | "$ref" : "#/definitions/JsonObject" |
| 620 | }, |
| 621 | "usedByLoops" : { |
| 622 | "type" : "array", |
| 623 | "uniqueItems" : true, |
| 624 | "items" : { |
| 625 | "$ref" : "#/definitions/Loop" |
| 626 | } |
| 627 | } |
| 628 | }, |
| 629 | "x-className" : { |
| 630 | "type" : "string", |
| 631 | "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy" |
| 632 | } |
| 633 | }, |
| 634 | "JsonObject" : { |
| 635 | "type" : "object", |
| 636 | "properties" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 637 | "asJsonObject" : { |
| 638 | "$ref" : "#/definitions/JsonObject" |
| 639 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 640 | "asJsonPrimitive" : { |
| 641 | "$ref" : "#/definitions/JsonPrimitive" |
| 642 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 643 | "asString" : { |
| 644 | "type" : "string" |
| 645 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 646 | "jsonPrimitive" : { |
| 647 | "type" : "boolean" |
| 648 | }, |
| 649 | "asJsonArray" : { |
| 650 | "$ref" : "#/definitions/JsonArray" |
| 651 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 652 | "jsonObject" : { |
| 653 | "type" : "boolean" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 654 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 655 | "asNumber" : { |
| 656 | "$ref" : "#/definitions/Number" |
| 657 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 658 | "jsonNull" : { |
| 659 | "type" : "boolean" |
| 660 | }, |
| 661 | "asJsonNull" : { |
| 662 | "$ref" : "#/definitions/JsonNull" |
| 663 | }, |
| 664 | "jsonArray" : { |
| 665 | "type" : "boolean" |
| 666 | }, |
| 667 | "asBoolean" : { |
| 668 | "type" : "boolean" |
| 669 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 670 | "asDouble" : { |
| 671 | "type" : "number", |
| 672 | "format" : "double" |
| 673 | }, |
| 674 | "asFloat" : { |
| 675 | "type" : "number", |
| 676 | "format" : "float" |
| 677 | }, |
| 678 | "asLong" : { |
| 679 | "type" : "integer", |
| 680 | "format" : "int64" |
| 681 | }, |
| 682 | "asInt" : { |
| 683 | "type" : "integer", |
| 684 | "format" : "int32" |
| 685 | }, |
| 686 | "asByte" : { |
| 687 | "type" : "string", |
| 688 | "format" : "byte" |
| 689 | }, |
| 690 | "asCharacter" : { |
| 691 | "type" : "string" |
| 692 | }, |
| 693 | "asBigDecimal" : { |
| 694 | "type" : "number" |
| 695 | }, |
| 696 | "asBigInteger" : { |
| 697 | "type" : "integer" |
| 698 | }, |
| 699 | "asShort" : { |
| 700 | "type" : "integer", |
| 701 | "format" : "int32" |
| 702 | } |
| 703 | }, |
| 704 | "x-className" : { |
| 705 | "type" : "string", |
| 706 | "format" : "com.google.gson.JsonObject" |
| 707 | } |
| 708 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 709 | "ExternalComponent" : { |
| 710 | "type" : "object", |
| 711 | "properties" : { |
| 712 | "state" : { |
| 713 | "$ref" : "#/definitions/ExternalComponentState" |
| 714 | }, |
| 715 | "componentName" : { |
| 716 | "type" : "string" |
| 717 | } |
| 718 | } |
| 719 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 720 | "OperationalPolicy" : { |
| 721 | "type" : "object", |
| 722 | "properties" : { |
| 723 | "name" : { |
| 724 | "type" : "string" |
| 725 | }, |
| 726 | "configurationsJson" : { |
| 727 | "$ref" : "#/definitions/JsonObject" |
| 728 | }, |
| 729 | "loop" : { |
| 730 | "$ref" : "#/definitions/Loop" |
| 731 | }, |
| 732 | "jsonRepresentation" : { |
| 733 | "$ref" : "#/definitions/JsonObject" |
| 734 | } |
| 735 | } |
| 736 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 737 | "ExternalComponentState" : { |
| 738 | "type" : "object", |
| 739 | "properties" : { |
| 740 | "stateName" : { |
| 741 | "type" : "string" |
| 742 | }, |
| 743 | "description" : { |
| 744 | "type" : "string" |
| 745 | }, |
| 746 | "level" : { |
| 747 | "type" : "integer", |
| 748 | "format" : "int32" |
| 749 | } |
| 750 | } |
| 751 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 752 | "JsonNull" : { |
| 753 | "type" : "object", |
| 754 | "properties" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 755 | "asJsonObject" : { |
| 756 | "$ref" : "#/definitions/JsonObject" |
| 757 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 758 | "asJsonPrimitive" : { |
| 759 | "$ref" : "#/definitions/JsonPrimitive" |
| 760 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 761 | "asString" : { |
| 762 | "type" : "string" |
| 763 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 764 | "jsonPrimitive" : { |
| 765 | "type" : "boolean" |
| 766 | }, |
| 767 | "asJsonArray" : { |
| 768 | "$ref" : "#/definitions/JsonArray" |
| 769 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 770 | "jsonObject" : { |
| 771 | "type" : "boolean" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 772 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 773 | "asNumber" : { |
| 774 | "$ref" : "#/definitions/Number" |
| 775 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 776 | "jsonNull" : { |
| 777 | "type" : "boolean" |
| 778 | }, |
| 779 | "asJsonNull" : { |
| 780 | "$ref" : "#/definitions/JsonNull" |
| 781 | }, |
| 782 | "jsonArray" : { |
| 783 | "type" : "boolean" |
| 784 | }, |
| 785 | "asBoolean" : { |
| 786 | "type" : "boolean" |
| 787 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 788 | "asDouble" : { |
| 789 | "type" : "number", |
| 790 | "format" : "double" |
| 791 | }, |
| 792 | "asFloat" : { |
| 793 | "type" : "number", |
| 794 | "format" : "float" |
| 795 | }, |
| 796 | "asLong" : { |
| 797 | "type" : "integer", |
| 798 | "format" : "int64" |
| 799 | }, |
| 800 | "asInt" : { |
| 801 | "type" : "integer", |
| 802 | "format" : "int32" |
| 803 | }, |
| 804 | "asByte" : { |
| 805 | "type" : "string", |
| 806 | "format" : "byte" |
| 807 | }, |
| 808 | "asCharacter" : { |
| 809 | "type" : "string" |
| 810 | }, |
| 811 | "asBigDecimal" : { |
| 812 | "type" : "number" |
| 813 | }, |
| 814 | "asBigInteger" : { |
| 815 | "type" : "integer" |
| 816 | }, |
| 817 | "asShort" : { |
| 818 | "type" : "integer", |
| 819 | "format" : "int32" |
| 820 | } |
| 821 | } |
| 822 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 823 | "CldsInfo" : { |
| 824 | "type" : "object", |
| 825 | "properties" : { |
| 826 | "userName" : { |
| 827 | "type" : "string" |
| 828 | }, |
| 829 | "cldsVersion" : { |
| 830 | "type" : "string" |
| 831 | }, |
| 832 | "permissionReadCl" : { |
| 833 | "type" : "boolean" |
| 834 | }, |
| 835 | "permissionUpdateCl" : { |
| 836 | "type" : "boolean" |
| 837 | }, |
| 838 | "permissionReadTemplate" : { |
| 839 | "type" : "boolean" |
| 840 | }, |
| 841 | "permissionUpdateTemplate" : { |
| 842 | "type" : "boolean" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 843 | }, |
| 844 | "permissionReadTosca" : { |
| 845 | "type" : "boolean" |
| 846 | }, |
| 847 | "permissionUpdateTosca" : { |
| 848 | "type" : "boolean" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 849 | } |
| 850 | }, |
| 851 | "x-className" : { |
| 852 | "type" : "string", |
| 853 | "format" : "org.onap.clamp.clds.model.CldsInfo" |
| 854 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 855 | } |
| 856 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 857 | } |