4 "version" : "4.0.3-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:46235",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/loop/{loopName}" : {
13 "operationId" : "route3",
14 "produces" : [ "application/json" ],
23 "description" : "Output type",
25 "$ref" : "#/definitions/Loop"
29 "x-camelContextId" : "camel-1",
30 "x-routeId" : "route3"
33 "/v2/loop/delete/{loopName}" : {
35 "operationId" : "route13",
45 "x-camelContextId" : "camel-1",
46 "x-routeId" : "route13"
49 "/v2/loop/deployLoop/{loopName}" : {
51 "operationId" : "route8",
52 "produces" : [ "application/json" ],
61 "description" : "Output type",
63 "$ref" : "#/definitions/Loop"
67 "x-camelContextId" : "camel-1",
68 "x-routeId" : "route8"
71 "/v2/loop/getAllNames" : {
73 "operationId" : "route2",
74 "produces" : [ "application/json" ],
77 "description" : "Output type",
86 "x-camelContextId" : "camel-1",
87 "x-routeId" : "route2"
90 "/v2/loop/getstatus/{loopName}" : {
92 "operationId" : "route14",
93 "produces" : [ "application/json" ],
102 "description" : "Output type",
104 "$ref" : "#/definitions/Loop"
108 "x-camelContextId" : "camel-1",
109 "x-routeId" : "route14"
112 "/v2/loop/restart/{loopName}" : {
114 "operationId" : "route11",
115 "produces" : [ "application/json" ],
124 "description" : "Output type",
126 "$ref" : "#/definitions/Loop"
130 "x-camelContextId" : "camel-1",
131 "x-routeId" : "route11"
134 "/v2/loop/stop/{loopName}" : {
136 "operationId" : "route10",
137 "produces" : [ "application/json" ],
146 "description" : "Output type",
148 "$ref" : "#/definitions/Loop"
152 "x-camelContextId" : "camel-1",
153 "x-routeId" : "route10"
156 "/v2/loop/submit/{loopName}" : {
158 "operationId" : "route12",
159 "produces" : [ "application/json" ],
168 "description" : "Output type",
170 "$ref" : "#/definitions/Loop"
174 "x-camelContextId" : "camel-1",
175 "x-routeId" : "route12"
178 "/v2/loop/svgRepresentation/{loopName}" : {
180 "operationId" : "route4",
181 "produces" : [ "application/xml" ],
190 "description" : "Output type",
196 "x-camelContextId" : "camel-1",
197 "x-routeId" : "route4"
200 "/v2/loop/undeployLoop/{loopName}" : {
202 "operationId" : "route9",
203 "produces" : [ "application/json" ],
212 "description" : "Output type",
214 "$ref" : "#/definitions/Loop"
218 "x-camelContextId" : "camel-1",
219 "x-routeId" : "route9"
222 "/v2/loop/updateGlobalProperties/{loopName}" : {
224 "operationId" : "route5",
225 "consumes" : [ "application/json" ],
226 "produces" : [ "application/json" ],
237 "$ref" : "#/definitions/JsonObject"
242 "description" : "Output type",
244 "$ref" : "#/definitions/Loop"
248 "x-camelContextId" : "camel-1",
249 "x-routeId" : "route5"
252 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
254 "operationId" : "route7",
255 "consumes" : [ "application/json" ],
256 "produces" : [ "application/json" ],
267 "$ref" : "#/definitions/MicroServicePolicy"
272 "description" : "Output type",
274 "$ref" : "#/definitions/MicroServicePolicy"
278 "x-camelContextId" : "camel-1",
279 "x-routeId" : "route7"
282 "/v2/loop/updateOperationalPolicies/{loopName}" : {
284 "operationId" : "route6",
285 "consumes" : [ "application/json" ],
286 "produces" : [ "application/json" ],
297 "$ref" : "#/definitions/JsonArray"
302 "description" : "Output type",
304 "$ref" : "#/definitions/Loop"
308 "x-camelContextId" : "camel-1",
309 "x-routeId" : "route6"
312 "/v1/clds/action/{action}/{modelName}?test={test}" : {
314 "operationId" : "route23",
315 "consumes" : [ "application/json" ],
316 "produces" : [ "application/json" ],
323 "name" : "modelName}?test={test",
332 "$ref" : "#/definitions/CldsModel"
338 "x-camelContextId" : "camel-1",
339 "x-routeId" : "route23"
342 "/v1/clds/cldsDetails" : {
344 "operationId" : "route15",
345 "produces" : [ "application/json" ],
348 "description" : "Output type",
350 "$ref" : "#/definitions/CldsMonitoringDetails"
354 "x-camelContextId" : "camel-1",
355 "x-routeId" : "route15"
358 "/v1/clds/cldsInfo" : {
360 "operationId" : "route16",
361 "produces" : [ "application/json" ],
364 "description" : "Output type",
366 "$ref" : "#/definitions/CldsInfo"
370 "x-camelContextId" : "camel-1",
371 "x-routeId" : "route16"
374 "/v1/clds/dcae/event?test={test}" : {
376 "operationId" : "route24",
377 "consumes" : [ "application/json" ],
378 "produces" : [ "application/json" ],
384 "$ref" : "#/definitions/DcaeEvent"
390 "x-camelContextId" : "camel-1",
391 "x-routeId" : "route24"
394 "/v1/clds/deploy/{modelName}" : {
396 "operationId" : "route26",
397 "consumes" : [ "application/json" ],
398 "produces" : [ "application/json" ],
400 "name" : "modelName",
409 "$ref" : "#/definitions/CldsModel"
415 "x-camelContextId" : "camel-1",
416 "x-routeId" : "route26"
419 "/v1/clds/model-names" : {
421 "operationId" : "route22",
422 "produces" : [ "application/json" ],
425 "description" : "Output type",
427 "$ref" : "#/definitions/ValueItem"
431 "x-camelContextId" : "camel-1",
432 "x-routeId" : "route22"
435 "/v1/clds/model/{modelName}" : {
437 "operationId" : "route20",
438 "produces" : [ "application/json" ],
440 "name" : "modelName",
447 "description" : "Output type",
449 "$ref" : "#/definitions/CldsModel"
453 "x-camelContextId" : "camel-1",
454 "x-routeId" : "route20"
457 "operationId" : "route21",
458 "consumes" : [ "application/json" ],
459 "produces" : [ "application/json" ],
461 "name" : "modelName",
470 "$ref" : "#/definitions/CldsModel"
475 "description" : "Output type",
477 "$ref" : "#/definitions/CldsModel"
481 "x-camelContextId" : "camel-1",
482 "x-routeId" : "route21"
485 "/v1/clds/model/bpmn/{modelName}" : {
487 "operationId" : "route18",
488 "produces" : [ "text/xml" ],
490 "name" : "modelName",
498 "x-camelContextId" : "camel-1",
499 "x-routeId" : "route18"
502 "/v1/clds/model/image/{modelName}" : {
504 "operationId" : "route19",
505 "produces" : [ "text/xml" ],
507 "name" : "modelName",
515 "x-camelContextId" : "camel-1",
516 "x-routeId" : "route19"
519 "/v1/clds/properties" : {
521 "operationId" : "route25",
522 "produces" : [ "application/json" ],
526 "x-camelContextId" : "camel-1",
527 "x-routeId" : "route25"
530 "/v1/clds/undeploy/{modelName}" : {
532 "operationId" : "route27",
533 "consumes" : [ "application/json" ],
534 "produces" : [ "application/json" ],
536 "name" : "modelName",
545 "$ref" : "#/definitions/CldsModel"
551 "x-camelContextId" : "camel-1",
552 "x-routeId" : "route27"
555 "/v1/cldsTempate/template-names" : {
557 "operationId" : "route32",
558 "produces" : [ "application/json" ],
561 "description" : "Output type",
563 "$ref" : "#/definitions/ValueItem"
567 "x-camelContextId" : "camel-1",
568 "x-routeId" : "route32"
571 "/v1/cldsTempate/template/{templateName}" : {
573 "operationId" : "route30",
574 "produces" : [ "application/json" ],
576 "name" : "templateName",
583 "description" : "Output type",
585 "$ref" : "#/definitions/CldsTemplate"
589 "x-camelContextId" : "camel-1",
590 "x-routeId" : "route30"
593 "operationId" : "route31",
594 "consumes" : [ "application/json" ],
595 "produces" : [ "application/json" ],
597 "name" : "templateName",
606 "$ref" : "#/definitions/CldsTemplate"
611 "description" : "Output type",
613 "$ref" : "#/definitions/CldsTemplate"
617 "x-camelContextId" : "camel-1",
618 "x-routeId" : "route31"
621 "/v1/cldsTempate/template/bpmn/{templateName}" : {
623 "operationId" : "route28",
624 "produces" : [ "text/xml" ],
626 "name" : "templateName",
634 "x-camelContextId" : "camel-1",
635 "x-routeId" : "route28"
638 "/v1/cldsTempate/template/image/{templateName}" : {
640 "operationId" : "route29",
641 "produces" : [ "text/xml" ],
643 "name" : "templateName",
651 "x-camelContextId" : "camel-1",
652 "x-routeId" : "route29"
657 "operationId" : "route40",
658 "produces" : [ "application/json" ],
661 "description" : "Output type",
663 "$ref" : "#/definitions/CldsDictionary"
667 "x-camelContextId" : "camel-1",
668 "x-routeId" : "route40"
671 "/v1/dictionary/{dictionaryName}" : {
673 "operationId" : "route39",
674 "consumes" : [ "application/json" ],
675 "produces" : [ "application/json" ],
677 "name" : "dictionaryName",
686 "$ref" : "#/definitions/CldsDictionary"
691 "description" : "Output type",
693 "$ref" : "#/definitions/CldsDictionary"
697 "x-camelContextId" : "camel-1",
698 "x-routeId" : "route39"
701 "/v1/dictionary/{dictionaryName}/items" : {
703 "produces" : [ "application/json" ],
705 "name" : "dictionaryName",
712 "description" : "Output type",
714 "$ref" : "#/definitions/CldsDictionary"
718 "x-camelContextId" : "camel-1",
722 "consumes" : [ "application/json" ],
723 "produces" : [ "application/json" ],
725 "name" : "dictionaryName",
734 "$ref" : "#/definitions/CldsDictionaryItem"
739 "description" : "Output type",
741 "$ref" : "#/definitions/CldsDictionaryItem"
745 "x-camelContextId" : "camel-1",
749 "/v1/healthcheck" : {
751 "operationId" : "route17",
752 "produces" : [ "application/json" ],
756 "x-camelContextId" : "camel-1",
757 "x-routeId" : "route17"
760 "/v1/tosca/models" : {
762 "operationId" : "route36",
763 "produces" : [ "application/json" ],
766 "description" : "Output type",
768 "$ref" : "#/definitions/CldsToscaModel"
772 "x-camelContextId" : "camel-1",
773 "x-routeId" : "route36"
776 "/v1/tosca/models/{toscaModelName}" : {
778 "produces" : [ "application/json" ],
780 "name" : "toscaModelName",
787 "description" : "Output type",
789 "$ref" : "#/definitions/CldsToscaModel"
793 "x-camelContextId" : "camel-1",
797 "operationId" : "route33",
798 "consumes" : [ "application/json" ],
799 "produces" : [ "application/json" ],
801 "name" : "toscaModelName",
810 "$ref" : "#/definitions/CldsToscaModel"
816 "x-camelContextId" : "camel-1",
817 "x-routeId" : "route33"
820 "/v1/tosca/models/policyType/{policyType}" : {
822 "operationId" : "route34",
823 "produces" : [ "application/json" ],
825 "name" : "policyType",
832 "description" : "Output type",
834 "$ref" : "#/definitions/CldsToscaModel"
838 "x-camelContextId" : "camel-1",
839 "x-routeId" : "route34"
842 "/v1/user/getUser" : {
844 "operationId" : "route41",
845 "produces" : [ "text/plain" ],
849 "x-camelContextId" : "camel-1",
850 "x-routeId" : "route41"
861 "dcaeDeploymentId" : {
864 "dcaeDeploymentStatusUrl" : {
867 "dcaeBlueprintId" : {
870 "svgRepresentation" : {
873 "globalPropertiesJson" : {
874 "$ref" : "#/definitions/JsonObject"
876 "modelPropertiesJson" : {
877 "$ref" : "#/definitions/JsonObject"
882 "lastComputedState" : {
884 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
886 "operationalPolicies" : {
888 "uniqueItems" : true,
890 "$ref" : "#/definitions/OperationalPolicy"
893 "microServicePolicies" : {
895 "uniqueItems" : true,
897 "$ref" : "#/definitions/MicroServicePolicy"
902 "uniqueItems" : true,
904 "$ref" : "#/definitions/LoopLog"
910 "format" : "org.onap.clamp.loop.Loop"
923 "$ref" : "#/definitions/Number"
968 "$ref" : "#/definitions/JsonObject"
974 "$ref" : "#/definitions/JsonArray"
976 "asJsonPrimitive" : {
977 "$ref" : "#/definitions/JsonPrimitive"
980 "$ref" : "#/definitions/JsonNull"
985 "format" : "com.google.gson.JsonArray"
997 "enum" : [ "INFO", "WARNING", "ERROR" ]
1003 "$ref" : "#/definitions/Loop"
1030 "$ref" : "#/definitions/Number"
1078 "$ref" : "#/definitions/JsonObject"
1084 "$ref" : "#/definitions/JsonArray"
1086 "asJsonPrimitive" : {
1087 "$ref" : "#/definitions/JsonPrimitive"
1090 "$ref" : "#/definitions/JsonNull"
1094 "MicroServicePolicy" : {
1104 "$ref" : "#/definitions/JsonObject"
1112 "jsonRepresentation" : {
1113 "$ref" : "#/definitions/JsonObject"
1117 "uniqueItems" : true,
1119 "$ref" : "#/definitions/Loop"
1125 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1141 "$ref" : "#/definitions/JsonObject"
1150 "$ref" : "#/definitions/JsonArray"
1152 "asJsonPrimitive" : {
1153 "$ref" : "#/definitions/JsonPrimitive"
1156 "$ref" : "#/definitions/JsonNull"
1162 "$ref" : "#/definitions/Number"
1200 "format" : "com.google.gson.JsonObject"
1203 "OperationalPolicy" : {
1209 "configurationsJson" : {
1210 "$ref" : "#/definitions/JsonObject"
1213 "$ref" : "#/definitions/Loop"
1215 "jsonRepresentation" : {
1216 "$ref" : "#/definitions/JsonObject"
1233 "$ref" : "#/definitions/JsonObject"
1242 "$ref" : "#/definitions/JsonArray"
1244 "asJsonPrimitive" : {
1245 "$ref" : "#/definitions/JsonPrimitive"
1248 "$ref" : "#/definitions/JsonNull"
1254 "$ref" : "#/definitions/Number"
1291 "CldsModelInstance" : {
1294 "modelInstanceId" : {
1320 "controlNamePrefix" : {
1323 "controlNameUuid" : {
1342 "$ref" : "#/definitions/CldsEvent"
1347 "permittedActionCd" : {
1353 "cldsModelInstanceList" : {
1356 "$ref" : "#/definitions/CldsModelInstance"
1359 "errorMessageForUi" : {
1371 "deploymentStatusUrl" : {
1380 "format" : "org.onap.clamp.clds.model.CldsModel"
1395 "processInstanceId" : {
1403 "CldsMonitoringDetails" : {
1436 "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails"
1448 "permissionReadCl" : {
1451 "permissionUpdateCl" : {
1454 "permissionReadTemplate" : {
1457 "permissionUpdateTemplate" : {
1460 "permissionReadTosca" : {
1463 "permissionUpdateTosca" : {
1469 "format" : "org.onap.clamp.clds.model.CldsInfo"
1484 "$ref" : "#/definitions/CldsModelInstance"
1502 "format" : "org.onap.clamp.clds.model.DcaeEvent"
1514 "format" : "org.onap.clamp.clds.model.ValueItem"
1526 "controlNamePrefix" : {
1529 "controlNameUuid" : {
1559 "userAuthorizedToUpdate" : {
1565 "format" : "org.onap.clamp.clds.model.CldsTemplate"
1568 "CldsDictionary" : {
1574 "dictionaryName" : {
1583 "lastUpdatedDate" : {
1586 "cldsDictionaryItems" : {
1589 "$ref" : "#/definitions/CldsDictionaryItem"
1595 "format" : "org.onap.clamp.clds.model.CldsDictionary"
1598 "CldsDictionaryItem" : {
1607 "dictElementName" : {
1610 "dictElementShortName" : {
1613 "dictElementDesc" : {
1616 "dictElementType" : {
1625 "lastUpdatedDate" : {
1631 "format" : "org.onap.clamp.clds.model.CldsDictionaryItem"
1634 "CldsToscaModel" : {
1640 "toscaModelYaml" : {
1647 "toscaModelJson" : {
1656 "lastUpdatedDate" : {
1665 "toscaModelName" : {
1671 "format" : "org.onap.clamp.clds.model.CldsToscaModel"