Merge "Add check to maven pom.xml for verifying integrity of ui-react-lib"
[clamp.git] / docs / swagger / swagger.json
index e1e1337..c818ee2 100644 (file)
@@ -1,16 +1,16 @@
 {
   "swagger" : "2.0",
   "info" : {
-    "version" : "5.0.0-SNAPSHOT",
+    "version" : "5.1.0-SNAPSHOT",
     "title" : "Clamp Rest API"
   },
-  "host" : "localhost:41607",
+  "host" : "localhost:44217",
   "basePath" : "/restservices/clds/",
   "schemes" : [ "http" ],
   "paths" : {
     "/v2/clampInformation" : {
       "get" : {
-        "operationId" : "route35",
+        "operationId" : "route34",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route35"
+        "x-routeId" : "route34"
       }
     },
     "/v2/dictionary" : {
       "get" : {
-        "operationId" : "route21",
+        "operationId" : "route19",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route21"
+        "x-routeId" : "route19"
       },
       "put" : {
-        "operationId" : "route23",
+        "operationId" : "route22",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route23"
+        "x-routeId" : "route22"
       }
     },
     "/v2/dictionary/{dictionaryName}" : {
       "get" : {
+        "operationId" : "route21",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "dictionaryName",
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : null
+        "x-routeId" : "route21"
       }
     },
     "/v2/dictionary/{name}" : {
       "put" : {
+        "operationId" : "route23",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : null
+        "x-routeId" : "route23"
       },
       "delete" : {
-        "operationId" : "route25",
+        "operationId" : "route24",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "name",
           "200" : { }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route25"
+        "x-routeId" : "route24"
       }
     },
     "/v2/dictionary/{name}/elements/{shortName}" : {
       "delete" : {
+        "operationId" : "route25",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "name",
           "200" : { }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : null
+        "x-routeId" : "route25"
       }
     },
     "/v2/dictionary/secondary/names" : {
       "get" : {
+        "operationId" : "route20",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : null
+        "x-routeId" : "route20"
       }
     },
     "/v2/loop/{loopName}" : {
     },
     "/v2/loop/deploy/{loopName}" : {
       "put" : {
-        "operationId" : "route8",
+        "operationId" : "route7",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "loopName",
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route8"
+        "x-routeId" : "route7"
       }
     },
     "/v2/loop/getAllNames" : {
         "x-routeId" : "route15"
       }
     },
-    "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
+    "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
+      "put" : {
+        "operationId" : "route8",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "name" : "microServicePolicyName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route8"
+      }
+    },
+    "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
       "put" : {
         "operationId" : "route9",
         "produces" : [ "application/json" ],
           "in" : "path",
           "required" : true,
           "type" : "string"
+        }, {
+          "name" : "operationalPolicyName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
         } ],
         "responses" : {
           "200" : {
         "x-routeId" : "route9"
       }
     },
-    "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
+    "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
       "put" : {
         "operationId" : "route17",
         "produces" : [ "application/json" ],
           "in" : "path",
           "required" : true,
           "type" : "string"
+        }, {
+          "name" : "policyName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
         } ],
         "responses" : {
           "200" : {
         "x-routeId" : "route13"
       }
     },
-    "/v2/loop/svgRepresentation/{loopName}" : {
-      "get" : {
-        "operationId" : "route4",
-        "produces" : [ "application/xml" ],
-        "parameters" : [ {
-          "name" : "loopName",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "Output type",
-            "schema" : {
-              "type" : "string"
-            }
-          }
-        },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route4"
-      }
-    },
     "/v2/loop/undeploy/{loopName}" : {
       "put" : {
         "operationId" : "route10",
     },
     "/v2/loop/updateGlobalProperties/{loopName}" : {
       "post" : {
-        "operationId" : "route5",
+        "operationId" : "route4",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route5"
+        "x-routeId" : "route4"
       }
     },
     "/v2/loop/updateMicroservicePolicy/{loopName}" : {
       "post" : {
-        "operationId" : "route7",
+        "operationId" : "route6",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route7"
+        "x-routeId" : "route6"
       }
     },
     "/v2/loop/updateOperationalPolicies/{loopName}" : {
       "post" : {
-        "operationId" : "route6",
+        "operationId" : "route5",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route6"
+        "x-routeId" : "route5"
       }
     },
     "/v2/policyToscaModels" : {
       "get" : {
-        "operationId" : "route28",
+        "operationId" : "route26",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route28"
+        "x-routeId" : "route26"
       },
       "post" : {
         "operationId" : "route29",
     },
     "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
       "get" : {
+        "operationId" : "route27",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "policyModelType",
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : null
+        "x-routeId" : "route27"
       },
       "put" : {
         "operationId" : "route30",
     },
     "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
       "get" : {
+        "operationId" : "route28",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "policyModelType",
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : null
+        "x-routeId" : "route28"
       }
     },
     "/v2/templates" : {
       "get" : {
-        "operationId" : "route34",
+        "operationId" : "route31",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route34"
+        "x-routeId" : "route31"
       }
     },
     "/v2/templates/{templateName}" : {
       "get" : {
+        "operationId" : "route32",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "templateName",
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : null
-      }
-    },
-    "/v2/templates/{templateName}/svgRepresentation" : {
-      "get" : {
-        "produces" : [ "application/xml" ],
-        "parameters" : [ {
-          "name" : "templateName",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "Output type",
-            "schema" : {
-              "type" : "string"
-            }
-          }
-        },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : null
+        "x-routeId" : "route32"
       }
     },
     "/v2/templates/names" : {
       "get" : {
+        "operationId" : "route33",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : null
+        "x-routeId" : "route33"
       }
     },
     "/v1/healthcheck" : {
       "get" : {
-        "operationId" : "route36",
+        "operationId" : "route35",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route36"
+        "x-routeId" : "route35"
       }
     },
     "/v1/user/getUser" : {
       "get" : {
-        "operationId" : "route37",
+        "operationId" : "route36",
         "produces" : [ "text/plain" ],
         "responses" : {
           "200" : { }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route37"
+        "x-routeId" : "route36"
       }
     }
   },
         "dcaeDeploymentStatusUrl" : {
           "type" : "string"
         },
-        "svgRepresentation" : {
-          "type" : "string"
-        },
         "globalPropertiesJson" : {
           "$ref" : "#/definitions/JsonObject"
         },
     "JsonPrimitive" : {
       "type" : "object",
       "properties" : {
-        "asInt" : {
-          "type" : "integer",
-          "format" : "int32"
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "number" : {
+          "type" : "boolean"
+        },
+        "asString" : {
+          "type" : "string"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
         },
         "asDouble" : {
           "type" : "number",
           "format" : "double"
         },
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
+        },
         "asLong" : {
           "type" : "integer",
           "format" : "int64"
         },
-        "boolean" : {
-          "type" : "boolean"
-        },
-        "asBoolean" : {
-          "type" : "boolean"
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
         },
-        "number" : {
-          "type" : "boolean"
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
         },
-        "asString" : {
+        "asCharacter" : {
           "type" : "string"
         },
         "asBigDecimal" : {
           "type" : "integer",
           "format" : "int32"
         },
-        "asFloat" : {
-          "type" : "number",
-          "format" : "float"
-        },
-        "asByte" : {
-          "type" : "string",
-          "format" : "byte"
-        },
-        "asCharacter" : {
-          "type" : "string"
-        },
-        "asNumber" : {
-          "$ref" : "#/definitions/Number"
+        "boolean" : {
+          "type" : "boolean"
         },
         "string" : {
           "type" : "boolean"
         },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
         "asJsonObject" : {
           "$ref" : "#/definitions/JsonObject"
         },
-        "jsonObject" : {
-          "type" : "boolean"
-        },
-        "asJsonArray" : {
-          "$ref" : "#/definitions/JsonArray"
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
         },
-        "asJsonPrimitive" : {
-          "$ref" : "#/definitions/JsonPrimitive"
+        "jsonArray" : {
+          "type" : "boolean"
         },
-        "jsonNull" : {
+        "jsonObject" : {
           "type" : "boolean"
         },
         "jsonPrimitive" : {
           "type" : "boolean"
         },
-        "jsonArray" : {
+        "jsonNull" : {
           "type" : "boolean"
         },
-        "asJsonNull" : {
-          "$ref" : "#/definitions/JsonNull"
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
         }
       }
     },
         },
         "dcaeBlueprintId" : {
           "type" : "string"
+        },
+        "legacy" : {
+          "type" : "boolean"
         }
       },
       "x-className" : {
     "JsonObject" : {
       "type" : "object",
       "properties" : {
-        "asInt" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "asDouble" : {
-          "type" : "number",
-          "format" : "double"
-        },
-        "asLong" : {
-          "type" : "integer",
-          "format" : "int64"
-        },
         "asBoolean" : {
           "type" : "boolean"
         },
-        "asJsonObject" : {
-          "$ref" : "#/definitions/JsonObject"
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
         },
         "asString" : {
           "type" : "string"
         },
-        "jsonObject" : {
-          "type" : "boolean"
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
         },
-        "asJsonArray" : {
-          "$ref" : "#/definitions/JsonArray"
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
         },
-        "asJsonPrimitive" : {
-          "$ref" : "#/definitions/JsonPrimitive"
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
         },
-        "jsonNull" : {
-          "type" : "boolean"
+        "asDouble" : {
+          "type" : "number",
+          "format" : "double"
         },
-        "jsonPrimitive" : {
-          "type" : "boolean"
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
         },
-        "jsonArray" : {
-          "type" : "boolean"
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
+          "type" : "string"
         },
         "asBigDecimal" : {
           "type" : "number"
           "type" : "integer",
           "format" : "int32"
         },
-        "asJsonNull" : {
-          "$ref" : "#/definitions/JsonNull"
+        "jsonArray" : {
+          "type" : "boolean"
         },
-        "asFloat" : {
-          "type" : "number",
-          "format" : "float"
+        "jsonObject" : {
+          "type" : "boolean"
         },
-        "asByte" : {
-          "type" : "string",
-          "format" : "byte"
+        "jsonPrimitive" : {
+          "type" : "boolean"
         },
-        "asCharacter" : {
-          "type" : "string"
+        "jsonNull" : {
+          "type" : "boolean"
         },
-        "asNumber" : {
-          "$ref" : "#/definitions/Number"
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
         }
       },
       "x-className" : {
     "JsonNull" : {
       "type" : "object",
       "properties" : {
-        "asInt" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "asDouble" : {
-          "type" : "number",
-          "format" : "double"
-        },
-        "asLong" : {
-          "type" : "integer",
-          "format" : "int64"
-        },
         "asBoolean" : {
           "type" : "boolean"
         },
-        "asJsonObject" : {
-          "$ref" : "#/definitions/JsonObject"
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
         },
         "asString" : {
           "type" : "string"
         },
-        "jsonObject" : {
-          "type" : "boolean"
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
         },
-        "asJsonArray" : {
-          "$ref" : "#/definitions/JsonArray"
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
         },
-        "asJsonPrimitive" : {
-          "$ref" : "#/definitions/JsonPrimitive"
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
         },
-        "jsonNull" : {
-          "type" : "boolean"
+        "asDouble" : {
+          "type" : "number",
+          "format" : "double"
         },
-        "jsonPrimitive" : {
-          "type" : "boolean"
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
         },
-        "jsonArray" : {
-          "type" : "boolean"
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
+          "type" : "string"
         },
         "asBigDecimal" : {
           "type" : "number"
           "type" : "integer",
           "format" : "int32"
         },
-        "asJsonNull" : {
-          "$ref" : "#/definitions/JsonNull"
+        "jsonArray" : {
+          "type" : "boolean"
         },
-        "asFloat" : {
-          "type" : "number",
-          "format" : "float"
+        "jsonObject" : {
+          "type" : "boolean"
         },
-        "asByte" : {
-          "type" : "string",
-          "format" : "byte"
+        "jsonPrimitive" : {
+          "type" : "boolean"
         },
-        "asCharacter" : {
-          "type" : "string"
+        "jsonNull" : {
+          "type" : "boolean"
         },
-        "asNumber" : {
-          "$ref" : "#/definitions/Number"
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
         }
       }
     },
     "JsonArray" : {
       "type" : "object",
       "properties" : {
-        "asInt" : {
-          "type" : "integer",
-          "format" : "int32"
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asString" : {
+          "type" : "string"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
         },
         "asDouble" : {
           "type" : "number",
           "format" : "double"
         },
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
+        },
         "asLong" : {
           "type" : "integer",
           "format" : "int64"
         },
-        "asBoolean" : {
-          "type" : "boolean"
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
         },
-        "asString" : {
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
           "type" : "string"
         },
         "asBigDecimal" : {
           "type" : "integer",
           "format" : "int32"
         },
-        "asFloat" : {
-          "type" : "number",
-          "format" : "float"
-        },
-        "asByte" : {
-          "type" : "string",
-          "format" : "byte"
-        },
-        "asCharacter" : {
-          "type" : "string"
-        },
-        "asNumber" : {
-          "$ref" : "#/definitions/Number"
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
         },
         "asJsonObject" : {
           "$ref" : "#/definitions/JsonObject"
         },
-        "jsonObject" : {
-          "type" : "boolean"
-        },
-        "asJsonArray" : {
-          "$ref" : "#/definitions/JsonArray"
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
         },
-        "asJsonPrimitive" : {
-          "$ref" : "#/definitions/JsonPrimitive"
+        "jsonArray" : {
+          "type" : "boolean"
         },
-        "jsonNull" : {
+        "jsonObject" : {
           "type" : "boolean"
         },
         "jsonPrimitive" : {
           "type" : "boolean"
         },
-        "jsonArray" : {
+        "jsonNull" : {
           "type" : "boolean"
         },
-        "asJsonNull" : {
-          "$ref" : "#/definitions/JsonNull"
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
         }
       },
       "x-className" : {
         "blueprint" : {
           "type" : "string"
         },
-        "svgRepresentation" : {
-          "type" : "string"
-        },
         "loopElementModelsUsed" : {
           "type" : "array",
           "uniqueItems" : true,