4 "version" : "6.1.3-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:39221",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/clampInformation" : {
13 "operationId" : "verb362",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/ClampInformation"
23 "x-camelContextId" : "camel-7",
24 "x-routeId" : "route369"
29 "operationId" : "verb333",
30 "produces" : [ "application/json" ],
33 "description" : "Output type",
35 "$ref" : "#/definitions/Dictionary"
39 "x-camelContextId" : "camel-7",
40 "x-routeId" : "route340"
43 "operationId" : "verb336",
44 "consumes" : [ "application/json" ],
45 "produces" : [ "application/json" ],
51 "$ref" : "#/definitions/Dictionary"
56 "description" : "Output type",
58 "$ref" : "#/definitions/Dictionary"
62 "x-camelContextId" : "camel-7",
63 "x-routeId" : "route343"
66 "/v2/dictionary/{dictionaryName}" : {
68 "operationId" : "verb335",
69 "produces" : [ "application/json" ],
71 "name" : "dictionaryName",
78 "description" : "Output type",
80 "$ref" : "#/definitions/Dictionary"
84 "x-camelContextId" : "camel-7",
85 "x-routeId" : "route342"
88 "/v2/dictionary/{name}" : {
90 "operationId" : "verb337",
91 "consumes" : [ "application/json" ],
92 "produces" : [ "application/json" ],
103 "$ref" : "#/definitions/Dictionary"
108 "description" : "Output type",
110 "$ref" : "#/definitions/Dictionary"
114 "x-camelContextId" : "camel-7",
115 "x-routeId" : "route344"
118 "operationId" : "verb338",
119 "produces" : [ "application/json" ],
129 "x-camelContextId" : "camel-7",
130 "x-routeId" : "route345"
133 "/v2/dictionary/{name}/elements/{shortName}" : {
135 "operationId" : "verb339",
136 "produces" : [ "application/json" ],
143 "name" : "shortName",
151 "x-camelContextId" : "camel-7",
152 "x-routeId" : "route346"
155 "/v2/dictionary/secondary/names" : {
157 "operationId" : "verb334",
158 "produces" : [ "application/json" ],
161 "description" : "Output type",
170 "x-camelContextId" : "camel-7",
171 "x-routeId" : "route341"
174 "/v2/loop/{loopName}" : {
176 "operationId" : "verb314",
177 "produces" : [ "application/json" ],
186 "description" : "Output type",
188 "$ref" : "#/definitions/Loop"
192 "x-camelContextId" : "camel-7",
193 "x-routeId" : "route321"
196 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
198 "operationId" : "verb327",
199 "produces" : [ "application/json" ],
206 "name" : "policyType",
211 "name" : "policyVersion",
218 "description" : "Output type",
220 "$ref" : "#/definitions/Loop"
224 "x-camelContextId" : "camel-7",
225 "x-routeId" : "route334"
228 "/v2/loop/create/{loopName}?templateName={templateName}" : {
230 "operationId" : "verb329",
231 "consumes" : [ "application/json" ],
232 "produces" : [ "application/json" ],
239 "name" : "templateName",
246 "description" : "Output type",
248 "$ref" : "#/definitions/Loop"
252 "x-camelContextId" : "camel-7",
253 "x-routeId" : "route336"
256 "/v2/loop/delete/{loopName}" : {
258 "operationId" : "verb325",
268 "x-camelContextId" : "camel-7",
269 "x-routeId" : "route332"
272 "/v2/loop/deploy/{loopName}" : {
274 "operationId" : "verb318",
275 "produces" : [ "application/json" ],
284 "description" : "Output type",
286 "$ref" : "#/definitions/Loop"
290 "x-camelContextId" : "camel-7",
291 "x-routeId" : "route325"
294 "/v2/loop/getAllNames" : {
296 "operationId" : "verb313",
297 "produces" : [ "application/json" ],
300 "description" : "Output type",
309 "x-camelContextId" : "camel-7",
310 "x-routeId" : "route320"
313 "/v2/loop/getstatus/{loopName}" : {
315 "operationId" : "verb326",
316 "produces" : [ "application/json" ],
325 "description" : "Output type",
327 "$ref" : "#/definitions/Loop"
331 "x-camelContextId" : "camel-7",
332 "x-routeId" : "route333"
335 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
337 "operationId" : "verb319",
338 "produces" : [ "application/json" ],
345 "name" : "microServicePolicyName",
352 "description" : "Output type",
354 "$ref" : "#/definitions/Loop"
358 "x-camelContextId" : "camel-7",
359 "x-routeId" : "route326"
362 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
364 "operationId" : "verb320",
365 "produces" : [ "application/json" ],
372 "name" : "operationalPolicyName",
379 "description" : "Output type",
381 "$ref" : "#/definitions/Loop"
385 "x-camelContextId" : "camel-7",
386 "x-routeId" : "route327"
389 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
391 "operationId" : "verb328",
392 "produces" : [ "application/json" ],
399 "name" : "policyType",
404 "name" : "policyVersion",
409 "name" : "policyName",
416 "description" : "Output type",
418 "$ref" : "#/definitions/Loop"
422 "x-camelContextId" : "camel-7",
423 "x-routeId" : "route335"
426 "/v2/loop/restart/{loopName}" : {
428 "operationId" : "verb323",
429 "produces" : [ "application/json" ],
438 "description" : "Output type",
440 "$ref" : "#/definitions/Loop"
444 "x-camelContextId" : "camel-7",
445 "x-routeId" : "route330"
448 "/v2/loop/stop/{loopName}" : {
450 "operationId" : "verb322",
451 "produces" : [ "application/json" ],
460 "description" : "Output type",
462 "$ref" : "#/definitions/Loop"
466 "x-camelContextId" : "camel-7",
467 "x-routeId" : "route329"
470 "/v2/loop/submit/{loopName}" : {
472 "operationId" : "verb324",
473 "produces" : [ "application/json" ],
482 "description" : "Output type",
484 "$ref" : "#/definitions/Loop"
488 "x-camelContextId" : "camel-7",
489 "x-routeId" : "route331"
492 "/v2/loop/undeploy/{loopName}" : {
494 "operationId" : "verb321",
495 "produces" : [ "application/json" ],
504 "description" : "Output type",
506 "$ref" : "#/definitions/Loop"
510 "x-camelContextId" : "camel-7",
511 "x-routeId" : "route328"
514 "/v2/loop/updateGlobalProperties/{loopName}" : {
516 "operationId" : "verb315",
517 "consumes" : [ "application/json" ],
518 "produces" : [ "application/json" ],
529 "$ref" : "#/definitions/JsonObject"
534 "description" : "Output type",
536 "$ref" : "#/definitions/Loop"
540 "x-camelContextId" : "camel-7",
541 "x-routeId" : "route322"
544 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
546 "operationId" : "verb317",
547 "consumes" : [ "application/json" ],
548 "produces" : [ "application/json" ],
559 "$ref" : "#/definitions/MicroServicePolicy"
564 "description" : "Output type",
566 "$ref" : "#/definitions/MicroServicePolicy"
570 "x-camelContextId" : "camel-7",
571 "x-routeId" : "route324"
574 "/v2/loop/updateOperationalPolicies/{loopName}" : {
576 "operationId" : "verb316",
577 "consumes" : [ "application/json" ],
578 "produces" : [ "application/json" ],
589 "$ref" : "#/definitions/JsonArray"
594 "description" : "Output type",
596 "$ref" : "#/definitions/Loop"
600 "x-camelContextId" : "camel-7",
601 "x-routeId" : "route323"
606 "operationId" : "verb343",
607 "produces" : [ "application/json" ],
610 "description" : "Output type",
612 "$ref" : "#/definitions/JsonObject"
616 "x-camelContextId" : "camel-7",
617 "x-routeId" : "route350"
620 "/v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}" : {
622 "operationId" : "verb344",
623 "consumes" : [ "application/json" ],
624 "produces" : [ "application/json" ],
626 "name" : "policyModelType",
631 "name" : "policyModelVersion",
636 "name" : "policyName",
641 "name" : "policyVersion",
650 "$ref" : "#/definitions/JsonElement"
655 "description" : "Output type",
657 "$ref" : "#/definitions/JsonObject"
661 "x-camelContextId" : "camel-7",
662 "x-routeId" : "route351"
665 "operationId" : "verb345",
667 "name" : "policyModelType",
672 "name" : "policyModelVersion",
677 "name" : "policyName",
682 "name" : "policyVersion",
690 "x-camelContextId" : "camel-7",
691 "x-routeId" : "route352"
694 "/v2/policies/pdpDeployment" : {
696 "operationId" : "verb346",
697 "consumes" : [ "application/json" ],
703 "$ref" : "#/definitions/JsonElement"
709 "x-camelContextId" : "camel-7",
710 "x-routeId" : "route353"
713 "/v2/policies/policytype" : {
715 "operationId" : "verb347",
716 "consumes" : [ "plain/text" ],
728 "x-camelContextId" : "camel-7",
729 "x-routeId" : "route354"
732 "/v2/policyToscaModels" : {
734 "operationId" : "verb340",
735 "produces" : [ "application/json" ],
738 "description" : "Output type",
740 "$ref" : "#/definitions/PolicyModel"
744 "x-camelContextId" : "camel-7",
745 "x-routeId" : "route347"
748 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
750 "operationId" : "verb341",
751 "produces" : [ "application/json" ],
753 "name" : "policyModelType",
758 "name" : "policyModelVersion",
765 "description" : "Output type",
767 "$ref" : "#/definitions/JsonObject"
771 "x-camelContextId" : "camel-7",
772 "x-routeId" : "route348"
775 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
777 "operationId" : "verb342",
778 "produces" : [ "application/json" ],
780 "name" : "policyModelType",
785 "name" : "policyModelVersion",
792 "description" : "Output type",
798 "x-camelContextId" : "camel-7",
799 "x-routeId" : "route349"
804 "operationId" : "verb330",
805 "produces" : [ "application/json" ],
808 "description" : "Output type",
810 "$ref" : "#/definitions/LoopTemplate"
814 "x-camelContextId" : "camel-7",
815 "x-routeId" : "route337"
818 "/v2/templates/{templateName}" : {
820 "operationId" : "verb331",
821 "produces" : [ "application/json" ],
823 "name" : "templateName",
830 "description" : "Output type",
832 "$ref" : "#/definitions/LoopTemplate"
836 "x-camelContextId" : "camel-7",
837 "x-routeId" : "route338"
840 "/v2/templates/names" : {
842 "operationId" : "verb332",
843 "produces" : [ "application/json" ],
846 "description" : "Output type",
855 "x-camelContextId" : "camel-7",
856 "x-routeId" : "route339"
859 "/v2/toscaControlLoop/commissionToscaTemplate" : {
861 "operationId" : "verb349",
862 "consumes" : [ "plain/text" ],
863 "produces" : [ "application/json" ],
874 "description" : "Output type",
880 "x-camelContextId" : "camel-7",
881 "x-routeId" : "route356"
884 "/v2/toscaControlLoop/decommissionToscaTemplate" : {
886 "operationId" : "verb350",
887 "consumes" : [ "plain/text" ],
888 "produces" : [ "application/json" ],
899 "description" : "Output type",
905 "x-camelContextId" : "camel-7",
906 "x-routeId" : "route357"
909 "/v2/toscaControlLoop/deleteToscaInstanceProperties" : {
911 "operationId" : "verb358",
912 "consumes" : [ "plain/text" ],
913 "produces" : [ "application/json" ],
924 "description" : "Output type",
930 "x-camelContextId" : "camel-7",
931 "x-routeId" : "route365"
934 "/v2/toscaControlLoop/deleteToscaInstantiation" : {
936 "operationId" : "verb351",
937 "consumes" : [ "plain/text" ],
938 "produces" : [ "application/json" ],
949 "description" : "Output type",
955 "x-camelContextId" : "camel-7",
956 "x-routeId" : "route358"
959 "/v2/toscaControlLoop/getCommonOrInstanceProperties" : {
961 "operationId" : "verb359",
962 "produces" : [ "application/json" ],
965 "description" : "Output type",
971 "x-camelContextId" : "camel-7",
972 "x-routeId" : "route366"
975 "/v2/toscaControlLoop/getControlLoopDefinitions" : {
977 "operationId" : "verb356",
978 "produces" : [ "application/json" ],
981 "description" : "Output type",
987 "x-camelContextId" : "camel-7",
988 "x-routeId" : "route363"
991 "/v2/toscaControlLoop/getElementDefinitions" : {
993 "operationId" : "verb355",
994 "produces" : [ "application/json" ],
997 "description" : "Output type",
1003 "x-camelContextId" : "camel-7",
1004 "x-routeId" : "route362"
1007 "/v2/toscaControlLoop/getInstantiationOrderState" : {
1009 "operationId" : "verb353",
1010 "produces" : [ "application/json" ],
1013 "description" : "Output type",
1019 "x-camelContextId" : "camel-7",
1020 "x-routeId" : "route360"
1023 "/v2/toscaControlLoop/getJsonSchema" : {
1025 "operationId" : "verb354",
1026 "produces" : [ "application/json" ],
1029 "description" : "Output type",
1035 "x-camelContextId" : "camel-7",
1036 "x-routeId" : "route361"
1039 "/v2/toscaControlLoop/getToscaInstantiation" : {
1041 "operationId" : "verb352",
1042 "produces" : [ "application/json" ],
1045 "description" : "Output type",
1051 "x-camelContextId" : "camel-7",
1052 "x-routeId" : "route359"
1055 "/v2/toscaControlLoop/getToscaTemplate" : {
1057 "operationId" : "verb348",
1058 "produces" : [ "application/json" ],
1061 "description" : "Output type",
1067 "x-camelContextId" : "camel-7",
1068 "x-routeId" : "route355"
1071 "/v2/toscaControlLoop/postToscaInstanceProperties" : {
1073 "operationId" : "verb357",
1074 "consumes" : [ "plain/text" ],
1075 "produces" : [ "application/json" ],
1086 "description" : "Output type",
1092 "x-camelContextId" : "camel-7",
1093 "x-routeId" : "route364"
1096 "/v2/toscaControlLoop/postToscaInstantiation" : {
1098 "operationId" : "verb360",
1099 "consumes" : [ "plain/text" ],
1100 "produces" : [ "application/json" ],
1111 "description" : "Output type",
1117 "x-camelContextId" : "camel-7",
1118 "x-routeId" : "route367"
1121 "/v2/toscaControlLoop/putToscaInstantiationStateChange" : {
1123 "operationId" : "verb361",
1124 "consumes" : [ "plain/text" ],
1125 "produces" : [ "application/json" ],
1136 "description" : "Output type",
1142 "x-camelContextId" : "camel-7",
1143 "x-routeId" : "route368"
1146 "/v1/healthcheck" : {
1148 "operationId" : "verb363",
1149 "produces" : [ "application/json" ],
1152 "description" : "Output type",
1154 "$ref" : "#/definitions/CldsHealthCheck"
1158 "x-camelContextId" : "camel-7",
1159 "x-routeId" : "route370"
1162 "/v1/user/getUser" : {
1164 "operationId" : "verb364",
1165 "produces" : [ "text/plain" ],
1169 "x-camelContextId" : "camel-7",
1170 "x-routeId" : "route371"
1175 "ClampInformation" : {
1184 "allPermissions" : {
1193 "format" : "org.onap.policy.clamp.clds.model.ClampInformation"
1216 "secondLevelDictionary" : {
1220 "subDictionaryType" : {
1223 "dictionaryElements" : {
1225 "uniqueItems" : true,
1227 "$ref" : "#/definitions/DictionaryElement"
1233 "format" : "org.onap.policy.clamp.tosca.Dictionary"
1236 "DictionaryElement" : {
1268 "usedByDictionaries" : {
1270 "uniqueItems" : true,
1272 "$ref" : "#/definitions/Dictionary"
1297 "dcaeDeploymentId" : {
1300 "dcaeDeploymentStatusUrl" : {
1303 "globalPropertiesJson" : {
1304 "$ref" : "#/definitions/JsonObject"
1307 "$ref" : "#/definitions/Service"
1309 "lastComputedState" : {
1311 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
1315 "additionalProperties" : {
1316 "$ref" : "#/definitions/ExternalComponent"
1319 "operationalPolicies" : {
1321 "uniqueItems" : true,
1323 "$ref" : "#/definitions/OperationalPolicy"
1326 "microServicePolicies" : {
1328 "uniqueItems" : true,
1330 "$ref" : "#/definitions/MicroServicePolicy"
1335 "uniqueItems" : true,
1337 "$ref" : "#/definitions/LoopLog"
1341 "$ref" : "#/definitions/LoopTemplate"
1346 "format" : "org.onap.policy.clamp.loop.Loop"
1362 "$ref" : "#/definitions/Number"
1403 "asJsonPrimitive" : {
1404 "$ref" : "#/definitions/JsonPrimitive"
1407 "$ref" : "#/definitions/JsonObject"
1422 "$ref" : "#/definitions/JsonArray"
1425 "$ref" : "#/definitions/JsonNull"
1429 "MicroServicePolicy" : {
1446 "jsonRepresentation" : {
1447 "$ref" : "#/definitions/JsonObject"
1449 "configurationsJson" : {
1450 "$ref" : "#/definitions/JsonObject"
1452 "loopElementModel" : {
1453 "$ref" : "#/definitions/LoopElementModel"
1462 "$ref" : "#/definitions/PolicyModel"
1470 "deviceTypeScope" : {
1478 "uniqueItems" : true,
1480 "$ref" : "#/definitions/Loop"
1483 "dcaeDeploymentId" : {
1486 "dcaeDeploymentStatusUrl" : {
1489 "dcaeBlueprintId" : {
1495 "format" : "org.onap.policy.clamp.policy.microservice.MicroServicePolicy"
1504 "asJsonPrimitive" : {
1505 "$ref" : "#/definitions/JsonPrimitive"
1511 "$ref" : "#/definitions/JsonObject"
1526 "$ref" : "#/definitions/JsonArray"
1529 "$ref" : "#/definitions/JsonNull"
1532 "$ref" : "#/definitions/Number"
1570 "format" : "com.google.gson.JsonObject"
1590 "policyModelType" : {
1596 "policyModelTosca" : {
1602 "usedByElementModels" : {
1604 "uniqueItems" : true,
1606 "$ref" : "#/definitions/LoopElementModel"
1609 "policyPdpGroup" : {
1610 "$ref" : "#/definitions/JsonObject"
1615 "format" : "org.onap.policy.clamp.loop.template.PolicyModel"
1630 "serviceDetails" : {
1631 "$ref" : "#/definitions/JsonObject"
1633 "resourceDetails" : {
1634 "$ref" : "#/definitions/JsonObject"
1638 "LoopTemplateLoopElementModel" : {
1642 "$ref" : "#/definitions/LoopTemplate"
1644 "loopElementModel" : {
1645 "$ref" : "#/definitions/LoopElementModel"
1653 "OperationalPolicy" : {
1670 "jsonRepresentation" : {
1671 "$ref" : "#/definitions/JsonObject"
1673 "configurationsJson" : {
1674 "$ref" : "#/definitions/JsonObject"
1676 "loopElementModel" : {
1677 "$ref" : "#/definitions/LoopElementModel"
1686 "$ref" : "#/definitions/PolicyModel"
1692 "$ref" : "#/definitions/Loop"
1702 "asJsonPrimitive" : {
1703 "$ref" : "#/definitions/JsonPrimitive"
1709 "$ref" : "#/definitions/JsonObject"
1724 "$ref" : "#/definitions/JsonArray"
1727 "$ref" : "#/definitions/JsonNull"
1730 "$ref" : "#/definitions/Number"
1777 "$ref" : "#/definitions/Number"
1812 "asJsonPrimitive" : {
1813 "$ref" : "#/definitions/JsonPrimitive"
1816 "$ref" : "#/definitions/JsonObject"
1831 "$ref" : "#/definitions/JsonArray"
1834 "$ref" : "#/definitions/JsonNull"
1839 "format" : "com.google.gson.JsonArray"
1851 "enum" : [ "INFO", "WARNING", "ERROR" ]
1860 "$ref" : "#/definitions/Loop"
1871 "ExternalComponent" : {
1875 "$ref" : "#/definitions/ExternalComponentState"
1902 "dcaeBlueprintId" : {
1908 "loopElementModelsUsed" : {
1910 "uniqueItems" : true,
1912 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1916 "$ref" : "#/definitions/Service"
1918 "maximumInstancesAllowed" : {
1922 "uniqueBlueprint" : {
1925 "allowedLoopType" : {
1927 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1932 "format" : "org.onap.policy.clamp.loop.template.LoopTemplate"
1935 "ExternalComponentState" : {
1950 "LoopElementModel" : {
1970 "dcaeBlueprintId" : {
1976 "loopElementType" : {
1984 "uniqueItems" : true,
1986 "$ref" : "#/definitions/PolicyModel"
1989 "usedByLoopTemplates" : {
1991 "uniqueItems" : true,
1993 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
2004 "asJsonPrimitive" : {
2005 "$ref" : "#/definitions/JsonPrimitive"
2011 "$ref" : "#/definitions/JsonObject"
2026 "$ref" : "#/definitions/JsonArray"
2029 "$ref" : "#/definitions/JsonNull"
2032 "$ref" : "#/definitions/Number"
2070 "format" : "com.google.gson.JsonElement"
2073 "CldsHealthCheck" : {
2076 "healthCheckComponent" : {
2079 "healthCheckStatus" : {
2088 "format" : "org.onap.policy.clamp.clds.model.CldsHealthCheck"