4 "version" : "5.0.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:40597",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
13 "operationId" : "route80",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/Dictionary"
23 "x-camelContextId" : "camel-3",
24 "x-routeId" : "route80"
27 "operationId" : "route82",
28 "consumes" : [ "application/json" ],
29 "produces" : [ "application/json" ],
35 "$ref" : "#/definitions/Dictionary"
40 "description" : "Output type",
42 "$ref" : "#/definitions/Dictionary"
46 "x-camelContextId" : "camel-3",
47 "x-routeId" : "route82"
50 "/v2/dictionary/{dictionaryName}" : {
52 "produces" : [ "application/json" ],
54 "name" : "dictionaryName",
61 "description" : "Output type",
63 "$ref" : "#/definitions/Dictionary"
67 "x-camelContextId" : "camel-3",
71 "/v2/dictionary/{name}" : {
73 "consumes" : [ "application/json" ],
74 "produces" : [ "application/json" ],
85 "$ref" : "#/definitions/Dictionary"
90 "description" : "Output type",
92 "$ref" : "#/definitions/Dictionary"
96 "x-camelContextId" : "camel-3",
100 "operationId" : "route84",
101 "produces" : [ "application/json" ],
111 "x-camelContextId" : "camel-3",
112 "x-routeId" : "route84"
115 "/v2/dictionary/{name}/elements/{shortName}" : {
117 "produces" : [ "application/json" ],
124 "name" : "shortName",
132 "x-camelContextId" : "camel-3",
136 "/v2/dictionary/secondary/names" : {
138 "produces" : [ "application/json" ],
141 "description" : "Output type",
150 "x-camelContextId" : "camel-3",
154 "/v2/loop/{loopName}" : {
156 "operationId" : "route65",
157 "produces" : [ "application/json" ],
166 "description" : "Output type",
168 "$ref" : "#/definitions/Loop"
172 "x-camelContextId" : "camel-3",
173 "x-routeId" : "route65"
176 "/v2/loop/delete/{loopName}" : {
178 "operationId" : "route76",
188 "x-camelContextId" : "camel-3",
189 "x-routeId" : "route76"
192 "/v2/loop/deploy/{loopName}" : {
194 "operationId" : "route70",
195 "produces" : [ "application/json" ],
204 "description" : "Output type",
206 "$ref" : "#/definitions/Loop"
210 "x-camelContextId" : "camel-3",
211 "x-routeId" : "route70"
214 "/v2/loop/getAllNames" : {
216 "operationId" : "route64",
217 "produces" : [ "application/json" ],
220 "description" : "Output type",
229 "x-camelContextId" : "camel-3",
230 "x-routeId" : "route64"
233 "/v2/loop/getstatus/{loopName}" : {
235 "operationId" : "route77",
236 "produces" : [ "application/json" ],
245 "description" : "Output type",
247 "$ref" : "#/definitions/Loop"
251 "x-camelContextId" : "camel-3",
252 "x-routeId" : "route77"
255 "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
257 "operationId" : "route71",
258 "produces" : [ "application/json" ],
267 "description" : "Output type",
269 "$ref" : "#/definitions/Loop"
273 "x-camelContextId" : "camel-3",
274 "x-routeId" : "route71"
277 "/v2/loop/restart/{loopName}" : {
279 "operationId" : "route74",
280 "produces" : [ "application/json" ],
289 "description" : "Output type",
291 "$ref" : "#/definitions/Loop"
295 "x-camelContextId" : "camel-3",
296 "x-routeId" : "route74"
299 "/v2/loop/stop/{loopName}" : {
301 "operationId" : "route73",
302 "produces" : [ "application/json" ],
311 "description" : "Output type",
313 "$ref" : "#/definitions/Loop"
317 "x-camelContextId" : "camel-3",
318 "x-routeId" : "route73"
321 "/v2/loop/submit/{loopName}" : {
323 "operationId" : "route75",
324 "produces" : [ "application/json" ],
333 "description" : "Output type",
335 "$ref" : "#/definitions/Loop"
339 "x-camelContextId" : "camel-3",
340 "x-routeId" : "route75"
343 "/v2/loop/svgRepresentation/{loopName}" : {
345 "operationId" : "route66",
346 "produces" : [ "application/xml" ],
355 "description" : "Output type",
361 "x-camelContextId" : "camel-3",
362 "x-routeId" : "route66"
365 "/v2/loop/undeploy/{loopName}" : {
367 "operationId" : "route72",
368 "produces" : [ "application/json" ],
377 "description" : "Output type",
379 "$ref" : "#/definitions/Loop"
383 "x-camelContextId" : "camel-3",
384 "x-routeId" : "route72"
387 "/v2/loop/updateGlobalProperties/{loopName}" : {
389 "operationId" : "route67",
390 "consumes" : [ "application/json" ],
391 "produces" : [ "application/json" ],
402 "$ref" : "#/definitions/JsonObject"
407 "description" : "Output type",
409 "$ref" : "#/definitions/Loop"
413 "x-camelContextId" : "camel-3",
414 "x-routeId" : "route67"
417 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
419 "operationId" : "route69",
420 "consumes" : [ "application/json" ],
421 "produces" : [ "application/json" ],
432 "$ref" : "#/definitions/MicroServicePolicy"
437 "description" : "Output type",
439 "$ref" : "#/definitions/MicroServicePolicy"
443 "x-camelContextId" : "camel-3",
444 "x-routeId" : "route69"
447 "/v2/loop/updateOperationalPolicies/{loopName}" : {
449 "operationId" : "route68",
450 "consumes" : [ "application/json" ],
451 "produces" : [ "application/json" ],
462 "$ref" : "#/definitions/JsonArray"
467 "description" : "Output type",
469 "$ref" : "#/definitions/Loop"
473 "x-camelContextId" : "camel-3",
474 "x-routeId" : "route68"
477 "/v2/policyToscaModels" : {
479 "operationId" : "route87",
480 "produces" : [ "application/json" ],
483 "description" : "Output type",
485 "$ref" : "#/definitions/PolicyModel"
489 "x-camelContextId" : "camel-3",
490 "x-routeId" : "route87"
493 "/v2/policyToscaModels/{policyModelType}" : {
495 "produces" : [ "application/json" ],
497 "name" : "policyModelType",
504 "description" : "Output type",
506 "$ref" : "#/definitions/PolicyModel"
510 "x-camelContextId" : "camel-3",
514 "operationId" : "route88",
515 "consumes" : [ "plain/text" ],
516 "produces" : [ "application/json" ],
518 "name" : "policyModelType",
532 "description" : "Output type",
534 "$ref" : "#/definitions/PolicyModel"
538 "x-camelContextId" : "camel-3",
539 "x-routeId" : "route88"
542 "/v2/policyToscaModels/yaml/{policyModelType}" : {
544 "produces" : [ "application/json" ],
546 "name" : "policyModelType",
553 "description" : "Output type",
559 "x-camelContextId" : "camel-3",
565 "operationId" : "route91",
566 "produces" : [ "application/json" ],
569 "description" : "Output type",
571 "$ref" : "#/definitions/LoopTemplate"
575 "x-camelContextId" : "camel-3",
576 "x-routeId" : "route91"
579 "/v2/templates/{templateName}" : {
581 "produces" : [ "application/json" ],
583 "name" : "templateName",
590 "description" : "Output type",
592 "$ref" : "#/definitions/LoopTemplate"
596 "x-camelContextId" : "camel-3",
600 "/v2/templates/names" : {
602 "produces" : [ "application/json" ],
605 "description" : "Output type",
614 "x-camelContextId" : "camel-3",
618 "/v1/healthcheck" : {
620 "operationId" : "route92",
621 "produces" : [ "application/json" ],
624 "description" : "Output type",
626 "$ref" : "#/definitions/CldsHealthCheck"
630 "x-camelContextId" : "camel-3",
631 "x-routeId" : "route92"
634 "/v1/user/getUser" : {
636 "operationId" : "route93",
637 "produces" : [ "text/plain" ],
641 "x-camelContextId" : "camel-3",
642 "x-routeId" : "route93"
667 "secondLevelDictionary" : {
671 "subDictionaryType" : {
674 "dictionaryElements" : {
676 "uniqueItems" : true,
678 "$ref" : "#/definitions/DictionaryElement"
684 "format" : "org.onap.clamp.tosca.Dictionary"
687 "DictionaryElement" : {
719 "usedByDictionaries" : {
721 "uniqueItems" : true,
723 "$ref" : "#/definitions/Dictionary"
748 "dcaeDeploymentId" : {
751 "dcaeDeploymentStatusUrl" : {
754 "svgRepresentation" : {
757 "globalPropertiesJson" : {
758 "$ref" : "#/definitions/JsonObject"
761 "$ref" : "#/definitions/Service"
763 "lastComputedState" : {
765 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
769 "additionalProperties" : {
770 "$ref" : "#/definitions/ExternalComponent"
773 "operationalPolicies" : {
775 "uniqueItems" : true,
777 "$ref" : "#/definitions/OperationalPolicy"
780 "microServicePolicies" : {
782 "uniqueItems" : true,
784 "$ref" : "#/definitions/MicroServicePolicy"
789 "uniqueItems" : true,
791 "$ref" : "#/definitions/LoopLog"
795 "$ref" : "#/definitions/LoopTemplate"
800 "format" : "org.onap.clamp.loop.Loop"
816 "$ref" : "#/definitions/Number"
861 "$ref" : "#/definitions/JsonArray"
864 "$ref" : "#/definitions/JsonObject"
875 "asJsonPrimitive" : {
876 "$ref" : "#/definitions/JsonPrimitive"
879 "$ref" : "#/definitions/JsonNull"
883 "MicroServicePolicy" : {
900 "jsonRepresentation" : {
901 "$ref" : "#/definitions/JsonObject"
903 "configurationsJson" : {
904 "$ref" : "#/definitions/JsonObject"
906 "loopElementModel" : {
907 "$ref" : "#/definitions/LoopElementModel"
916 "$ref" : "#/definitions/PolicyModel"
924 "deviceTypeScope" : {
932 "uniqueItems" : true,
934 "$ref" : "#/definitions/Loop"
937 "dcaeDeploymentId" : {
940 "dcaeDeploymentStatusUrl" : {
943 "dcaeBlueprintId" : {
949 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
962 "$ref" : "#/definitions/JsonArray"
965 "$ref" : "#/definitions/JsonObject"
979 "asJsonPrimitive" : {
980 "$ref" : "#/definitions/JsonPrimitive"
983 "$ref" : "#/definitions/JsonNull"
986 "$ref" : "#/definitions/Number"
1024 "format" : "com.google.gson.JsonObject"
1044 "policyModelType" : {
1050 "policyModelTosca" : {
1056 "usedByElementModels" : {
1058 "uniqueItems" : true,
1060 "$ref" : "#/definitions/LoopElementModel"
1063 "policyPdpGroup" : {
1064 "$ref" : "#/definitions/JsonObject"
1069 "format" : "org.onap.clamp.loop.template.PolicyModel"
1084 "serviceDetails" : {
1085 "$ref" : "#/definitions/JsonObject"
1087 "resourceDetails" : {
1088 "$ref" : "#/definitions/JsonObject"
1092 "LoopTemplateLoopElementModel" : {
1096 "$ref" : "#/definitions/LoopTemplate"
1098 "loopElementModel" : {
1099 "$ref" : "#/definitions/LoopElementModel"
1107 "OperationalPolicy" : {
1124 "jsonRepresentation" : {
1125 "$ref" : "#/definitions/JsonObject"
1127 "configurationsJson" : {
1128 "$ref" : "#/definitions/JsonObject"
1130 "loopElementModel" : {
1131 "$ref" : "#/definitions/LoopElementModel"
1140 "$ref" : "#/definitions/PolicyModel"
1146 "$ref" : "#/definitions/Loop"
1163 "$ref" : "#/definitions/JsonArray"
1166 "$ref" : "#/definitions/JsonObject"
1180 "asJsonPrimitive" : {
1181 "$ref" : "#/definitions/JsonPrimitive"
1184 "$ref" : "#/definitions/JsonNull"
1187 "$ref" : "#/definitions/Number"
1234 "$ref" : "#/definitions/Number"
1273 "$ref" : "#/definitions/JsonArray"
1276 "$ref" : "#/definitions/JsonObject"
1287 "asJsonPrimitive" : {
1288 "$ref" : "#/definitions/JsonPrimitive"
1291 "$ref" : "#/definitions/JsonNull"
1296 "format" : "com.google.gson.JsonArray"
1308 "enum" : [ "INFO", "WARNING", "ERROR" ]
1317 "$ref" : "#/definitions/Loop"
1328 "ExternalComponent" : {
1332 "$ref" : "#/definitions/ExternalComponentState"
1359 "dcaeBlueprintId" : {
1365 "svgRepresentation" : {
1368 "loopElementModelsUsed" : {
1370 "uniqueItems" : true,
1372 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1376 "$ref" : "#/definitions/Service"
1378 "maximumInstancesAllowed" : {
1382 "uniqueBlueprint" : {
1385 "allowedLoopType" : {
1387 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1392 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1395 "ExternalComponentState" : {
1410 "LoopElementModel" : {
1430 "dcaeBlueprintId" : {
1436 "loopElementType" : {
1444 "uniqueItems" : true,
1446 "$ref" : "#/definitions/PolicyModel"
1449 "usedByLoopTemplates" : {
1451 "uniqueItems" : true,
1453 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1458 "CldsHealthCheck" : {
1461 "healthCheckComponent" : {
1464 "healthCheckStatus" : {
1473 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"