saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1 | { |
| 2 | "swagger" : "2.0", |
| 3 | "info" : { |
| 4 | "version" : "6.1.2-SNAPSHOT", |
| 5 | "title" : "Clamp Rest API" |
| 6 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 7 | "host" : "localhost:40313", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 8 | "basePath" : "/restservices/clds/", |
| 9 | "schemes" : [ "http" ], |
| 10 | "paths" : { |
| 11 | "/v2/clampInformation" : { |
| 12 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 13 | "operationId" : "verb38", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 14 | "produces" : [ "application/json" ], |
| 15 | "responses" : { |
| 16 | "200" : { |
| 17 | "description" : "Output type", |
| 18 | "schema" : { |
| 19 | "$ref" : "#/definitions/ClampInformation" |
| 20 | } |
| 21 | } |
| 22 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 23 | "x-camelContextId" : "camel-1", |
| 24 | "x-routeId" : "route39" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 25 | } |
| 26 | }, |
| 27 | "/v2/dictionary" : { |
| 28 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 29 | "operationId" : "verb21", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 30 | "produces" : [ "application/json" ], |
| 31 | "responses" : { |
| 32 | "200" : { |
| 33 | "description" : "Output type", |
| 34 | "schema" : { |
| 35 | "$ref" : "#/definitions/Dictionary" |
| 36 | } |
| 37 | } |
| 38 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 39 | "x-camelContextId" : "camel-1", |
| 40 | "x-routeId" : "route22" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 41 | }, |
| 42 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 43 | "operationId" : "verb24", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 44 | "consumes" : [ "application/json" ], |
| 45 | "produces" : [ "application/json" ], |
| 46 | "parameters" : [ { |
| 47 | "in" : "body", |
| 48 | "name" : "body", |
| 49 | "required" : true, |
| 50 | "schema" : { |
| 51 | "$ref" : "#/definitions/Dictionary" |
| 52 | } |
| 53 | } ], |
| 54 | "responses" : { |
| 55 | "200" : { |
| 56 | "description" : "Output type", |
| 57 | "schema" : { |
| 58 | "$ref" : "#/definitions/Dictionary" |
| 59 | } |
| 60 | } |
| 61 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 62 | "x-camelContextId" : "camel-1", |
| 63 | "x-routeId" : "route25" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 64 | } |
| 65 | }, |
| 66 | "/v2/dictionary/{dictionaryName}" : { |
| 67 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 68 | "operationId" : "verb23", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 69 | "produces" : [ "application/json" ], |
| 70 | "parameters" : [ { |
| 71 | "name" : "dictionaryName", |
| 72 | "in" : "path", |
| 73 | "required" : true, |
| 74 | "type" : "string" |
| 75 | } ], |
| 76 | "responses" : { |
| 77 | "200" : { |
| 78 | "description" : "Output type", |
| 79 | "schema" : { |
| 80 | "$ref" : "#/definitions/Dictionary" |
| 81 | } |
| 82 | } |
| 83 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 84 | "x-camelContextId" : "camel-1", |
| 85 | "x-routeId" : "route24" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 86 | } |
| 87 | }, |
| 88 | "/v2/dictionary/{name}" : { |
| 89 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 90 | "operationId" : "verb25", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 91 | "consumes" : [ "application/json" ], |
| 92 | "produces" : [ "application/json" ], |
| 93 | "parameters" : [ { |
| 94 | "name" : "name", |
| 95 | "in" : "path", |
| 96 | "required" : true, |
| 97 | "type" : "string" |
| 98 | }, { |
| 99 | "in" : "body", |
| 100 | "name" : "body", |
| 101 | "required" : true, |
| 102 | "schema" : { |
| 103 | "$ref" : "#/definitions/Dictionary" |
| 104 | } |
| 105 | } ], |
| 106 | "responses" : { |
| 107 | "200" : { |
| 108 | "description" : "Output type", |
| 109 | "schema" : { |
| 110 | "$ref" : "#/definitions/Dictionary" |
| 111 | } |
| 112 | } |
| 113 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 114 | "x-camelContextId" : "camel-1", |
| 115 | "x-routeId" : "route26" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 116 | }, |
| 117 | "delete" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 118 | "operationId" : "verb26", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 119 | "produces" : [ "application/json" ], |
| 120 | "parameters" : [ { |
| 121 | "name" : "name", |
| 122 | "in" : "path", |
| 123 | "required" : true, |
| 124 | "type" : "string" |
| 125 | } ], |
| 126 | "responses" : { |
| 127 | "200" : { } |
| 128 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 129 | "x-camelContextId" : "camel-1", |
| 130 | "x-routeId" : "route27" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 131 | } |
| 132 | }, |
| 133 | "/v2/dictionary/{name}/elements/{shortName}" : { |
| 134 | "delete" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 135 | "operationId" : "verb27", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 136 | "produces" : [ "application/json" ], |
| 137 | "parameters" : [ { |
| 138 | "name" : "name", |
| 139 | "in" : "path", |
| 140 | "required" : true, |
| 141 | "type" : "string" |
| 142 | }, { |
| 143 | "name" : "shortName", |
| 144 | "in" : "path", |
| 145 | "required" : true, |
| 146 | "type" : "string" |
| 147 | } ], |
| 148 | "responses" : { |
| 149 | "200" : { } |
| 150 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 151 | "x-camelContextId" : "camel-1", |
| 152 | "x-routeId" : "route28" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 153 | } |
| 154 | }, |
| 155 | "/v2/dictionary/secondary/names" : { |
| 156 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 157 | "operationId" : "verb22", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 158 | "produces" : [ "application/json" ], |
| 159 | "responses" : { |
| 160 | "200" : { |
| 161 | "description" : "Output type", |
| 162 | "schema" : { |
| 163 | "type" : "array", |
| 164 | "items" : { |
| 165 | "type" : "string" |
| 166 | } |
| 167 | } |
| 168 | } |
| 169 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 170 | "x-camelContextId" : "camel-1", |
| 171 | "x-routeId" : "route23" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 172 | } |
| 173 | }, |
| 174 | "/v2/loop/{loopName}" : { |
| 175 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 176 | "operationId" : "verb2", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 177 | "produces" : [ "application/json" ], |
| 178 | "parameters" : [ { |
| 179 | "name" : "loopName", |
| 180 | "in" : "path", |
| 181 | "required" : true, |
| 182 | "type" : "string" |
| 183 | } ], |
| 184 | "responses" : { |
| 185 | "200" : { |
| 186 | "description" : "Output type", |
| 187 | "schema" : { |
| 188 | "$ref" : "#/definitions/Loop" |
| 189 | } |
| 190 | } |
| 191 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 192 | "x-camelContextId" : "camel-1", |
| 193 | "x-routeId" : "route3" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 194 | } |
| 195 | }, |
| 196 | "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : { |
| 197 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 198 | "operationId" : "verb15", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 199 | "produces" : [ "application/json" ], |
| 200 | "parameters" : [ { |
| 201 | "name" : "loopName", |
| 202 | "in" : "path", |
| 203 | "required" : true, |
| 204 | "type" : "string" |
| 205 | }, { |
| 206 | "name" : "policyType", |
| 207 | "in" : "path", |
| 208 | "required" : true, |
| 209 | "type" : "string" |
| 210 | }, { |
| 211 | "name" : "policyVersion", |
| 212 | "in" : "path", |
| 213 | "required" : true, |
| 214 | "type" : "string" |
| 215 | } ], |
| 216 | "responses" : { |
| 217 | "200" : { |
| 218 | "description" : "Output type", |
| 219 | "schema" : { |
| 220 | "$ref" : "#/definitions/Loop" |
| 221 | } |
| 222 | } |
| 223 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 224 | "x-camelContextId" : "camel-1", |
| 225 | "x-routeId" : "route16" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 226 | } |
| 227 | }, |
| 228 | "/v2/loop/create/{loopName}?templateName={templateName}" : { |
| 229 | "post" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 230 | "operationId" : "verb17", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 231 | "consumes" : [ "application/json" ], |
| 232 | "produces" : [ "application/json" ], |
| 233 | "parameters" : [ { |
| 234 | "name" : "loopName", |
| 235 | "in" : "path", |
| 236 | "required" : true, |
| 237 | "type" : "string" |
| 238 | }, { |
| 239 | "name" : "templateName", |
| 240 | "in" : "path", |
| 241 | "required" : true, |
| 242 | "type" : "string" |
| 243 | } ], |
| 244 | "responses" : { |
| 245 | "200" : { |
| 246 | "description" : "Output type", |
| 247 | "schema" : { |
| 248 | "$ref" : "#/definitions/Loop" |
| 249 | } |
| 250 | } |
| 251 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 252 | "x-camelContextId" : "camel-1", |
| 253 | "x-routeId" : "route18" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 254 | } |
| 255 | }, |
| 256 | "/v2/loop/delete/{loopName}" : { |
| 257 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 258 | "operationId" : "verb13", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 259 | "parameters" : [ { |
| 260 | "name" : "loopName", |
| 261 | "in" : "path", |
| 262 | "required" : true, |
| 263 | "type" : "string" |
| 264 | } ], |
| 265 | "responses" : { |
| 266 | "200" : { } |
| 267 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 268 | "x-camelContextId" : "camel-1", |
| 269 | "x-routeId" : "route14" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 270 | } |
| 271 | }, |
| 272 | "/v2/loop/deploy/{loopName}" : { |
| 273 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 274 | "operationId" : "verb6", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 275 | "produces" : [ "application/json" ], |
| 276 | "parameters" : [ { |
| 277 | "name" : "loopName", |
| 278 | "in" : "path", |
| 279 | "required" : true, |
| 280 | "type" : "string" |
| 281 | } ], |
| 282 | "responses" : { |
| 283 | "200" : { |
| 284 | "description" : "Output type", |
| 285 | "schema" : { |
| 286 | "$ref" : "#/definitions/Loop" |
| 287 | } |
| 288 | } |
| 289 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 290 | "x-camelContextId" : "camel-1", |
| 291 | "x-routeId" : "route7" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 292 | } |
| 293 | }, |
| 294 | "/v2/loop/getAllNames" : { |
| 295 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 296 | "operationId" : "verb1", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 297 | "produces" : [ "application/json" ], |
| 298 | "responses" : { |
| 299 | "200" : { |
| 300 | "description" : "Output type", |
| 301 | "schema" : { |
| 302 | "type" : "array", |
| 303 | "items" : { |
| 304 | "type" : "string" |
| 305 | } |
| 306 | } |
| 307 | } |
| 308 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 309 | "x-camelContextId" : "camel-1", |
| 310 | "x-routeId" : "route2" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 311 | } |
| 312 | }, |
| 313 | "/v2/loop/getstatus/{loopName}" : { |
| 314 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 315 | "operationId" : "verb14", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 316 | "produces" : [ "application/json" ], |
| 317 | "parameters" : [ { |
| 318 | "name" : "loopName", |
| 319 | "in" : "path", |
| 320 | "required" : true, |
| 321 | "type" : "string" |
| 322 | } ], |
| 323 | "responses" : { |
| 324 | "200" : { |
| 325 | "description" : "Output type", |
| 326 | "schema" : { |
| 327 | "$ref" : "#/definitions/Loop" |
| 328 | } |
| 329 | } |
| 330 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 331 | "x-camelContextId" : "camel-1", |
| 332 | "x-routeId" : "route15" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 333 | } |
| 334 | }, |
| 335 | "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : { |
| 336 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 337 | "operationId" : "verb7", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 338 | "produces" : [ "application/json" ], |
| 339 | "parameters" : [ { |
| 340 | "name" : "loopName", |
| 341 | "in" : "path", |
| 342 | "required" : true, |
| 343 | "type" : "string" |
| 344 | }, { |
| 345 | "name" : "microServicePolicyName", |
| 346 | "in" : "path", |
| 347 | "required" : true, |
| 348 | "type" : "string" |
| 349 | } ], |
| 350 | "responses" : { |
| 351 | "200" : { |
| 352 | "description" : "Output type", |
| 353 | "schema" : { |
| 354 | "$ref" : "#/definitions/Loop" |
| 355 | } |
| 356 | } |
| 357 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 358 | "x-camelContextId" : "camel-1", |
| 359 | "x-routeId" : "route8" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 360 | } |
| 361 | }, |
| 362 | "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : { |
| 363 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 364 | "operationId" : "verb8", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 365 | "produces" : [ "application/json" ], |
| 366 | "parameters" : [ { |
| 367 | "name" : "loopName", |
| 368 | "in" : "path", |
| 369 | "required" : true, |
| 370 | "type" : "string" |
| 371 | }, { |
| 372 | "name" : "operationalPolicyName", |
| 373 | "in" : "path", |
| 374 | "required" : true, |
| 375 | "type" : "string" |
| 376 | } ], |
| 377 | "responses" : { |
| 378 | "200" : { |
| 379 | "description" : "Output type", |
| 380 | "schema" : { |
| 381 | "$ref" : "#/definitions/Loop" |
| 382 | } |
| 383 | } |
| 384 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 385 | "x-camelContextId" : "camel-1", |
| 386 | "x-routeId" : "route9" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 387 | } |
| 388 | }, |
| 389 | "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : { |
| 390 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 391 | "operationId" : "verb16", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 392 | "produces" : [ "application/json" ], |
| 393 | "parameters" : [ { |
| 394 | "name" : "loopName", |
| 395 | "in" : "path", |
| 396 | "required" : true, |
| 397 | "type" : "string" |
| 398 | }, { |
| 399 | "name" : "policyType", |
| 400 | "in" : "path", |
| 401 | "required" : true, |
| 402 | "type" : "string" |
| 403 | }, { |
| 404 | "name" : "policyVersion", |
| 405 | "in" : "path", |
| 406 | "required" : true, |
| 407 | "type" : "string" |
| 408 | }, { |
| 409 | "name" : "policyName", |
| 410 | "in" : "path", |
| 411 | "required" : true, |
| 412 | "type" : "string" |
| 413 | } ], |
| 414 | "responses" : { |
| 415 | "200" : { |
| 416 | "description" : "Output type", |
| 417 | "schema" : { |
| 418 | "$ref" : "#/definitions/Loop" |
| 419 | } |
| 420 | } |
| 421 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 422 | "x-camelContextId" : "camel-1", |
| 423 | "x-routeId" : "route17" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 424 | } |
| 425 | }, |
| 426 | "/v2/loop/restart/{loopName}" : { |
| 427 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 428 | "operationId" : "verb11", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 429 | "produces" : [ "application/json" ], |
| 430 | "parameters" : [ { |
| 431 | "name" : "loopName", |
| 432 | "in" : "path", |
| 433 | "required" : true, |
| 434 | "type" : "string" |
| 435 | } ], |
| 436 | "responses" : { |
| 437 | "200" : { |
| 438 | "description" : "Output type", |
| 439 | "schema" : { |
| 440 | "$ref" : "#/definitions/Loop" |
| 441 | } |
| 442 | } |
| 443 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 444 | "x-camelContextId" : "camel-1", |
| 445 | "x-routeId" : "route12" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 446 | } |
| 447 | }, |
| 448 | "/v2/loop/stop/{loopName}" : { |
| 449 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 450 | "operationId" : "verb10", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 451 | "produces" : [ "application/json" ], |
| 452 | "parameters" : [ { |
| 453 | "name" : "loopName", |
| 454 | "in" : "path", |
| 455 | "required" : true, |
| 456 | "type" : "string" |
| 457 | } ], |
| 458 | "responses" : { |
| 459 | "200" : { |
| 460 | "description" : "Output type", |
| 461 | "schema" : { |
| 462 | "$ref" : "#/definitions/Loop" |
| 463 | } |
| 464 | } |
| 465 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 466 | "x-camelContextId" : "camel-1", |
| 467 | "x-routeId" : "route11" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 468 | } |
| 469 | }, |
| 470 | "/v2/loop/submit/{loopName}" : { |
| 471 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 472 | "operationId" : "verb12", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 473 | "produces" : [ "application/json" ], |
| 474 | "parameters" : [ { |
| 475 | "name" : "loopName", |
| 476 | "in" : "path", |
| 477 | "required" : true, |
| 478 | "type" : "string" |
| 479 | } ], |
| 480 | "responses" : { |
| 481 | "200" : { |
| 482 | "description" : "Output type", |
| 483 | "schema" : { |
| 484 | "$ref" : "#/definitions/Loop" |
| 485 | } |
| 486 | } |
| 487 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 488 | "x-camelContextId" : "camel-1", |
| 489 | "x-routeId" : "route13" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 490 | } |
| 491 | }, |
| 492 | "/v2/loop/undeploy/{loopName}" : { |
| 493 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 494 | "operationId" : "verb9", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 495 | "produces" : [ "application/json" ], |
| 496 | "parameters" : [ { |
| 497 | "name" : "loopName", |
| 498 | "in" : "path", |
| 499 | "required" : true, |
| 500 | "type" : "string" |
| 501 | } ], |
| 502 | "responses" : { |
| 503 | "200" : { |
| 504 | "description" : "Output type", |
| 505 | "schema" : { |
| 506 | "$ref" : "#/definitions/Loop" |
| 507 | } |
| 508 | } |
| 509 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 510 | "x-camelContextId" : "camel-1", |
| 511 | "x-routeId" : "route10" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 512 | } |
| 513 | }, |
| 514 | "/v2/loop/updateGlobalProperties/{loopName}" : { |
| 515 | "post" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 516 | "operationId" : "verb3", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 517 | "consumes" : [ "application/json" ], |
| 518 | "produces" : [ "application/json" ], |
| 519 | "parameters" : [ { |
| 520 | "name" : "loopName", |
| 521 | "in" : "path", |
| 522 | "required" : true, |
| 523 | "type" : "string" |
| 524 | }, { |
| 525 | "in" : "body", |
| 526 | "name" : "body", |
| 527 | "required" : true, |
| 528 | "schema" : { |
| 529 | "$ref" : "#/definitions/JsonObject" |
| 530 | } |
| 531 | } ], |
| 532 | "responses" : { |
| 533 | "200" : { |
| 534 | "description" : "Output type", |
| 535 | "schema" : { |
| 536 | "$ref" : "#/definitions/Loop" |
| 537 | } |
| 538 | } |
| 539 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 540 | "x-camelContextId" : "camel-1", |
| 541 | "x-routeId" : "route4" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 542 | } |
| 543 | }, |
| 544 | "/v2/loop/updateMicroservicePolicy/{loopName}" : { |
| 545 | "post" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 546 | "operationId" : "verb5", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 547 | "consumes" : [ "application/json" ], |
| 548 | "produces" : [ "application/json" ], |
| 549 | "parameters" : [ { |
| 550 | "name" : "loopName", |
| 551 | "in" : "path", |
| 552 | "required" : true, |
| 553 | "type" : "string" |
| 554 | }, { |
| 555 | "in" : "body", |
| 556 | "name" : "body", |
| 557 | "required" : true, |
| 558 | "schema" : { |
| 559 | "$ref" : "#/definitions/MicroServicePolicy" |
| 560 | } |
| 561 | } ], |
| 562 | "responses" : { |
| 563 | "200" : { |
| 564 | "description" : "Output type", |
| 565 | "schema" : { |
| 566 | "$ref" : "#/definitions/MicroServicePolicy" |
| 567 | } |
| 568 | } |
| 569 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 570 | "x-camelContextId" : "camel-1", |
| 571 | "x-routeId" : "route6" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 572 | } |
| 573 | }, |
| 574 | "/v2/loop/updateOperationalPolicies/{loopName}" : { |
| 575 | "post" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 576 | "operationId" : "verb4", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 577 | "consumes" : [ "application/json" ], |
| 578 | "produces" : [ "application/json" ], |
| 579 | "parameters" : [ { |
| 580 | "name" : "loopName", |
| 581 | "in" : "path", |
| 582 | "required" : true, |
| 583 | "type" : "string" |
| 584 | }, { |
| 585 | "in" : "body", |
| 586 | "name" : "body", |
| 587 | "required" : true, |
| 588 | "schema" : { |
| 589 | "$ref" : "#/definitions/JsonArray" |
| 590 | } |
| 591 | } ], |
| 592 | "responses" : { |
| 593 | "200" : { |
| 594 | "description" : "Output type", |
| 595 | "schema" : { |
| 596 | "$ref" : "#/definitions/Loop" |
| 597 | } |
| 598 | } |
| 599 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 600 | "x-camelContextId" : "camel-1", |
| 601 | "x-routeId" : "route5" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 602 | } |
| 603 | }, |
| 604 | "/v2/policies" : { |
| 605 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 606 | "operationId" : "verb31", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 607 | "produces" : [ "application/json" ], |
| 608 | "responses" : { |
| 609 | "200" : { |
| 610 | "description" : "Output type", |
| 611 | "schema" : { |
| 612 | "$ref" : "#/definitions/JsonObject" |
| 613 | } |
| 614 | } |
| 615 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 616 | "x-camelContextId" : "camel-1", |
| 617 | "x-routeId" : "route32" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 618 | } |
| 619 | }, |
| 620 | "/v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}" : { |
| 621 | "post" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 622 | "operationId" : "verb32", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 623 | "consumes" : [ "application/json" ], |
| 624 | "produces" : [ "application/json" ], |
| 625 | "parameters" : [ { |
| 626 | "name" : "policyModelType", |
| 627 | "in" : "path", |
| 628 | "required" : true, |
| 629 | "type" : "string" |
| 630 | }, { |
| 631 | "name" : "policyModelVersion", |
| 632 | "in" : "path", |
| 633 | "required" : true, |
| 634 | "type" : "string" |
| 635 | }, { |
| 636 | "name" : "policyName", |
| 637 | "in" : "path", |
| 638 | "required" : true, |
| 639 | "type" : "string" |
| 640 | }, { |
| 641 | "name" : "policyVersion", |
| 642 | "in" : "path", |
| 643 | "required" : true, |
| 644 | "type" : "string" |
| 645 | }, { |
| 646 | "in" : "body", |
| 647 | "name" : "body", |
| 648 | "required" : true, |
| 649 | "schema" : { |
| 650 | "$ref" : "#/definitions/JsonElement" |
| 651 | } |
| 652 | } ], |
| 653 | "responses" : { |
| 654 | "200" : { |
| 655 | "description" : "Output type", |
| 656 | "schema" : { |
| 657 | "$ref" : "#/definitions/JsonObject" |
| 658 | } |
| 659 | } |
| 660 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 661 | "x-camelContextId" : "camel-1", |
| 662 | "x-routeId" : "route33" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 663 | }, |
| 664 | "delete" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 665 | "operationId" : "verb33", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 666 | "parameters" : [ { |
| 667 | "name" : "policyModelType", |
| 668 | "in" : "path", |
| 669 | "required" : true, |
| 670 | "type" : "string" |
| 671 | }, { |
| 672 | "name" : "policyModelVersion", |
| 673 | "in" : "path", |
| 674 | "required" : true, |
| 675 | "type" : "string" |
| 676 | }, { |
| 677 | "name" : "policyName", |
| 678 | "in" : "path", |
| 679 | "required" : true, |
| 680 | "type" : "string" |
| 681 | }, { |
| 682 | "name" : "policyVersion", |
| 683 | "in" : "path", |
| 684 | "required" : true, |
| 685 | "type" : "string" |
| 686 | } ], |
| 687 | "responses" : { |
| 688 | "200" : { } |
| 689 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 690 | "x-camelContextId" : "camel-1", |
| 691 | "x-routeId" : "route34" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 692 | } |
| 693 | }, |
| 694 | "/v2/policies/pdpDeployment" : { |
| 695 | "put" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 696 | "operationId" : "verb34", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 697 | "consumes" : [ "application/json" ], |
| 698 | "parameters" : [ { |
| 699 | "in" : "body", |
| 700 | "name" : "body", |
| 701 | "required" : true, |
| 702 | "schema" : { |
| 703 | "$ref" : "#/definitions/JsonElement" |
| 704 | } |
| 705 | } ], |
| 706 | "responses" : { |
| 707 | "200" : { } |
| 708 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 709 | "x-camelContextId" : "camel-1", |
| 710 | "x-routeId" : "route35" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 711 | } |
| 712 | }, |
| 713 | "/v2/policies/policytype" : { |
| 714 | "post" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 715 | "operationId" : "verb35", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 716 | "consumes" : [ "plain/text" ], |
| 717 | "parameters" : [ { |
| 718 | "in" : "body", |
| 719 | "name" : "body", |
| 720 | "required" : true, |
| 721 | "schema" : { |
| 722 | "type" : "string" |
| 723 | } |
| 724 | } ], |
| 725 | "responses" : { |
| 726 | "200" : { } |
| 727 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 728 | "x-camelContextId" : "camel-1", |
| 729 | "x-routeId" : "route36" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 730 | } |
| 731 | }, |
| 732 | "/v2/policyToscaModels" : { |
| 733 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 734 | "operationId" : "verb28", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 735 | "produces" : [ "application/json" ], |
| 736 | "responses" : { |
| 737 | "200" : { |
| 738 | "description" : "Output type", |
| 739 | "schema" : { |
| 740 | "$ref" : "#/definitions/PolicyModel" |
| 741 | } |
| 742 | } |
| 743 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 744 | "x-camelContextId" : "camel-1", |
| 745 | "x-routeId" : "route29" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 746 | } |
| 747 | }, |
| 748 | "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : { |
| 749 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 750 | "operationId" : "verb29", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 751 | "produces" : [ "application/json" ], |
| 752 | "parameters" : [ { |
| 753 | "name" : "policyModelType", |
| 754 | "in" : "path", |
| 755 | "required" : true, |
| 756 | "type" : "string" |
| 757 | }, { |
| 758 | "name" : "policyModelVersion", |
| 759 | "in" : "path", |
| 760 | "required" : true, |
| 761 | "type" : "string" |
| 762 | } ], |
| 763 | "responses" : { |
| 764 | "200" : { |
| 765 | "description" : "Output type", |
| 766 | "schema" : { |
| 767 | "$ref" : "#/definitions/JsonObject" |
| 768 | } |
| 769 | } |
| 770 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 771 | "x-camelContextId" : "camel-1", |
| 772 | "x-routeId" : "route30" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 773 | } |
| 774 | }, |
| 775 | "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : { |
| 776 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 777 | "operationId" : "verb30", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 778 | "produces" : [ "application/json" ], |
| 779 | "parameters" : [ { |
| 780 | "name" : "policyModelType", |
| 781 | "in" : "path", |
| 782 | "required" : true, |
| 783 | "type" : "string" |
| 784 | }, { |
| 785 | "name" : "policyModelVersion", |
| 786 | "in" : "path", |
| 787 | "required" : true, |
| 788 | "type" : "string" |
| 789 | } ], |
| 790 | "responses" : { |
| 791 | "200" : { |
| 792 | "description" : "Output type", |
| 793 | "schema" : { |
| 794 | "type" : "string" |
| 795 | } |
| 796 | } |
| 797 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 798 | "x-camelContextId" : "camel-1", |
| 799 | "x-routeId" : "route31" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 800 | } |
| 801 | }, |
| 802 | "/v2/templates" : { |
| 803 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 804 | "operationId" : "verb18", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 805 | "produces" : [ "application/json" ], |
| 806 | "responses" : { |
| 807 | "200" : { |
| 808 | "description" : "Output type", |
| 809 | "schema" : { |
| 810 | "$ref" : "#/definitions/LoopTemplate" |
| 811 | } |
| 812 | } |
| 813 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 814 | "x-camelContextId" : "camel-1", |
| 815 | "x-routeId" : "route19" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 816 | } |
| 817 | }, |
| 818 | "/v2/templates/{templateName}" : { |
| 819 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 820 | "operationId" : "verb19", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 821 | "produces" : [ "application/json" ], |
| 822 | "parameters" : [ { |
| 823 | "name" : "templateName", |
| 824 | "in" : "path", |
| 825 | "required" : true, |
| 826 | "type" : "string" |
| 827 | } ], |
| 828 | "responses" : { |
| 829 | "200" : { |
| 830 | "description" : "Output type", |
| 831 | "schema" : { |
| 832 | "$ref" : "#/definitions/LoopTemplate" |
| 833 | } |
| 834 | } |
| 835 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 836 | "x-camelContextId" : "camel-1", |
| 837 | "x-routeId" : "route20" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 838 | } |
| 839 | }, |
| 840 | "/v2/templates/names" : { |
| 841 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 842 | "operationId" : "verb20", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 843 | "produces" : [ "application/json" ], |
| 844 | "responses" : { |
| 845 | "200" : { |
| 846 | "description" : "Output type", |
| 847 | "schema" : { |
| 848 | "type" : "array", |
| 849 | "items" : { |
| 850 | "type" : "string" |
| 851 | } |
| 852 | } |
| 853 | } |
| 854 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 855 | "x-camelContextId" : "camel-1", |
| 856 | "x-routeId" : "route21" |
| 857 | } |
| 858 | }, |
| 859 | "/v2/toscaControlLoop/commissionToscaTemplate" : { |
| 860 | "post" : { |
| 861 | "operationId" : "verb37", |
| 862 | "consumes" : [ "plain/text" ], |
| 863 | "produces" : [ "application/json" ], |
| 864 | "parameters" : [ { |
| 865 | "in" : "body", |
| 866 | "name" : "body", |
| 867 | "required" : true, |
| 868 | "schema" : { |
| 869 | "type" : "string" |
| 870 | } |
| 871 | } ], |
| 872 | "responses" : { |
| 873 | "200" : { |
| 874 | "description" : "Output type", |
| 875 | "schema" : { |
| 876 | "type" : "string" |
| 877 | } |
| 878 | } |
| 879 | }, |
| 880 | "x-camelContextId" : "camel-1", |
| 881 | "x-routeId" : "route38" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 882 | } |
| 883 | }, |
| 884 | "/v2/toscaControlLoop/getToscaTemplate" : { |
| 885 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 886 | "operationId" : "verb36", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 887 | "produces" : [ "application/json" ], |
| 888 | "responses" : { |
| 889 | "200" : { |
| 890 | "description" : "Output type", |
| 891 | "schema" : { |
| 892 | "type" : "string" |
| 893 | } |
| 894 | } |
| 895 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 896 | "x-camelContextId" : "camel-1", |
| 897 | "x-routeId" : "route37" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 898 | } |
| 899 | }, |
| 900 | "/v1/healthcheck" : { |
| 901 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 902 | "operationId" : "verb39", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 903 | "produces" : [ "application/json" ], |
| 904 | "responses" : { |
| 905 | "200" : { |
| 906 | "description" : "Output type", |
| 907 | "schema" : { |
| 908 | "$ref" : "#/definitions/CldsHealthCheck" |
| 909 | } |
| 910 | } |
| 911 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 912 | "x-camelContextId" : "camel-1", |
| 913 | "x-routeId" : "route40" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 914 | } |
| 915 | }, |
| 916 | "/v1/user/getUser" : { |
| 917 | "get" : { |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 918 | "operationId" : "verb40", |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 919 | "produces" : [ "text/plain" ], |
| 920 | "responses" : { |
| 921 | "200" : { } |
| 922 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 923 | "x-camelContextId" : "camel-1", |
| 924 | "x-routeId" : "route41" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 925 | } |
| 926 | } |
| 927 | }, |
| 928 | "definitions" : { |
| 929 | "ClampInformation" : { |
| 930 | "type" : "object", |
| 931 | "properties" : { |
| 932 | "userName" : { |
| 933 | "type" : "string" |
| 934 | }, |
| 935 | "cldsVersion" : { |
| 936 | "type" : "string" |
| 937 | }, |
| 938 | "allPermissions" : { |
| 939 | "type" : "array", |
| 940 | "items" : { |
| 941 | "type" : "string" |
| 942 | } |
| 943 | } |
| 944 | }, |
| 945 | "x-className" : { |
| 946 | "type" : "string", |
| 947 | "format" : "org.onap.policy.clamp.clds.model.ClampInformation" |
| 948 | } |
| 949 | }, |
| 950 | "Dictionary" : { |
| 951 | "type" : "object", |
| 952 | "properties" : { |
| 953 | "createdDate" : { |
| 954 | "type" : "integer", |
| 955 | "format" : "int64" |
| 956 | }, |
| 957 | "updatedDate" : { |
| 958 | "type" : "integer", |
| 959 | "format" : "int64" |
| 960 | }, |
| 961 | "updatedBy" : { |
| 962 | "type" : "string" |
| 963 | }, |
| 964 | "createdBy" : { |
| 965 | "type" : "string" |
| 966 | }, |
| 967 | "name" : { |
| 968 | "type" : "string" |
| 969 | }, |
| 970 | "secondLevelDictionary" : { |
| 971 | "type" : "integer", |
| 972 | "format" : "int32" |
| 973 | }, |
| 974 | "subDictionaryType" : { |
| 975 | "type" : "string" |
| 976 | }, |
| 977 | "dictionaryElements" : { |
| 978 | "type" : "array", |
| 979 | "uniqueItems" : true, |
| 980 | "items" : { |
| 981 | "$ref" : "#/definitions/DictionaryElement" |
| 982 | } |
| 983 | } |
| 984 | }, |
| 985 | "x-className" : { |
| 986 | "type" : "string", |
| 987 | "format" : "org.onap.policy.clamp.tosca.Dictionary" |
| 988 | } |
| 989 | }, |
| 990 | "DictionaryElement" : { |
| 991 | "type" : "object", |
| 992 | "properties" : { |
| 993 | "createdDate" : { |
| 994 | "type" : "integer", |
| 995 | "format" : "int64" |
| 996 | }, |
| 997 | "updatedDate" : { |
| 998 | "type" : "integer", |
| 999 | "format" : "int64" |
| 1000 | }, |
| 1001 | "updatedBy" : { |
| 1002 | "type" : "string" |
| 1003 | }, |
| 1004 | "createdBy" : { |
| 1005 | "type" : "string" |
| 1006 | }, |
| 1007 | "shortName" : { |
| 1008 | "type" : "string" |
| 1009 | }, |
| 1010 | "name" : { |
| 1011 | "type" : "string" |
| 1012 | }, |
| 1013 | "description" : { |
| 1014 | "type" : "string" |
| 1015 | }, |
| 1016 | "type" : { |
| 1017 | "type" : "string" |
| 1018 | }, |
| 1019 | "subDictionary" : { |
| 1020 | "type" : "string" |
| 1021 | }, |
| 1022 | "usedByDictionaries" : { |
| 1023 | "type" : "array", |
| 1024 | "uniqueItems" : true, |
| 1025 | "items" : { |
| 1026 | "$ref" : "#/definitions/Dictionary" |
| 1027 | } |
| 1028 | } |
| 1029 | } |
| 1030 | }, |
| 1031 | "Loop" : { |
| 1032 | "type" : "object", |
| 1033 | "properties" : { |
| 1034 | "createdDate" : { |
| 1035 | "type" : "integer", |
| 1036 | "format" : "int64" |
| 1037 | }, |
| 1038 | "updatedDate" : { |
| 1039 | "type" : "integer", |
| 1040 | "format" : "int64" |
| 1041 | }, |
| 1042 | "updatedBy" : { |
| 1043 | "type" : "string" |
| 1044 | }, |
| 1045 | "createdBy" : { |
| 1046 | "type" : "string" |
| 1047 | }, |
| 1048 | "name" : { |
| 1049 | "type" : "string" |
| 1050 | }, |
| 1051 | "dcaeDeploymentId" : { |
| 1052 | "type" : "string" |
| 1053 | }, |
| 1054 | "dcaeDeploymentStatusUrl" : { |
| 1055 | "type" : "string" |
| 1056 | }, |
| 1057 | "globalPropertiesJson" : { |
| 1058 | "$ref" : "#/definitions/JsonObject" |
| 1059 | }, |
| 1060 | "modelService" : { |
| 1061 | "$ref" : "#/definitions/Service" |
| 1062 | }, |
| 1063 | "lastComputedState" : { |
| 1064 | "type" : "string", |
| 1065 | "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ] |
| 1066 | }, |
| 1067 | "components" : { |
| 1068 | "type" : "object", |
| 1069 | "additionalProperties" : { |
| 1070 | "$ref" : "#/definitions/ExternalComponent" |
| 1071 | } |
| 1072 | }, |
| 1073 | "operationalPolicies" : { |
| 1074 | "type" : "array", |
| 1075 | "uniqueItems" : true, |
| 1076 | "items" : { |
| 1077 | "$ref" : "#/definitions/OperationalPolicy" |
| 1078 | } |
| 1079 | }, |
| 1080 | "microServicePolicies" : { |
| 1081 | "type" : "array", |
| 1082 | "uniqueItems" : true, |
| 1083 | "items" : { |
| 1084 | "$ref" : "#/definitions/MicroServicePolicy" |
| 1085 | } |
| 1086 | }, |
| 1087 | "loopLogs" : { |
| 1088 | "type" : "array", |
| 1089 | "uniqueItems" : true, |
| 1090 | "items" : { |
| 1091 | "$ref" : "#/definitions/LoopLog" |
| 1092 | } |
| 1093 | }, |
| 1094 | "loopTemplate" : { |
| 1095 | "$ref" : "#/definitions/LoopTemplate" |
| 1096 | } |
| 1097 | }, |
| 1098 | "x-className" : { |
| 1099 | "type" : "string", |
| 1100 | "format" : "org.onap.policy.clamp.loop.Loop" |
| 1101 | } |
| 1102 | }, |
| 1103 | "JsonPrimitive" : { |
| 1104 | "type" : "object", |
| 1105 | "properties" : { |
| 1106 | "asBoolean" : { |
| 1107 | "type" : "boolean" |
| 1108 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1109 | "asDouble" : { |
| 1110 | "type" : "number", |
| 1111 | "format" : "double" |
| 1112 | }, |
| 1113 | "asInt" : { |
| 1114 | "type" : "integer", |
| 1115 | "format" : "int32" |
| 1116 | }, |
| 1117 | "asLong" : { |
| 1118 | "type" : "integer", |
| 1119 | "format" : "int64" |
| 1120 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1121 | "boolean" : { |
| 1122 | "type" : "boolean" |
| 1123 | }, |
| 1124 | "number" : { |
| 1125 | "type" : "boolean" |
| 1126 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1127 | "asString" : { |
| 1128 | "type" : "string" |
| 1129 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1130 | "asBigDecimal" : { |
| 1131 | "type" : "number" |
| 1132 | }, |
| 1133 | "asBigInteger" : { |
| 1134 | "type" : "integer" |
| 1135 | }, |
| 1136 | "asShort" : { |
| 1137 | "type" : "integer", |
| 1138 | "format" : "int32" |
| 1139 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1140 | "asNumber" : { |
| 1141 | "$ref" : "#/definitions/Number" |
| 1142 | }, |
| 1143 | "asFloat" : { |
| 1144 | "type" : "number", |
| 1145 | "format" : "float" |
| 1146 | }, |
| 1147 | "asByte" : { |
| 1148 | "type" : "string", |
| 1149 | "format" : "byte" |
| 1150 | }, |
| 1151 | "asCharacter" : { |
| 1152 | "type" : "string" |
| 1153 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1154 | "string" : { |
| 1155 | "type" : "boolean" |
| 1156 | }, |
| 1157 | "asJsonObject" : { |
| 1158 | "$ref" : "#/definitions/JsonObject" |
| 1159 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1160 | "asJsonArray" : { |
| 1161 | "$ref" : "#/definitions/JsonArray" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1162 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1163 | "jsonNull" : { |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1164 | "type" : "boolean" |
| 1165 | }, |
| 1166 | "jsonPrimitive" : { |
| 1167 | "type" : "boolean" |
| 1168 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1169 | "jsonObject" : { |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1170 | "type" : "boolean" |
| 1171 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1172 | "jsonArray" : { |
| 1173 | "type" : "boolean" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1174 | }, |
| 1175 | "asJsonPrimitive" : { |
| 1176 | "$ref" : "#/definitions/JsonPrimitive" |
| 1177 | }, |
| 1178 | "asJsonNull" : { |
| 1179 | "$ref" : "#/definitions/JsonNull" |
| 1180 | } |
| 1181 | } |
| 1182 | }, |
| 1183 | "MicroServicePolicy" : { |
| 1184 | "type" : "object", |
| 1185 | "properties" : { |
| 1186 | "createdDate" : { |
| 1187 | "type" : "integer", |
| 1188 | "format" : "int64" |
| 1189 | }, |
| 1190 | "updatedDate" : { |
| 1191 | "type" : "integer", |
| 1192 | "format" : "int64" |
| 1193 | }, |
| 1194 | "updatedBy" : { |
| 1195 | "type" : "string" |
| 1196 | }, |
| 1197 | "createdBy" : { |
| 1198 | "type" : "string" |
| 1199 | }, |
| 1200 | "jsonRepresentation" : { |
| 1201 | "$ref" : "#/definitions/JsonObject" |
| 1202 | }, |
| 1203 | "configurationsJson" : { |
| 1204 | "$ref" : "#/definitions/JsonObject" |
| 1205 | }, |
| 1206 | "loopElementModel" : { |
| 1207 | "$ref" : "#/definitions/LoopElementModel" |
| 1208 | }, |
| 1209 | "pdpGroup" : { |
| 1210 | "type" : "string" |
| 1211 | }, |
| 1212 | "pdpSubgroup" : { |
| 1213 | "type" : "string" |
| 1214 | }, |
| 1215 | "policyModel" : { |
| 1216 | "$ref" : "#/definitions/PolicyModel" |
| 1217 | }, |
| 1218 | "name" : { |
| 1219 | "type" : "string" |
| 1220 | }, |
| 1221 | "context" : { |
| 1222 | "type" : "string" |
| 1223 | }, |
| 1224 | "deviceTypeScope" : { |
| 1225 | "type" : "string" |
| 1226 | }, |
| 1227 | "shared" : { |
| 1228 | "type" : "boolean" |
| 1229 | }, |
| 1230 | "usedByLoops" : { |
| 1231 | "type" : "array", |
| 1232 | "uniqueItems" : true, |
| 1233 | "items" : { |
| 1234 | "$ref" : "#/definitions/Loop" |
| 1235 | } |
| 1236 | }, |
| 1237 | "dcaeDeploymentId" : { |
| 1238 | "type" : "string" |
| 1239 | }, |
| 1240 | "dcaeDeploymentStatusUrl" : { |
| 1241 | "type" : "string" |
| 1242 | }, |
| 1243 | "dcaeBlueprintId" : { |
| 1244 | "type" : "string" |
| 1245 | } |
| 1246 | }, |
| 1247 | "x-className" : { |
| 1248 | "type" : "string", |
| 1249 | "format" : "org.onap.policy.clamp.policy.microservice.MicroServicePolicy" |
| 1250 | } |
| 1251 | }, |
| 1252 | "JsonObject" : { |
| 1253 | "type" : "object", |
| 1254 | "properties" : { |
| 1255 | "asBoolean" : { |
| 1256 | "type" : "boolean" |
| 1257 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1258 | "asDouble" : { |
| 1259 | "type" : "number", |
| 1260 | "format" : "double" |
| 1261 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1262 | "asInt" : { |
| 1263 | "type" : "integer", |
| 1264 | "format" : "int32" |
| 1265 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1266 | "asLong" : { |
| 1267 | "type" : "integer", |
| 1268 | "format" : "int64" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1269 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1270 | "asJsonObject" : { |
| 1271 | "$ref" : "#/definitions/JsonObject" |
| 1272 | }, |
| 1273 | "asString" : { |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1274 | "type" : "string" |
| 1275 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1276 | "asJsonArray" : { |
| 1277 | "$ref" : "#/definitions/JsonArray" |
| 1278 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1279 | "asBigDecimal" : { |
| 1280 | "type" : "number" |
| 1281 | }, |
| 1282 | "asBigInteger" : { |
| 1283 | "type" : "integer" |
| 1284 | }, |
| 1285 | "asShort" : { |
| 1286 | "type" : "integer", |
| 1287 | "format" : "int32" |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1288 | }, |
| 1289 | "jsonNull" : { |
| 1290 | "type" : "boolean" |
| 1291 | }, |
| 1292 | "jsonPrimitive" : { |
| 1293 | "type" : "boolean" |
| 1294 | }, |
| 1295 | "jsonObject" : { |
| 1296 | "type" : "boolean" |
| 1297 | }, |
| 1298 | "jsonArray" : { |
| 1299 | "type" : "boolean" |
| 1300 | }, |
| 1301 | "asNumber" : { |
| 1302 | "$ref" : "#/definitions/Number" |
| 1303 | }, |
| 1304 | "asFloat" : { |
| 1305 | "type" : "number", |
| 1306 | "format" : "float" |
| 1307 | }, |
| 1308 | "asJsonPrimitive" : { |
| 1309 | "$ref" : "#/definitions/JsonPrimitive" |
| 1310 | }, |
| 1311 | "asByte" : { |
| 1312 | "type" : "string", |
| 1313 | "format" : "byte" |
| 1314 | }, |
| 1315 | "asCharacter" : { |
| 1316 | "type" : "string" |
| 1317 | }, |
| 1318 | "asJsonNull" : { |
| 1319 | "$ref" : "#/definitions/JsonNull" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1320 | } |
| 1321 | }, |
| 1322 | "x-className" : { |
| 1323 | "type" : "string", |
| 1324 | "format" : "com.google.gson.JsonObject" |
| 1325 | } |
| 1326 | }, |
| 1327 | "PolicyModel" : { |
| 1328 | "type" : "object", |
| 1329 | "properties" : { |
| 1330 | "createdDate" : { |
| 1331 | "type" : "integer", |
| 1332 | "format" : "int64" |
| 1333 | }, |
| 1334 | "updatedDate" : { |
| 1335 | "type" : "integer", |
| 1336 | "format" : "int64" |
| 1337 | }, |
| 1338 | "updatedBy" : { |
| 1339 | "type" : "string" |
| 1340 | }, |
| 1341 | "createdBy" : { |
| 1342 | "type" : "string" |
| 1343 | }, |
| 1344 | "policyModelType" : { |
| 1345 | "type" : "string" |
| 1346 | }, |
| 1347 | "version" : { |
| 1348 | "type" : "string" |
| 1349 | }, |
| 1350 | "policyModelTosca" : { |
| 1351 | "type" : "string" |
| 1352 | }, |
| 1353 | "policyAcronym" : { |
| 1354 | "type" : "string" |
| 1355 | }, |
| 1356 | "usedByElementModels" : { |
| 1357 | "type" : "array", |
| 1358 | "uniqueItems" : true, |
| 1359 | "items" : { |
| 1360 | "$ref" : "#/definitions/LoopElementModel" |
| 1361 | } |
| 1362 | }, |
| 1363 | "policyPdpGroup" : { |
| 1364 | "$ref" : "#/definitions/JsonObject" |
| 1365 | } |
| 1366 | }, |
| 1367 | "x-className" : { |
| 1368 | "type" : "string", |
| 1369 | "format" : "org.onap.policy.clamp.loop.template.PolicyModel" |
| 1370 | } |
| 1371 | }, |
| 1372 | "Service" : { |
| 1373 | "type" : "object", |
| 1374 | "properties" : { |
| 1375 | "serviceUuid" : { |
| 1376 | "type" : "string" |
| 1377 | }, |
| 1378 | "name" : { |
| 1379 | "type" : "string" |
| 1380 | }, |
| 1381 | "version" : { |
| 1382 | "type" : "string" |
| 1383 | }, |
| 1384 | "serviceDetails" : { |
| 1385 | "$ref" : "#/definitions/JsonObject" |
| 1386 | }, |
| 1387 | "resourceDetails" : { |
| 1388 | "$ref" : "#/definitions/JsonObject" |
| 1389 | } |
| 1390 | } |
| 1391 | }, |
| 1392 | "LoopTemplateLoopElementModel" : { |
| 1393 | "type" : "object", |
| 1394 | "properties" : { |
| 1395 | "loopTemplate" : { |
| 1396 | "$ref" : "#/definitions/LoopTemplate" |
| 1397 | }, |
| 1398 | "loopElementModel" : { |
| 1399 | "$ref" : "#/definitions/LoopElementModel" |
| 1400 | }, |
| 1401 | "flowOrder" : { |
| 1402 | "type" : "integer", |
| 1403 | "format" : "int32" |
| 1404 | } |
| 1405 | } |
| 1406 | }, |
| 1407 | "OperationalPolicy" : { |
| 1408 | "type" : "object", |
| 1409 | "properties" : { |
| 1410 | "createdDate" : { |
| 1411 | "type" : "integer", |
| 1412 | "format" : "int64" |
| 1413 | }, |
| 1414 | "updatedDate" : { |
| 1415 | "type" : "integer", |
| 1416 | "format" : "int64" |
| 1417 | }, |
| 1418 | "updatedBy" : { |
| 1419 | "type" : "string" |
| 1420 | }, |
| 1421 | "createdBy" : { |
| 1422 | "type" : "string" |
| 1423 | }, |
| 1424 | "jsonRepresentation" : { |
| 1425 | "$ref" : "#/definitions/JsonObject" |
| 1426 | }, |
| 1427 | "configurationsJson" : { |
| 1428 | "$ref" : "#/definitions/JsonObject" |
| 1429 | }, |
| 1430 | "loopElementModel" : { |
| 1431 | "$ref" : "#/definitions/LoopElementModel" |
| 1432 | }, |
| 1433 | "pdpGroup" : { |
| 1434 | "type" : "string" |
| 1435 | }, |
| 1436 | "pdpSubgroup" : { |
| 1437 | "type" : "string" |
| 1438 | }, |
| 1439 | "policyModel" : { |
| 1440 | "$ref" : "#/definitions/PolicyModel" |
| 1441 | }, |
| 1442 | "name" : { |
| 1443 | "type" : "string" |
| 1444 | }, |
| 1445 | "loop" : { |
| 1446 | "$ref" : "#/definitions/Loop" |
| 1447 | } |
| 1448 | } |
| 1449 | }, |
| 1450 | "JsonNull" : { |
| 1451 | "type" : "object", |
| 1452 | "properties" : { |
| 1453 | "asBoolean" : { |
| 1454 | "type" : "boolean" |
| 1455 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1456 | "asDouble" : { |
| 1457 | "type" : "number", |
| 1458 | "format" : "double" |
| 1459 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1460 | "asInt" : { |
| 1461 | "type" : "integer", |
| 1462 | "format" : "int32" |
| 1463 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1464 | "asLong" : { |
| 1465 | "type" : "integer", |
| 1466 | "format" : "int64" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1467 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1468 | "asJsonObject" : { |
| 1469 | "$ref" : "#/definitions/JsonObject" |
| 1470 | }, |
| 1471 | "asString" : { |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1472 | "type" : "string" |
| 1473 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1474 | "asJsonArray" : { |
| 1475 | "$ref" : "#/definitions/JsonArray" |
| 1476 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1477 | "asBigDecimal" : { |
| 1478 | "type" : "number" |
| 1479 | }, |
| 1480 | "asBigInteger" : { |
| 1481 | "type" : "integer" |
| 1482 | }, |
| 1483 | "asShort" : { |
| 1484 | "type" : "integer", |
| 1485 | "format" : "int32" |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1486 | }, |
| 1487 | "jsonNull" : { |
| 1488 | "type" : "boolean" |
| 1489 | }, |
| 1490 | "jsonPrimitive" : { |
| 1491 | "type" : "boolean" |
| 1492 | }, |
| 1493 | "jsonObject" : { |
| 1494 | "type" : "boolean" |
| 1495 | }, |
| 1496 | "jsonArray" : { |
| 1497 | "type" : "boolean" |
| 1498 | }, |
| 1499 | "asNumber" : { |
| 1500 | "$ref" : "#/definitions/Number" |
| 1501 | }, |
| 1502 | "asFloat" : { |
| 1503 | "type" : "number", |
| 1504 | "format" : "float" |
| 1505 | }, |
| 1506 | "asJsonPrimitive" : { |
| 1507 | "$ref" : "#/definitions/JsonPrimitive" |
| 1508 | }, |
| 1509 | "asByte" : { |
| 1510 | "type" : "string", |
| 1511 | "format" : "byte" |
| 1512 | }, |
| 1513 | "asCharacter" : { |
| 1514 | "type" : "string" |
| 1515 | }, |
| 1516 | "asJsonNull" : { |
| 1517 | "$ref" : "#/definitions/JsonNull" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1518 | } |
| 1519 | } |
| 1520 | }, |
| 1521 | "JsonArray" : { |
| 1522 | "type" : "object", |
| 1523 | "properties" : { |
| 1524 | "asBoolean" : { |
| 1525 | "type" : "boolean" |
| 1526 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1527 | "asDouble" : { |
| 1528 | "type" : "number", |
| 1529 | "format" : "double" |
| 1530 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1531 | "asInt" : { |
| 1532 | "type" : "integer", |
| 1533 | "format" : "int32" |
| 1534 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1535 | "asLong" : { |
| 1536 | "type" : "integer", |
| 1537 | "format" : "int64" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1538 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1539 | "asString" : { |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1540 | "type" : "string" |
| 1541 | }, |
| 1542 | "asBigDecimal" : { |
| 1543 | "type" : "number" |
| 1544 | }, |
| 1545 | "asBigInteger" : { |
| 1546 | "type" : "integer" |
| 1547 | }, |
| 1548 | "asShort" : { |
| 1549 | "type" : "integer", |
| 1550 | "format" : "int32" |
| 1551 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1552 | "asNumber" : { |
| 1553 | "$ref" : "#/definitions/Number" |
| 1554 | }, |
| 1555 | "asFloat" : { |
| 1556 | "type" : "number", |
| 1557 | "format" : "float" |
| 1558 | }, |
| 1559 | "asByte" : { |
| 1560 | "type" : "string", |
| 1561 | "format" : "byte" |
| 1562 | }, |
| 1563 | "asCharacter" : { |
| 1564 | "type" : "string" |
| 1565 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1566 | "asJsonObject" : { |
| 1567 | "$ref" : "#/definitions/JsonObject" |
| 1568 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1569 | "asJsonArray" : { |
| 1570 | "$ref" : "#/definitions/JsonArray" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1571 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1572 | "jsonNull" : { |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1573 | "type" : "boolean" |
| 1574 | }, |
| 1575 | "jsonPrimitive" : { |
| 1576 | "type" : "boolean" |
| 1577 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1578 | "jsonObject" : { |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1579 | "type" : "boolean" |
| 1580 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1581 | "jsonArray" : { |
| 1582 | "type" : "boolean" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1583 | }, |
| 1584 | "asJsonPrimitive" : { |
| 1585 | "$ref" : "#/definitions/JsonPrimitive" |
| 1586 | }, |
| 1587 | "asJsonNull" : { |
| 1588 | "$ref" : "#/definitions/JsonNull" |
| 1589 | } |
| 1590 | }, |
| 1591 | "x-className" : { |
| 1592 | "type" : "string", |
| 1593 | "format" : "com.google.gson.JsonArray" |
| 1594 | } |
| 1595 | }, |
| 1596 | "LoopLog" : { |
| 1597 | "type" : "object", |
| 1598 | "properties" : { |
| 1599 | "id" : { |
| 1600 | "type" : "integer", |
| 1601 | "format" : "int64" |
| 1602 | }, |
| 1603 | "logType" : { |
| 1604 | "type" : "string", |
| 1605 | "enum" : [ "INFO", "WARNING", "ERROR" ] |
| 1606 | }, |
| 1607 | "logComponent" : { |
| 1608 | "type" : "string" |
| 1609 | }, |
| 1610 | "message" : { |
| 1611 | "type" : "string" |
| 1612 | }, |
| 1613 | "loop" : { |
| 1614 | "$ref" : "#/definitions/Loop" |
| 1615 | }, |
| 1616 | "logInstant" : { |
| 1617 | "type" : "integer", |
| 1618 | "format" : "int64" |
| 1619 | } |
| 1620 | } |
| 1621 | }, |
| 1622 | "Number" : { |
| 1623 | "type" : "object" |
| 1624 | }, |
| 1625 | "ExternalComponent" : { |
| 1626 | "type" : "object", |
| 1627 | "properties" : { |
| 1628 | "state" : { |
| 1629 | "$ref" : "#/definitions/ExternalComponentState" |
| 1630 | }, |
| 1631 | "componentName" : { |
| 1632 | "type" : "string" |
| 1633 | } |
| 1634 | } |
| 1635 | }, |
| 1636 | "LoopTemplate" : { |
| 1637 | "type" : "object", |
| 1638 | "properties" : { |
| 1639 | "createdDate" : { |
| 1640 | "type" : "integer", |
| 1641 | "format" : "int64" |
| 1642 | }, |
| 1643 | "updatedDate" : { |
| 1644 | "type" : "integer", |
| 1645 | "format" : "int64" |
| 1646 | }, |
| 1647 | "updatedBy" : { |
| 1648 | "type" : "string" |
| 1649 | }, |
| 1650 | "createdBy" : { |
| 1651 | "type" : "string" |
| 1652 | }, |
| 1653 | "name" : { |
| 1654 | "type" : "string" |
| 1655 | }, |
| 1656 | "dcaeBlueprintId" : { |
| 1657 | "type" : "string" |
| 1658 | }, |
| 1659 | "blueprint" : { |
| 1660 | "type" : "string" |
| 1661 | }, |
| 1662 | "loopElementModelsUsed" : { |
| 1663 | "type" : "array", |
| 1664 | "uniqueItems" : true, |
| 1665 | "items" : { |
| 1666 | "$ref" : "#/definitions/LoopTemplateLoopElementModel" |
| 1667 | } |
| 1668 | }, |
| 1669 | "modelService" : { |
| 1670 | "$ref" : "#/definitions/Service" |
| 1671 | }, |
| 1672 | "maximumInstancesAllowed" : { |
| 1673 | "type" : "integer", |
| 1674 | "format" : "int32" |
| 1675 | }, |
| 1676 | "uniqueBlueprint" : { |
| 1677 | "type" : "boolean" |
| 1678 | }, |
| 1679 | "allowedLoopType" : { |
| 1680 | "type" : "string", |
| 1681 | "enum" : [ "OPEN", "CLOSED", "HYBRID" ] |
| 1682 | } |
| 1683 | }, |
| 1684 | "x-className" : { |
| 1685 | "type" : "string", |
| 1686 | "format" : "org.onap.policy.clamp.loop.template.LoopTemplate" |
| 1687 | } |
| 1688 | }, |
| 1689 | "ExternalComponentState" : { |
| 1690 | "type" : "object", |
| 1691 | "properties" : { |
| 1692 | "stateName" : { |
| 1693 | "type" : "string" |
| 1694 | }, |
| 1695 | "description" : { |
| 1696 | "type" : "string" |
| 1697 | }, |
| 1698 | "level" : { |
| 1699 | "type" : "integer", |
| 1700 | "format" : "int32" |
| 1701 | } |
| 1702 | } |
| 1703 | }, |
| 1704 | "LoopElementModel" : { |
| 1705 | "type" : "object", |
| 1706 | "properties" : { |
| 1707 | "createdDate" : { |
| 1708 | "type" : "integer", |
| 1709 | "format" : "int64" |
| 1710 | }, |
| 1711 | "updatedDate" : { |
| 1712 | "type" : "integer", |
| 1713 | "format" : "int64" |
| 1714 | }, |
| 1715 | "updatedBy" : { |
| 1716 | "type" : "string" |
| 1717 | }, |
| 1718 | "createdBy" : { |
| 1719 | "type" : "string" |
| 1720 | }, |
| 1721 | "name" : { |
| 1722 | "type" : "string" |
| 1723 | }, |
| 1724 | "dcaeBlueprintId" : { |
| 1725 | "type" : "string" |
| 1726 | }, |
| 1727 | "blueprint" : { |
| 1728 | "type" : "string" |
| 1729 | }, |
| 1730 | "loopElementType" : { |
| 1731 | "type" : "string" |
| 1732 | }, |
| 1733 | "shortName" : { |
| 1734 | "type" : "string" |
| 1735 | }, |
| 1736 | "policyModels" : { |
| 1737 | "type" : "array", |
| 1738 | "uniqueItems" : true, |
| 1739 | "items" : { |
| 1740 | "$ref" : "#/definitions/PolicyModel" |
| 1741 | } |
| 1742 | }, |
| 1743 | "usedByLoopTemplates" : { |
| 1744 | "type" : "array", |
| 1745 | "uniqueItems" : true, |
| 1746 | "items" : { |
| 1747 | "$ref" : "#/definitions/LoopTemplateLoopElementModel" |
| 1748 | } |
| 1749 | } |
| 1750 | } |
| 1751 | }, |
| 1752 | "JsonElement" : { |
| 1753 | "type" : "object", |
| 1754 | "properties" : { |
| 1755 | "asBoolean" : { |
| 1756 | "type" : "boolean" |
| 1757 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1758 | "asDouble" : { |
| 1759 | "type" : "number", |
| 1760 | "format" : "double" |
| 1761 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1762 | "asInt" : { |
| 1763 | "type" : "integer", |
| 1764 | "format" : "int32" |
| 1765 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1766 | "asLong" : { |
| 1767 | "type" : "integer", |
| 1768 | "format" : "int64" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1769 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1770 | "asJsonObject" : { |
| 1771 | "$ref" : "#/definitions/JsonObject" |
| 1772 | }, |
| 1773 | "asString" : { |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1774 | "type" : "string" |
| 1775 | }, |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1776 | "asJsonArray" : { |
| 1777 | "$ref" : "#/definitions/JsonArray" |
| 1778 | }, |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1779 | "asBigDecimal" : { |
| 1780 | "type" : "number" |
| 1781 | }, |
| 1782 | "asBigInteger" : { |
| 1783 | "type" : "integer" |
| 1784 | }, |
| 1785 | "asShort" : { |
| 1786 | "type" : "integer", |
| 1787 | "format" : "int32" |
saul.gill | 0f18037 | 2021-06-17 16:28:22 +0100 | [diff] [blame] | 1788 | }, |
| 1789 | "jsonNull" : { |
| 1790 | "type" : "boolean" |
| 1791 | }, |
| 1792 | "jsonPrimitive" : { |
| 1793 | "type" : "boolean" |
| 1794 | }, |
| 1795 | "jsonObject" : { |
| 1796 | "type" : "boolean" |
| 1797 | }, |
| 1798 | "jsonArray" : { |
| 1799 | "type" : "boolean" |
| 1800 | }, |
| 1801 | "asNumber" : { |
| 1802 | "$ref" : "#/definitions/Number" |
| 1803 | }, |
| 1804 | "asFloat" : { |
| 1805 | "type" : "number", |
| 1806 | "format" : "float" |
| 1807 | }, |
| 1808 | "asJsonPrimitive" : { |
| 1809 | "$ref" : "#/definitions/JsonPrimitive" |
| 1810 | }, |
| 1811 | "asByte" : { |
| 1812 | "type" : "string", |
| 1813 | "format" : "byte" |
| 1814 | }, |
| 1815 | "asCharacter" : { |
| 1816 | "type" : "string" |
| 1817 | }, |
| 1818 | "asJsonNull" : { |
| 1819 | "$ref" : "#/definitions/JsonNull" |
saul.gill | ee7faff | 2021-06-09 14:24:00 +0100 | [diff] [blame] | 1820 | } |
| 1821 | }, |
| 1822 | "x-className" : { |
| 1823 | "type" : "string", |
| 1824 | "format" : "com.google.gson.JsonElement" |
| 1825 | } |
| 1826 | }, |
| 1827 | "CldsHealthCheck" : { |
| 1828 | "type" : "object", |
| 1829 | "properties" : { |
| 1830 | "healthCheckComponent" : { |
| 1831 | "type" : "string" |
| 1832 | }, |
| 1833 | "healthCheckStatus" : { |
| 1834 | "type" : "string" |
| 1835 | }, |
| 1836 | "description" : { |
| 1837 | "type" : "string" |
| 1838 | } |
| 1839 | }, |
| 1840 | "x-className" : { |
| 1841 | "type" : "string", |
| 1842 | "format" : "org.onap.policy.clamp.clds.model.CldsHealthCheck" |
| 1843 | } |
| 1844 | } |
| 1845 | } |
| 1846 | } |