4 "version" : "5.0.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:33699",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
13 "operationId" : "route18",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/Dictionary"
23 "x-camelContextId" : "camel-1",
24 "x-routeId" : "route18"
27 "operationId" : "route20",
28 "consumes" : [ "application/json" ],
29 "produces" : [ "application/json" ],
35 "$ref" : "#/definitions/Dictionary"
40 "description" : "Output type",
42 "$ref" : "#/definitions/Dictionary"
46 "x-camelContextId" : "camel-1",
47 "x-routeId" : "route20"
50 "/v2/dictionary/{dictionaryName}" : {
52 "produces" : [ "application/json" ],
54 "name" : "dictionaryName",
61 "description" : "Output type",
63 "$ref" : "#/definitions/Dictionary"
67 "x-camelContextId" : "camel-1",
71 "/v2/dictionary/{name}" : {
73 "consumes" : [ "application/json" ],
74 "produces" : [ "application/json" ],
85 "$ref" : "#/definitions/Dictionary"
90 "description" : "Output type",
92 "$ref" : "#/definitions/Dictionary"
96 "x-camelContextId" : "camel-1",
100 "operationId" : "route22",
101 "produces" : [ "application/json" ],
111 "x-camelContextId" : "camel-1",
112 "x-routeId" : "route22"
115 "/v2/dictionary/{name}/elements/{shortName}" : {
117 "produces" : [ "application/json" ],
124 "name" : "shortName",
132 "x-camelContextId" : "camel-1",
136 "/v2/dictionary/secondary/names" : {
138 "produces" : [ "application/json" ],
141 "description" : "Output type",
150 "x-camelContextId" : "camel-1",
154 "/v2/loop/{loopName}" : {
156 "operationId" : "route3",
157 "produces" : [ "application/json" ],
166 "description" : "Output type",
168 "$ref" : "#/definitions/Loop"
172 "x-camelContextId" : "camel-1",
173 "x-routeId" : "route3"
176 "/v2/loop/delete/{loopName}" : {
178 "operationId" : "route14",
188 "x-camelContextId" : "camel-1",
189 "x-routeId" : "route14"
192 "/v2/loop/deploy/{loopName}" : {
194 "operationId" : "route8",
195 "produces" : [ "application/json" ],
204 "description" : "Output type",
206 "$ref" : "#/definitions/Loop"
210 "x-camelContextId" : "camel-1",
211 "x-routeId" : "route8"
214 "/v2/loop/getAllNames" : {
216 "operationId" : "route2",
217 "produces" : [ "application/json" ],
220 "description" : "Output type",
229 "x-camelContextId" : "camel-1",
230 "x-routeId" : "route2"
233 "/v2/loop/getstatus/{loopName}" : {
235 "operationId" : "route15",
236 "produces" : [ "application/json" ],
245 "description" : "Output type",
247 "$ref" : "#/definitions/Loop"
251 "x-camelContextId" : "camel-1",
252 "x-routeId" : "route15"
255 "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
257 "operationId" : "route9",
258 "produces" : [ "application/json" ],
267 "description" : "Output type",
269 "$ref" : "#/definitions/Loop"
273 "x-camelContextId" : "camel-1",
274 "x-routeId" : "route9"
277 "/v2/loop/restart/{loopName}" : {
279 "operationId" : "route12",
280 "produces" : [ "application/json" ],
289 "description" : "Output type",
291 "$ref" : "#/definitions/Loop"
295 "x-camelContextId" : "camel-1",
296 "x-routeId" : "route12"
299 "/v2/loop/stop/{loopName}" : {
301 "operationId" : "route11",
302 "produces" : [ "application/json" ],
311 "description" : "Output type",
313 "$ref" : "#/definitions/Loop"
317 "x-camelContextId" : "camel-1",
318 "x-routeId" : "route11"
321 "/v2/loop/submit/{loopName}" : {
323 "operationId" : "route13",
324 "produces" : [ "application/json" ],
333 "description" : "Output type",
335 "$ref" : "#/definitions/Loop"
339 "x-camelContextId" : "camel-1",
340 "x-routeId" : "route13"
343 "/v2/loop/svgRepresentation/{loopName}" : {
345 "operationId" : "route4",
346 "produces" : [ "application/xml" ],
355 "description" : "Output type",
361 "x-camelContextId" : "camel-1",
362 "x-routeId" : "route4"
365 "/v2/loop/undeploy/{loopName}" : {
367 "operationId" : "route10",
368 "produces" : [ "application/json" ],
377 "description" : "Output type",
379 "$ref" : "#/definitions/Loop"
383 "x-camelContextId" : "camel-1",
384 "x-routeId" : "route10"
387 "/v2/loop/updateGlobalProperties/{loopName}" : {
389 "operationId" : "route5",
390 "consumes" : [ "application/json" ],
391 "produces" : [ "application/json" ],
402 "$ref" : "#/definitions/JsonObject"
407 "description" : "Output type",
409 "$ref" : "#/definitions/Loop"
413 "x-camelContextId" : "camel-1",
414 "x-routeId" : "route5"
417 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
419 "operationId" : "route7",
420 "consumes" : [ "application/json" ],
421 "produces" : [ "application/json" ],
432 "$ref" : "#/definitions/MicroServicePolicy"
437 "description" : "Output type",
439 "$ref" : "#/definitions/MicroServicePolicy"
443 "x-camelContextId" : "camel-1",
444 "x-routeId" : "route7"
447 "/v2/loop/updateOperationalPolicies/{loopName}" : {
449 "operationId" : "route6",
450 "consumes" : [ "application/json" ],
451 "produces" : [ "application/json" ],
462 "$ref" : "#/definitions/JsonArray"
467 "description" : "Output type",
469 "$ref" : "#/definitions/Loop"
473 "x-camelContextId" : "camel-1",
474 "x-routeId" : "route6"
477 "/v2/policyToscaModels" : {
479 "operationId" : "route25",
480 "produces" : [ "application/json" ],
483 "description" : "Output type",
485 "$ref" : "#/definitions/PolicyModel"
489 "x-camelContextId" : "camel-1",
490 "x-routeId" : "route25"
493 "/v2/policyToscaModels/{policyModelType}" : {
495 "produces" : [ "application/json" ],
497 "name" : "policyModelType",
504 "description" : "Output type",
506 "$ref" : "#/definitions/PolicyModel"
510 "x-camelContextId" : "camel-1",
514 "operationId" : "route26",
515 "consumes" : [ "plain/text" ],
516 "produces" : [ "application/json" ],
518 "name" : "policyModelType",
532 "description" : "Output type",
534 "$ref" : "#/definitions/PolicyModel"
538 "x-camelContextId" : "camel-1",
539 "x-routeId" : "route26"
542 "/v2/policyToscaModels/yaml/{policyModelType}" : {
544 "produces" : [ "application/json" ],
546 "name" : "policyModelType",
553 "description" : "Output type",
559 "x-camelContextId" : "camel-1",
565 "operationId" : "route29",
566 "produces" : [ "application/json" ],
569 "description" : "Output type",
571 "$ref" : "#/definitions/LoopTemplate"
575 "x-camelContextId" : "camel-1",
576 "x-routeId" : "route29"
579 "/v2/templates/{templateName}" : {
581 "produces" : [ "application/json" ],
583 "name" : "templateName",
590 "description" : "Output type",
592 "$ref" : "#/definitions/LoopTemplate"
596 "x-camelContextId" : "camel-1",
600 "/v2/templates/names" : {
602 "produces" : [ "application/json" ],
605 "description" : "Output type",
614 "x-camelContextId" : "camel-1",
618 "/v1/clds/cldsInfo" : {
620 "operationId" : "route30",
621 "produces" : [ "application/json" ],
624 "description" : "Output type",
626 "$ref" : "#/definitions/CldsInfo"
630 "x-camelContextId" : "camel-1",
631 "x-routeId" : "route30"
634 "/v1/healthcheck" : {
636 "operationId" : "route31",
637 "produces" : [ "application/json" ],
640 "description" : "Output type",
642 "$ref" : "#/definitions/CldsHealthCheck"
646 "x-camelContextId" : "camel-1",
647 "x-routeId" : "route31"
650 "/v1/user/getUser" : {
652 "operationId" : "route32",
653 "produces" : [ "text/plain" ],
657 "x-camelContextId" : "camel-1",
658 "x-routeId" : "route32"
683 "secondLevelDictionary" : {
687 "subDictionaryType" : {
690 "dictionaryElements" : {
692 "uniqueItems" : true,
694 "$ref" : "#/definitions/DictionaryElement"
700 "format" : "org.onap.clamp.tosca.Dictionary"
703 "DictionaryElement" : {
735 "usedByDictionaries" : {
737 "uniqueItems" : true,
739 "$ref" : "#/definitions/Dictionary"
764 "dcaeDeploymentId" : {
767 "dcaeDeploymentStatusUrl" : {
770 "svgRepresentation" : {
773 "globalPropertiesJson" : {
774 "$ref" : "#/definitions/JsonObject"
777 "$ref" : "#/definitions/Service"
779 "lastComputedState" : {
781 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
785 "additionalProperties" : {
786 "$ref" : "#/definitions/ExternalComponent"
789 "operationalPolicies" : {
791 "uniqueItems" : true,
793 "$ref" : "#/definitions/OperationalPolicy"
796 "microServicePolicies" : {
798 "uniqueItems" : true,
800 "$ref" : "#/definitions/MicroServicePolicy"
805 "uniqueItems" : true,
807 "$ref" : "#/definitions/LoopLog"
811 "$ref" : "#/definitions/LoopTemplate"
816 "format" : "org.onap.clamp.loop.Loop"
845 "$ref" : "#/definitions/Number"
874 "$ref" : "#/definitions/JsonObject"
876 "asJsonPrimitive" : {
877 "$ref" : "#/definitions/JsonPrimitive"
880 "$ref" : "#/definitions/JsonArray"
895 "$ref" : "#/definitions/JsonNull"
899 "MicroServicePolicy" : {
916 "jsonRepresentation" : {
917 "$ref" : "#/definitions/JsonObject"
919 "configurationsJson" : {
920 "$ref" : "#/definitions/JsonObject"
922 "loopElementModel" : {
923 "$ref" : "#/definitions/LoopElementModel"
937 "deviceTypeScope" : {
948 "uniqueItems" : true,
950 "$ref" : "#/definitions/Loop"
953 "dcaeDeploymentId" : {
956 "dcaeDeploymentStatusUrl" : {
959 "dcaeBlueprintId" : {
965 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
975 "$ref" : "#/definitions/JsonObject"
977 "asJsonPrimitive" : {
978 "$ref" : "#/definitions/JsonPrimitive"
984 "$ref" : "#/definitions/JsonArray"
1006 "$ref" : "#/definitions/JsonNull"
1009 "$ref" : "#/definitions/Number"
1040 "format" : "com.google.gson.JsonObject"
1060 "policyModelType" : {
1066 "policyModelTosca" : {
1072 "usedByElementModels" : {
1074 "uniqueItems" : true,
1076 "$ref" : "#/definitions/LoopElementModel"
1082 "format" : "org.onap.clamp.loop.template.PolicyModel"
1097 "serviceDetails" : {
1098 "$ref" : "#/definitions/JsonObject"
1100 "resourceDetails" : {
1101 "$ref" : "#/definitions/JsonObject"
1105 "LoopTemplateLoopElementModel" : {
1109 "$ref" : "#/definitions/LoopTemplate"
1111 "loopElementModel" : {
1112 "$ref" : "#/definitions/LoopElementModel"
1120 "OperationalPolicy" : {
1137 "jsonRepresentation" : {
1138 "$ref" : "#/definitions/JsonObject"
1140 "configurationsJson" : {
1141 "$ref" : "#/definitions/JsonObject"
1143 "loopElementModel" : {
1144 "$ref" : "#/definitions/LoopElementModel"
1153 "$ref" : "#/definitions/Loop"
1156 "$ref" : "#/definitions/PolicyModel"
1167 "$ref" : "#/definitions/JsonObject"
1169 "asJsonPrimitive" : {
1170 "$ref" : "#/definitions/JsonPrimitive"
1176 "$ref" : "#/definitions/JsonArray"
1198 "$ref" : "#/definitions/JsonNull"
1201 "$ref" : "#/definitions/Number"
1248 "$ref" : "#/definitions/Number"
1277 "$ref" : "#/definitions/JsonObject"
1279 "asJsonPrimitive" : {
1280 "$ref" : "#/definitions/JsonPrimitive"
1283 "$ref" : "#/definitions/JsonArray"
1298 "$ref" : "#/definitions/JsonNull"
1303 "format" : "com.google.gson.JsonArray"
1315 "enum" : [ "INFO", "WARNING", "ERROR" ]
1324 "$ref" : "#/definitions/Loop"
1335 "ExternalComponent" : {
1339 "$ref" : "#/definitions/ExternalComponentState"
1366 "dcaeBlueprintId" : {
1372 "svgRepresentation" : {
1375 "loopElementModelsUsed" : {
1377 "uniqueItems" : true,
1379 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1383 "$ref" : "#/definitions/Service"
1385 "maximumInstancesAllowed" : {
1389 "uniqueBlueprint" : {
1392 "allowedLoopType" : {
1394 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1399 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1402 "ExternalComponentState" : {
1417 "LoopElementModel" : {
1437 "dcaeBlueprintId" : {
1443 "loopElementType" : {
1451 "uniqueItems" : true,
1453 "$ref" : "#/definitions/PolicyModel"
1456 "usedByLoopTemplates" : {
1458 "uniqueItems" : true,
1460 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1474 "permissionReadCl" : {
1477 "permissionUpdateCl" : {
1480 "permissionReadTemplate" : {
1483 "permissionUpdateTemplate" : {
1486 "permissionReadTosca" : {
1489 "permissionUpdateTosca" : {
1495 "format" : "org.onap.clamp.clds.model.CldsInfo"
1498 "CldsHealthCheck" : {
1501 "healthCheckComponent" : {
1504 "healthCheckStatus" : {
1513 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"