4 "version" : "5.0.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:46347",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
13 "operationId" : "route49",
14 "produces" : [ "application/json" ],
17 "description" : "Output type",
19 "$ref" : "#/definitions/Dictionary"
23 "x-camelContextId" : "camel-2",
24 "x-routeId" : "route49"
27 "operationId" : "route51",
28 "consumes" : [ "application/json" ],
29 "produces" : [ "application/json" ],
35 "$ref" : "#/definitions/Dictionary"
40 "description" : "Output type",
42 "$ref" : "#/definitions/Dictionary"
46 "x-camelContextId" : "camel-2",
47 "x-routeId" : "route51"
50 "/v2/dictionary/{dictionaryName}" : {
52 "produces" : [ "application/json" ],
54 "name" : "dictionaryName",
61 "description" : "Output type",
63 "$ref" : "#/definitions/Dictionary"
67 "x-camelContextId" : "camel-2",
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-2",
100 "operationId" : "route53",
101 "produces" : [ "application/json" ],
111 "x-camelContextId" : "camel-2",
112 "x-routeId" : "route53"
115 "/v2/dictionary/{name}/elements/{shortName}" : {
117 "produces" : [ "application/json" ],
124 "name" : "shortName",
132 "x-camelContextId" : "camel-2",
136 "/v2/dictionary/secondary/names" : {
138 "produces" : [ "application/json" ],
141 "description" : "Output type",
150 "x-camelContextId" : "camel-2",
154 "/v2/loop/{loopName}" : {
156 "operationId" : "route34",
157 "produces" : [ "application/json" ],
166 "description" : "Output type",
168 "$ref" : "#/definitions/Loop"
172 "x-camelContextId" : "camel-2",
173 "x-routeId" : "route34"
176 "/v2/loop/delete/{loopName}" : {
178 "operationId" : "route45",
188 "x-camelContextId" : "camel-2",
189 "x-routeId" : "route45"
192 "/v2/loop/deploy/{loopName}" : {
194 "operationId" : "route39",
195 "produces" : [ "application/json" ],
204 "description" : "Output type",
206 "$ref" : "#/definitions/Loop"
210 "x-camelContextId" : "camel-2",
211 "x-routeId" : "route39"
214 "/v2/loop/getAllNames" : {
216 "operationId" : "route33",
217 "produces" : [ "application/json" ],
220 "description" : "Output type",
229 "x-camelContextId" : "camel-2",
230 "x-routeId" : "route33"
233 "/v2/loop/getstatus/{loopName}" : {
235 "operationId" : "route46",
236 "produces" : [ "application/json" ],
245 "description" : "Output type",
247 "$ref" : "#/definitions/Loop"
251 "x-camelContextId" : "camel-2",
252 "x-routeId" : "route46"
255 "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
257 "operationId" : "route40",
258 "produces" : [ "application/json" ],
267 "description" : "Output type",
269 "$ref" : "#/definitions/Loop"
273 "x-camelContextId" : "camel-2",
274 "x-routeId" : "route40"
277 "/v2/loop/restart/{loopName}" : {
279 "operationId" : "route43",
280 "produces" : [ "application/json" ],
289 "description" : "Output type",
291 "$ref" : "#/definitions/Loop"
295 "x-camelContextId" : "camel-2",
296 "x-routeId" : "route43"
299 "/v2/loop/stop/{loopName}" : {
301 "operationId" : "route42",
302 "produces" : [ "application/json" ],
311 "description" : "Output type",
313 "$ref" : "#/definitions/Loop"
317 "x-camelContextId" : "camel-2",
318 "x-routeId" : "route42"
321 "/v2/loop/submit/{loopName}" : {
323 "operationId" : "route44",
324 "produces" : [ "application/json" ],
333 "description" : "Output type",
335 "$ref" : "#/definitions/Loop"
339 "x-camelContextId" : "camel-2",
340 "x-routeId" : "route44"
343 "/v2/loop/svgRepresentation/{loopName}" : {
345 "operationId" : "route35",
346 "produces" : [ "application/xml" ],
355 "description" : "Output type",
361 "x-camelContextId" : "camel-2",
362 "x-routeId" : "route35"
365 "/v2/loop/undeploy/{loopName}" : {
367 "operationId" : "route41",
368 "produces" : [ "application/json" ],
377 "description" : "Output type",
379 "$ref" : "#/definitions/Loop"
383 "x-camelContextId" : "camel-2",
384 "x-routeId" : "route41"
387 "/v2/loop/updateGlobalProperties/{loopName}" : {
389 "operationId" : "route36",
390 "consumes" : [ "application/json" ],
391 "produces" : [ "application/json" ],
402 "$ref" : "#/definitions/JsonObject"
407 "description" : "Output type",
409 "$ref" : "#/definitions/Loop"
413 "x-camelContextId" : "camel-2",
414 "x-routeId" : "route36"
417 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
419 "operationId" : "route38",
420 "consumes" : [ "application/json" ],
421 "produces" : [ "application/json" ],
432 "$ref" : "#/definitions/MicroServicePolicy"
437 "description" : "Output type",
439 "$ref" : "#/definitions/MicroServicePolicy"
443 "x-camelContextId" : "camel-2",
444 "x-routeId" : "route38"
447 "/v2/loop/updateOperationalPolicies/{loopName}" : {
449 "operationId" : "route37",
450 "consumes" : [ "application/json" ],
451 "produces" : [ "application/json" ],
462 "$ref" : "#/definitions/JsonArray"
467 "description" : "Output type",
469 "$ref" : "#/definitions/Loop"
473 "x-camelContextId" : "camel-2",
474 "x-routeId" : "route37"
477 "/v2/policyToscaModels" : {
479 "operationId" : "route56",
480 "produces" : [ "application/json" ],
483 "description" : "Output type",
485 "$ref" : "#/definitions/PolicyModel"
489 "x-camelContextId" : "camel-2",
490 "x-routeId" : "route56"
493 "/v2/policyToscaModels/{policyModelType}" : {
495 "produces" : [ "application/json" ],
497 "name" : "policyModelType",
504 "description" : "Output type",
506 "$ref" : "#/definitions/PolicyModel"
510 "x-camelContextId" : "camel-2",
514 "operationId" : "route57",
515 "consumes" : [ "plain/text" ],
516 "produces" : [ "application/json" ],
518 "name" : "policyModelType",
532 "description" : "Output type",
534 "$ref" : "#/definitions/PolicyModel"
538 "x-camelContextId" : "camel-2",
539 "x-routeId" : "route57"
542 "/v2/policyToscaModels/yaml/{policyModelType}" : {
544 "produces" : [ "application/json" ],
546 "name" : "policyModelType",
553 "description" : "Output type",
559 "x-camelContextId" : "camel-2",
565 "operationId" : "route60",
566 "produces" : [ "application/json" ],
569 "description" : "Output type",
571 "$ref" : "#/definitions/LoopTemplate"
575 "x-camelContextId" : "camel-2",
576 "x-routeId" : "route60"
579 "/v2/templates/{templateName}" : {
581 "produces" : [ "application/json" ],
583 "name" : "templateName",
590 "description" : "Output type",
592 "$ref" : "#/definitions/LoopTemplate"
596 "x-camelContextId" : "camel-2",
600 "/v2/templates/names" : {
602 "produces" : [ "application/json" ],
605 "description" : "Output type",
614 "x-camelContextId" : "camel-2",
618 "/v1/healthcheck" : {
620 "operationId" : "route61",
621 "produces" : [ "application/json" ],
624 "description" : "Output type",
626 "$ref" : "#/definitions/CldsHealthCheck"
630 "x-camelContextId" : "camel-2",
631 "x-routeId" : "route61"
634 "/v1/user/getUser" : {
636 "operationId" : "route62",
637 "produces" : [ "text/plain" ],
641 "x-camelContextId" : "camel-2",
642 "x-routeId" : "route62"
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"
852 "$ref" : "#/definitions/Number"
858 "$ref" : "#/definitions/JsonObject"
864 "$ref" : "#/definitions/JsonArray"
872 "asJsonPrimitive" : {
873 "$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"
916 "$ref" : "#/definitions/PolicyModel"
924 "deviceTypeScope" : {
932 "uniqueItems" : true,
934 "$ref" : "#/definitions/Loop"
937 "dcaeDeploymentId" : {
940 "dcaeDeploymentStatusUrl" : {
943 "dcaeBlueprintId" : {
949 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
971 "$ref" : "#/definitions/JsonObject"
980 "$ref" : "#/definitions/JsonArray"
988 "asJsonPrimitive" : {
989 "$ref" : "#/definitions/JsonPrimitive"
1002 "$ref" : "#/definitions/JsonNull"
1019 "$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"
1140 "$ref" : "#/definitions/PolicyModel"
1146 "$ref" : "#/definitions/Loop"
1172 "$ref" : "#/definitions/JsonObject"
1181 "$ref" : "#/definitions/JsonArray"
1189 "asJsonPrimitive" : {
1190 "$ref" : "#/definitions/JsonPrimitive"
1203 "$ref" : "#/definitions/JsonNull"
1220 "$ref" : "#/definitions/Number"
1267 "$ref" : "#/definitions/Number"
1270 "$ref" : "#/definitions/JsonObject"
1276 "$ref" : "#/definitions/JsonArray"
1284 "asJsonPrimitive" : {
1285 "$ref" : "#/definitions/JsonPrimitive"
1291 "$ref" : "#/definitions/JsonNull"
1296 "format" : "com.google.gson.JsonArray"
1308 "enum" : [ "INFO", "WARNING", "ERROR" ]
1317 "$ref" : "#/definitions/Loop"
1328 "ExternalComponent" : {
1332 "$ref" : "#/definitions/ExternalComponentState"
1359 "dcaeBlueprintId" : {
1365 "svgRepresentation" : {
1368 "loopElementModelsUsed" : {
1370 "uniqueItems" : true,
1372 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1376 "$ref" : "#/definitions/Service"
1378 "maximumInstancesAllowed" : {
1382 "uniqueBlueprint" : {
1385 "allowedLoopType" : {
1387 "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1392 "format" : "org.onap.clamp.loop.template.LoopTemplate"
1395 "ExternalComponentState" : {
1410 "LoopElementModel" : {
1430 "dcaeBlueprintId" : {
1436 "loopElementType" : {
1444 "uniqueItems" : true,
1446 "$ref" : "#/definitions/PolicyModel"
1449 "usedByLoopTemplates" : {
1451 "uniqueItems" : true,
1453 "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1458 "CldsHealthCheck" : {
1461 "healthCheckComponent" : {
1464 "healthCheckStatus" : {
1473 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"