4 "version" : "5.0.2-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:34889",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/clampInformation" : {
13 "operationId" : "route74",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/ClampInformation"
23 "x-camelContextId" : "camel-2",
24 "x-routeId" : "route74"
29 "operationId" : "route58",
30 "produces" : [ "application/json" ],
33 "description" : "Output type",
35 "$ref" : "#/definitions/Dictionary"
39 "x-camelContextId" : "camel-2",
40 "x-routeId" : "route58"
43 "operationId" : "route61",
44 "consumes" : [ "application/json" ],
45 "produces" : [ "application/json" ],
51 "$ref" : "#/definitions/Dictionary"
56 "description" : "Output type",
58 "$ref" : "#/definitions/Dictionary"
62 "x-camelContextId" : "camel-2",
63 "x-routeId" : "route61"
66 "/v2/dictionary/{dictionaryName}" : {
68 "operationId" : "route60",
69 "produces" : [ "application/json" ],
71 "name" : "dictionaryName",
78 "description" : "Output type",
80 "$ref" : "#/definitions/Dictionary"
84 "x-camelContextId" : "camel-2",
85 "x-routeId" : "route60"
88 "/v2/dictionary/{name}" : {
90 "operationId" : "route62",
91 "consumes" : [ "application/json" ],
92 "produces" : [ "application/json" ],
103 "$ref" : "#/definitions/Dictionary"
108 "description" : "Output type",
110 "$ref" : "#/definitions/Dictionary"
114 "x-camelContextId" : "camel-2",
115 "x-routeId" : "route62"
118 "operationId" : "route63",
119 "produces" : [ "application/json" ],
129 "x-camelContextId" : "camel-2",
130 "x-routeId" : "route63"
133 "/v2/dictionary/{name}/elements/{shortName}" : {
135 "operationId" : "route64",
136 "produces" : [ "application/json" ],
143 "name" : "shortName",
151 "x-camelContextId" : "camel-2",
152 "x-routeId" : "route64"
155 "/v2/dictionary/secondary/names" : {
157 "operationId" : "route59",
158 "produces" : [ "application/json" ],
161 "description" : "Output type",
170 "x-camelContextId" : "camel-2",
171 "x-routeId" : "route59"
174 "/v2/loop/{loopName}" : {
176 "operationId" : "route41",
177 "produces" : [ "application/json" ],
186 "description" : "Output type",
188 "$ref" : "#/definitions/Loop"
192 "x-camelContextId" : "camel-2",
193 "x-routeId" : "route41"
196 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
198 "operationId" : "route55",
199 "produces" : [ "application/json" ],
206 "name" : "policyType",
211 "name" : "policyVersion",
218 "description" : "Output type",
220 "$ref" : "#/definitions/Loop"
224 "x-camelContextId" : "camel-2",
225 "x-routeId" : "route55"
228 "/v2/loop/create/{loopName}?templateName={templateName}" : {
230 "operationId" : "route57",
231 "consumes" : [ "application/json" ],
232 "produces" : [ "application/json" ],
234 "name" : "loopName}?templateName={templateName",
241 "description" : "Output type",
243 "$ref" : "#/definitions/Loop"
247 "x-camelContextId" : "camel-2",
248 "x-routeId" : "route57"
251 "/v2/loop/delete/{loopName}" : {
253 "operationId" : "route53",
263 "x-camelContextId" : "camel-2",
264 "x-routeId" : "route53"
267 "/v2/loop/deploy/{loopName}" : {
269 "operationId" : "route46",
270 "produces" : [ "application/json" ],
279 "description" : "Output type",
281 "$ref" : "#/definitions/Loop"
285 "x-camelContextId" : "camel-2",
286 "x-routeId" : "route46"
289 "/v2/loop/getAllNames" : {
291 "operationId" : "route40",
292 "produces" : [ "application/json" ],
295 "description" : "Output type",
304 "x-camelContextId" : "camel-2",
305 "x-routeId" : "route40"
308 "/v2/loop/getstatus/{loopName}" : {
310 "operationId" : "route54",
311 "produces" : [ "application/json" ],
320 "description" : "Output type",
322 "$ref" : "#/definitions/Loop"
326 "x-camelContextId" : "camel-2",
327 "x-routeId" : "route54"
330 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
332 "operationId" : "route47",
333 "produces" : [ "application/json" ],
340 "name" : "microServicePolicyName",
347 "description" : "Output type",
349 "$ref" : "#/definitions/Loop"
353 "x-camelContextId" : "camel-2",
354 "x-routeId" : "route47"
357 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
359 "operationId" : "route48",
360 "produces" : [ "application/json" ],
367 "name" : "operationalPolicyName",
374 "description" : "Output type",
376 "$ref" : "#/definitions/Loop"
380 "x-camelContextId" : "camel-2",
381 "x-routeId" : "route48"
384 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
386 "operationId" : "route56",
387 "produces" : [ "application/json" ],
394 "name" : "policyType",
399 "name" : "policyVersion",
406 "description" : "Output type",
408 "$ref" : "#/definitions/Loop"
412 "x-camelContextId" : "camel-2",
413 "x-routeId" : "route56"
416 "/v2/loop/restart/{loopName}" : {
418 "operationId" : "route51",
419 "produces" : [ "application/json" ],
428 "description" : "Output type",
430 "$ref" : "#/definitions/Loop"
434 "x-camelContextId" : "camel-2",
435 "x-routeId" : "route51"
438 "/v2/loop/stop/{loopName}" : {
440 "operationId" : "route50",
441 "produces" : [ "application/json" ],
450 "description" : "Output type",
452 "$ref" : "#/definitions/Loop"
456 "x-camelContextId" : "camel-2",
457 "x-routeId" : "route50"
460 "/v2/loop/submit/{loopName}" : {
462 "operationId" : "route52",
463 "produces" : [ "application/json" ],
472 "description" : "Output type",
474 "$ref" : "#/definitions/Loop"
478 "x-camelContextId" : "camel-2",
479 "x-routeId" : "route52"
482 "/v2/loop/svgRepresentation/{loopName}" : {
484 "operationId" : "route42",
485 "produces" : [ "application/xml" ],
494 "description" : "Output type",
500 "x-camelContextId" : "camel-2",
501 "x-routeId" : "route42"
504 "/v2/loop/undeploy/{loopName}" : {
506 "operationId" : "route49",
507 "produces" : [ "application/json" ],
516 "description" : "Output type",
518 "$ref" : "#/definitions/Loop"
522 "x-camelContextId" : "camel-2",
523 "x-routeId" : "route49"
526 "/v2/loop/updateGlobalProperties/{loopName}" : {
528 "operationId" : "route43",
529 "consumes" : [ "application/json" ],
530 "produces" : [ "application/json" ],
541 "$ref" : "#/definitions/JsonObject"
546 "description" : "Output type",
548 "$ref" : "#/definitions/Loop"
552 "x-camelContextId" : "camel-2",
553 "x-routeId" : "route43"
556 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
558 "operationId" : "route45",
559 "consumes" : [ "application/json" ],
560 "produces" : [ "application/json" ],
571 "$ref" : "#/definitions/MicroServicePolicy"
576 "description" : "Output type",
578 "$ref" : "#/definitions/MicroServicePolicy"
582 "x-camelContextId" : "camel-2",
583 "x-routeId" : "route45"
586 "/v2/loop/updateOperationalPolicies/{loopName}" : {
588 "operationId" : "route44",
589 "consumes" : [ "application/json" ],
590 "produces" : [ "application/json" ],
601 "$ref" : "#/definitions/JsonArray"
606 "description" : "Output type",
608 "$ref" : "#/definitions/Loop"
612 "x-camelContextId" : "camel-2",
613 "x-routeId" : "route44"
616 "/v2/policyToscaModels" : {
618 "operationId" : "route65",
619 "produces" : [ "application/json" ],
622 "description" : "Output type",
624 "$ref" : "#/definitions/PolicyModel"
628 "x-camelContextId" : "camel-2",
629 "x-routeId" : "route65"
632 "operationId" : "route68",
633 "consumes" : [ "plain/text" ],
634 "produces" : [ "application/json" ],
645 "description" : "Output type",
647 "$ref" : "#/definitions/PolicyModel"
651 "x-camelContextId" : "camel-2",
652 "x-routeId" : "route68"
655 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
657 "operationId" : "route66",
658 "produces" : [ "application/json" ],
660 "name" : "policyModelType",
665 "name" : "policyModelVersion",
672 "description" : "Output type",
674 "$ref" : "#/definitions/PolicyModel"
678 "x-camelContextId" : "camel-2",
679 "x-routeId" : "route66"
682 "operationId" : "route69",
683 "consumes" : [ "plain/text" ],
684 "produces" : [ "application/json" ],
686 "name" : "policyModelType",
691 "name" : "policyModelVersion",
705 "description" : "Output type",
707 "$ref" : "#/definitions/PolicyModel"
711 "x-camelContextId" : "camel-2",
712 "x-routeId" : "route69"
715 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
717 "operationId" : "route67",
718 "produces" : [ "application/json" ],
720 "name" : "policyModelType",
725 "name" : "policyModelVersion",
732 "description" : "Output type",
738 "x-camelContextId" : "camel-2",
739 "x-routeId" : "route67"
744 "operationId" : "route70",
745 "produces" : [ "application/json" ],
748 "description" : "Output type",
750 "$ref" : "#/definitions/LoopTemplate"
754 "x-camelContextId" : "camel-2",
755 "x-routeId" : "route70"
758 "/v2/templates/{templateName}" : {
760 "operationId" : "route71",
761 "produces" : [ "application/json" ],
763 "name" : "templateName",
770 "description" : "Output type",
772 "$ref" : "#/definitions/LoopTemplate"
776 "x-camelContextId" : "camel-2",
777 "x-routeId" : "route71"
780 "/v2/templates/{templateName}/svgRepresentation" : {
782 "operationId" : "route73",
783 "produces" : [ "application/xml" ],
785 "name" : "templateName",
792 "description" : "Output type",
798 "x-camelContextId" : "camel-2",
799 "x-routeId" : "route73"
802 "/v2/templates/names" : {
804 "operationId" : "route72",
805 "produces" : [ "application/json" ],
808 "description" : "Output type",
817 "x-camelContextId" : "camel-2",
818 "x-routeId" : "route72"
821 "/v1/healthcheck" : {
823 "operationId" : "route75",
824 "produces" : [ "application/json" ],
827 "description" : "Output type",
829 "$ref" : "#/definitions/CldsHealthCheck"
833 "x-camelContextId" : "camel-2",
834 "x-routeId" : "route75"
837 "/v1/user/getUser" : {
839 "operationId" : "route76",
840 "produces" : [ "text/plain" ],
844 "x-camelContextId" : "camel-2",
845 "x-routeId" : "route76"
850 "ClampInformation" : {
868 "format" : "org.onap.clamp.clds.model.ClampInformation"
891 "secondLevelDictionary" : {
895 "subDictionaryType" : {
898 "dictionaryElements" : {
900 "uniqueItems" : true,
902 "$ref" : "#/definitions/DictionaryElement"
908 "format" : "org.onap.clamp.tosca.Dictionary"
911 "DictionaryElement" : {
943 "usedByDictionaries" : {
945 "uniqueItems" : true,
947 "$ref" : "#/definitions/Dictionary"
972 "dcaeDeploymentId" : {
975 "dcaeDeploymentStatusUrl" : {
978 "svgRepresentation" : {
981 "globalPropertiesJson" : {
982 "$ref" : "#/definitions/JsonObject"
985 "$ref" : "#/definitions/Service"
987 "lastComputedState" : {
989 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
993 "additionalProperties" : {
994 "$ref" : "#/definitions/ExternalComponent"
997 "operationalPolicies" : {
999 "uniqueItems" : true,
1001 "$ref" : "#/definitions/OperationalPolicy"
1004 "microServicePolicies" : {
1006 "uniqueItems" : true,
1008 "$ref" : "#/definitions/MicroServicePolicy"
1013 "uniqueItems" : true,
1015 "$ref" : "#/definitions/LoopLog"
1019 "$ref" : "#/definitions/LoopTemplate"
1024 "format" : "org.onap.clamp.loop.Loop"
1040 "$ref" : "#/definitions/Number"
1094 "$ref" : "#/definitions/JsonObject"
1097 "$ref" : "#/definitions/JsonArray"
1099 "asJsonPrimitive" : {
1100 "$ref" : "#/definitions/JsonPrimitive"
1103 "$ref" : "#/definitions/JsonNull"
1107 "MicroServicePolicy" : {
1124 "jsonRepresentation" : {
1125 "$ref" : "#/definitions/JsonObject"
1127 "configurationsJson" : {
1128 "$ref" : "#/definitions/JsonObject"
1130 "loopElementModel" : {
1131 "$ref" : "#/definitions/LoopElementModel"
1140 "$ref" : "#/definitions/PolicyModel"
1148 "deviceTypeScope" : {
1156 "uniqueItems" : true,
1158 "$ref" : "#/definitions/Loop"
1161 "dcaeDeploymentId" : {
1164 "dcaeDeploymentStatusUrl" : {
1167 "dcaeBlueprintId" : {
1173 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1195 "$ref" : "#/definitions/JsonObject"
1198 "$ref" : "#/definitions/JsonArray"
1200 "asJsonPrimitive" : {
1201 "$ref" : "#/definitions/JsonPrimitive"
1204 "$ref" : "#/definitions/JsonNull"
1207 "$ref" : "#/definitions/Number"
1248 "format" : "com.google.gson.JsonObject"
1268 "policyModelType" : {
1274 "policyModelTosca" : {
1280 "usedByElementModels" : {
1282 "uniqueItems" : true,
1284 "$ref" : "#/definitions/LoopElementModel"
1287 "policyPdpGroup" : {
1288 "$ref" : "#/definitions/JsonObject"
1293 "format" : "org.onap.clamp.loop.template.PolicyModel"
1308 "serviceDetails" : {
1309 "$ref" : "#/definitions/JsonObject"
1311 "resourceDetails" : {
1312 "$ref" : "#/definitions/JsonObject"
1316 "LoopTemplateLoopElementModel" : {
1320 "$ref" : "#/definitions/LoopTemplate"
1322 "loopElementModel" : {
1323 "$ref" : "#/definitions/LoopElementModel"
1331 "OperationalPolicy" : {
1348 "jsonRepresentation" : {
1349 "$ref" : "#/definitions/JsonObject"
1351 "configurationsJson" : {
1352 "$ref" : "#/definitions/JsonObject"
1354 "loopElementModel" : {
1355 "$ref" : "#/definitions/LoopElementModel"
1364 "$ref" : "#/definitions/PolicyModel"
1370 "$ref" : "#/definitions/Loop"
1396 "$ref" : "#/definitions/JsonObject"
1399 "$ref" : "#/definitions/JsonArray"
1401 "asJsonPrimitive" : {
1402 "$ref" : "#/definitions/JsonPrimitive"
1405 "$ref" : "#/definitions/JsonNull"
1408 "$ref" : "#/definitions/Number"
1455 "$ref" : "#/definitions/Number"
1506 "$ref" : "#/definitions/JsonObject"
1509 "$ref" : "#/definitions/JsonArray"
1511 "asJsonPrimitive" : {
1512 "$ref" : "#/definitions/JsonPrimitive"
1515 "$ref" : "#/definitions/JsonNull"
1520 "format" : "com.google.gson.JsonArray"
1532 "enum" : [ "INFO", "WARNING", "ERROR" ]
1541 "$ref" : "#/definitions/Loop"
1552 "ExternalComponent" : {
1556 "$ref" : "#/definitions/ExternalComponentState"
1583 "dcaeBlueprintId" : {
1589 "svgRepresentation" : {
1592 "loopElementModelsUsed" : {
1594 "uniqueItems" : true,
1596 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1600 "$ref" : "#/definitions/Service"
1602 "maximumInstancesAllowed" : {
1606 "uniqueBlueprint" : {
1609 "allowedLoopType" : {
1611 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1616 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1619 "ExternalComponentState" : {
1634 "LoopElementModel" : {
1654 "dcaeBlueprintId" : {
1660 "loopElementType" : {
1668 "uniqueItems" : true,
1670 "$ref" : "#/definitions/PolicyModel"
1673 "usedByLoopTemplates" : {
1675 "uniqueItems" : true,
1677 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1682 "CldsHealthCheck" : {
1685 "healthCheckComponent" : {
1688 "healthCheckStatus" : {
1697 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"