4 "version" : "5.0.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:42393",
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" : "route98",
30 "produces" : [ "application/json" ],
33 "description" : "Output type",
35 "$ref" : "#/definitions/Dictionary"
39 "x-camelContextId" : "camel-3",
40 "x-routeId" : "route98"
43 "operationId" : "route100",
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" : "route100"
66 "/v2/dictionary/{dictionaryName}" : {
68 "produces" : [ "application/json" ],
70 "name" : "dictionaryName",
77 "description" : "Output type",
79 "$ref" : "#/definitions/Dictionary"
83 "x-camelContextId" : "camel-3",
87 "/v2/dictionary/{name}" : {
89 "consumes" : [ "application/json" ],
90 "produces" : [ "application/json" ],
101 "$ref" : "#/definitions/Dictionary"
106 "description" : "Output type",
108 "$ref" : "#/definitions/Dictionary"
112 "x-camelContextId" : "camel-3",
116 "operationId" : "route102",
117 "produces" : [ "application/json" ],
127 "x-camelContextId" : "camel-3",
128 "x-routeId" : "route102"
131 "/v2/dictionary/{name}/elements/{shortName}" : {
133 "produces" : [ "application/json" ],
140 "name" : "shortName",
148 "x-camelContextId" : "camel-3",
152 "/v2/dictionary/secondary/names" : {
154 "produces" : [ "application/json" ],
157 "description" : "Output type",
166 "x-camelContextId" : "camel-3",
170 "/v2/loop/{loopName}" : {
172 "operationId" : "route79",
173 "produces" : [ "application/json" ],
182 "description" : "Output type",
184 "$ref" : "#/definitions/Loop"
188 "x-camelContextId" : "camel-3",
189 "x-routeId" : "route79"
192 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
194 "operationId" : "route93",
195 "produces" : [ "application/json" ],
202 "name" : "policyType",
207 "name" : "policyVersion",
214 "description" : "Output type",
216 "$ref" : "#/definitions/Loop"
220 "x-camelContextId" : "camel-3",
221 "x-routeId" : "route93"
224 "/v2/loop/create/{loopName}?templateName={templateName}" : {
226 "operationId" : "route95",
227 "consumes" : [ "application/json" ],
228 "produces" : [ "application/json" ],
230 "name" : "loopName}?templateName={templateName",
237 "description" : "Output type",
239 "$ref" : "#/definitions/Loop"
243 "x-camelContextId" : "camel-3",
244 "x-routeId" : "route95"
247 "/v2/loop/delete/{loopName}" : {
249 "operationId" : "route91",
259 "x-camelContextId" : "camel-3",
260 "x-routeId" : "route91"
263 "/v2/loop/deploy/{loopName}" : {
265 "operationId" : "route84",
266 "produces" : [ "application/json" ],
275 "description" : "Output type",
277 "$ref" : "#/definitions/Loop"
281 "x-camelContextId" : "camel-3",
282 "x-routeId" : "route84"
285 "/v2/loop/getAllNames" : {
287 "operationId" : "route78",
288 "produces" : [ "application/json" ],
291 "description" : "Output type",
300 "x-camelContextId" : "camel-3",
301 "x-routeId" : "route78"
304 "/v2/loop/getstatus/{loopName}" : {
306 "operationId" : "route92",
307 "produces" : [ "application/json" ],
316 "description" : "Output type",
318 "$ref" : "#/definitions/Loop"
322 "x-camelContextId" : "camel-3",
323 "x-routeId" : "route92"
326 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
328 "operationId" : "route85",
329 "produces" : [ "application/json" ],
336 "name" : "microServicePolicyName",
343 "description" : "Output type",
345 "$ref" : "#/definitions/Loop"
349 "x-camelContextId" : "camel-3",
350 "x-routeId" : "route85"
353 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
355 "operationId" : "route86",
356 "produces" : [ "application/json" ],
363 "name" : "operationalPolicyName",
370 "description" : "Output type",
372 "$ref" : "#/definitions/Loop"
376 "x-camelContextId" : "camel-3",
377 "x-routeId" : "route86"
380 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
382 "operationId" : "route94",
383 "produces" : [ "application/json" ],
390 "name" : "policyType",
395 "name" : "policyVersion",
402 "description" : "Output type",
404 "$ref" : "#/definitions/Loop"
408 "x-camelContextId" : "camel-3",
409 "x-routeId" : "route94"
412 "/v2/loop/restart/{loopName}" : {
414 "operationId" : "route89",
415 "produces" : [ "application/json" ],
424 "description" : "Output type",
426 "$ref" : "#/definitions/Loop"
430 "x-camelContextId" : "camel-3",
431 "x-routeId" : "route89"
434 "/v2/loop/stop/{loopName}" : {
436 "operationId" : "route88",
437 "produces" : [ "application/json" ],
446 "description" : "Output type",
448 "$ref" : "#/definitions/Loop"
452 "x-camelContextId" : "camel-3",
453 "x-routeId" : "route88"
456 "/v2/loop/submit/{loopName}" : {
458 "operationId" : "route90",
459 "produces" : [ "application/json" ],
468 "description" : "Output type",
470 "$ref" : "#/definitions/Loop"
474 "x-camelContextId" : "camel-3",
475 "x-routeId" : "route90"
478 "/v2/loop/svgRepresentation/{loopName}" : {
480 "operationId" : "route80",
481 "produces" : [ "application/xml" ],
490 "description" : "Output type",
496 "x-camelContextId" : "camel-3",
497 "x-routeId" : "route80"
500 "/v2/loop/undeploy/{loopName}" : {
502 "operationId" : "route87",
503 "produces" : [ "application/json" ],
512 "description" : "Output type",
514 "$ref" : "#/definitions/Loop"
518 "x-camelContextId" : "camel-3",
519 "x-routeId" : "route87"
522 "/v2/loop/updateGlobalProperties/{loopName}" : {
524 "operationId" : "route81",
525 "consumes" : [ "application/json" ],
526 "produces" : [ "application/json" ],
537 "$ref" : "#/definitions/JsonObject"
542 "description" : "Output type",
544 "$ref" : "#/definitions/Loop"
548 "x-camelContextId" : "camel-3",
549 "x-routeId" : "route81"
552 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
554 "operationId" : "route83",
555 "consumes" : [ "application/json" ],
556 "produces" : [ "application/json" ],
567 "$ref" : "#/definitions/MicroServicePolicy"
572 "description" : "Output type",
574 "$ref" : "#/definitions/MicroServicePolicy"
578 "x-camelContextId" : "camel-3",
579 "x-routeId" : "route83"
582 "/v2/loop/updateOperationalPolicies/{loopName}" : {
584 "operationId" : "route82",
585 "consumes" : [ "application/json" ],
586 "produces" : [ "application/json" ],
597 "$ref" : "#/definitions/JsonArray"
602 "description" : "Output type",
604 "$ref" : "#/definitions/Loop"
608 "x-camelContextId" : "camel-3",
609 "x-routeId" : "route82"
612 "/v2/policyToscaModels" : {
614 "operationId" : "route105",
615 "produces" : [ "application/json" ],
618 "description" : "Output type",
620 "$ref" : "#/definitions/PolicyModel"
624 "x-camelContextId" : "camel-3",
625 "x-routeId" : "route105"
628 "operationId" : "route106",
629 "consumes" : [ "plain/text" ],
630 "produces" : [ "application/json" ],
641 "description" : "Output type",
643 "$ref" : "#/definitions/PolicyModel"
647 "x-camelContextId" : "camel-3",
648 "x-routeId" : "route106"
651 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
653 "produces" : [ "application/json" ],
655 "name" : "policyModelType",
660 "name" : "policyModelVersion",
667 "description" : "Output type",
669 "$ref" : "#/definitions/PolicyModel"
673 "x-camelContextId" : "camel-3",
677 "operationId" : "route107",
678 "consumes" : [ "plain/text" ],
679 "produces" : [ "application/json" ],
681 "name" : "policyModelType",
686 "name" : "policyModelVersion",
700 "description" : "Output type",
702 "$ref" : "#/definitions/PolicyModel"
706 "x-camelContextId" : "camel-3",
707 "x-routeId" : "route107"
710 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
712 "produces" : [ "application/json" ],
714 "name" : "policyModelType",
719 "name" : "policyModelVersion",
726 "description" : "Output type",
732 "x-camelContextId" : "camel-3",
738 "operationId" : "route111",
739 "produces" : [ "application/json" ],
742 "description" : "Output type",
744 "$ref" : "#/definitions/LoopTemplate"
748 "x-camelContextId" : "camel-3",
749 "x-routeId" : "route111"
752 "/v2/templates/{templateName}" : {
754 "produces" : [ "application/json" ],
756 "name" : "templateName",
763 "description" : "Output type",
765 "$ref" : "#/definitions/LoopTemplate"
769 "x-camelContextId" : "camel-3",
773 "/v2/templates/{templateName}/svgRepresentation" : {
775 "produces" : [ "application/xml" ],
777 "name" : "templateName",
784 "description" : "Output type",
790 "x-camelContextId" : "camel-3",
794 "/v2/templates/names" : {
796 "produces" : [ "application/json" ],
799 "description" : "Output type",
808 "x-camelContextId" : "camel-3",
812 "/v1/healthcheck" : {
814 "operationId" : "route113",
815 "produces" : [ "application/json" ],
818 "description" : "Output type",
820 "$ref" : "#/definitions/CldsHealthCheck"
824 "x-camelContextId" : "camel-3",
825 "x-routeId" : "route113"
828 "/v1/user/getUser" : {
830 "operationId" : "route114",
831 "produces" : [ "text/plain" ],
835 "x-camelContextId" : "camel-3",
836 "x-routeId" : "route114"
841 "ClampInformation" : {
859 "format" : "org.onap.clamp.clds.model.ClampInformation"
882 "secondLevelDictionary" : {
886 "subDictionaryType" : {
889 "dictionaryElements" : {
891 "uniqueItems" : true,
893 "$ref" : "#/definitions/DictionaryElement"
899 "format" : "org.onap.clamp.tosca.Dictionary"
902 "DictionaryElement" : {
934 "usedByDictionaries" : {
936 "uniqueItems" : true,
938 "$ref" : "#/definitions/Dictionary"
963 "dcaeDeploymentId" : {
966 "dcaeDeploymentStatusUrl" : {
969 "svgRepresentation" : {
972 "globalPropertiesJson" : {
973 "$ref" : "#/definitions/JsonObject"
976 "$ref" : "#/definitions/Service"
978 "lastComputedState" : {
980 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
984 "additionalProperties" : {
985 "$ref" : "#/definitions/ExternalComponent"
988 "operationalPolicies" : {
990 "uniqueItems" : true,
992 "$ref" : "#/definitions/OperationalPolicy"
995 "microServicePolicies" : {
997 "uniqueItems" : true,
999 "$ref" : "#/definitions/MicroServicePolicy"
1004 "uniqueItems" : true,
1006 "$ref" : "#/definitions/LoopLog"
1010 "$ref" : "#/definitions/LoopTemplate"
1015 "format" : "org.onap.clamp.loop.Loop"
1056 "$ref" : "#/definitions/Number"
1073 "$ref" : "#/definitions/JsonArray"
1076 "$ref" : "#/definitions/JsonObject"
1090 "asJsonPrimitive" : {
1091 "$ref" : "#/definitions/JsonPrimitive"
1094 "$ref" : "#/definitions/JsonNull"
1098 "MicroServicePolicy" : {
1115 "jsonRepresentation" : {
1116 "$ref" : "#/definitions/JsonObject"
1118 "configurationsJson" : {
1119 "$ref" : "#/definitions/JsonObject"
1121 "loopElementModel" : {
1122 "$ref" : "#/definitions/LoopElementModel"
1131 "$ref" : "#/definitions/PolicyModel"
1139 "deviceTypeScope" : {
1147 "uniqueItems" : true,
1149 "$ref" : "#/definitions/Loop"
1152 "dcaeDeploymentId" : {
1155 "dcaeDeploymentStatusUrl" : {
1158 "dcaeBlueprintId" : {
1164 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1174 "$ref" : "#/definitions/JsonArray"
1177 "$ref" : "#/definitions/JsonObject"
1219 "asJsonPrimitive" : {
1220 "$ref" : "#/definitions/JsonPrimitive"
1223 "$ref" : "#/definitions/JsonNull"
1226 "$ref" : "#/definitions/Number"
1239 "format" : "com.google.gson.JsonObject"
1259 "policyModelType" : {
1265 "policyModelTosca" : {
1271 "usedByElementModels" : {
1273 "uniqueItems" : true,
1275 "$ref" : "#/definitions/LoopElementModel"
1278 "policyPdpGroup" : {
1279 "$ref" : "#/definitions/JsonObject"
1284 "format" : "org.onap.clamp.loop.template.PolicyModel"
1299 "serviceDetails" : {
1300 "$ref" : "#/definitions/JsonObject"
1302 "resourceDetails" : {
1303 "$ref" : "#/definitions/JsonObject"
1307 "LoopTemplateLoopElementModel" : {
1311 "$ref" : "#/definitions/LoopTemplate"
1313 "loopElementModel" : {
1314 "$ref" : "#/definitions/LoopElementModel"
1322 "OperationalPolicy" : {
1339 "jsonRepresentation" : {
1340 "$ref" : "#/definitions/JsonObject"
1342 "configurationsJson" : {
1343 "$ref" : "#/definitions/JsonObject"
1345 "loopElementModel" : {
1346 "$ref" : "#/definitions/LoopElementModel"
1355 "$ref" : "#/definitions/PolicyModel"
1361 "$ref" : "#/definitions/Loop"
1375 "$ref" : "#/definitions/JsonArray"
1378 "$ref" : "#/definitions/JsonObject"
1420 "asJsonPrimitive" : {
1421 "$ref" : "#/definitions/JsonPrimitive"
1424 "$ref" : "#/definitions/JsonNull"
1427 "$ref" : "#/definitions/Number"
1474 "$ref" : "#/definitions/Number"
1485 "$ref" : "#/definitions/JsonArray"
1488 "$ref" : "#/definitions/JsonObject"
1502 "asJsonPrimitive" : {
1503 "$ref" : "#/definitions/JsonPrimitive"
1506 "$ref" : "#/definitions/JsonNull"
1511 "format" : "com.google.gson.JsonArray"
1523 "enum" : [ "INFO", "WARNING", "ERROR" ]
1532 "$ref" : "#/definitions/Loop"
1543 "ExternalComponent" : {
1547 "$ref" : "#/definitions/ExternalComponentState"
1574 "dcaeBlueprintId" : {
1580 "svgRepresentation" : {
1583 "loopElementModelsUsed" : {
1585 "uniqueItems" : true,
1587 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1591 "$ref" : "#/definitions/Service"
1593 "maximumInstancesAllowed" : {
1597 "uniqueBlueprint" : {
1600 "allowedLoopType" : {
1602 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1607 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1610 "ExternalComponentState" : {
1625 "LoopElementModel" : {
1645 "dcaeBlueprintId" : {
1651 "loopElementType" : {
1659 "uniqueItems" : true,
1661 "$ref" : "#/definitions/PolicyModel"
1664 "usedByLoopTemplates" : {
1666 "uniqueItems" : true,
1668 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1673 "CldsHealthCheck" : {
1676 "healthCheckComponent" : {
1679 "healthCheckStatus" : {
1688 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"