4 "version" : "5.0.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:37295",
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/healthcheck" : {
620 "operationId" : "route30",
621 "produces" : [ "application/json" ],
624 "description" : "Output type",
626 "$ref" : "#/definitions/CldsHealthCheck"
630 "x-camelContextId" : "camel-1",
631 "x-routeId" : "route30"
634 "/v1/user/getUser" : {
636 "operationId" : "route31",
637 "produces" : [ "text/plain" ],
641 "x-camelContextId" : "camel-1",
642 "x-routeId" : "route31"
667 "secondLevelDictionary" : {
671 "subDictionaryType" : {
674 "dictionaryElements" : {
676 "uniqueItems" : true,
678 "$ref" : "#/definitions/DictionaryElement"
684 "format" : "org.onap.clamp.tosca.Dictionary"
687 "DictionaryElement" : {
719 "usedByDictionaries" : {
721 "uniqueItems" : true,
723 "$ref" : "#/definitions/Dictionary"
748 "dcaeDeploymentId" : {
751 "dcaeDeploymentStatusUrl" : {
754 "svgRepresentation" : {
757 "globalPropertiesJson" : {
758 "$ref" : "#/definitions/JsonObject"
761 "$ref" : "#/definitions/Service"
763 "lastComputedState" : {
765 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
769 "additionalProperties" : {
770 "$ref" : "#/definitions/ExternalComponent"
773 "operationalPolicies" : {
775 "uniqueItems" : true,
777 "$ref" : "#/definitions/OperationalPolicy"
780 "microServicePolicies" : {
782 "uniqueItems" : true,
784 "$ref" : "#/definitions/MicroServicePolicy"
789 "uniqueItems" : true,
791 "$ref" : "#/definitions/LoopLog"
795 "$ref" : "#/definitions/LoopTemplate"
800 "format" : "org.onap.clamp.loop.Loop"
816 "$ref" : "#/definitions/Number"
858 "$ref" : "#/definitions/JsonArray"
861 "$ref" : "#/definitions/JsonObject"
875 "asJsonPrimitive" : {
876 "$ref" : "#/definitions/JsonPrimitive"
879 "$ref" : "#/definitions/JsonNull"
883 "MicroServicePolicy" : {
900 "jsonRepresentation" : {
901 "$ref" : "#/definitions/JsonObject"
903 "configurationsJson" : {
904 "$ref" : "#/definitions/JsonObject"
906 "loopElementModel" : {
907 "$ref" : "#/definitions/LoopElementModel"
921 "deviceTypeScope" : {
929 "uniqueItems" : true,
931 "$ref" : "#/definitions/Loop"
934 "dcaeDeploymentId" : {
937 "dcaeDeploymentStatusUrl" : {
940 "dcaeBlueprintId" : {
944 "$ref" : "#/definitions/PolicyModel"
949 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
962 "$ref" : "#/definitions/JsonArray"
965 "$ref" : "#/definitions/JsonObject"
979 "asJsonPrimitive" : {
980 "$ref" : "#/definitions/JsonPrimitive"
983 "$ref" : "#/definitions/JsonNull"
986 "$ref" : "#/definitions/Number"
1024 "format" : "com.google.gson.JsonObject"
1044 "policyModelType" : {
1050 "policyModelTosca" : {
1056 "usedByElementModels" : {
1058 "uniqueItems" : true,
1060 "$ref" : "#/definitions/LoopElementModel"
1063 "policyPdpGroup" : {
1064 "$ref" : "#/definitions/JsonObject"
1069 "format" : "org.onap.clamp.loop.template.PolicyModel"
1084 "serviceDetails" : {
1085 "$ref" : "#/definitions/JsonObject"
1087 "resourceDetails" : {
1088 "$ref" : "#/definitions/JsonObject"
1092 "LoopTemplateLoopElementModel" : {
1096 "$ref" : "#/definitions/LoopTemplate"
1098 "loopElementModel" : {
1099 "$ref" : "#/definitions/LoopElementModel"
1107 "OperationalPolicy" : {
1124 "jsonRepresentation" : {
1125 "$ref" : "#/definitions/JsonObject"
1127 "configurationsJson" : {
1128 "$ref" : "#/definitions/JsonObject"
1130 "loopElementModel" : {
1131 "$ref" : "#/definitions/LoopElementModel"
1143 "$ref" : "#/definitions/Loop"
1146 "$ref" : "#/definitions/PolicyModel"
1160 "$ref" : "#/definitions/JsonArray"
1163 "$ref" : "#/definitions/JsonObject"
1177 "asJsonPrimitive" : {
1178 "$ref" : "#/definitions/JsonPrimitive"
1181 "$ref" : "#/definitions/JsonNull"
1184 "$ref" : "#/definitions/Number"
1231 "$ref" : "#/definitions/Number"
1267 "$ref" : "#/definitions/JsonArray"
1270 "$ref" : "#/definitions/JsonObject"
1284 "asJsonPrimitive" : {
1285 "$ref" : "#/definitions/JsonPrimitive"
1288 "$ref" : "#/definitions/JsonNull"
1293 "format" : "com.google.gson.JsonArray"
1305 "enum" : [ "INFO", "WARNING", "ERROR" ]
1314 "$ref" : "#/definitions/Loop"
1325 "ExternalComponent" : {
1329 "$ref" : "#/definitions/ExternalComponentState"
1356 "dcaeBlueprintId" : {
1362 "svgRepresentation" : {
1365 "loopElementModelsUsed" : {
1367 "uniqueItems" : true,
1369 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1373 "$ref" : "#/definitions/Service"
1375 "maximumInstancesAllowed" : {
1379 "uniqueBlueprint" : {
1382 "allowedLoopType" : {
1384 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1389 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1392 "ExternalComponentState" : {
1407 "LoopElementModel" : {
1427 "dcaeBlueprintId" : {
1433 "loopElementType" : {
1441 "uniqueItems" : true,
1443 "$ref" : "#/definitions/PolicyModel"
1446 "usedByLoopTemplates" : {
1448 "uniqueItems" : true,
1450 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1455 "CldsHealthCheck" : {
1458 "healthCheckComponent" : {
1461 "healthCheckStatus" : {
1470 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"