4 "version" : "5.0.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:32977",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
13 "operationId" : "route111",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/Dictionary"
23 "x-camelContextId" : "camel-4",
24 "x-routeId" : "route111"
27 "operationId" : "route113",
28 "consumes" : [ "application/json" ],
29 "produces" : [ "application/json" ],
35 "$ref" : "#/definitions/Dictionary"
40 "description" : "Output type",
42 "$ref" : "#/definitions/Dictionary"
46 "x-camelContextId" : "camel-4",
47 "x-routeId" : "route113"
50 "/v2/dictionary/{dictionaryName}" : {
52 "produces" : [ "application/json" ],
54 "name" : "dictionaryName",
61 "description" : "Output type",
63 "$ref" : "#/definitions/Dictionary"
67 "x-camelContextId" : "camel-4",
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-4",
100 "operationId" : "route115",
101 "produces" : [ "application/json" ],
111 "x-camelContextId" : "camel-4",
112 "x-routeId" : "route115"
115 "/v2/dictionary/{name}/elements/{shortName}" : {
117 "produces" : [ "application/json" ],
124 "name" : "shortName",
132 "x-camelContextId" : "camel-4",
136 "/v2/dictionary/secondary/names" : {
138 "produces" : [ "application/json" ],
141 "description" : "Output type",
150 "x-camelContextId" : "camel-4",
154 "/v2/loop/{loopName}" : {
156 "operationId" : "route96",
157 "produces" : [ "application/json" ],
166 "description" : "Output type",
168 "$ref" : "#/definitions/Loop"
172 "x-camelContextId" : "camel-4",
173 "x-routeId" : "route96"
176 "/v2/loop/delete/{loopName}" : {
178 "operationId" : "route107",
188 "x-camelContextId" : "camel-4",
189 "x-routeId" : "route107"
192 "/v2/loop/deploy/{loopName}" : {
194 "operationId" : "route101",
195 "produces" : [ "application/json" ],
204 "description" : "Output type",
206 "$ref" : "#/definitions/Loop"
210 "x-camelContextId" : "camel-4",
211 "x-routeId" : "route101"
214 "/v2/loop/getAllNames" : {
216 "operationId" : "route95",
217 "produces" : [ "application/json" ],
220 "description" : "Output type",
229 "x-camelContextId" : "camel-4",
230 "x-routeId" : "route95"
233 "/v2/loop/getstatus/{loopName}" : {
235 "operationId" : "route108",
236 "produces" : [ "application/json" ],
245 "description" : "Output type",
247 "$ref" : "#/definitions/Loop"
251 "x-camelContextId" : "camel-4",
252 "x-routeId" : "route108"
255 "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
257 "operationId" : "route102",
258 "produces" : [ "application/json" ],
267 "description" : "Output type",
269 "$ref" : "#/definitions/Loop"
273 "x-camelContextId" : "camel-4",
274 "x-routeId" : "route102"
277 "/v2/loop/restart/{loopName}" : {
279 "operationId" : "route105",
280 "produces" : [ "application/json" ],
289 "description" : "Output type",
291 "$ref" : "#/definitions/Loop"
295 "x-camelContextId" : "camel-4",
296 "x-routeId" : "route105"
299 "/v2/loop/stop/{loopName}" : {
301 "operationId" : "route104",
302 "produces" : [ "application/json" ],
311 "description" : "Output type",
313 "$ref" : "#/definitions/Loop"
317 "x-camelContextId" : "camel-4",
318 "x-routeId" : "route104"
321 "/v2/loop/submit/{loopName}" : {
323 "operationId" : "route106",
324 "produces" : [ "application/json" ],
333 "description" : "Output type",
335 "$ref" : "#/definitions/Loop"
339 "x-camelContextId" : "camel-4",
340 "x-routeId" : "route106"
343 "/v2/loop/svgRepresentation/{loopName}" : {
345 "operationId" : "route97",
346 "produces" : [ "application/xml" ],
355 "description" : "Output type",
361 "x-camelContextId" : "camel-4",
362 "x-routeId" : "route97"
365 "/v2/loop/undeploy/{loopName}" : {
367 "operationId" : "route103",
368 "produces" : [ "application/json" ],
377 "description" : "Output type",
379 "$ref" : "#/definitions/Loop"
383 "x-camelContextId" : "camel-4",
384 "x-routeId" : "route103"
387 "/v2/loop/updateGlobalProperties/{loopName}" : {
389 "operationId" : "route98",
390 "consumes" : [ "application/json" ],
391 "produces" : [ "application/json" ],
402 "$ref" : "#/definitions/JsonObject"
407 "description" : "Output type",
409 "$ref" : "#/definitions/Loop"
413 "x-camelContextId" : "camel-4",
414 "x-routeId" : "route98"
417 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
419 "operationId" : "route100",
420 "consumes" : [ "application/json" ],
421 "produces" : [ "application/json" ],
432 "$ref" : "#/definitions/MicroServicePolicy"
437 "description" : "Output type",
439 "$ref" : "#/definitions/MicroServicePolicy"
443 "x-camelContextId" : "camel-4",
444 "x-routeId" : "route100"
447 "/v2/loop/updateOperationalPolicies/{loopName}" : {
449 "operationId" : "route99",
450 "consumes" : [ "application/json" ],
451 "produces" : [ "application/json" ],
462 "$ref" : "#/definitions/JsonArray"
467 "description" : "Output type",
469 "$ref" : "#/definitions/Loop"
473 "x-camelContextId" : "camel-4",
474 "x-routeId" : "route99"
477 "/v2/policyToscaModels" : {
479 "operationId" : "route118",
480 "produces" : [ "application/json" ],
483 "description" : "Output type",
485 "$ref" : "#/definitions/PolicyModel"
489 "x-camelContextId" : "camel-4",
490 "x-routeId" : "route118"
493 "/v2/policyToscaModels/{policyModelType}" : {
495 "produces" : [ "application/json" ],
497 "name" : "policyModelType",
504 "description" : "Output type",
506 "$ref" : "#/definitions/PolicyModel"
510 "x-camelContextId" : "camel-4",
514 "operationId" : "route119",
515 "consumes" : [ "plain/text" ],
516 "produces" : [ "application/json" ],
518 "name" : "policyModelType",
532 "description" : "Output type",
534 "$ref" : "#/definitions/PolicyModel"
538 "x-camelContextId" : "camel-4",
539 "x-routeId" : "route119"
542 "/v2/policyToscaModels/yaml/{policyModelType}" : {
544 "produces" : [ "application/json" ],
546 "name" : "policyModelType",
553 "description" : "Output type",
559 "x-camelContextId" : "camel-4",
565 "operationId" : "route122",
566 "produces" : [ "application/json" ],
569 "description" : "Output type",
571 "$ref" : "#/definitions/LoopTemplate"
575 "x-camelContextId" : "camel-4",
576 "x-routeId" : "route122"
579 "/v2/templates/{templateName}" : {
581 "produces" : [ "application/json" ],
583 "name" : "templateName",
590 "description" : "Output type",
592 "$ref" : "#/definitions/LoopTemplate"
596 "x-camelContextId" : "camel-4",
600 "/v2/templates/names" : {
602 "produces" : [ "application/json" ],
605 "description" : "Output type",
614 "x-camelContextId" : "camel-4",
618 "/v1/healthcheck" : {
620 "operationId" : "route123",
621 "produces" : [ "application/json" ],
624 "description" : "Output type",
626 "$ref" : "#/definitions/CldsHealthCheck"
630 "x-camelContextId" : "camel-4",
631 "x-routeId" : "route123"
634 "/v1/user/getUser" : {
636 "operationId" : "route124",
637 "produces" : [ "text/plain" ],
641 "x-camelContextId" : "camel-4",
642 "x-routeId" : "route124"
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"
857 "asJsonPrimitive" : {
858 "$ref" : "#/definitions/JsonPrimitive"
861 "$ref" : "#/definitions/JsonObject"
864 "$ref" : "#/definitions/JsonArray"
879 "$ref" : "#/definitions/JsonNull"
883 "MicroServicePolicy" : {
900 "jsonRepresentation" : {
901 "$ref" : "#/definitions/JsonObject"
903 "configurationsJson" : {
904 "$ref" : "#/definitions/JsonObject"
906 "loopElementModel" : {
907 "$ref" : "#/definitions/LoopElementModel"
918 "deviceTypeScope" : {
926 "uniqueItems" : true,
928 "$ref" : "#/definitions/Loop"
931 "dcaeDeploymentId" : {
934 "dcaeDeploymentStatusUrl" : {
937 "dcaeBlueprintId" : {
941 "$ref" : "#/definitions/PolicyModel"
946 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
955 "asJsonPrimitive" : {
956 "$ref" : "#/definitions/JsonPrimitive"
962 "$ref" : "#/definitions/JsonObject"
965 "$ref" : "#/definitions/JsonArray"
980 "$ref" : "#/definitions/JsonNull"
983 "$ref" : "#/definitions/Number"
1021 "format" : "com.google.gson.JsonObject"
1041 "policyModelType" : {
1047 "policyModelTosca" : {
1053 "usedByElementModels" : {
1055 "uniqueItems" : true,
1057 "$ref" : "#/definitions/LoopElementModel"
1063 "format" : "org.onap.clamp.loop.template.PolicyModel"
1078 "serviceDetails" : {
1079 "$ref" : "#/definitions/JsonObject"
1081 "resourceDetails" : {
1082 "$ref" : "#/definitions/JsonObject"
1086 "LoopTemplateLoopElementModel" : {
1090 "$ref" : "#/definitions/LoopTemplate"
1092 "loopElementModel" : {
1093 "$ref" : "#/definitions/LoopElementModel"
1101 "OperationalPolicy" : {
1118 "jsonRepresentation" : {
1119 "$ref" : "#/definitions/JsonObject"
1121 "configurationsJson" : {
1122 "$ref" : "#/definitions/JsonObject"
1124 "loopElementModel" : {
1125 "$ref" : "#/definitions/LoopElementModel"
1134 "$ref" : "#/definitions/Loop"
1137 "$ref" : "#/definitions/PolicyModel"
1147 "asJsonPrimitive" : {
1148 "$ref" : "#/definitions/JsonPrimitive"
1154 "$ref" : "#/definitions/JsonObject"
1157 "$ref" : "#/definitions/JsonArray"
1172 "$ref" : "#/definitions/JsonNull"
1175 "$ref" : "#/definitions/Number"
1222 "$ref" : "#/definitions/Number"
1257 "asJsonPrimitive" : {
1258 "$ref" : "#/definitions/JsonPrimitive"
1261 "$ref" : "#/definitions/JsonObject"
1264 "$ref" : "#/definitions/JsonArray"
1279 "$ref" : "#/definitions/JsonNull"
1284 "format" : "com.google.gson.JsonArray"
1296 "enum" : [ "INFO", "WARNING", "ERROR" ]
1305 "$ref" : "#/definitions/Loop"
1316 "ExternalComponent" : {
1320 "$ref" : "#/definitions/ExternalComponentState"
1347 "dcaeBlueprintId" : {
1353 "svgRepresentation" : {
1356 "loopElementModelsUsed" : {
1358 "uniqueItems" : true,
1360 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1364 "$ref" : "#/definitions/Service"
1366 "maximumInstancesAllowed" : {
1370 "uniqueBlueprint" : {
1373 "allowedLoopType" : {
1375 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1380 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1383 "ExternalComponentState" : {
1398 "LoopElementModel" : {
1418 "dcaeBlueprintId" : {
1424 "loopElementType" : {
1432 "uniqueItems" : true,
1434 "$ref" : "#/definitions/PolicyModel"
1437 "usedByLoopTemplates" : {
1439 "uniqueItems" : true,
1441 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1446 "CldsHealthCheck" : {
1449 "healthCheckComponent" : {
1452 "healthCheckStatus" : {
1461 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"