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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 7 | "host" : "localhost:38405", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 13 | "operationId" : "route3", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 29 | "x-camelContextId" : "camel-1", |
| 30 | "x-routeId" : "route3" |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 35 | "operationId" : "route13", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 45 | "x-camelContextId" : "camel-1", |
| 46 | "x-routeId" : "route13" |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 51 | "operationId" : "route8", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 67 | "x-camelContextId" : "camel-1", |
| 68 | "x-routeId" : "route8" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 69 | } |
| 70 | }, |
| 71 | "/v2/loop/getAllNames" : { |
| 72 | "get" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 73 | "operationId" : "route2", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 86 | "x-camelContextId" : "camel-1", |
| 87 | "x-routeId" : "route2" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 88 | } |
| 89 | }, |
| 90 | "/v2/loop/getstatus/{loopName}" : { |
| 91 | "get" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 92 | "operationId" : "route14", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 108 | "x-camelContextId" : "camel-1", |
| 109 | "x-routeId" : "route14" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 110 | } |
| 111 | }, |
| 112 | "/v2/loop/restart/{loopName}" : { |
| 113 | "put" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 114 | "operationId" : "route11", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 130 | "x-camelContextId" : "camel-1", |
| 131 | "x-routeId" : "route11" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 132 | } |
| 133 | }, |
| 134 | "/v2/loop/stop/{loopName}" : { |
| 135 | "put" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 136 | "operationId" : "route10", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 152 | "x-camelContextId" : "camel-1", |
| 153 | "x-routeId" : "route10" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 154 | } |
| 155 | }, |
| 156 | "/v2/loop/submit/{loopName}" : { |
| 157 | "put" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 158 | "operationId" : "route12", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 174 | "x-camelContextId" : "camel-1", |
| 175 | "x-routeId" : "route12" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 176 | } |
| 177 | }, |
| 178 | "/v2/loop/svgRepresentation/{loopName}" : { |
| 179 | "get" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 180 | "operationId" : "route4", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 196 | "x-camelContextId" : "camel-1", |
| 197 | "x-routeId" : "route4" |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 202 | "operationId" : "route9", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 218 | "x-camelContextId" : "camel-1", |
| 219 | "x-routeId" : "route9" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 220 | } |
| 221 | }, |
| 222 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 223 | "post" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 224 | "operationId" : "route5", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 248 | "x-camelContextId" : "camel-1", |
| 249 | "x-routeId" : "route5" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 250 | } |
| 251 | }, |
| 252 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 253 | "post" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 254 | "operationId" : "route7", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 278 | "x-camelContextId" : "camel-1", |
| 279 | "x-routeId" : "route7" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 280 | } |
| 281 | }, |
| 282 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 283 | "post" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 284 | "operationId" : "route6", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 308 | "x-camelContextId" : "camel-1", |
| 309 | "x-routeId" : "route6" |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 314 | "operationId" : "route15", |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 324 | "x-camelContextId" : "camel-1", |
| 325 | "x-routeId" : "route15" |
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 | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 330 | "operationId" : "route16", |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 331 | "produces" : [ "application/json" ], |
| 332 | "responses" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 333 | "200" : { |
| 334 | "description" : "Output type", |
| 335 | "schema" : { |
| 336 | "$ref" : "#/definitions/CldsHealthCheck" |
| 337 | } |
| 338 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 339 | }, |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 340 | "x-camelContextId" : "camel-1", |
| 341 | "x-routeId" : "route16" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 342 | } |
| 343 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 344 | "/v1/user/getUser" : { |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 345 | "get" : { |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 346 | "operationId" : "route17", |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 347 | "produces" : [ "text/plain" ], |
| 348 | "responses" : { |
| 349 | "200" : { } |
| 350 | }, |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 351 | "x-camelContextId" : "camel-1", |
| 352 | "x-routeId" : "route17" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 353 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 354 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 355 | }, |
| 356 | "definitions" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 357 | "Loop" : { |
| 358 | "type" : "object", |
| 359 | "properties" : { |
| 360 | "name" : { |
| 361 | "type" : "string" |
| 362 | }, |
| 363 | "dcaeDeploymentId" : { |
| 364 | "type" : "string" |
| 365 | }, |
| 366 | "dcaeDeploymentStatusUrl" : { |
| 367 | "type" : "string" |
| 368 | }, |
| 369 | "dcaeBlueprintId" : { |
| 370 | "type" : "string" |
| 371 | }, |
| 372 | "svgRepresentation" : { |
| 373 | "type" : "string" |
| 374 | }, |
| 375 | "globalPropertiesJson" : { |
| 376 | "$ref" : "#/definitions/JsonObject" |
| 377 | }, |
| 378 | "modelPropertiesJson" : { |
| 379 | "$ref" : "#/definitions/JsonObject" |
| 380 | }, |
| 381 | "blueprint" : { |
| 382 | "type" : "string" |
| 383 | }, |
| 384 | "lastComputedState" : { |
| 385 | "type" : "string", |
| 386 | "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ] |
| 387 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 388 | "components" : { |
| 389 | "type" : "object", |
| 390 | "additionalProperties" : { |
| 391 | "$ref" : "#/definitions/ExternalComponent" |
| 392 | } |
| 393 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 394 | "operationalPolicies" : { |
| 395 | "type" : "array", |
| 396 | "uniqueItems" : true, |
| 397 | "items" : { |
| 398 | "$ref" : "#/definitions/OperationalPolicy" |
| 399 | } |
| 400 | }, |
| 401 | "microServicePolicies" : { |
| 402 | "type" : "array", |
| 403 | "uniqueItems" : true, |
| 404 | "items" : { |
| 405 | "$ref" : "#/definitions/MicroServicePolicy" |
| 406 | } |
| 407 | }, |
| 408 | "loopLogs" : { |
| 409 | "type" : "array", |
| 410 | "uniqueItems" : true, |
| 411 | "items" : { |
| 412 | "$ref" : "#/definitions/LoopLog" |
| 413 | } |
| 414 | } |
| 415 | }, |
| 416 | "x-className" : { |
| 417 | "type" : "string", |
| 418 | "format" : "org.onap.clamp.loop.Loop" |
| 419 | } |
| 420 | }, |
| 421 | "JsonArray" : { |
| 422 | "type" : "object", |
| 423 | "properties" : { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 424 | "asString" : { |
| 425 | "type" : "string" |
| 426 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 427 | "asNumber" : { |
| 428 | "$ref" : "#/definitions/Number" |
| 429 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 430 | "asBoolean" : { |
| 431 | "type" : "boolean" |
| 432 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 433 | "asDouble" : { |
| 434 | "type" : "number", |
| 435 | "format" : "double" |
| 436 | }, |
| 437 | "asFloat" : { |
| 438 | "type" : "number", |
| 439 | "format" : "float" |
| 440 | }, |
| 441 | "asLong" : { |
| 442 | "type" : "integer", |
| 443 | "format" : "int64" |
| 444 | }, |
| 445 | "asInt" : { |
| 446 | "type" : "integer", |
| 447 | "format" : "int32" |
| 448 | }, |
| 449 | "asByte" : { |
| 450 | "type" : "string", |
| 451 | "format" : "byte" |
| 452 | }, |
| 453 | "asCharacter" : { |
| 454 | "type" : "string" |
| 455 | }, |
| 456 | "asBigDecimal" : { |
| 457 | "type" : "number" |
| 458 | }, |
| 459 | "asBigInteger" : { |
| 460 | "type" : "integer" |
| 461 | }, |
| 462 | "asShort" : { |
| 463 | "type" : "integer", |
| 464 | "format" : "int32" |
| 465 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 466 | "asJsonPrimitive" : { |
| 467 | "$ref" : "#/definitions/JsonPrimitive" |
| 468 | }, |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 469 | "asJsonObject" : { |
| 470 | "$ref" : "#/definitions/JsonObject" |
| 471 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 472 | "jsonPrimitive" : { |
| 473 | "type" : "boolean" |
| 474 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 475 | "asJsonArray" : { |
| 476 | "$ref" : "#/definitions/JsonArray" |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 477 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 478 | "jsonObject" : { |
| 479 | "type" : "boolean" |
| 480 | }, |
| 481 | "jsonNull" : { |
| 482 | "type" : "boolean" |
| 483 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 484 | "asJsonNull" : { |
| 485 | "$ref" : "#/definitions/JsonNull" |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 486 | }, |
| 487 | "jsonArray" : { |
| 488 | "type" : "boolean" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 489 | } |
| 490 | }, |
| 491 | "x-className" : { |
| 492 | "type" : "string", |
| 493 | "format" : "com.google.gson.JsonArray" |
| 494 | } |
| 495 | }, |
| 496 | "LoopLog" : { |
| 497 | "type" : "object", |
| 498 | "properties" : { |
| 499 | "id" : { |
| 500 | "type" : "integer", |
| 501 | "format" : "int64" |
| 502 | }, |
| 503 | "logType" : { |
| 504 | "type" : "string", |
| 505 | "enum" : [ "INFO", "WARNING", "ERROR" ] |
| 506 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 507 | "logComponent" : { |
| 508 | "type" : "string" |
| 509 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 510 | "message" : { |
| 511 | "type" : "string" |
| 512 | }, |
| 513 | "loop" : { |
| 514 | "$ref" : "#/definitions/Loop" |
| 515 | }, |
| 516 | "logInstant" : { |
| 517 | "type" : "integer", |
| 518 | "format" : "int64" |
| 519 | } |
| 520 | } |
| 521 | }, |
| 522 | "Number" : { |
| 523 | "type" : "object" |
| 524 | }, |
| 525 | "JsonPrimitive" : { |
| 526 | "type" : "object", |
| 527 | "properties" : { |
| 528 | "boolean" : { |
| 529 | "type" : "boolean" |
| 530 | }, |
| 531 | "number" : { |
| 532 | "type" : "boolean" |
| 533 | }, |
| 534 | "asString" : { |
| 535 | "type" : "string" |
| 536 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 537 | "asNumber" : { |
| 538 | "$ref" : "#/definitions/Number" |
| 539 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 540 | "asBoolean" : { |
| 541 | "type" : "boolean" |
| 542 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 543 | "asDouble" : { |
| 544 | "type" : "number", |
| 545 | "format" : "double" |
| 546 | }, |
| 547 | "asFloat" : { |
| 548 | "type" : "number", |
| 549 | "format" : "float" |
| 550 | }, |
| 551 | "asLong" : { |
| 552 | "type" : "integer", |
| 553 | "format" : "int64" |
| 554 | }, |
| 555 | "asInt" : { |
| 556 | "type" : "integer", |
| 557 | "format" : "int32" |
| 558 | }, |
| 559 | "asByte" : { |
| 560 | "type" : "string", |
| 561 | "format" : "byte" |
| 562 | }, |
| 563 | "asCharacter" : { |
| 564 | "type" : "string" |
| 565 | }, |
| 566 | "asBigDecimal" : { |
| 567 | "type" : "number" |
| 568 | }, |
| 569 | "asBigInteger" : { |
| 570 | "type" : "integer" |
| 571 | }, |
| 572 | "asShort" : { |
| 573 | "type" : "integer", |
| 574 | "format" : "int32" |
| 575 | }, |
| 576 | "string" : { |
| 577 | "type" : "boolean" |
| 578 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 579 | "asJsonPrimitive" : { |
| 580 | "$ref" : "#/definitions/JsonPrimitive" |
| 581 | }, |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 582 | "asJsonObject" : { |
| 583 | "$ref" : "#/definitions/JsonObject" |
| 584 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 585 | "jsonPrimitive" : { |
| 586 | "type" : "boolean" |
| 587 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 588 | "asJsonArray" : { |
| 589 | "$ref" : "#/definitions/JsonArray" |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 590 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 591 | "jsonObject" : { |
| 592 | "type" : "boolean" |
| 593 | }, |
| 594 | "jsonNull" : { |
| 595 | "type" : "boolean" |
| 596 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 597 | "asJsonNull" : { |
| 598 | "$ref" : "#/definitions/JsonNull" |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 599 | }, |
| 600 | "jsonArray" : { |
| 601 | "type" : "boolean" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 602 | } |
| 603 | } |
| 604 | }, |
| 605 | "MicroServicePolicy" : { |
| 606 | "type" : "object", |
| 607 | "properties" : { |
| 608 | "name" : { |
| 609 | "type" : "string" |
| 610 | }, |
| 611 | "modelType" : { |
| 612 | "type" : "string" |
| 613 | }, |
| 614 | "properties" : { |
| 615 | "$ref" : "#/definitions/JsonObject" |
| 616 | }, |
| 617 | "shared" : { |
| 618 | "type" : "boolean" |
| 619 | }, |
| 620 | "policyTosca" : { |
| 621 | "type" : "string" |
| 622 | }, |
| 623 | "jsonRepresentation" : { |
| 624 | "$ref" : "#/definitions/JsonObject" |
| 625 | }, |
| 626 | "usedByLoops" : { |
| 627 | "type" : "array", |
| 628 | "uniqueItems" : true, |
| 629 | "items" : { |
| 630 | "$ref" : "#/definitions/Loop" |
| 631 | } |
| 632 | } |
| 633 | }, |
| 634 | "x-className" : { |
| 635 | "type" : "string", |
| 636 | "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy" |
| 637 | } |
| 638 | }, |
| 639 | "JsonObject" : { |
| 640 | "type" : "object", |
| 641 | "properties" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 642 | "asJsonPrimitive" : { |
| 643 | "$ref" : "#/definitions/JsonPrimitive" |
| 644 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 645 | "asString" : { |
| 646 | "type" : "string" |
| 647 | }, |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 648 | "asJsonObject" : { |
| 649 | "$ref" : "#/definitions/JsonObject" |
| 650 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 651 | "jsonPrimitive" : { |
| 652 | "type" : "boolean" |
| 653 | }, |
| 654 | "asJsonArray" : { |
| 655 | "$ref" : "#/definitions/JsonArray" |
| 656 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 657 | "jsonObject" : { |
| 658 | "type" : "boolean" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 659 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 660 | "asNumber" : { |
| 661 | "$ref" : "#/definitions/Number" |
| 662 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 663 | "jsonNull" : { |
| 664 | "type" : "boolean" |
| 665 | }, |
| 666 | "asJsonNull" : { |
| 667 | "$ref" : "#/definitions/JsonNull" |
| 668 | }, |
| 669 | "jsonArray" : { |
| 670 | "type" : "boolean" |
| 671 | }, |
| 672 | "asBoolean" : { |
| 673 | "type" : "boolean" |
| 674 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 675 | "asDouble" : { |
| 676 | "type" : "number", |
| 677 | "format" : "double" |
| 678 | }, |
| 679 | "asFloat" : { |
| 680 | "type" : "number", |
| 681 | "format" : "float" |
| 682 | }, |
| 683 | "asLong" : { |
| 684 | "type" : "integer", |
| 685 | "format" : "int64" |
| 686 | }, |
| 687 | "asInt" : { |
| 688 | "type" : "integer", |
| 689 | "format" : "int32" |
| 690 | }, |
| 691 | "asByte" : { |
| 692 | "type" : "string", |
| 693 | "format" : "byte" |
| 694 | }, |
| 695 | "asCharacter" : { |
| 696 | "type" : "string" |
| 697 | }, |
| 698 | "asBigDecimal" : { |
| 699 | "type" : "number" |
| 700 | }, |
| 701 | "asBigInteger" : { |
| 702 | "type" : "integer" |
| 703 | }, |
| 704 | "asShort" : { |
| 705 | "type" : "integer", |
| 706 | "format" : "int32" |
| 707 | } |
| 708 | }, |
| 709 | "x-className" : { |
| 710 | "type" : "string", |
| 711 | "format" : "com.google.gson.JsonObject" |
| 712 | } |
| 713 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 714 | "ExternalComponent" : { |
| 715 | "type" : "object", |
| 716 | "properties" : { |
| 717 | "state" : { |
| 718 | "$ref" : "#/definitions/ExternalComponentState" |
| 719 | }, |
| 720 | "componentName" : { |
| 721 | "type" : "string" |
| 722 | } |
| 723 | } |
| 724 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 725 | "OperationalPolicy" : { |
| 726 | "type" : "object", |
| 727 | "properties" : { |
| 728 | "name" : { |
| 729 | "type" : "string" |
| 730 | }, |
| 731 | "configurationsJson" : { |
| 732 | "$ref" : "#/definitions/JsonObject" |
| 733 | }, |
| 734 | "loop" : { |
| 735 | "$ref" : "#/definitions/Loop" |
| 736 | }, |
| 737 | "jsonRepresentation" : { |
| 738 | "$ref" : "#/definitions/JsonObject" |
| 739 | } |
| 740 | } |
| 741 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 742 | "ExternalComponentState" : { |
| 743 | "type" : "object", |
| 744 | "properties" : { |
| 745 | "stateName" : { |
| 746 | "type" : "string" |
| 747 | }, |
| 748 | "description" : { |
| 749 | "type" : "string" |
| 750 | }, |
| 751 | "level" : { |
| 752 | "type" : "integer", |
| 753 | "format" : "int32" |
| 754 | } |
| 755 | } |
| 756 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 757 | "JsonNull" : { |
| 758 | "type" : "object", |
| 759 | "properties" : { |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 760 | "asJsonPrimitive" : { |
| 761 | "$ref" : "#/definitions/JsonPrimitive" |
| 762 | }, |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 763 | "asString" : { |
| 764 | "type" : "string" |
| 765 | }, |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 766 | "asJsonObject" : { |
| 767 | "$ref" : "#/definitions/JsonObject" |
| 768 | }, |
sebdet | 0387f23 | 2019-09-09 17:32:53 +0200 | [diff] [blame] | 769 | "jsonPrimitive" : { |
| 770 | "type" : "boolean" |
| 771 | }, |
| 772 | "asJsonArray" : { |
| 773 | "$ref" : "#/definitions/JsonArray" |
| 774 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 775 | "jsonObject" : { |
| 776 | "type" : "boolean" |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 777 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 778 | "asNumber" : { |
| 779 | "$ref" : "#/definitions/Number" |
| 780 | }, |
sebdet | c85d40b | 2019-09-10 15:57:10 +0200 | [diff] [blame] | 781 | "jsonNull" : { |
| 782 | "type" : "boolean" |
| 783 | }, |
| 784 | "asJsonNull" : { |
| 785 | "$ref" : "#/definitions/JsonNull" |
| 786 | }, |
| 787 | "jsonArray" : { |
| 788 | "type" : "boolean" |
| 789 | }, |
| 790 | "asBoolean" : { |
| 791 | "type" : "boolean" |
| 792 | }, |
Determe, Sebastien (sd378r) | 51ef6ca | 2019-05-29 18:04:31 +0200 | [diff] [blame] | 793 | "asDouble" : { |
| 794 | "type" : "number", |
| 795 | "format" : "double" |
| 796 | }, |
| 797 | "asFloat" : { |
| 798 | "type" : "number", |
| 799 | "format" : "float" |
| 800 | }, |
| 801 | "asLong" : { |
| 802 | "type" : "integer", |
| 803 | "format" : "int64" |
| 804 | }, |
| 805 | "asInt" : { |
| 806 | "type" : "integer", |
| 807 | "format" : "int32" |
| 808 | }, |
| 809 | "asByte" : { |
| 810 | "type" : "string", |
| 811 | "format" : "byte" |
| 812 | }, |
| 813 | "asCharacter" : { |
| 814 | "type" : "string" |
| 815 | }, |
| 816 | "asBigDecimal" : { |
| 817 | "type" : "number" |
| 818 | }, |
| 819 | "asBigInteger" : { |
| 820 | "type" : "integer" |
| 821 | }, |
| 822 | "asShort" : { |
| 823 | "type" : "integer", |
| 824 | "format" : "int32" |
| 825 | } |
| 826 | } |
| 827 | }, |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 828 | "CldsInfo" : { |
| 829 | "type" : "object", |
| 830 | "properties" : { |
| 831 | "userName" : { |
| 832 | "type" : "string" |
| 833 | }, |
| 834 | "cldsVersion" : { |
| 835 | "type" : "string" |
| 836 | }, |
| 837 | "permissionReadCl" : { |
| 838 | "type" : "boolean" |
| 839 | }, |
| 840 | "permissionUpdateCl" : { |
| 841 | "type" : "boolean" |
| 842 | }, |
| 843 | "permissionReadTemplate" : { |
| 844 | "type" : "boolean" |
| 845 | }, |
| 846 | "permissionUpdateTemplate" : { |
| 847 | "type" : "boolean" |
sebdet | 4d1e6b9 | 2018-10-23 16:54:02 +0200 | [diff] [blame] | 848 | }, |
| 849 | "permissionReadTosca" : { |
| 850 | "type" : "boolean" |
| 851 | }, |
| 852 | "permissionUpdateTosca" : { |
| 853 | "type" : "boolean" |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 854 | } |
| 855 | }, |
| 856 | "x-className" : { |
| 857 | "type" : "string", |
| 858 | "format" : "org.onap.clamp.clds.model.CldsInfo" |
| 859 | } |
sebdet | 5b410e6 | 2019-09-11 15:11:03 +0200 | [diff] [blame] | 860 | }, |
| 861 | "CldsHealthCheck" : { |
| 862 | "type" : "object", |
| 863 | "properties" : { |
| 864 | "healthCheckComponent" : { |
| 865 | "type" : "string" |
| 866 | }, |
| 867 | "healthCheckStatus" : { |
| 868 | "type" : "string" |
| 869 | }, |
| 870 | "description" : { |
| 871 | "type" : "string" |
| 872 | } |
| 873 | }, |
| 874 | "x-className" : { |
| 875 | "type" : "string", |
| 876 | "format" : "org.onap.clamp.clds.model.CldsHealthCheck" |
| 877 | } |
Determe, Sebastien (sd378r) | f744247 | 2018-08-03 15:52:19 +0200 | [diff] [blame] | 878 | } |
| 879 | } |
xg353y | 2aad6d6 | 2018-05-18 17:59:06 +0200 | [diff] [blame] | 880 | } |