4 "version" : "5.1.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:37033",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/clampInformation" : {
13 "operationId" : "route112",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/ClampInformation"
23 "x-camelContextId" : "camel-3",
24 "x-routeId" : "route112"
29 "operationId" : "route96",
30 "produces" : [ "application/json" ],
33 "description" : "Output type",
35 "$ref" : "#/definitions/Dictionary"
39 "x-camelContextId" : "camel-3",
40 "x-routeId" : "route96"
43 "operationId" : "route99",
44 "consumes" : [ "application/json" ],
45 "produces" : [ "application/json" ],
51 "$ref" : "#/definitions/Dictionary"
56 "description" : "Output type",
58 "$ref" : "#/definitions/Dictionary"
62 "x-camelContextId" : "camel-3",
63 "x-routeId" : "route99"
66 "/v2/dictionary/{dictionaryName}" : {
68 "operationId" : "route98",
69 "produces" : [ "application/json" ],
71 "name" : "dictionaryName",
78 "description" : "Output type",
80 "$ref" : "#/definitions/Dictionary"
84 "x-camelContextId" : "camel-3",
85 "x-routeId" : "route98"
88 "/v2/dictionary/{name}" : {
90 "operationId" : "route100",
91 "consumes" : [ "application/json" ],
92 "produces" : [ "application/json" ],
103 "$ref" : "#/definitions/Dictionary"
108 "description" : "Output type",
110 "$ref" : "#/definitions/Dictionary"
114 "x-camelContextId" : "camel-3",
115 "x-routeId" : "route100"
118 "operationId" : "route101",
119 "produces" : [ "application/json" ],
129 "x-camelContextId" : "camel-3",
130 "x-routeId" : "route101"
133 "/v2/dictionary/{name}/elements/{shortName}" : {
135 "operationId" : "route102",
136 "produces" : [ "application/json" ],
143 "name" : "shortName",
151 "x-camelContextId" : "camel-3",
152 "x-routeId" : "route102"
155 "/v2/dictionary/secondary/names" : {
157 "operationId" : "route97",
158 "produces" : [ "application/json" ],
161 "description" : "Output type",
170 "x-camelContextId" : "camel-3",
171 "x-routeId" : "route97"
174 "/v2/loop/{loopName}" : {
176 "operationId" : "route79",
177 "produces" : [ "application/json" ],
186 "description" : "Output type",
188 "$ref" : "#/definitions/Loop"
192 "x-camelContextId" : "camel-3",
193 "x-routeId" : "route79"
196 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
198 "operationId" : "route93",
199 "produces" : [ "application/json" ],
206 "name" : "policyType",
211 "name" : "policyVersion",
218 "description" : "Output type",
220 "$ref" : "#/definitions/Loop"
224 "x-camelContextId" : "camel-3",
225 "x-routeId" : "route93"
228 "/v2/loop/create/{loopName}?templateName={templateName}" : {
230 "operationId" : "route95",
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-3",
248 "x-routeId" : "route95"
251 "/v2/loop/delete/{loopName}" : {
253 "operationId" : "route91",
263 "x-camelContextId" : "camel-3",
264 "x-routeId" : "route91"
267 "/v2/loop/deploy/{loopName}" : {
269 "operationId" : "route84",
270 "produces" : [ "application/json" ],
279 "description" : "Output type",
281 "$ref" : "#/definitions/Loop"
285 "x-camelContextId" : "camel-3",
286 "x-routeId" : "route84"
289 "/v2/loop/getAllNames" : {
291 "operationId" : "route78",
292 "produces" : [ "application/json" ],
295 "description" : "Output type",
304 "x-camelContextId" : "camel-3",
305 "x-routeId" : "route78"
308 "/v2/loop/getstatus/{loopName}" : {
310 "operationId" : "route92",
311 "produces" : [ "application/json" ],
320 "description" : "Output type",
322 "$ref" : "#/definitions/Loop"
326 "x-camelContextId" : "camel-3",
327 "x-routeId" : "route92"
330 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
332 "operationId" : "route85",
333 "produces" : [ "application/json" ],
340 "name" : "microServicePolicyName",
347 "description" : "Output type",
349 "$ref" : "#/definitions/Loop"
353 "x-camelContextId" : "camel-3",
354 "x-routeId" : "route85"
357 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
359 "operationId" : "route86",
360 "produces" : [ "application/json" ],
367 "name" : "operationalPolicyName",
374 "description" : "Output type",
376 "$ref" : "#/definitions/Loop"
380 "x-camelContextId" : "camel-3",
381 "x-routeId" : "route86"
384 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
386 "operationId" : "route94",
387 "produces" : [ "application/json" ],
394 "name" : "policyType",
399 "name" : "policyVersion",
404 "name" : "policyName",
411 "description" : "Output type",
413 "$ref" : "#/definitions/Loop"
417 "x-camelContextId" : "camel-3",
418 "x-routeId" : "route94"
421 "/v2/loop/restart/{loopName}" : {
423 "operationId" : "route89",
424 "produces" : [ "application/json" ],
433 "description" : "Output type",
435 "$ref" : "#/definitions/Loop"
439 "x-camelContextId" : "camel-3",
440 "x-routeId" : "route89"
443 "/v2/loop/stop/{loopName}" : {
445 "operationId" : "route88",
446 "produces" : [ "application/json" ],
455 "description" : "Output type",
457 "$ref" : "#/definitions/Loop"
461 "x-camelContextId" : "camel-3",
462 "x-routeId" : "route88"
465 "/v2/loop/submit/{loopName}" : {
467 "operationId" : "route90",
468 "produces" : [ "application/json" ],
477 "description" : "Output type",
479 "$ref" : "#/definitions/Loop"
483 "x-camelContextId" : "camel-3",
484 "x-routeId" : "route90"
487 "/v2/loop/svgRepresentation/{loopName}" : {
489 "operationId" : "route80",
490 "produces" : [ "application/xml" ],
499 "description" : "Output type",
505 "x-camelContextId" : "camel-3",
506 "x-routeId" : "route80"
509 "/v2/loop/undeploy/{loopName}" : {
511 "operationId" : "route87",
512 "produces" : [ "application/json" ],
521 "description" : "Output type",
523 "$ref" : "#/definitions/Loop"
527 "x-camelContextId" : "camel-3",
528 "x-routeId" : "route87"
531 "/v2/loop/updateGlobalProperties/{loopName}" : {
533 "operationId" : "route81",
534 "consumes" : [ "application/json" ],
535 "produces" : [ "application/json" ],
546 "$ref" : "#/definitions/JsonObject"
551 "description" : "Output type",
553 "$ref" : "#/definitions/Loop"
557 "x-camelContextId" : "camel-3",
558 "x-routeId" : "route81"
561 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
563 "operationId" : "route83",
564 "consumes" : [ "application/json" ],
565 "produces" : [ "application/json" ],
576 "$ref" : "#/definitions/MicroServicePolicy"
581 "description" : "Output type",
583 "$ref" : "#/definitions/MicroServicePolicy"
587 "x-camelContextId" : "camel-3",
588 "x-routeId" : "route83"
591 "/v2/loop/updateOperationalPolicies/{loopName}" : {
593 "operationId" : "route82",
594 "consumes" : [ "application/json" ],
595 "produces" : [ "application/json" ],
606 "$ref" : "#/definitions/JsonArray"
611 "description" : "Output type",
613 "$ref" : "#/definitions/Loop"
617 "x-camelContextId" : "camel-3",
618 "x-routeId" : "route82"
621 "/v2/policyToscaModels" : {
623 "operationId" : "route103",
624 "produces" : [ "application/json" ],
627 "description" : "Output type",
629 "$ref" : "#/definitions/PolicyModel"
633 "x-camelContextId" : "camel-3",
634 "x-routeId" : "route103"
637 "operationId" : "route106",
638 "consumes" : [ "plain/text" ],
639 "produces" : [ "application/json" ],
650 "description" : "Output type",
652 "$ref" : "#/definitions/PolicyModel"
656 "x-camelContextId" : "camel-3",
657 "x-routeId" : "route106"
660 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
662 "operationId" : "route104",
663 "produces" : [ "application/json" ],
665 "name" : "policyModelType",
670 "name" : "policyModelVersion",
677 "description" : "Output type",
679 "$ref" : "#/definitions/PolicyModel"
683 "x-camelContextId" : "camel-3",
684 "x-routeId" : "route104"
687 "operationId" : "route107",
688 "consumes" : [ "plain/text" ],
689 "produces" : [ "application/json" ],
691 "name" : "policyModelType",
696 "name" : "policyModelVersion",
710 "description" : "Output type",
712 "$ref" : "#/definitions/PolicyModel"
716 "x-camelContextId" : "camel-3",
717 "x-routeId" : "route107"
720 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
722 "operationId" : "route105",
723 "produces" : [ "application/json" ],
725 "name" : "policyModelType",
730 "name" : "policyModelVersion",
737 "description" : "Output type",
743 "x-camelContextId" : "camel-3",
744 "x-routeId" : "route105"
749 "operationId" : "route108",
750 "produces" : [ "application/json" ],
753 "description" : "Output type",
755 "$ref" : "#/definitions/LoopTemplate"
759 "x-camelContextId" : "camel-3",
760 "x-routeId" : "route108"
763 "/v2/templates/{templateName}" : {
765 "operationId" : "route109",
766 "produces" : [ "application/json" ],
768 "name" : "templateName",
775 "description" : "Output type",
777 "$ref" : "#/definitions/LoopTemplate"
781 "x-camelContextId" : "camel-3",
782 "x-routeId" : "route109"
785 "/v2/templates/{templateName}/svgRepresentation" : {
787 "operationId" : "route111",
788 "produces" : [ "application/xml" ],
790 "name" : "templateName",
797 "description" : "Output type",
803 "x-camelContextId" : "camel-3",
804 "x-routeId" : "route111"
807 "/v2/templates/names" : {
809 "operationId" : "route110",
810 "produces" : [ "application/json" ],
813 "description" : "Output type",
822 "x-camelContextId" : "camel-3",
823 "x-routeId" : "route110"
826 "/v1/healthcheck" : {
828 "operationId" : "route113",
829 "produces" : [ "application/json" ],
832 "description" : "Output type",
834 "$ref" : "#/definitions/CldsHealthCheck"
838 "x-camelContextId" : "camel-3",
839 "x-routeId" : "route113"
842 "/v1/user/getUser" : {
844 "operationId" : "route114",
845 "produces" : [ "text/plain" ],
849 "x-camelContextId" : "camel-3",
850 "x-routeId" : "route114"
855 "ClampInformation" : {
873 "format" : "org.onap.clamp.clds.model.ClampInformation"
896 "secondLevelDictionary" : {
900 "subDictionaryType" : {
903 "dictionaryElements" : {
905 "uniqueItems" : true,
907 "$ref" : "#/definitions/DictionaryElement"
913 "format" : "org.onap.clamp.tosca.Dictionary"
916 "DictionaryElement" : {
948 "usedByDictionaries" : {
950 "uniqueItems" : true,
952 "$ref" : "#/definitions/Dictionary"
977 "dcaeDeploymentId" : {
980 "dcaeDeploymentStatusUrl" : {
983 "svgRepresentation" : {
986 "globalPropertiesJson" : {
987 "$ref" : "#/definitions/JsonObject"
990 "$ref" : "#/definitions/Service"
992 "lastComputedState" : {
994 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
998 "additionalProperties" : {
999 "$ref" : "#/definitions/ExternalComponent"
1002 "operationalPolicies" : {
1004 "uniqueItems" : true,
1006 "$ref" : "#/definitions/OperationalPolicy"
1009 "microServicePolicies" : {
1011 "uniqueItems" : true,
1013 "$ref" : "#/definitions/MicroServicePolicy"
1018 "uniqueItems" : true,
1020 "$ref" : "#/definitions/LoopLog"
1024 "$ref" : "#/definitions/LoopTemplate"
1029 "format" : "org.onap.clamp.loop.Loop"
1058 "$ref" : "#/definitions/Number"
1087 "$ref" : "#/definitions/JsonArray"
1090 "$ref" : "#/definitions/JsonObject"
1096 "$ref" : "#/definitions/JsonNull"
1104 "asJsonPrimitive" : {
1105 "$ref" : "#/definitions/JsonPrimitive"
1112 "MicroServicePolicy" : {
1129 "jsonRepresentation" : {
1130 "$ref" : "#/definitions/JsonObject"
1132 "configurationsJson" : {
1133 "$ref" : "#/definitions/JsonObject"
1135 "loopElementModel" : {
1136 "$ref" : "#/definitions/LoopElementModel"
1145 "$ref" : "#/definitions/PolicyModel"
1153 "deviceTypeScope" : {
1161 "uniqueItems" : true,
1163 "$ref" : "#/definitions/Loop"
1166 "dcaeDeploymentId" : {
1169 "dcaeDeploymentStatusUrl" : {
1172 "dcaeBlueprintId" : {
1181 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1191 "$ref" : "#/definitions/JsonArray"
1194 "$ref" : "#/definitions/JsonObject"
1216 "$ref" : "#/definitions/JsonNull"
1219 "$ref" : "#/definitions/Number"
1227 "asJsonPrimitive" : {
1228 "$ref" : "#/definitions/JsonPrimitive"
1256 "format" : "com.google.gson.JsonObject"
1276 "policyModelType" : {
1282 "policyModelTosca" : {
1288 "usedByElementModels" : {
1290 "uniqueItems" : true,
1292 "$ref" : "#/definitions/LoopElementModel"
1295 "policyPdpGroup" : {
1296 "$ref" : "#/definitions/JsonObject"
1301 "format" : "org.onap.clamp.loop.template.PolicyModel"
1316 "serviceDetails" : {
1317 "$ref" : "#/definitions/JsonObject"
1319 "resourceDetails" : {
1320 "$ref" : "#/definitions/JsonObject"
1324 "LoopTemplateLoopElementModel" : {
1328 "$ref" : "#/definitions/LoopTemplate"
1330 "loopElementModel" : {
1331 "$ref" : "#/definitions/LoopElementModel"
1339 "OperationalPolicy" : {
1356 "jsonRepresentation" : {
1357 "$ref" : "#/definitions/JsonObject"
1359 "configurationsJson" : {
1360 "$ref" : "#/definitions/JsonObject"
1362 "loopElementModel" : {
1363 "$ref" : "#/definitions/LoopElementModel"
1372 "$ref" : "#/definitions/PolicyModel"
1378 "$ref" : "#/definitions/Loop"
1392 "$ref" : "#/definitions/JsonArray"
1395 "$ref" : "#/definitions/JsonObject"
1417 "$ref" : "#/definitions/JsonNull"
1420 "$ref" : "#/definitions/Number"
1428 "asJsonPrimitive" : {
1429 "$ref" : "#/definitions/JsonPrimitive"
1479 "$ref" : "#/definitions/Number"
1502 "$ref" : "#/definitions/JsonArray"
1505 "$ref" : "#/definitions/JsonObject"
1511 "$ref" : "#/definitions/JsonNull"
1519 "asJsonPrimitive" : {
1520 "$ref" : "#/definitions/JsonPrimitive"
1528 "format" : "com.google.gson.JsonArray"
1540 "enum" : [ "INFO", "WARNING", "ERROR" ]
1549 "$ref" : "#/definitions/Loop"
1560 "ExternalComponent" : {
1564 "$ref" : "#/definitions/ExternalComponentState"
1591 "dcaeBlueprintId" : {
1597 "svgRepresentation" : {
1600 "loopElementModelsUsed" : {
1602 "uniqueItems" : true,
1604 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1608 "$ref" : "#/definitions/Service"
1610 "maximumInstancesAllowed" : {
1614 "uniqueBlueprint" : {
1617 "allowedLoopType" : {
1619 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1624 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1627 "ExternalComponentState" : {
1642 "LoopElementModel" : {
1662 "dcaeBlueprintId" : {
1668 "loopElementType" : {
1676 "uniqueItems" : true,
1678 "$ref" : "#/definitions/PolicyModel"
1681 "usedByLoopTemplates" : {
1683 "uniqueItems" : true,
1685 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1690 "CldsHealthCheck" : {
1693 "healthCheckComponent" : {
1696 "healthCheckStatus" : {
1705 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"