4 "version" : "4.1.1-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:43819",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/loop/{loopName}" : {
13 "operationId" : "route167",
14 "produces" : [ "application/json" ],
23 "description" : "Output type",
25 "$ref" : "#/definitions/Loop"
29 "x-camelContextId" : "camel-5",
30 "x-routeId" : "route167"
33 "/v2/loop/delete/{loopName}" : {
35 "operationId" : "route177",
45 "x-camelContextId" : "camel-5",
46 "x-routeId" : "route177"
49 "/v2/loop/deploy/{loopName}" : {
51 "operationId" : "route172",
52 "produces" : [ "application/json" ],
61 "description" : "Output type",
63 "$ref" : "#/definitions/Loop"
67 "x-camelContextId" : "camel-5",
68 "x-routeId" : "route172"
71 "/v2/loop/getAllNames" : {
73 "operationId" : "route166",
74 "produces" : [ "application/json" ],
77 "description" : "Output type",
86 "x-camelContextId" : "camel-5",
87 "x-routeId" : "route166"
90 "/v2/loop/getstatus/{loopName}" : {
92 "operationId" : "route178",
93 "produces" : [ "application/json" ],
102 "description" : "Output type",
104 "$ref" : "#/definitions/Loop"
108 "x-camelContextId" : "camel-5",
109 "x-routeId" : "route178"
112 "/v2/loop/restart/{loopName}" : {
114 "operationId" : "route175",
115 "produces" : [ "application/json" ],
124 "description" : "Output type",
126 "$ref" : "#/definitions/Loop"
130 "x-camelContextId" : "camel-5",
131 "x-routeId" : "route175"
134 "/v2/loop/stop/{loopName}" : {
136 "operationId" : "route174",
137 "produces" : [ "application/json" ],
146 "description" : "Output type",
148 "$ref" : "#/definitions/Loop"
152 "x-camelContextId" : "camel-5",
153 "x-routeId" : "route174"
156 "/v2/loop/submit/{loopName}" : {
158 "operationId" : "route176",
159 "produces" : [ "application/json" ],
168 "description" : "Output type",
170 "$ref" : "#/definitions/Loop"
174 "x-camelContextId" : "camel-5",
175 "x-routeId" : "route176"
178 "/v2/loop/svgRepresentation/{loopName}" : {
180 "operationId" : "route168",
181 "produces" : [ "application/xml" ],
190 "description" : "Output type",
196 "x-camelContextId" : "camel-5",
197 "x-routeId" : "route168"
200 "/v2/loop/undeploy/{loopName}" : {
202 "operationId" : "route173",
203 "produces" : [ "application/json" ],
212 "description" : "Output type",
214 "$ref" : "#/definitions/Loop"
218 "x-camelContextId" : "camel-5",
219 "x-routeId" : "route173"
222 "/v2/loop/updateGlobalProperties/{loopName}" : {
224 "operationId" : "route169",
225 "consumes" : [ "application/json" ],
226 "produces" : [ "application/json" ],
237 "$ref" : "#/definitions/JsonObject"
242 "description" : "Output type",
244 "$ref" : "#/definitions/Loop"
248 "x-camelContextId" : "camel-5",
249 "x-routeId" : "route169"
252 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
254 "operationId" : "route171",
255 "consumes" : [ "application/json" ],
256 "produces" : [ "application/json" ],
267 "$ref" : "#/definitions/MicroServicePolicy"
272 "description" : "Output type",
274 "$ref" : "#/definitions/MicroServicePolicy"
278 "x-camelContextId" : "camel-5",
279 "x-routeId" : "route171"
282 "/v2/loop/updateOperationalPolicies/{loopName}" : {
284 "operationId" : "route170",
285 "consumes" : [ "application/json" ],
286 "produces" : [ "application/json" ],
297 "$ref" : "#/definitions/JsonArray"
302 "description" : "Output type",
304 "$ref" : "#/definitions/Loop"
308 "x-camelContextId" : "camel-5",
309 "x-routeId" : "route170"
312 "/v1/clds/action/{action}/{modelName}?test={test}" : {
314 "operationId" : "route187",
315 "consumes" : [ "application/json" ],
316 "produces" : [ "application/json" ],
323 "name" : "modelName}?test={test",
332 "$ref" : "#/definitions/CldsModel"
338 "x-camelContextId" : "camel-5",
339 "x-routeId" : "route187"
342 "/v1/clds/cldsDetails" : {
344 "operationId" : "route179",
345 "produces" : [ "application/json" ],
348 "description" : "Output type",
350 "$ref" : "#/definitions/CldsMonitoringDetails"
354 "x-camelContextId" : "camel-5",
355 "x-routeId" : "route179"
358 "/v1/clds/cldsInfo" : {
360 "operationId" : "route180",
361 "produces" : [ "application/json" ],
364 "description" : "Output type",
366 "$ref" : "#/definitions/CldsInfo"
370 "x-camelContextId" : "camel-5",
371 "x-routeId" : "route180"
374 "/v1/clds/dcae/event?test={test}" : {
376 "operationId" : "route188",
377 "consumes" : [ "application/json" ],
378 "produces" : [ "application/json" ],
384 "$ref" : "#/definitions/DcaeEvent"
390 "x-camelContextId" : "camel-5",
391 "x-routeId" : "route188"
394 "/v1/clds/deploy/{modelName}" : {
396 "operationId" : "route190",
397 "consumes" : [ "application/json" ],
398 "produces" : [ "application/json" ],
400 "name" : "modelName",
409 "$ref" : "#/definitions/CldsModel"
415 "x-camelContextId" : "camel-5",
416 "x-routeId" : "route190"
419 "/v1/clds/model-names" : {
421 "operationId" : "route186",
422 "produces" : [ "application/json" ],
425 "description" : "Output type",
427 "$ref" : "#/definitions/ValueItem"
431 "x-camelContextId" : "camel-5",
432 "x-routeId" : "route186"
435 "/v1/clds/model/{modelName}" : {
437 "operationId" : "route184",
438 "produces" : [ "application/json" ],
440 "name" : "modelName",
447 "description" : "Output type",
449 "$ref" : "#/definitions/CldsModel"
453 "x-camelContextId" : "camel-5",
454 "x-routeId" : "route184"
457 "operationId" : "route185",
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-5",
482 "x-routeId" : "route185"
485 "/v1/clds/model/bpmn/{modelName}" : {
487 "operationId" : "route182",
488 "produces" : [ "text/xml" ],
490 "name" : "modelName",
498 "x-camelContextId" : "camel-5",
499 "x-routeId" : "route182"
502 "/v1/clds/model/image/{modelName}" : {
504 "operationId" : "route183",
505 "produces" : [ "text/xml" ],
507 "name" : "modelName",
515 "x-camelContextId" : "camel-5",
516 "x-routeId" : "route183"
519 "/v1/clds/properties" : {
521 "operationId" : "route189",
522 "produces" : [ "application/json" ],
526 "x-camelContextId" : "camel-5",
527 "x-routeId" : "route189"
530 "/v1/clds/undeploy/{modelName}" : {
532 "operationId" : "route191",
533 "consumes" : [ "application/json" ],
534 "produces" : [ "application/json" ],
536 "name" : "modelName",
545 "$ref" : "#/definitions/CldsModel"
551 "x-camelContextId" : "camel-5",
552 "x-routeId" : "route191"
555 "/v1/cldsTempate/template-names" : {
557 "operationId" : "route196",
558 "produces" : [ "application/json" ],
561 "description" : "Output type",
563 "$ref" : "#/definitions/ValueItem"
567 "x-camelContextId" : "camel-5",
568 "x-routeId" : "route196"
571 "/v1/cldsTempate/template/{templateName}" : {
573 "operationId" : "route194",
574 "produces" : [ "application/json" ],
576 "name" : "templateName",
583 "description" : "Output type",
585 "$ref" : "#/definitions/CldsTemplate"
589 "x-camelContextId" : "camel-5",
590 "x-routeId" : "route194"
593 "operationId" : "route195",
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-5",
618 "x-routeId" : "route195"
621 "/v1/cldsTempate/template/bpmn/{templateName}" : {
623 "operationId" : "route192",
624 "produces" : [ "text/xml" ],
626 "name" : "templateName",
634 "x-camelContextId" : "camel-5",
635 "x-routeId" : "route192"
638 "/v1/cldsTempate/template/image/{templateName}" : {
640 "operationId" : "route193",
641 "produces" : [ "text/xml" ],
643 "name" : "templateName",
651 "x-camelContextId" : "camel-5",
652 "x-routeId" : "route193"
657 "operationId" : "route204",
658 "produces" : [ "application/json" ],
661 "description" : "Output type",
663 "$ref" : "#/definitions/CldsDictionary"
667 "x-camelContextId" : "camel-5",
668 "x-routeId" : "route204"
671 "/v1/dictionary/{dictionaryName}" : {
673 "operationId" : "route203",
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-5",
698 "x-routeId" : "route203"
701 "/v1/dictionary/{dictionaryName}/items" : {
703 "produces" : [ "application/json" ],
705 "name" : "dictionaryName",
712 "description" : "Output type",
714 "$ref" : "#/definitions/CldsDictionary"
718 "x-camelContextId" : "camel-5",
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-5",
749 "/v1/healthcheck" : {
751 "operationId" : "route181",
752 "produces" : [ "application/json" ],
756 "x-camelContextId" : "camel-5",
757 "x-routeId" : "route181"
760 "/v1/tosca/models" : {
762 "operationId" : "route200",
763 "produces" : [ "application/json" ],
766 "description" : "Output type",
768 "$ref" : "#/definitions/CldsToscaModel"
772 "x-camelContextId" : "camel-5",
773 "x-routeId" : "route200"
776 "/v1/tosca/models/{toscaModelName}" : {
778 "produces" : [ "application/json" ],
780 "name" : "toscaModelName",
787 "description" : "Output type",
789 "$ref" : "#/definitions/CldsToscaModel"
793 "x-camelContextId" : "camel-5",
797 "operationId" : "route197",
798 "consumes" : [ "application/json" ],
799 "produces" : [ "application/json" ],
801 "name" : "toscaModelName",
810 "$ref" : "#/definitions/CldsToscaModel"
816 "x-camelContextId" : "camel-5",
817 "x-routeId" : "route197"
820 "/v1/tosca/models/policyType/{policyType}" : {
822 "operationId" : "route198",
823 "produces" : [ "application/json" ],
825 "name" : "policyType",
832 "description" : "Output type",
834 "$ref" : "#/definitions/CldsToscaModel"
838 "x-camelContextId" : "camel-5",
839 "x-routeId" : "route198"
842 "/v1/user/getUser" : {
844 "operationId" : "route205",
845 "produces" : [ "text/plain" ],
849 "x-camelContextId" : "camel-5",
850 "x-routeId" : "route205"
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" ]
888 "additionalProperties" : {
889 "$ref" : "#/definitions/ExternalComponent"
892 "operationalPolicies" : {
894 "uniqueItems" : true,
896 "$ref" : "#/definitions/OperationalPolicy"
899 "microServicePolicies" : {
901 "uniqueItems" : true,
903 "$ref" : "#/definitions/MicroServicePolicy"
908 "uniqueItems" : true,
910 "$ref" : "#/definitions/LoopLog"
916 "format" : "org.onap.clamp.loop.Loop"
929 "$ref" : "#/definitions/Number"
965 "$ref" : "#/definitions/JsonObject"
967 "asJsonPrimitive" : {
968 "$ref" : "#/definitions/JsonPrimitive"
971 "$ref" : "#/definitions/JsonNull"
986 "$ref" : "#/definitions/JsonArray"
991 "format" : "com.google.gson.JsonArray"
1003 "enum" : [ "INFO", "WARNING", "ERROR" ]
1012 "$ref" : "#/definitions/Loop"
1039 "$ref" : "#/definitions/Number"
1078 "$ref" : "#/definitions/JsonObject"
1080 "asJsonPrimitive" : {
1081 "$ref" : "#/definitions/JsonPrimitive"
1084 "$ref" : "#/definitions/JsonNull"
1099 "$ref" : "#/definitions/JsonArray"
1103 "MicroServicePolicy" : {
1113 "$ref" : "#/definitions/JsonObject"
1121 "jsonRepresentation" : {
1122 "$ref" : "#/definitions/JsonObject"
1126 "uniqueItems" : true,
1128 "$ref" : "#/definitions/Loop"
1134 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
1144 "$ref" : "#/definitions/JsonObject"
1146 "asJsonPrimitive" : {
1147 "$ref" : "#/definitions/JsonPrimitive"
1153 "$ref" : "#/definitions/JsonNull"
1156 "$ref" : "#/definitions/Number"
1204 "$ref" : "#/definitions/JsonArray"
1209 "format" : "com.google.gson.JsonObject"
1212 "ExternalComponent" : {
1216 "$ref" : "#/definitions/ExternalComponentState"
1223 "OperationalPolicy" : {
1229 "configurationsJson" : {
1230 "$ref" : "#/definitions/JsonObject"
1233 "$ref" : "#/definitions/Loop"
1235 "jsonRepresentation" : {
1236 "$ref" : "#/definitions/JsonObject"
1240 "ExternalComponentState" : {
1262 "$ref" : "#/definitions/JsonObject"
1264 "asJsonPrimitive" : {
1265 "$ref" : "#/definitions/JsonPrimitive"
1271 "$ref" : "#/definitions/JsonNull"
1274 "$ref" : "#/definitions/Number"
1322 "$ref" : "#/definitions/JsonArray"
1326 "CldsModelInstance" : {
1329 "modelInstanceId" : {
1355 "controlNamePrefix" : {
1358 "controlNameUuid" : {
1377 "$ref" : "#/definitions/CldsEvent"
1382 "permittedActionCd" : {
1388 "cldsModelInstanceList" : {
1391 "$ref" : "#/definitions/CldsModelInstance"
1394 "errorMessageForUi" : {
1406 "deploymentStatusUrl" : {
1415 "format" : "org.onap.clamp.clds.model.CldsModel"
1430 "processInstanceId" : {
1438 "CldsMonitoringDetails" : {
1471 "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails"
1483 "permissionReadCl" : {
1486 "permissionUpdateCl" : {
1489 "permissionReadTemplate" : {
1492 "permissionUpdateTemplate" : {
1495 "permissionReadTosca" : {
1498 "permissionUpdateTosca" : {
1504 "format" : "org.onap.clamp.clds.model.CldsInfo"
1519 "$ref" : "#/definitions/CldsModelInstance"
1537 "format" : "org.onap.clamp.clds.model.DcaeEvent"
1549 "format" : "org.onap.clamp.clds.model.ValueItem"
1561 "controlNamePrefix" : {
1564 "controlNameUuid" : {
1594 "userAuthorizedToUpdate" : {
1600 "format" : "org.onap.clamp.clds.model.CldsTemplate"
1603 "CldsDictionary" : {
1609 "dictionaryName" : {
1618 "lastUpdatedDate" : {
1621 "cldsDictionaryItems" : {
1624 "$ref" : "#/definitions/CldsDictionaryItem"
1630 "format" : "org.onap.clamp.clds.model.CldsDictionary"
1633 "CldsDictionaryItem" : {
1642 "dictElementName" : {
1645 "dictElementShortName" : {
1648 "dictElementDesc" : {
1651 "dictElementType" : {
1660 "lastUpdatedDate" : {
1666 "format" : "org.onap.clamp.clds.model.CldsDictionaryItem"
1669 "CldsToscaModel" : {
1675 "toscaModelYaml" : {
1682 "toscaModelJson" : {
1691 "lastUpdatedDate" : {
1700 "toscaModelName" : {
1706 "format" : "org.onap.clamp.clds.model.CldsToscaModel"