4 "version" : "5.1.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:43065",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/clampInformation" : {
13 "operationId" : "route142",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/ClampInformation"
23 "x-camelContextId" : "camel-4",
24 "x-routeId" : "route142"
29 "operationId" : "route127",
30 "produces" : [ "application/json" ],
33 "description" : "Output type",
35 "$ref" : "#/definitions/Dictionary"
39 "x-camelContextId" : "camel-4",
40 "x-routeId" : "route127"
43 "operationId" : "route130",
44 "consumes" : [ "application/json" ],
45 "produces" : [ "application/json" ],
51 "$ref" : "#/definitions/Dictionary"
56 "description" : "Output type",
58 "$ref" : "#/definitions/Dictionary"
62 "x-camelContextId" : "camel-4",
63 "x-routeId" : "route130"
66 "/v2/dictionary/{dictionaryName}" : {
68 "operationId" : "route129",
69 "produces" : [ "application/json" ],
71 "name" : "dictionaryName",
78 "description" : "Output type",
80 "$ref" : "#/definitions/Dictionary"
84 "x-camelContextId" : "camel-4",
85 "x-routeId" : "route129"
88 "/v2/dictionary/{name}" : {
90 "operationId" : "route131",
91 "consumes" : [ "application/json" ],
92 "produces" : [ "application/json" ],
103 "$ref" : "#/definitions/Dictionary"
108 "description" : "Output type",
110 "$ref" : "#/definitions/Dictionary"
114 "x-camelContextId" : "camel-4",
115 "x-routeId" : "route131"
118 "operationId" : "route132",
119 "produces" : [ "application/json" ],
129 "x-camelContextId" : "camel-4",
130 "x-routeId" : "route132"
133 "/v2/dictionary/{name}/elements/{shortName}" : {
135 "operationId" : "route133",
136 "produces" : [ "application/json" ],
143 "name" : "shortName",
151 "x-camelContextId" : "camel-4",
152 "x-routeId" : "route133"
155 "/v2/dictionary/secondary/names" : {
157 "operationId" : "route128",
158 "produces" : [ "application/json" ],
161 "description" : "Output type",
170 "x-camelContextId" : "camel-4",
171 "x-routeId" : "route128"
174 "/v2/loop/{loopName}" : {
176 "operationId" : "route111",
177 "produces" : [ "application/json" ],
186 "description" : "Output type",
188 "$ref" : "#/definitions/Loop"
192 "x-camelContextId" : "camel-4",
193 "x-routeId" : "route111"
196 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
198 "operationId" : "route124",
199 "produces" : [ "application/json" ],
206 "name" : "policyType",
211 "name" : "policyVersion",
218 "description" : "Output type",
220 "$ref" : "#/definitions/Loop"
224 "x-camelContextId" : "camel-4",
225 "x-routeId" : "route124"
228 "/v2/loop/create/{loopName}?templateName={templateName}" : {
230 "operationId" : "route126",
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-4",
248 "x-routeId" : "route126"
251 "/v2/loop/delete/{loopName}" : {
253 "operationId" : "route122",
263 "x-camelContextId" : "camel-4",
264 "x-routeId" : "route122"
267 "/v2/loop/deploy/{loopName}" : {
269 "operationId" : "route115",
270 "produces" : [ "application/json" ],
279 "description" : "Output type",
281 "$ref" : "#/definitions/Loop"
285 "x-camelContextId" : "camel-4",
286 "x-routeId" : "route115"
289 "/v2/loop/getAllNames" : {
291 "operationId" : "route110",
292 "produces" : [ "application/json" ],
295 "description" : "Output type",
304 "x-camelContextId" : "camel-4",
305 "x-routeId" : "route110"
308 "/v2/loop/getstatus/{loopName}" : {
310 "operationId" : "route123",
311 "produces" : [ "application/json" ],
320 "description" : "Output type",
322 "$ref" : "#/definitions/Loop"
326 "x-camelContextId" : "camel-4",
327 "x-routeId" : "route123"
330 "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
332 "operationId" : "route116",
333 "produces" : [ "application/json" ],
340 "name" : "microServicePolicyName",
347 "description" : "Output type",
349 "$ref" : "#/definitions/Loop"
353 "x-camelContextId" : "camel-4",
354 "x-routeId" : "route116"
357 "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
359 "operationId" : "route117",
360 "produces" : [ "application/json" ],
367 "name" : "operationalPolicyName",
374 "description" : "Output type",
376 "$ref" : "#/definitions/Loop"
380 "x-camelContextId" : "camel-4",
381 "x-routeId" : "route117"
384 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
386 "operationId" : "route125",
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-4",
418 "x-routeId" : "route125"
421 "/v2/loop/restart/{loopName}" : {
423 "operationId" : "route120",
424 "produces" : [ "application/json" ],
433 "description" : "Output type",
435 "$ref" : "#/definitions/Loop"
439 "x-camelContextId" : "camel-4",
440 "x-routeId" : "route120"
443 "/v2/loop/stop/{loopName}" : {
445 "operationId" : "route119",
446 "produces" : [ "application/json" ],
455 "description" : "Output type",
457 "$ref" : "#/definitions/Loop"
461 "x-camelContextId" : "camel-4",
462 "x-routeId" : "route119"
465 "/v2/loop/submit/{loopName}" : {
467 "operationId" : "route121",
468 "produces" : [ "application/json" ],
477 "description" : "Output type",
479 "$ref" : "#/definitions/Loop"
483 "x-camelContextId" : "camel-4",
484 "x-routeId" : "route121"
487 "/v2/loop/undeploy/{loopName}" : {
489 "operationId" : "route118",
490 "produces" : [ "application/json" ],
499 "description" : "Output type",
501 "$ref" : "#/definitions/Loop"
505 "x-camelContextId" : "camel-4",
506 "x-routeId" : "route118"
509 "/v2/loop/updateGlobalProperties/{loopName}" : {
511 "operationId" : "route112",
512 "consumes" : [ "application/json" ],
513 "produces" : [ "application/json" ],
524 "$ref" : "#/definitions/JsonObject"
529 "description" : "Output type",
531 "$ref" : "#/definitions/Loop"
535 "x-camelContextId" : "camel-4",
536 "x-routeId" : "route112"
539 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
541 "operationId" : "route114",
542 "consumes" : [ "application/json" ],
543 "produces" : [ "application/json" ],
554 "$ref" : "#/definitions/MicroServicePolicy"
559 "description" : "Output type",
561 "$ref" : "#/definitions/MicroServicePolicy"
565 "x-camelContextId" : "camel-4",
566 "x-routeId" : "route114"
569 "/v2/loop/updateOperationalPolicies/{loopName}" : {
571 "operationId" : "route113",
572 "consumes" : [ "application/json" ],
573 "produces" : [ "application/json" ],
584 "$ref" : "#/definitions/JsonArray"
589 "description" : "Output type",
591 "$ref" : "#/definitions/Loop"
595 "x-camelContextId" : "camel-4",
596 "x-routeId" : "route113"
599 "/v2/policyToscaModels" : {
601 "operationId" : "route134",
602 "produces" : [ "application/json" ],
605 "description" : "Output type",
607 "$ref" : "#/definitions/PolicyModel"
611 "x-camelContextId" : "camel-4",
612 "x-routeId" : "route134"
615 "operationId" : "route137",
616 "consumes" : [ "plain/text" ],
617 "produces" : [ "application/json" ],
628 "description" : "Output type",
630 "$ref" : "#/definitions/PolicyModel"
634 "x-camelContextId" : "camel-4",
635 "x-routeId" : "route137"
638 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
640 "operationId" : "route135",
641 "produces" : [ "application/json" ],
643 "name" : "policyModelType",
648 "name" : "policyModelVersion",
655 "description" : "Output type",
657 "$ref" : "#/definitions/PolicyModel"
661 "x-camelContextId" : "camel-4",
662 "x-routeId" : "route135"
665 "operationId" : "route138",
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-4",
695 "x-routeId" : "route138"
698 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
700 "operationId" : "route136",
701 "produces" : [ "application/json" ],
703 "name" : "policyModelType",
708 "name" : "policyModelVersion",
715 "description" : "Output type",
721 "x-camelContextId" : "camel-4",
722 "x-routeId" : "route136"
727 "operationId" : "route139",
728 "produces" : [ "application/json" ],
731 "description" : "Output type",
733 "$ref" : "#/definitions/LoopTemplate"
737 "x-camelContextId" : "camel-4",
738 "x-routeId" : "route139"
741 "/v2/templates/{templateName}" : {
743 "operationId" : "route140",
744 "produces" : [ "application/json" ],
746 "name" : "templateName",
753 "description" : "Output type",
755 "$ref" : "#/definitions/LoopTemplate"
759 "x-camelContextId" : "camel-4",
760 "x-routeId" : "route140"
763 "/v2/templates/names" : {
765 "operationId" : "route141",
766 "produces" : [ "application/json" ],
769 "description" : "Output type",
778 "x-camelContextId" : "camel-4",
779 "x-routeId" : "route141"
782 "/v1/healthcheck" : {
784 "operationId" : "route143",
785 "produces" : [ "application/json" ],
788 "description" : "Output type",
790 "$ref" : "#/definitions/CldsHealthCheck"
794 "x-camelContextId" : "camel-4",
795 "x-routeId" : "route143"
798 "/v1/user/getUser" : {
800 "operationId" : "route144",
801 "produces" : [ "text/plain" ],
805 "x-camelContextId" : "camel-4",
806 "x-routeId" : "route144"
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"
998 "$ref" : "#/definitions/Number"
1052 "$ref" : "#/definitions/JsonArray"
1054 "asJsonPrimitive" : {
1055 "$ref" : "#/definitions/JsonPrimitive"
1058 "$ref" : "#/definitions/JsonNull"
1061 "$ref" : "#/definitions/JsonObject"
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" : {
1134 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1159 "$ref" : "#/definitions/JsonArray"
1161 "asJsonPrimitive" : {
1162 "$ref" : "#/definitions/JsonPrimitive"
1165 "$ref" : "#/definitions/JsonNull"
1168 "$ref" : "#/definitions/Number"
1204 "$ref" : "#/definitions/JsonObject"
1209 "format" : "com.google.gson.JsonObject"
1229 "policyModelType" : {
1235 "policyModelTosca" : {
1241 "usedByElementModels" : {
1243 "uniqueItems" : true,
1245 "$ref" : "#/definitions/LoopElementModel"
1248 "policyPdpGroup" : {
1249 "$ref" : "#/definitions/JsonObject"
1254 "format" : "org.onap.clamp.loop.template.PolicyModel"
1269 "serviceDetails" : {
1270 "$ref" : "#/definitions/JsonObject"
1272 "resourceDetails" : {
1273 "$ref" : "#/definitions/JsonObject"
1277 "LoopTemplateLoopElementModel" : {
1281 "$ref" : "#/definitions/LoopTemplate"
1283 "loopElementModel" : {
1284 "$ref" : "#/definitions/LoopElementModel"
1292 "OperationalPolicy" : {
1309 "jsonRepresentation" : {
1310 "$ref" : "#/definitions/JsonObject"
1312 "configurationsJson" : {
1313 "$ref" : "#/definitions/JsonObject"
1315 "loopElementModel" : {
1316 "$ref" : "#/definitions/LoopElementModel"
1325 "$ref" : "#/definitions/PolicyModel"
1331 "$ref" : "#/definitions/Loop"
1360 "$ref" : "#/definitions/JsonArray"
1362 "asJsonPrimitive" : {
1363 "$ref" : "#/definitions/JsonPrimitive"
1366 "$ref" : "#/definitions/JsonNull"
1369 "$ref" : "#/definitions/Number"
1405 "$ref" : "#/definitions/JsonObject"
1419 "$ref" : "#/definitions/Number"
1467 "$ref" : "#/definitions/JsonArray"
1469 "asJsonPrimitive" : {
1470 "$ref" : "#/definitions/JsonPrimitive"
1473 "$ref" : "#/definitions/JsonNull"
1476 "$ref" : "#/definitions/JsonObject"
1481 "format" : "com.google.gson.JsonArray"
1493 "enum" : [ "INFO", "WARNING", "ERROR" ]
1502 "$ref" : "#/definitions/Loop"
1513 "ExternalComponent" : {
1517 "$ref" : "#/definitions/ExternalComponentState"
1544 "dcaeBlueprintId" : {
1550 "loopElementModelsUsed" : {
1552 "uniqueItems" : true,
1554 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1558 "$ref" : "#/definitions/Service"
1560 "maximumInstancesAllowed" : {
1564 "uniqueBlueprint" : {
1567 "allowedLoopType" : {
1569 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1574 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1577 "ExternalComponentState" : {
1592 "LoopElementModel" : {
1612 "dcaeBlueprintId" : {
1618 "loopElementType" : {
1626 "uniqueItems" : true,
1628 "$ref" : "#/definitions/PolicyModel"
1631 "usedByLoopTemplates" : {
1633 "uniqueItems" : true,
1635 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1640 "CldsHealthCheck" : {
1643 "healthCheckComponent" : {
1646 "healthCheckStatus" : {
1655 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"