4 "version" : "5.1.3-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:8443",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/clampInformation" : {
13 "operationId" : "route34",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/ClampInformation"
23 "x-camelContextId" : "camel-1",
24 "x-routeId" : "route34"
29 "operationId" : "route19",
30 "produces" : [ "application/json" ],
33 "description" : "Output type",
35 "$ref" : "#/definitions/Dictionary"
39 "x-camelContextId" : "camel-1",
40 "x-routeId" : "route19"
43 "operationId" : "route22",
44 "consumes" : [ "application/json" ],
45 "produces" : [ "application/json" ],
51 "$ref" : "#/definitions/Dictionary"
56 "description" : "Output type",
58 "$ref" : "#/definitions/Dictionary"
62 "x-camelContextId" : "camel-1",
63 "x-routeId" : "route22"
66 "/v2/dictionary/{dictionaryName}" : {
68 "operationId" : "route21",
69 "produces" : [ "application/json" ],
71 "name" : "dictionaryName",
78 "description" : "Output type",
80 "$ref" : "#/definitions/Dictionary"
84 "x-camelContextId" : "camel-1",
85 "x-routeId" : "route21"
88 "/v2/dictionary/{name}" : {
90 "operationId" : "route23",
91 "consumes" : [ "application/json" ],
92 "produces" : [ "application/json" ],
103 "$ref" : "#/definitions/Dictionary"
108 "description" : "Output type",
110 "$ref" : "#/definitions/Dictionary"
114 "x-camelContextId" : "camel-1",
115 "x-routeId" : "route23"
118 "operationId" : "route24",
119 "produces" : [ "application/json" ],
129 "x-camelContextId" : "camel-1",
130 "x-routeId" : "route24"
133 "/v2/dictionary/{name}/elements/{shortName}" : {
135 "operationId" : "route25",
136 "produces" : [ "application/json" ],
143 "name" : "shortName",
151 "x-camelContextId" : "camel-1",
152 "x-routeId" : "route25"
155 "/v2/dictionary/secondary/names" : {
157 "operationId" : "route20",
158 "produces" : [ "application/json" ],
161 "description" : "Output type",
170 "x-camelContextId" : "camel-1",
171 "x-routeId" : "route20"
174 "/v2/loop/{loopName}" : {
176 "operationId" : "route3",
177 "produces" : [ "application/json" ],
186 "description" : "Output type",
188 "$ref" : "#/definitions/Loop"
192 "x-camelContextId" : "camel-1",
193 "x-routeId" : "route3"
196 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
198 "operationId" : "route16",
199 "produces" : [ "application/json" ],
206 "name" : "policyType",
211 "name" : "policyVersion",
218 "description" : "Output type",
220 "$ref" : "#/definitions/Loop"
224 "x-camelContextId" : "camel-1",
225 "x-routeId" : "route16"
228 "/v2/loop/create/{loopName}?templateName={templateName}" : {
230 "operationId" : "route18",
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-1",
248 "x-routeId" : "route18"
251 "/v2/loop/delete/{loopName}" : {
253 "operationId" : "route14",
263 "x-camelContextId" : "camel-1",
264 "x-routeId" : "route14"
267 "/v2/loop/deploy/{loopName}" : {
269 "operationId" : "route7",
270 "produces" : [ "application/json" ],
279 "description" : "Output type",
281 "$ref" : "#/definitions/Loop"
285 "x-camelContextId" : "camel-1",
286 "x-routeId" : "route7"
289 "/v2/loop/getAllNames" : {
291 "operationId" : "route2",
292 "produces" : [ "application/json" ],
295 "description" : "Output type",
304 "x-camelContextId" : "camel-1",
305 "x-routeId" : "route2"
308 "/v2/loop/getstatus/{loopName}" : {
310 "operationId" : "route15",
311 "produces" : [ "application/json" ],
320 "description" : "Output type",
322 "$ref" : "#/definitions/Loop"
326 "x-camelContextId" : "camel-1",
327 "x-routeId" : "route15"
330 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
332 "operationId" : "route8",
333 "produces" : [ "application/json" ],
340 "name" : "microServicePolicyName",
347 "description" : "Output type",
349 "$ref" : "#/definitions/Loop"
353 "x-camelContextId" : "camel-1",
354 "x-routeId" : "route8"
357 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
359 "operationId" : "route9",
360 "produces" : [ "application/json" ],
367 "name" : "operationalPolicyName",
374 "description" : "Output type",
376 "$ref" : "#/definitions/Loop"
380 "x-camelContextId" : "camel-1",
381 "x-routeId" : "route9"
384 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
386 "operationId" : "route17",
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-1",
418 "x-routeId" : "route17"
421 "/v2/loop/restart/{loopName}" : {
423 "operationId" : "route12",
424 "produces" : [ "application/json" ],
433 "description" : "Output type",
435 "$ref" : "#/definitions/Loop"
439 "x-camelContextId" : "camel-1",
440 "x-routeId" : "route12"
443 "/v2/loop/stop/{loopName}" : {
445 "operationId" : "route11",
446 "produces" : [ "application/json" ],
455 "description" : "Output type",
457 "$ref" : "#/definitions/Loop"
461 "x-camelContextId" : "camel-1",
462 "x-routeId" : "route11"
465 "/v2/loop/submit/{loopName}" : {
467 "operationId" : "route13",
468 "produces" : [ "application/json" ],
477 "description" : "Output type",
479 "$ref" : "#/definitions/Loop"
483 "x-camelContextId" : "camel-1",
484 "x-routeId" : "route13"
487 "/v2/loop/undeploy/{loopName}" : {
489 "operationId" : "route10",
490 "produces" : [ "application/json" ],
499 "description" : "Output type",
501 "$ref" : "#/definitions/Loop"
505 "x-camelContextId" : "camel-1",
506 "x-routeId" : "route10"
509 "/v2/loop/updateGlobalProperties/{loopName}" : {
511 "operationId" : "route4",
512 "consumes" : [ "application/json" ],
513 "produces" : [ "application/json" ],
524 "$ref" : "#/definitions/JsonObject"
529 "description" : "Output type",
531 "$ref" : "#/definitions/Loop"
535 "x-camelContextId" : "camel-1",
536 "x-routeId" : "route4"
539 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
541 "operationId" : "route6",
542 "consumes" : [ "application/json" ],
543 "produces" : [ "application/json" ],
554 "$ref" : "#/definitions/MicroServicePolicy"
559 "description" : "Output type",
561 "$ref" : "#/definitions/MicroServicePolicy"
565 "x-camelContextId" : "camel-1",
566 "x-routeId" : "route6"
569 "/v2/loop/updateOperationalPolicies/{loopName}" : {
571 "operationId" : "route5",
572 "consumes" : [ "application/json" ],
573 "produces" : [ "application/json" ],
584 "$ref" : "#/definitions/JsonArray"
589 "description" : "Output type",
591 "$ref" : "#/definitions/Loop"
595 "x-camelContextId" : "camel-1",
596 "x-routeId" : "route5"
599 "/v2/policyToscaModels" : {
601 "operationId" : "route26",
602 "produces" : [ "application/json" ],
605 "description" : "Output type",
607 "$ref" : "#/definitions/PolicyModel"
611 "x-camelContextId" : "camel-1",
612 "x-routeId" : "route26"
615 "operationId" : "route29",
616 "consumes" : [ "plain/text" ],
617 "produces" : [ "application/json" ],
628 "description" : "Output type",
630 "$ref" : "#/definitions/PolicyModel"
634 "x-camelContextId" : "camel-1",
635 "x-routeId" : "route29"
638 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
640 "operationId" : "route27",
641 "produces" : [ "application/json" ],
643 "name" : "policyModelType",
648 "name" : "policyModelVersion",
655 "description" : "Output type",
657 "$ref" : "#/definitions/PolicyModel"
661 "x-camelContextId" : "camel-1",
662 "x-routeId" : "route27"
665 "operationId" : "route30",
666 "consumes" : [ "plain/text" ],
667 "produces" : [ "application/json" ],
669 "name" : "policyModelType",
674 "name" : "policyModelVersion",
688 "description" : "Output type",
690 "$ref" : "#/definitions/PolicyModel"
694 "x-camelContextId" : "camel-1",
695 "x-routeId" : "route30"
698 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
700 "operationId" : "route28",
701 "produces" : [ "application/json" ],
703 "name" : "policyModelType",
708 "name" : "policyModelVersion",
715 "description" : "Output type",
721 "x-camelContextId" : "camel-1",
722 "x-routeId" : "route28"
727 "operationId" : "route31",
728 "produces" : [ "application/json" ],
731 "description" : "Output type",
733 "$ref" : "#/definitions/LoopTemplate"
737 "x-camelContextId" : "camel-1",
738 "x-routeId" : "route31"
741 "/v2/templates/{templateName}" : {
743 "operationId" : "route32",
744 "produces" : [ "application/json" ],
746 "name" : "templateName",
753 "description" : "Output type",
755 "$ref" : "#/definitions/LoopTemplate"
759 "x-camelContextId" : "camel-1",
760 "x-routeId" : "route32"
763 "/v2/templates/names" : {
765 "operationId" : "route33",
766 "produces" : [ "application/json" ],
769 "description" : "Output type",
778 "x-camelContextId" : "camel-1",
779 "x-routeId" : "route33"
782 "/v1/healthcheck" : {
784 "operationId" : "route35",
785 "produces" : [ "application/json" ],
788 "description" : "Output type",
790 "$ref" : "#/definitions/CldsHealthCheck"
794 "x-camelContextId" : "camel-1",
795 "x-routeId" : "route35"
798 "/v1/user/getUser" : {
800 "operationId" : "route36",
801 "produces" : [ "text/plain" ],
805 "x-camelContextId" : "camel-1",
806 "x-routeId" : "route36"
811 "ClampInformation" : {
829 "format" : "org.onap.clamp.clds.model.ClampInformation"
852 "secondLevelDictionary" : {
856 "subDictionaryType" : {
859 "dictionaryElements" : {
861 "uniqueItems" : true,
863 "$ref" : "#/definitions/DictionaryElement"
869 "format" : "org.onap.clamp.tosca.Dictionary"
872 "DictionaryElement" : {
904 "usedByDictionaries" : {
906 "uniqueItems" : true,
908 "$ref" : "#/definitions/Dictionary"
933 "dcaeDeploymentId" : {
936 "dcaeDeploymentStatusUrl" : {
939 "globalPropertiesJson" : {
940 "$ref" : "#/definitions/JsonObject"
943 "$ref" : "#/definitions/Service"
945 "lastComputedState" : {
947 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
951 "additionalProperties" : {
952 "$ref" : "#/definitions/ExternalComponent"
955 "operationalPolicies" : {
957 "uniqueItems" : true,
959 "$ref" : "#/definitions/OperationalPolicy"
962 "microServicePolicies" : {
964 "uniqueItems" : true,
966 "$ref" : "#/definitions/MicroServicePolicy"
971 "uniqueItems" : true,
973 "$ref" : "#/definitions/LoopLog"
977 "$ref" : "#/definitions/LoopTemplate"
982 "format" : "org.onap.clamp.loop.Loop"
1023 "$ref" : "#/definitions/Number"
1040 "$ref" : "#/definitions/JsonObject"
1046 "$ref" : "#/definitions/JsonArray"
1054 "asJsonPrimitive" : {
1055 "$ref" : "#/definitions/JsonPrimitive"
1058 "$ref" : "#/definitions/JsonNull"
1065 "MicroServicePolicy" : {
1082 "jsonRepresentation" : {
1083 "$ref" : "#/definitions/JsonObject"
1085 "configurationsJson" : {
1086 "$ref" : "#/definitions/JsonObject"
1088 "loopElementModel" : {
1089 "$ref" : "#/definitions/LoopElementModel"
1098 "$ref" : "#/definitions/PolicyModel"
1106 "deviceTypeScope" : {
1114 "uniqueItems" : true,
1116 "$ref" : "#/definitions/Loop"
1119 "dcaeDeploymentId" : {
1122 "dcaeDeploymentStatusUrl" : {
1125 "dcaeBlueprintId" : {
1131 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1153 "$ref" : "#/definitions/JsonObject"
1162 "$ref" : "#/definitions/JsonArray"
1175 "$ref" : "#/definitions/Number"
1194 "asJsonPrimitive" : {
1195 "$ref" : "#/definitions/JsonPrimitive"
1198 "$ref" : "#/definitions/JsonNull"
1206 "format" : "com.google.gson.JsonObject"
1226 "policyModelType" : {
1232 "policyModelTosca" : {
1238 "usedByElementModels" : {
1240 "uniqueItems" : true,
1242 "$ref" : "#/definitions/LoopElementModel"
1245 "policyPdpGroup" : {
1246 "$ref" : "#/definitions/JsonObject"
1251 "format" : "org.onap.clamp.loop.template.PolicyModel"
1266 "serviceDetails" : {
1267 "$ref" : "#/definitions/JsonObject"
1269 "resourceDetails" : {
1270 "$ref" : "#/definitions/JsonObject"
1274 "LoopTemplateLoopElementModel" : {
1278 "$ref" : "#/definitions/LoopTemplate"
1280 "loopElementModel" : {
1281 "$ref" : "#/definitions/LoopElementModel"
1289 "OperationalPolicy" : {
1306 "jsonRepresentation" : {
1307 "$ref" : "#/definitions/JsonObject"
1309 "configurationsJson" : {
1310 "$ref" : "#/definitions/JsonObject"
1312 "loopElementModel" : {
1313 "$ref" : "#/definitions/LoopElementModel"
1322 "$ref" : "#/definitions/PolicyModel"
1328 "$ref" : "#/definitions/Loop"
1351 "$ref" : "#/definitions/JsonObject"
1360 "$ref" : "#/definitions/JsonArray"
1373 "$ref" : "#/definitions/Number"
1392 "asJsonPrimitive" : {
1393 "$ref" : "#/definitions/JsonPrimitive"
1396 "$ref" : "#/definitions/JsonNull"
1435 "$ref" : "#/definitions/Number"
1449 "$ref" : "#/definitions/JsonObject"
1455 "$ref" : "#/definitions/JsonArray"
1463 "asJsonPrimitive" : {
1464 "$ref" : "#/definitions/JsonPrimitive"
1467 "$ref" : "#/definitions/JsonNull"
1475 "format" : "com.google.gson.JsonArray"
1487 "enum" : [ "INFO", "WARNING", "ERROR" ]
1496 "$ref" : "#/definitions/Loop"
1507 "ExternalComponent" : {
1511 "$ref" : "#/definitions/ExternalComponentState"
1538 "dcaeBlueprintId" : {
1544 "loopElementModelsUsed" : {
1546 "uniqueItems" : true,
1548 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1552 "$ref" : "#/definitions/Service"
1554 "maximumInstancesAllowed" : {
1558 "uniqueBlueprint" : {
1561 "allowedLoopType" : {
1563 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1568 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1571 "ExternalComponentState" : {
1586 "LoopElementModel" : {
1606 "dcaeBlueprintId" : {
1612 "loopElementType" : {
1620 "uniqueItems" : true,
1622 "$ref" : "#/definitions/PolicyModel"
1625 "usedByLoopTemplates" : {
1627 "uniqueItems" : true,
1629 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1634 "CldsHealthCheck" : {
1637 "healthCheckComponent" : {
1640 "healthCheckStatus" : {
1649 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"