4 "version" : "4.2.0-SNAPSHOT",
5 "title" : "Clamp Rest API"
7 "host" : "localhost:33953",
8 "basePath" : "/restservices/clds/",
9 "schemes" : [ "http" ],
11 "/v2/loop/{loopName}" : {
13 "operationId" : "route20",
14 "produces" : [ "application/json" ],
23 "description" : "Output type",
25 "$ref" : "#/definitions/Loop"
29 "x-camelContextId" : "camel-2",
30 "x-routeId" : "route20"
33 "/v2/loop/delete/{loopName}" : {
35 "operationId" : "route30",
45 "x-camelContextId" : "camel-2",
46 "x-routeId" : "route30"
49 "/v2/loop/deploy/{loopName}" : {
51 "operationId" : "route25",
52 "produces" : [ "application/json" ],
61 "description" : "Output type",
63 "$ref" : "#/definitions/Loop"
67 "x-camelContextId" : "camel-2",
68 "x-routeId" : "route25"
71 "/v2/loop/getAllNames" : {
73 "operationId" : "route19",
74 "produces" : [ "application/json" ],
77 "description" : "Output type",
86 "x-camelContextId" : "camel-2",
87 "x-routeId" : "route19"
90 "/v2/loop/getstatus/{loopName}" : {
92 "operationId" : "route31",
93 "produces" : [ "application/json" ],
102 "description" : "Output type",
104 "$ref" : "#/definitions/Loop"
108 "x-camelContextId" : "camel-2",
109 "x-routeId" : "route31"
112 "/v2/loop/restart/{loopName}" : {
114 "operationId" : "route28",
115 "produces" : [ "application/json" ],
124 "description" : "Output type",
126 "$ref" : "#/definitions/Loop"
130 "x-camelContextId" : "camel-2",
131 "x-routeId" : "route28"
134 "/v2/loop/stop/{loopName}" : {
136 "operationId" : "route27",
137 "produces" : [ "application/json" ],
146 "description" : "Output type",
148 "$ref" : "#/definitions/Loop"
152 "x-camelContextId" : "camel-2",
153 "x-routeId" : "route27"
156 "/v2/loop/submit/{loopName}" : {
158 "operationId" : "route29",
159 "produces" : [ "application/json" ],
168 "description" : "Output type",
170 "$ref" : "#/definitions/Loop"
174 "x-camelContextId" : "camel-2",
175 "x-routeId" : "route29"
178 "/v2/loop/svgRepresentation/{loopName}" : {
180 "operationId" : "route21",
181 "produces" : [ "application/xml" ],
190 "description" : "Output type",
196 "x-camelContextId" : "camel-2",
197 "x-routeId" : "route21"
200 "/v2/loop/undeploy/{loopName}" : {
202 "operationId" : "route26",
203 "produces" : [ "application/json" ],
212 "description" : "Output type",
214 "$ref" : "#/definitions/Loop"
218 "x-camelContextId" : "camel-2",
219 "x-routeId" : "route26"
222 "/v2/loop/updateGlobalProperties/{loopName}" : {
224 "operationId" : "route22",
225 "consumes" : [ "application/json" ],
226 "produces" : [ "application/json" ],
237 "$ref" : "#/definitions/JsonObject"
242 "description" : "Output type",
244 "$ref" : "#/definitions/Loop"
248 "x-camelContextId" : "camel-2",
249 "x-routeId" : "route22"
252 "/v2/loop/updateMicroservicePolicy/{loopName}" : {
254 "operationId" : "route24",
255 "consumes" : [ "application/json" ],
256 "produces" : [ "application/json" ],
267 "$ref" : "#/definitions/MicroServicePolicy"
272 "description" : "Output type",
274 "$ref" : "#/definitions/MicroServicePolicy"
278 "x-camelContextId" : "camel-2",
279 "x-routeId" : "route24"
282 "/v2/loop/updateOperationalPolicies/{loopName}" : {
284 "operationId" : "route23",
285 "consumes" : [ "application/json" ],
286 "produces" : [ "application/json" ],
297 "$ref" : "#/definitions/JsonArray"
302 "description" : "Output type",
304 "$ref" : "#/definitions/Loop"
308 "x-camelContextId" : "camel-2",
309 "x-routeId" : "route23"
312 "/v1/clds/cldsInfo" : {
314 "operationId" : "route32",
315 "produces" : [ "application/json" ],
318 "description" : "Output type",
320 "$ref" : "#/definitions/CldsInfo"
324 "x-camelContextId" : "camel-2",
325 "x-routeId" : "route32"
328 "/v1/healthcheck" : {
330 "operationId" : "route33",
331 "produces" : [ "application/json" ],
334 "description" : "Output type",
336 "$ref" : "#/definitions/CldsHealthCheck"
340 "x-camelContextId" : "camel-2",
341 "x-routeId" : "route33"
344 "/v1/user/getUser" : {
346 "operationId" : "route34",
347 "produces" : [ "text/plain" ],
351 "x-camelContextId" : "camel-2",
352 "x-routeId" : "route34"
377 "dcaeDeploymentId" : {
380 "dcaeDeploymentStatusUrl" : {
383 "dcaeBlueprintId" : {
386 "svgRepresentation" : {
389 "globalPropertiesJson" : {
390 "$ref" : "#/definitions/JsonObject"
393 "$ref" : "#/definitions/Service"
398 "lastComputedState" : {
400 "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
404 "additionalProperties" : {
405 "$ref" : "#/definitions/ExternalComponent"
408 "operationalPolicies" : {
410 "uniqueItems" : true,
412 "$ref" : "#/definitions/OperationalPolicy"
415 "microServicePolicies" : {
417 "uniqueItems" : true,
419 "$ref" : "#/definitions/MicroServicePolicy"
424 "uniqueItems" : true,
426 "$ref" : "#/definitions/LoopLog"
430 "$ref" : "#/definitions/LoopTemplate"
435 "format" : "org.onap.clamp.loop.Loop"
438 "MicroServiceModel" : {
465 "$ref" : "#/definitions/PolicyModel"
467 "usedByLoopTemplates" : {
469 "uniqueItems" : true,
471 "$ref" : "#/definitions/TemplateMicroServiceModel"
492 "$ref" : "#/definitions/Number"
531 "$ref" : "#/definitions/JsonObject"
534 "$ref" : "#/definitions/JsonArray"
536 "asJsonPrimitive" : {
537 "$ref" : "#/definitions/JsonPrimitive"
552 "$ref" : "#/definitions/JsonNull"
556 "MicroServicePolicy" : {
582 "deviceTypeScope" : {
586 "$ref" : "#/definitions/JsonObject"
594 "jsonRepresentation" : {
595 "$ref" : "#/definitions/JsonObject"
599 "uniqueItems" : true,
601 "$ref" : "#/definitions/Loop"
604 "microServiceModel" : {
605 "$ref" : "#/definitions/MicroServiceModel"
610 "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
620 "$ref" : "#/definitions/JsonObject"
626 "$ref" : "#/definitions/JsonArray"
628 "asJsonPrimitive" : {
629 "$ref" : "#/definitions/JsonPrimitive"
644 "$ref" : "#/definitions/JsonNull"
647 "$ref" : "#/definitions/Number"
685 "format" : "com.google.gson.JsonObject"
705 "policyModelType" : {
711 "policyModelTosca" : {
729 "$ref" : "#/definitions/JsonObject"
731 "resourceDetails" : {
732 "$ref" : "#/definitions/JsonObject"
736 "OperationalPolicy" : {
742 "configurationsJson" : {
743 "$ref" : "#/definitions/JsonObject"
746 "$ref" : "#/definitions/Loop"
749 "$ref" : "#/definitions/PolicyModel"
751 "jsonRepresentation" : {
752 "$ref" : "#/definitions/JsonObject"
763 "$ref" : "#/definitions/JsonObject"
769 "$ref" : "#/definitions/JsonArray"
771 "asJsonPrimitive" : {
772 "$ref" : "#/definitions/JsonPrimitive"
787 "$ref" : "#/definitions/JsonNull"
790 "$ref" : "#/definitions/Number"
837 "$ref" : "#/definitions/Number"
873 "$ref" : "#/definitions/JsonObject"
876 "$ref" : "#/definitions/JsonArray"
878 "asJsonPrimitive" : {
879 "$ref" : "#/definitions/JsonPrimitive"
894 "$ref" : "#/definitions/JsonNull"
899 "format" : "com.google.gson.JsonArray"
911 "enum" : [ "INFO", "WARNING", "ERROR" ]
920 "$ref" : "#/definitions/Loop"
928 "TemplateMicroServiceModel" : {
932 "$ref" : "#/definitions/LoopTemplate"
934 "microServiceModel" : {
935 "$ref" : "#/definitions/MicroServiceModel"
946 "ExternalComponent" : {
950 "$ref" : "#/definitions/ExternalComponentState"
980 "svgRepresentation" : {
983 "microServiceModelUsed" : {
985 "uniqueItems" : true,
987 "$ref" : "#/definitions/TemplateMicroServiceModel"
991 "$ref" : "#/definitions/Service"
993 "maximumInstancesAllowed" : {
999 "ExternalComponentState" : {
1023 "permissionReadCl" : {
1026 "permissionUpdateCl" : {
1029 "permissionReadTemplate" : {
1032 "permissionUpdateTemplate" : {
1035 "permissionReadTosca" : {
1038 "permissionUpdateTosca" : {
1044 "format" : "org.onap.clamp.clds.model.CldsInfo"
1047 "CldsHealthCheck" : {
1050 "healthCheckComponent" : {
1053 "healthCheckStatus" : {
1062 "format" : "org.onap.clamp.clds.model.CldsHealthCheck"