Fix bug in operational policy
[clamp.git] / docs / swagger / swagger.json
index 5206784..64b43ab 100644 (file)
@@ -4,7 +4,7 @@
     "version" : "5.0.0-SNAPSHOT",
     "title" : "Clamp Rest API"
   },
-  "host" : "localhost:33699",
+  "host" : "localhost:37295",
   "basePath" : "/restservices/clds/",
   "schemes" : [ "http" ],
   "paths" : {
         "x-routeId" : null
       }
     },
-    "/v1/clds/cldsInfo" : {
-      "get" : {
-        "operationId" : "route30",
-        "produces" : [ "application/json" ],
-        "responses" : {
-          "200" : {
-            "description" : "Output type",
-            "schema" : {
-              "$ref" : "#/definitions/CldsInfo"
-            }
-          }
-        },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route30"
-      }
-    },
     "/v1/healthcheck" : {
       "get" : {
-        "operationId" : "route31",
+        "operationId" : "route30",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route31"
+        "x-routeId" : "route30"
       }
     },
     "/v1/user/getUser" : {
       "get" : {
-        "operationId" : "route32",
+        "operationId" : "route31",
         "produces" : [ "text/plain" ],
         "responses" : {
           "200" : { }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route32"
+        "x-routeId" : "route31"
       }
     }
   },
         "asString" : {
           "type" : "string"
         },
-        "asBigInteger" : {
-          "type" : "integer"
-        },
-        "asShort" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "boolean" : {
-          "type" : "boolean"
-        },
-        "string" : {
-          "type" : "boolean"
-        },
         "asNumber" : {
           "$ref" : "#/definitions/Number"
         },
         "asBigDecimal" : {
           "type" : "number"
         },
-        "asJsonObject" : {
-          "$ref" : "#/definitions/JsonObject"
+        "asBigInteger" : {
+          "type" : "integer"
         },
-        "asJsonPrimitive" : {
-          "$ref" : "#/definitions/JsonPrimitive"
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "boolean" : {
+          "type" : "boolean"
+        },
+        "string" : {
+          "type" : "boolean"
         },
         "asJsonArray" : {
           "$ref" : "#/definitions/JsonArray"
         },
-        "jsonObject" : {
-          "type" : "boolean"
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
         },
         "jsonArray" : {
           "type" : "boolean"
         },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
         "jsonPrimitive" : {
           "type" : "boolean"
         },
         "jsonNull" : {
           "type" : "boolean"
         },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
         "asJsonNull" : {
           "$ref" : "#/definitions/JsonNull"
         }
         "pdpGroup" : {
           "type" : "string"
         },
-        "name" : {
+        "pdpSubGroup" : {
           "type" : "string"
         },
-        "modelType" : {
+        "name" : {
           "type" : "string"
         },
         "context" : {
         "shared" : {
           "type" : "boolean"
         },
-        "policyTosca" : {
-          "type" : "string"
-        },
         "usedByLoops" : {
           "type" : "array",
           "uniqueItems" : true,
         },
         "dcaeBlueprintId" : {
           "type" : "string"
+        },
+        "policyModel" : {
+          "$ref" : "#/definitions/PolicyModel"
         }
       },
       "x-className" : {
         "asBoolean" : {
           "type" : "boolean"
         },
-        "asJsonObject" : {
-          "$ref" : "#/definitions/JsonObject"
-        },
-        "asJsonPrimitive" : {
-          "$ref" : "#/definitions/JsonPrimitive"
-        },
         "asString" : {
           "type" : "string"
         },
         "asJsonArray" : {
           "$ref" : "#/definitions/JsonArray"
         },
-        "jsonObject" : {
-          "type" : "boolean"
-        },
-        "asBigInteger" : {
-          "type" : "integer"
-        },
-        "asShort" : {
-          "type" : "integer",
-          "format" : "int32"
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
         },
         "jsonArray" : {
           "type" : "boolean"
         },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
         "jsonPrimitive" : {
           "type" : "boolean"
         },
         "jsonNull" : {
           "type" : "boolean"
         },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
         "asJsonNull" : {
           "$ref" : "#/definitions/JsonNull"
         },
         },
         "asBigDecimal" : {
           "type" : "number"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
         }
       },
       "x-className" : {
           "items" : {
             "$ref" : "#/definitions/LoopElementModel"
           }
+        },
+        "policyPdpGroup" : {
+          "$ref" : "#/definitions/JsonObject"
         }
       },
       "x-className" : {
         "pdpGroup" : {
           "type" : "string"
         },
+        "pdpSubGroup" : {
+          "type" : "string"
+        },
         "name" : {
           "type" : "string"
         },
         "asBoolean" : {
           "type" : "boolean"
         },
-        "asJsonObject" : {
-          "$ref" : "#/definitions/JsonObject"
-        },
-        "asJsonPrimitive" : {
-          "$ref" : "#/definitions/JsonPrimitive"
-        },
         "asString" : {
           "type" : "string"
         },
         "asJsonArray" : {
           "$ref" : "#/definitions/JsonArray"
         },
-        "jsonObject" : {
-          "type" : "boolean"
-        },
-        "asBigInteger" : {
-          "type" : "integer"
-        },
-        "asShort" : {
-          "type" : "integer",
-          "format" : "int32"
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
         },
         "jsonArray" : {
           "type" : "boolean"
         },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
         "jsonPrimitive" : {
           "type" : "boolean"
         },
         "jsonNull" : {
           "type" : "boolean"
         },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
         "asJsonNull" : {
           "$ref" : "#/definitions/JsonNull"
         },
         },
         "asBigDecimal" : {
           "type" : "number"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
         }
       }
     },
         "asString" : {
           "type" : "string"
         },
-        "asBigInteger" : {
-          "type" : "integer"
-        },
-        "asShort" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
         "asNumber" : {
           "$ref" : "#/definitions/Number"
         },
         "asBigDecimal" : {
           "type" : "number"
         },
-        "asJsonObject" : {
-          "$ref" : "#/definitions/JsonObject"
+        "asBigInteger" : {
+          "type" : "integer"
         },
-        "asJsonPrimitive" : {
-          "$ref" : "#/definitions/JsonPrimitive"
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
         },
         "asJsonArray" : {
           "$ref" : "#/definitions/JsonArray"
         },
-        "jsonObject" : {
-          "type" : "boolean"
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
         },
         "jsonArray" : {
           "type" : "boolean"
         },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
         "jsonPrimitive" : {
           "type" : "boolean"
         },
         "jsonNull" : {
           "type" : "boolean"
         },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
         "asJsonNull" : {
           "$ref" : "#/definitions/JsonNull"
         }
         }
       }
     },
-    "CldsInfo" : {
-      "type" : "object",
-      "properties" : {
-        "userName" : {
-          "type" : "string"
-        },
-        "cldsVersion" : {
-          "type" : "string"
-        },
-        "permissionReadCl" : {
-          "type" : "boolean"
-        },
-        "permissionUpdateCl" : {
-          "type" : "boolean"
-        },
-        "permissionReadTemplate" : {
-          "type" : "boolean"
-        },
-        "permissionUpdateTemplate" : {
-          "type" : "boolean"
-        },
-        "permissionReadTosca" : {
-          "type" : "boolean"
-        },
-        "permissionUpdateTosca" : {
-          "type" : "boolean"
-        }
-      },
-      "x-className" : {
-        "type" : "string",
-        "format" : "org.onap.clamp.clds.model.CldsInfo"
-      }
-    },
     "CldsHealthCheck" : {
       "type" : "object",
       "properties" : {