4 "version" : "5.0.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:41607",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/clampInformation" : {
13 "operationId" : "route35",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/ClampInformation"
23 "x-camelContextId" : "camel-1",
24 "x-routeId" : "route35"
29 "operationId" : "route21",
30 "produces" : [ "application/json" ],
33 "description" : "Output type",
35 "$ref" : "#/definitions/Dictionary"
39 "x-camelContextId" : "camel-1",
40 "x-routeId" : "route21"
43 "operationId" : "route23",
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" : "route23"
66 "/v2/dictionary/{dictionaryName}" : {
68 "produces" : [ "application/json" ],
70 "name" : "dictionaryName",
77 "description" : "Output type",
79 "$ref" : "#/definitions/Dictionary"
83 "x-camelContextId" : "camel-1",
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-1",
116 "operationId" : "route25",
117 "produces" : [ "application/json" ],
127 "x-camelContextId" : "camel-1",
128 "x-routeId" : "route25"
131 "/v2/dictionary/{name}/elements/{shortName}" : {
133 "produces" : [ "application/json" ],
140 "name" : "shortName",
148 "x-camelContextId" : "camel-1",
152 "/v2/dictionary/secondary/names" : {
154 "produces" : [ "application/json" ],
157 "description" : "Output type",
166 "x-camelContextId" : "camel-1",
170 "/v2/loop/{loopName}" : {
172 "operationId" : "route3",
173 "produces" : [ "application/json" ],
182 "description" : "Output type",
184 "$ref" : "#/definitions/Loop"
188 "x-camelContextId" : "camel-1",
189 "x-routeId" : "route3"
192 "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
194 "operationId" : "route16",
195 "produces" : [ "application/json" ],
202 "name" : "policyType",
207 "name" : "policyVersion",
214 "description" : "Output type",
216 "$ref" : "#/definitions/Loop"
220 "x-camelContextId" : "camel-1",
221 "x-routeId" : "route16"
224 "/v2/loop/create/{loopName}?templateName={templateName}" : {
226 "operationId" : "route18",
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-1",
244 "x-routeId" : "route18"
247 "/v2/loop/delete/{loopName}" : {
249 "operationId" : "route14",
259 "x-camelContextId" : "camel-1",
260 "x-routeId" : "route14"
263 "/v2/loop/deploy/{loopName}" : {
265 "operationId" : "route8",
266 "produces" : [ "application/json" ],
275 "description" : "Output type",
277 "$ref" : "#/definitions/Loop"
281 "x-camelContextId" : "camel-1",
282 "x-routeId" : "route8"
285 "/v2/loop/getAllNames" : {
287 "operationId" : "route2",
288 "produces" : [ "application/json" ],
291 "description" : "Output type",
300 "x-camelContextId" : "camel-1",
301 "x-routeId" : "route2"
304 "/v2/loop/getstatus/{loopName}" : {
306 "operationId" : "route15",
307 "produces" : [ "application/json" ],
316 "description" : "Output type",
318 "$ref" : "#/definitions/Loop"
322 "x-camelContextId" : "camel-1",
323 "x-routeId" : "route15"
326 "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
328 "operationId" : "route9",
329 "produces" : [ "application/json" ],
338 "description" : "Output type",
340 "$ref" : "#/definitions/Loop"
344 "x-camelContextId" : "camel-1",
345 "x-routeId" : "route9"
348 "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
350 "operationId" : "route17",
351 "produces" : [ "application/json" ],
358 "name" : "policyType",
363 "name" : "policyVersion",
370 "description" : "Output type",
372 "$ref" : "#/definitions/Loop"
376 "x-camelContextId" : "camel-1",
377 "x-routeId" : "route17"
380 "/v2/loop/restart/{loopName}" : {
382 "operationId" : "route12",
383 "produces" : [ "application/json" ],
392 "description" : "Output type",
394 "$ref" : "#/definitions/Loop"
398 "x-camelContextId" : "camel-1",
399 "x-routeId" : "route12"
402 "/v2/loop/stop/{loopName}" : {
404 "operationId" : "route11",
405 "produces" : [ "application/json" ],
414 "description" : "Output type",
416 "$ref" : "#/definitions/Loop"
420 "x-camelContextId" : "camel-1",
421 "x-routeId" : "route11"
424 "/v2/loop/submit/{loopName}" : {
426 "operationId" : "route13",
427 "produces" : [ "application/json" ],
436 "description" : "Output type",
438 "$ref" : "#/definitions/Loop"
442 "x-camelContextId" : "camel-1",
443 "x-routeId" : "route13"
446 "/v2/loop/svgRepresentation/{loopName}" : {
448 "operationId" : "route4",
449 "produces" : [ "application/xml" ],
458 "description" : "Output type",
464 "x-camelContextId" : "camel-1",
465 "x-routeId" : "route4"
468 "/v2/loop/undeploy/{loopName}" : {
470 "operationId" : "route10",
471 "produces" : [ "application/json" ],
480 "description" : "Output type",
482 "$ref" : "#/definitions/Loop"
486 "x-camelContextId" : "camel-1",
487 "x-routeId" : "route10"
490 "/v2/loop/updateGlobalProperties/{loopName}" : {
492 "operationId" : "route5",
493 "consumes" : [ "application/json" ],
494 "produces" : [ "application/json" ],
505 "$ref" : "#/definitions/JsonObject"
510 "description" : "Output type",
512 "$ref" : "#/definitions/Loop"
516 "x-camelContextId" : "camel-1",
517 "x-routeId" : "route5"
520 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
522 "operationId" : "route7",
523 "consumes" : [ "application/json" ],
524 "produces" : [ "application/json" ],
535 "$ref" : "#/definitions/MicroServicePolicy"
540 "description" : "Output type",
542 "$ref" : "#/definitions/MicroServicePolicy"
546 "x-camelContextId" : "camel-1",
547 "x-routeId" : "route7"
550 "/v2/loop/updateOperationalPolicies/{loopName}" : {
552 "operationId" : "route6",
553 "consumes" : [ "application/json" ],
554 "produces" : [ "application/json" ],
565 "$ref" : "#/definitions/JsonArray"
570 "description" : "Output type",
572 "$ref" : "#/definitions/Loop"
576 "x-camelContextId" : "camel-1",
577 "x-routeId" : "route6"
580 "/v2/policyToscaModels" : {
582 "operationId" : "route28",
583 "produces" : [ "application/json" ],
586 "description" : "Output type",
588 "$ref" : "#/definitions/PolicyModel"
592 "x-camelContextId" : "camel-1",
593 "x-routeId" : "route28"
596 "operationId" : "route29",
597 "consumes" : [ "plain/text" ],
598 "produces" : [ "application/json" ],
609 "description" : "Output type",
611 "$ref" : "#/definitions/PolicyModel"
615 "x-camelContextId" : "camel-1",
616 "x-routeId" : "route29"
619 "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
621 "produces" : [ "application/json" ],
623 "name" : "policyModelType",
628 "name" : "policyModelVersion",
635 "description" : "Output type",
637 "$ref" : "#/definitions/PolicyModel"
641 "x-camelContextId" : "camel-1",
645 "operationId" : "route30",
646 "consumes" : [ "plain/text" ],
647 "produces" : [ "application/json" ],
649 "name" : "policyModelType",
654 "name" : "policyModelVersion",
668 "description" : "Output type",
670 "$ref" : "#/definitions/PolicyModel"
674 "x-camelContextId" : "camel-1",
675 "x-routeId" : "route30"
678 "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
680 "produces" : [ "application/json" ],
682 "name" : "policyModelType",
687 "name" : "policyModelVersion",
694 "description" : "Output type",
700 "x-camelContextId" : "camel-1",
706 "operationId" : "route34",
707 "produces" : [ "application/json" ],
710 "description" : "Output type",
712 "$ref" : "#/definitions/LoopTemplate"
716 "x-camelContextId" : "camel-1",
717 "x-routeId" : "route34"
720 "/v2/templates/{templateName}" : {
722 "produces" : [ "application/json" ],
724 "name" : "templateName",
731 "description" : "Output type",
733 "$ref" : "#/definitions/LoopTemplate"
737 "x-camelContextId" : "camel-1",
741 "/v2/templates/{templateName}/svgRepresentation" : {
743 "produces" : [ "application/xml" ],
745 "name" : "templateName",
752 "description" : "Output type",
758 "x-camelContextId" : "camel-1",
762 "/v2/templates/names" : {
764 "produces" : [ "application/json" ],
767 "description" : "Output type",
776 "x-camelContextId" : "camel-1",
780 "/v1/healthcheck" : {
782 "operationId" : "route36",
783 "produces" : [ "application/json" ],
786 "description" : "Output type",
788 "$ref" : "#/definitions/CldsHealthCheck"
792 "x-camelContextId" : "camel-1",
793 "x-routeId" : "route36"
796 "/v1/user/getUser" : {
798 "operationId" : "route37",
799 "produces" : [ "text/plain" ],
803 "x-camelContextId" : "camel-1",
804 "x-routeId" : "route37"
809 "ClampInformation" : {
827 "format" : "org.onap.clamp.clds.model.ClampInformation"
850 "secondLevelDictionary" : {
854 "subDictionaryType" : {
857 "dictionaryElements" : {
859 "uniqueItems" : true,
861 "$ref" : "#/definitions/DictionaryElement"
867 "format" : "org.onap.clamp.tosca.Dictionary"
870 "DictionaryElement" : {
902 "usedByDictionaries" : {
904 "uniqueItems" : true,
906 "$ref" : "#/definitions/Dictionary"
931 "dcaeDeploymentId" : {
934 "dcaeDeploymentStatusUrl" : {
937 "svgRepresentation" : {
940 "globalPropertiesJson" : {
941 "$ref" : "#/definitions/JsonObject"
944 "$ref" : "#/definitions/Service"
946 "lastComputedState" : {
948 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
952 "additionalProperties" : {
953 "$ref" : "#/definitions/ExternalComponent"
956 "operationalPolicies" : {
958 "uniqueItems" : true,
960 "$ref" : "#/definitions/OperationalPolicy"
963 "microServicePolicies" : {
965 "uniqueItems" : true,
967 "$ref" : "#/definitions/MicroServicePolicy"
972 "uniqueItems" : true,
974 "$ref" : "#/definitions/LoopLog"
978 "$ref" : "#/definitions/LoopTemplate"
983 "format" : "org.onap.clamp.loop.Loop"
1035 "$ref" : "#/definitions/Number"
1041 "$ref" : "#/definitions/JsonObject"
1047 "$ref" : "#/definitions/JsonArray"
1049 "asJsonPrimitive" : {
1050 "$ref" : "#/definitions/JsonPrimitive"
1062 "$ref" : "#/definitions/JsonNull"
1066 "MicroServicePolicy" : {
1083 "jsonRepresentation" : {
1084 "$ref" : "#/definitions/JsonObject"
1086 "configurationsJson" : {
1087 "$ref" : "#/definitions/JsonObject"
1089 "loopElementModel" : {
1090 "$ref" : "#/definitions/LoopElementModel"
1099 "$ref" : "#/definitions/PolicyModel"
1107 "deviceTypeScope" : {
1115 "uniqueItems" : true,
1117 "$ref" : "#/definitions/Loop"
1120 "dcaeDeploymentId" : {
1123 "dcaeDeploymentStatusUrl" : {
1126 "dcaeBlueprintId" : {
1132 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1154 "$ref" : "#/definitions/JsonObject"
1163 "$ref" : "#/definitions/JsonArray"
1165 "asJsonPrimitive" : {
1166 "$ref" : "#/definitions/JsonPrimitive"
1188 "$ref" : "#/definitions/JsonNull"
1202 "$ref" : "#/definitions/Number"
1207 "format" : "com.google.gson.JsonObject"
1227 "policyModelType" : {
1233 "policyModelTosca" : {
1239 "usedByElementModels" : {
1241 "uniqueItems" : true,
1243 "$ref" : "#/definitions/LoopElementModel"
1246 "policyPdpGroup" : {
1247 "$ref" : "#/definitions/JsonObject"
1252 "format" : "org.onap.clamp.loop.template.PolicyModel"
1267 "serviceDetails" : {
1268 "$ref" : "#/definitions/JsonObject"
1270 "resourceDetails" : {
1271 "$ref" : "#/definitions/JsonObject"
1275 "LoopTemplateLoopElementModel" : {
1279 "$ref" : "#/definitions/LoopTemplate"
1281 "loopElementModel" : {
1282 "$ref" : "#/definitions/LoopElementModel"
1290 "OperationalPolicy" : {
1307 "jsonRepresentation" : {
1308 "$ref" : "#/definitions/JsonObject"
1310 "configurationsJson" : {
1311 "$ref" : "#/definitions/JsonObject"
1313 "loopElementModel" : {
1314 "$ref" : "#/definitions/LoopElementModel"
1323 "$ref" : "#/definitions/PolicyModel"
1329 "$ref" : "#/definitions/Loop"
1355 "$ref" : "#/definitions/JsonObject"
1364 "$ref" : "#/definitions/JsonArray"
1366 "asJsonPrimitive" : {
1367 "$ref" : "#/definitions/JsonPrimitive"
1389 "$ref" : "#/definitions/JsonNull"
1403 "$ref" : "#/definitions/Number"
1450 "$ref" : "#/definitions/Number"
1453 "$ref" : "#/definitions/JsonObject"
1459 "$ref" : "#/definitions/JsonArray"
1461 "asJsonPrimitive" : {
1462 "$ref" : "#/definitions/JsonPrimitive"
1474 "$ref" : "#/definitions/JsonNull"
1479 "format" : "com.google.gson.JsonArray"
1491 "enum" : [ "INFO", "WARNING", "ERROR" ]
1500 "$ref" : "#/definitions/Loop"
1511 "ExternalComponent" : {
1515 "$ref" : "#/definitions/ExternalComponentState"
1542 "dcaeBlueprintId" : {
1548 "svgRepresentation" : {
1551 "loopElementModelsUsed" : {
1553 "uniqueItems" : true,
1555 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1559 "$ref" : "#/definitions/Service"
1561 "maximumInstancesAllowed" : {
1565 "uniqueBlueprint" : {
1568 "allowedLoopType" : {
1570 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1575 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1578 "ExternalComponentState" : {
1593 "LoopElementModel" : {
1613 "dcaeBlueprintId" : {
1619 "loopElementType" : {
1627 "uniqueItems" : true,
1629 "$ref" : "#/definitions/PolicyModel"
1632 "usedByLoopTemplates" : {
1634 "uniqueItems" : true,
1636 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1641 "CldsHealthCheck" : {
1644 "healthCheckComponent" : {
1647 "healthCheckStatus" : {
1656 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"