Fix the DCAE query
[clamp.git] / docs / swagger / swagger.json
index 5a117ae..1c6dde1 100644 (file)
 {
   "swagger" : "2.0",
   "info" : {
-    "version" : "3.0.0-SNAPSHOT",
+    "version" : "5.1.3-SNAPSHOT",
     "title" : "Clamp Rest API"
   },
-  "host" : "0.0.0.0",
-  "basePath" : "/restservices/clds/v1/",
+  "host" : "localhost:8443",
+  "basePath" : "/restservices/clds/",
   "schemes" : [ "http" ],
   "paths" : {
-    "/clds/action/{action}/{modelName}?test={test}" : {
+    "/v2/clampInformation" : {
+      "get" : {
+        "operationId" : "route34",
+        "produces" : [ "application/json" ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/ClampInformation"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route34"
+      }
+    },
+    "/v2/dictionary" : {
+      "get" : {
+        "operationId" : "route19",
+        "produces" : [ "application/json" ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Dictionary"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route19"
+      },
       "put" : {
-        "operationId" : "route10",
+        "operationId" : "route22",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "action",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        }, {
-          "name" : "modelName}?test={test",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        }, {
           "in" : "body",
           "name" : "body",
           "required" : true,
           "schema" : {
-            "$ref" : "#/definitions/CldsModel"
+            "$ref" : "#/definitions/Dictionary"
           }
         } ],
-        "responses" : {
-          "200" : { }
-        },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route10"
-      }
-    },
-    "/clds/cldsDetails" : {
-      "get" : {
-        "operationId" : "route2",
-        "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsMonitoringDetails"
-            },
             "schema" : {
-              "$ref" : "#/definitions/CldsMonitoringDetails"
+              "$ref" : "#/definitions/Dictionary"
             }
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route2"
+        "x-routeId" : "route22"
       }
     },
-    "/clds/cldsInfo" : {
+    "/v2/dictionary/{dictionaryName}" : {
       "get" : {
-        "operationId" : "route3",
+        "operationId" : "route21",
         "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "dictionaryName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsInfo"
-            },
             "schema" : {
-              "$ref" : "#/definitions/CldsInfo"
+              "$ref" : "#/definitions/Dictionary"
             }
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route3"
+        "x-routeId" : "route21"
       }
     },
-    "/clds/dcae/event?test={test}" : {
-      "post" : {
-        "operationId" : "route11",
+    "/v2/dictionary/{name}" : {
+      "put" : {
+        "operationId" : "route23",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
+          "name" : "name",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
           "in" : "body",
           "name" : "body",
           "required" : true,
           "schema" : {
-            "$ref" : "#/definitions/DcaeEvent"
+            "$ref" : "#/definitions/Dictionary"
+          }
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Dictionary"
+            }
           }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route23"
+      },
+      "delete" : {
+        "operationId" : "route24",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "name",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
         } ],
         "responses" : {
           "200" : { }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route11"
+        "x-routeId" : "route24"
       }
     },
-    "/clds/deploy/{modelName}" : {
-      "put" : {
-        "operationId" : "route15",
-        "consumes" : [ "application/json" ],
+    "/v2/dictionary/{name}/elements/{shortName}" : {
+      "delete" : {
+        "operationId" : "route25",
         "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "modelName",
+          "name" : "name",
           "in" : "path",
           "required" : true,
           "type" : "string"
         }, {
-          "in" : "body",
-          "name" : "body",
+          "name" : "shortName",
+          "in" : "path",
           "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/CldsModel"
-          }
+          "type" : "string"
         } ],
         "responses" : {
           "200" : { }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route15"
+        "x-routeId" : "route25"
       }
     },
-    "/clds/model-names" : {
+    "/v2/dictionary/secondary/names" : {
       "get" : {
-        "operationId" : "route9",
+        "operationId" : "route20",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/ValueItem"
-            },
             "schema" : {
-              "$ref" : "#/definitions/ValueItem"
+              "type" : "array",
+              "items" : {
+                "type" : "string"
+              }
             }
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route9"
+        "x-routeId" : "route20"
       }
     },
-    "/clds/model/{modelName}" : {
+    "/v2/loop/{loopName}" : {
       "get" : {
-        "operationId" : "route7",
+        "operationId" : "route3",
         "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "modelName",
+          "name" : "loopName",
           "in" : "path",
           "required" : true,
           "type" : "string"
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsModel"
-            },
             "schema" : {
-              "$ref" : "#/definitions/CldsModel"
+              "$ref" : "#/definitions/Loop"
             }
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route7"
-      },
+        "x-routeId" : "route3"
+      }
+    },
+    "/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
       "put" : {
-        "operationId" : "route8",
-        "consumes" : [ "application/json" ],
+        "operationId" : "route16",
         "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "modelName",
+          "name" : "loopName",
           "in" : "path",
           "required" : true,
           "type" : "string"
         }, {
-          "in" : "body",
-          "name" : "body",
+          "name" : "policyType",
+          "in" : "path",
           "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/CldsModel"
-          }
+          "type" : "string"
+        }, {
+          "name" : "policyVersion",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
         } ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsModel"
-            },
             "schema" : {
-              "$ref" : "#/definitions/CldsModel"
+              "$ref" : "#/definitions/Loop"
             }
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route8"
+        "x-routeId" : "route16"
       }
     },
-    "/clds/model/bpmn/{modelName}" : {
-      "get" : {
-        "operationId" : "route5",
-        "produces" : [ "text/xml" ],
+    "/v2/loop/create/{loopName}?templateName={templateName}" : {
+      "post" : {
+        "operationId" : "route18",
+        "consumes" : [ "application/json" ],
+        "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "modelName",
+          "name" : "loopName}?templateName={templateName",
           "in" : "path",
           "required" : true,
           "type" : "string"
         } ],
         "responses" : {
-          "200" : { }
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route5"
+        "x-routeId" : "route18"
       }
     },
-    "/clds/model/image/{modelName}" : {
-      "get" : {
-        "operationId" : "route6",
-        "produces" : [ "text/xml" ],
+    "/v2/loop/delete/{loopName}" : {
+      "put" : {
+        "operationId" : "route14",
         "parameters" : [ {
-          "name" : "modelName",
+          "name" : "loopName",
           "in" : "path",
           "required" : true,
           "type" : "string"
           "200" : { }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route6"
-      }
-    },
-    "/clds/properties" : {
-      "get" : {
-        "operationId" : "route13",
-        "produces" : [ "application/json" ],
-        "responses" : {
-          "200" : { }
-        },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route13"
+        "x-routeId" : "route14"
       }
     },
-    "/clds/properties/{serviceInvariantUUID}?refresh={refresh}" : {
-      "get" : {
-        "operationId" : "route14",
+    "/v2/loop/deploy/{loopName}" : {
+      "put" : {
+        "operationId" : "route7",
         "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "serviceInvariantUUID}?refresh={refresh",
+          "name" : "loopName",
           "in" : "path",
           "required" : true,
           "type" : "string"
         } ],
         "responses" : {
-          "200" : { }
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route14"
+        "x-routeId" : "route7"
       }
     },
-    "/clds/sdc/services" : {
+    "/v2/loop/getAllNames" : {
       "get" : {
-        "operationId" : "route12",
+        "operationId" : "route2",
         "produces" : [ "application/json" ],
         "responses" : {
-          "200" : { }
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "type" : "array",
+              "items" : {
+                "type" : "string"
+              }
+            }
+          }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route12"
+        "x-routeId" : "route2"
       }
     },
-    "/clds/undeploy/{modelName}" : {
-      "put" : {
-        "operationId" : "route16",
-        "consumes" : [ "application/json" ],
+    "/v2/loop/getstatus/{loopName}" : {
+      "get" : {
+        "operationId" : "route15",
         "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "modelName",
+          "name" : "loopName",
           "in" : "path",
           "required" : true,
           "type" : "string"
-        }, {
-          "in" : "body",
-          "name" : "body",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/CldsModel"
-          }
         } ],
-        "responses" : {
-          "200" : { }
-        },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route16"
-      }
-    },
-    "/cldsTempate/template-names" : {
-      "get" : {
-        "operationId" : "route21",
-        "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/ValueItem"
-            },
             "schema" : {
-              "$ref" : "#/definitions/ValueItem"
+              "$ref" : "#/definitions/Loop"
             }
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route21"
+        "x-routeId" : "route15"
       }
     },
-    "/cldsTempate/template/{templateName}" : {
-      "get" : {
-        "operationId" : "route19",
+    "/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
+      "put" : {
+        "operationId" : "route8",
         "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "templateName",
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "name" : "microServicePolicyName",
           "in" : "path",
           "required" : true,
           "type" : "string"
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsTemplate"
-            },
             "schema" : {
-              "$ref" : "#/definitions/CldsTemplate"
+              "$ref" : "#/definitions/Loop"
             }
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route19"
-      },
+        "x-routeId" : "route8"
+      }
+    },
+    "/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
       "put" : {
-        "operationId" : "route20",
-        "consumes" : [ "application/json" ],
+        "operationId" : "route9",
         "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "templateName",
+          "name" : "loopName",
           "in" : "path",
           "required" : true,
           "type" : "string"
         }, {
-          "in" : "body",
-          "name" : "body",
+          "name" : "operationalPolicyName",
+          "in" : "path",
           "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/CldsTemplate"
-          }
+          "type" : "string"
         } ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsTemplate"
-            },
             "schema" : {
-              "$ref" : "#/definitions/CldsTemplate"
+              "$ref" : "#/definitions/Loop"
             }
           }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route20"
+        "x-routeId" : "route9"
       }
     },
-    "/cldsTempate/template/bpmn/{templateName}" : {
-      "get" : {
+    "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
+      "put" : {
         "operationId" : "route17",
-        "produces" : [ "text/xml" ],
+        "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "templateName",
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "name" : "policyType",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "name" : "policyVersion",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "name" : "policyName",
           "in" : "path",
           "required" : true,
           "type" : "string"
         } ],
         "responses" : {
-          "200" : { }
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
         },
         "x-camelContextId" : "camel-1",
         "x-routeId" : "route17"
       }
     },
-    "/cldsTempate/template/image/{templateName}" : {
-      "get" : {
-        "operationId" : "route18",
-        "produces" : [ "text/xml" ],
+    "/v2/loop/restart/{loopName}" : {
+      "put" : {
+        "operationId" : "route12",
+        "produces" : [ "application/json" ],
         "parameters" : [ {
-          "name" : "templateName",
+          "name" : "loopName",
           "in" : "path",
           "required" : true,
           "type" : "string"
         } ],
         "responses" : {
-          "200" : { }
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route18"
+        "x-routeId" : "route12"
       }
     },
-    "/healthcheck" : {
-      "get" : {
-        "operationId" : "route4",
+    "/v2/loop/stop/{loopName}" : {
+      "put" : {
+        "operationId" : "route11",
         "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
         "responses" : {
-          "200" : { }
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route11"
+      }
+    },
+    "/v2/loop/submit/{loopName}" : {
+      "put" : {
+        "operationId" : "route13",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route13"
+      }
+    },
+    "/v2/loop/undeploy/{loopName}" : {
+      "put" : {
+        "operationId" : "route10",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route10"
+      }
+    },
+    "/v2/loop/updateGlobalProperties/{loopName}" : {
+      "post" : {
+        "operationId" : "route4",
+        "consumes" : [ "application/json" ],
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "in" : "body",
+          "name" : "body",
+          "required" : true,
+          "schema" : {
+            "$ref" : "#/definitions/JsonObject"
+          }
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
         },
         "x-camelContextId" : "camel-1",
         "x-routeId" : "route4"
       }
     },
-    "/user/getUser" : {
+    "/v2/loop/updateMicroservicePolicy/{loopName}" : {
+      "post" : {
+        "operationId" : "route6",
+        "consumes" : [ "application/json" ],
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "in" : "body",
+          "name" : "body",
+          "required" : true,
+          "schema" : {
+            "$ref" : "#/definitions/MicroServicePolicy"
+          }
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/MicroServicePolicy"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route6"
+      }
+    },
+    "/v2/loop/updateOperationalPolicies/{loopName}" : {
+      "post" : {
+        "operationId" : "route5",
+        "consumes" : [ "application/json" ],
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "in" : "body",
+          "name" : "body",
+          "required" : true,
+          "schema" : {
+            "$ref" : "#/definitions/JsonArray"
+          }
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route5"
+      }
+    },
+    "/v2/policyToscaModels" : {
       "get" : {
-        "operationId" : "route22",
+        "operationId" : "route26",
+        "produces" : [ "application/json" ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/PolicyModel"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route26"
+      },
+      "post" : {
+        "operationId" : "route29",
+        "consumes" : [ "plain/text" ],
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "in" : "body",
+          "name" : "body",
+          "required" : true,
+          "schema" : {
+            "type" : "string"
+          }
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/PolicyModel"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route29"
+      }
+    },
+    "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
+      "get" : {
+        "operationId" : "route27",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "policyModelType",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "name" : "policyModelVersion",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/PolicyModel"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route27"
+      },
+      "put" : {
+        "operationId" : "route30",
+        "consumes" : [ "plain/text" ],
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "policyModelType",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "name" : "policyModelVersion",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "in" : "body",
+          "name" : "body",
+          "required" : true,
+          "schema" : {
+            "type" : "string"
+          }
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/PolicyModel"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route30"
+      }
+    },
+    "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
+      "get" : {
+        "operationId" : "route28",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "policyModelType",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        }, {
+          "name" : "policyModelVersion",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "type" : "string"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route28"
+      }
+    },
+    "/v2/templates" : {
+      "get" : {
+        "operationId" : "route31",
+        "produces" : [ "application/json" ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/LoopTemplate"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route31"
+      }
+    },
+    "/v2/templates/{templateName}" : {
+      "get" : {
+        "operationId" : "route32",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "templateName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/LoopTemplate"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route32"
+      }
+    },
+    "/v2/templates/names" : {
+      "get" : {
+        "operationId" : "route33",
+        "produces" : [ "application/json" ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "type" : "array",
+              "items" : {
+                "type" : "string"
+              }
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route33"
+      }
+    },
+    "/v1/healthcheck" : {
+      "get" : {
+        "operationId" : "route35",
+        "produces" : [ "application/json" ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/CldsHealthCheck"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-1",
+        "x-routeId" : "route35"
+      }
+    },
+    "/v1/user/getUser" : {
+      "get" : {
+        "operationId" : "route36",
         "produces" : [ "text/plain" ],
         "responses" : {
           "200" : { }
         },
         "x-camelContextId" : "camel-1",
-        "x-routeId" : "route22"
+        "x-routeId" : "route36"
       }
     }
   },
   "definitions" : {
-    "CldsModelInstance" : {
+    "ClampInformation" : {
       "type" : "object",
       "properties" : {
-        "modelInstanceId" : {
+        "userName" : {
+          "type" : "string"
+        },
+        "cldsVersion" : {
+          "type" : "string"
+        },
+        "allPermissions" : {
+          "type" : "array",
+          "items" : {
+            "type" : "string"
+          }
+        }
+      },
+      "x-className" : {
+        "type" : "string",
+        "format" : "org.onap.clamp.clds.model.ClampInformation"
+      }
+    },
+    "Dictionary" : {
+      "type" : "object",
+      "properties" : {
+        "createdDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedBy" : {
+          "type" : "string"
+        },
+        "createdBy" : {
+          "type" : "string"
+        },
+        "name" : {
+          "type" : "string"
+        },
+        "secondLevelDictionary" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "subDictionaryType" : {
+          "type" : "string"
+        },
+        "dictionaryElements" : {
+          "type" : "array",
+          "uniqueItems" : true,
+          "items" : {
+            "$ref" : "#/definitions/DictionaryElement"
+          }
+        }
+      },
+      "x-className" : {
+        "type" : "string",
+        "format" : "org.onap.clamp.tosca.Dictionary"
+      }
+    },
+    "DictionaryElement" : {
+      "type" : "object",
+      "properties" : {
+        "createdDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedBy" : {
+          "type" : "string"
+        },
+        "createdBy" : {
+          "type" : "string"
+        },
+        "shortName" : {
+          "type" : "string"
+        },
+        "name" : {
+          "type" : "string"
+        },
+        "description" : {
           "type" : "string"
         },
-        "location" : {
+        "type" : {
           "type" : "string"
         },
-        "vmName" : {
+        "subDictionary" : {
           "type" : "string"
+        },
+        "usedByDictionaries" : {
+          "type" : "array",
+          "uniqueItems" : true,
+          "items" : {
+            "$ref" : "#/definitions/Dictionary"
+          }
         }
       }
     },
-    "CldsModel" : {
+    "Loop" : {
       "type" : "object",
       "properties" : {
-        "id" : {
-          "type" : "string"
+        "createdDate" : {
+          "type" : "integer",
+          "format" : "int64"
         },
-        "templateId" : {
+        "updatedDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedBy" : {
           "type" : "string"
         },
-        "templateName" : {
+        "createdBy" : {
           "type" : "string"
         },
         "name" : {
           "type" : "string"
         },
-        "controlNamePrefix" : {
+        "dcaeDeploymentId" : {
+          "type" : "string"
+        },
+        "dcaeDeploymentStatusUrl" : {
+          "type" : "string"
+        },
+        "globalPropertiesJson" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "modelService" : {
+          "$ref" : "#/definitions/Service"
+        },
+        "lastComputedState" : {
+          "type" : "string",
+          "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
+        },
+        "components" : {
+          "type" : "object",
+          "additionalProperties" : {
+            "$ref" : "#/definitions/ExternalComponent"
+          }
+        },
+        "operationalPolicies" : {
+          "type" : "array",
+          "uniqueItems" : true,
+          "items" : {
+            "$ref" : "#/definitions/OperationalPolicy"
+          }
+        },
+        "microServicePolicies" : {
+          "type" : "array",
+          "uniqueItems" : true,
+          "items" : {
+            "$ref" : "#/definitions/MicroServicePolicy"
+          }
+        },
+        "loopLogs" : {
+          "type" : "array",
+          "uniqueItems" : true,
+          "items" : {
+            "$ref" : "#/definitions/LoopLog"
+          }
+        },
+        "loopTemplate" : {
+          "$ref" : "#/definitions/LoopTemplate"
+        }
+      },
+      "x-className" : {
+        "type" : "string",
+        "format" : "org.onap.clamp.loop.Loop"
+      }
+    },
+    "JsonPrimitive" : {
+      "type" : "object",
+      "properties" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asDouble" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "boolean" : {
+          "type" : "boolean"
+        },
+        "number" : {
+          "type" : "boolean"
+        },
+        "asString" : {
           "type" : "string"
         },
-        "controlNameUuid" : {
+        "asBigDecimal" : {
+          "type" : "number"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
+        },
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
           "type" : "string"
         },
-        "bpmnText" : {
+        "string" : {
+          "type" : "boolean"
+        },
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
+        },
+        "jsonArray" : {
+          "type" : "boolean"
+        },
+        "jsonNull" : {
+          "type" : "boolean"
+        },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "jsonPrimitive" : {
+          "type" : "boolean"
+        }
+      }
+    },
+    "MicroServicePolicy" : {
+      "type" : "object",
+      "properties" : {
+        "createdDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedBy" : {
           "type" : "string"
         },
-        "propText" : {
+        "createdBy" : {
           "type" : "string"
         },
-        "imageText" : {
+        "jsonRepresentation" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "configurationsJson" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "loopElementModel" : {
+          "$ref" : "#/definitions/LoopElementModel"
+        },
+        "pdpGroup" : {
           "type" : "string"
         },
-        "docText" : {
+        "pdpSubgroup" : {
           "type" : "string"
         },
-        "blueprintText" : {
+        "policyModel" : {
+          "$ref" : "#/definitions/PolicyModel"
+        },
+        "name" : {
           "type" : "string"
         },
-        "event" : {
-          "$ref" : "#/definitions/CldsEvent"
+        "context" : {
+          "type" : "string"
         },
-        "status" : {
+        "deviceTypeScope" : {
           "type" : "string"
         },
-        "permittedActionCd" : {
-          "type" : "array",
-          "items" : {
-            "type" : "string"
-          }
+        "shared" : {
+          "type" : "boolean"
         },
-        "cldsModelInstanceList" : {
+        "usedByLoops" : {
           "type" : "array",
+          "uniqueItems" : true,
           "items" : {
-            "$ref" : "#/definitions/CldsModelInstance"
+            "$ref" : "#/definitions/Loop"
           }
         },
-        "typeId" : {
+        "dcaeDeploymentId" : {
+          "type" : "string"
+        },
+        "dcaeDeploymentStatusUrl" : {
           "type" : "string"
         },
-        "typeName" : {
+        "dcaeBlueprintId" : {
           "type" : "string"
+        }
+      },
+      "x-className" : {
+        "type" : "string",
+        "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
+      }
+    },
+    "JsonObject" : {
+      "type" : "object",
+      "properties" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asDouble" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
         },
-        "deploymentId" : {
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "asString" : {
           "type" : "string"
         },
-        "controlName" : {
+        "jsonObject" : {
+          "type" : "boolean"
+        },
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
+        },
+        "asBigDecimal" : {
+          "type" : "number"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
+        },
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
           "type" : "string"
+        },
+        "jsonArray" : {
+          "type" : "boolean"
+        },
+        "jsonNull" : {
+          "type" : "boolean"
+        },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "jsonPrimitive" : {
+          "type" : "boolean"
         }
       },
       "x-className" : {
         "type" : "string",
-        "format" : "org.onap.clamp.clds.model.CldsModel"
+        "format" : "com.google.gson.JsonObject"
       }
     },
-    "CldsEvent" : {
+    "PolicyModel" : {
       "type" : "object",
       "properties" : {
-        "id" : {
+        "createdDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedBy" : {
+          "type" : "string"
+        },
+        "createdBy" : {
           "type" : "string"
         },
-        "actionCd" : {
+        "policyModelType" : {
           "type" : "string"
         },
-        "actionStateCd" : {
+        "version" : {
           "type" : "string"
         },
-        "processInstanceId" : {
+        "policyModelTosca" : {
           "type" : "string"
         },
-        "userid" : {
+        "policyAcronym" : {
           "type" : "string"
+        },
+        "usedByElementModels" : {
+          "type" : "array",
+          "uniqueItems" : true,
+          "items" : {
+            "$ref" : "#/definitions/LoopElementModel"
+          }
+        },
+        "policyPdpGroup" : {
+          "$ref" : "#/definitions/JsonObject"
         }
+      },
+      "x-className" : {
+        "type" : "string",
+        "format" : "org.onap.clamp.loop.template.PolicyModel"
       }
     },
-    "CldsMonitoringDetails" : {
+    "Service" : {
       "type" : "object",
       "properties" : {
-        "closeloopName" : {
+        "serviceUuid" : {
+          "type" : "string"
+        },
+        "name" : {
+          "type" : "string"
+        },
+        "version" : {
           "type" : "string"
         },
-        "modelName" : {
+        "serviceDetails" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "resourceDetails" : {
+          "$ref" : "#/definitions/JsonObject"
+        }
+      }
+    },
+    "LoopTemplateLoopElementModel" : {
+      "type" : "object",
+      "properties" : {
+        "loopTemplate" : {
+          "$ref" : "#/definitions/LoopTemplate"
+        },
+        "loopElementModel" : {
+          "$ref" : "#/definitions/LoopElementModel"
+        },
+        "flowOrder" : {
+          "type" : "integer",
+          "format" : "int32"
+        }
+      }
+    },
+    "OperationalPolicy" : {
+      "type" : "object",
+      "properties" : {
+        "createdDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedBy" : {
           "type" : "string"
         },
-        "serviceTypeId" : {
+        "createdBy" : {
           "type" : "string"
         },
-        "deploymentId" : {
+        "jsonRepresentation" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "configurationsJson" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "loopElementModel" : {
+          "$ref" : "#/definitions/LoopElementModel"
+        },
+        "pdpGroup" : {
           "type" : "string"
         },
-        "templateName" : {
+        "pdpSubgroup" : {
           "type" : "string"
         },
-        "action" : {
+        "policyModel" : {
+          "$ref" : "#/definitions/PolicyModel"
+        },
+        "name" : {
           "type" : "string"
         },
-        "userid" : {
+        "loop" : {
+          "$ref" : "#/definitions/Loop"
+        }
+      }
+    },
+    "JsonNull" : {
+      "type" : "object",
+      "properties" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asDouble" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "asString" : {
           "type" : "string"
         },
-        "timestamp" : {
+        "jsonObject" : {
+          "type" : "boolean"
+        },
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
+        },
+        "asBigDecimal" : {
+          "type" : "number"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
+        },
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
           "type" : "string"
+        },
+        "jsonArray" : {
+          "type" : "boolean"
+        },
+        "jsonNull" : {
+          "type" : "boolean"
+        },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "jsonPrimitive" : {
+          "type" : "boolean"
         }
-      },
-      "x-className" : {
-        "type" : "string",
-        "format" : "org.onap.clamp.clds.model.CldsMonitoringDetails"
       }
     },
-    "CldsInfo" : {
+    "JsonArray" : {
       "type" : "object",
       "properties" : {
-        "userName" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asDouble" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asString" : {
           "type" : "string"
         },
-        "cldsVersion" : {
+        "asBigDecimal" : {
+          "type" : "number"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
+        },
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
           "type" : "string"
         },
-        "permissionReadCl" : {
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "jsonObject" : {
           "type" : "boolean"
         },
-        "permissionUpdateCl" : {
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
+        },
+        "jsonArray" : {
           "type" : "boolean"
         },
-        "permissionReadTemplate" : {
+        "jsonNull" : {
           "type" : "boolean"
         },
-        "permissionUpdateTemplate" : {
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "jsonPrimitive" : {
           "type" : "boolean"
         }
       },
       "x-className" : {
         "type" : "string",
-        "format" : "org.onap.clamp.clds.model.CldsInfo"
+        "format" : "com.google.gson.JsonArray"
+      }
+    },
+    "LoopLog" : {
+      "type" : "object",
+      "properties" : {
+        "id" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "logType" : {
+          "type" : "string",
+          "enum" : [ "INFO", "WARNING", "ERROR" ]
+        },
+        "logComponent" : {
+          "type" : "string"
+        },
+        "message" : {
+          "type" : "string"
+        },
+        "loop" : {
+          "$ref" : "#/definitions/Loop"
+        },
+        "logInstant" : {
+          "type" : "integer",
+          "format" : "int64"
+        }
+      }
+    },
+    "Number" : {
+      "type" : "object"
+    },
+    "ExternalComponent" : {
+      "type" : "object",
+      "properties" : {
+        "state" : {
+          "$ref" : "#/definitions/ExternalComponentState"
+        },
+        "componentName" : {
+          "type" : "string"
+        }
       }
     },
-    "DcaeEvent" : {
+    "LoopTemplate" : {
       "type" : "object",
       "properties" : {
-        "event" : {
+        "createdDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedDate" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "updatedBy" : {
+          "type" : "string"
+        },
+        "createdBy" : {
           "type" : "string"
         },
-        "serviceUUID" : {
+        "name" : {
           "type" : "string"
         },
-        "resourceUUID" : {
+        "dcaeBlueprintId" : {
           "type" : "string"
         },
-        "artifactName" : {
+        "blueprint" : {
           "type" : "string"
         },
-        "instances" : {
+        "loopElementModelsUsed" : {
           "type" : "array",
+          "uniqueItems" : true,
           "items" : {
-            "$ref" : "#/definitions/CldsModelInstance"
+            "$ref" : "#/definitions/LoopTemplateLoopElementModel"
           }
         },
-        "controlName" : {
-          "type" : "string"
+        "modelService" : {
+          "$ref" : "#/definitions/Service"
         },
-        "cldsActionCd" : {
-          "type" : "string"
+        "maximumInstancesAllowed" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "uniqueBlueprint" : {
+          "type" : "boolean"
+        },
+        "allowedLoopType" : {
+          "type" : "string",
+          "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
         }
       },
       "x-className" : {
         "type" : "string",
-        "format" : "org.onap.clamp.clds.model.DcaeEvent"
+        "format" : "org.onap.clamp.loop.template.LoopTemplate"
       }
     },
-    "ValueItem" : {
+    "ExternalComponentState" : {
       "type" : "object",
       "properties" : {
-        "value" : {
+        "stateName" : {
+          "type" : "string"
+        },
+        "description" : {
           "type" : "string"
+        },
+        "level" : {
+          "type" : "integer",
+          "format" : "int32"
         }
-      },
-      "x-className" : {
-        "type" : "string",
-        "format" : "org.onap.clamp.clds.model.ValueItem"
       }
     },
-    "CldsTemplate" : {
+    "LoopElementModel" : {
       "type" : "object",
       "properties" : {
-        "id" : {
-          "type" : "string"
+        "createdDate" : {
+          "type" : "integer",
+          "format" : "int64"
         },
-        "name" : {
-          "type" : "string"
+        "updatedDate" : {
+          "type" : "integer",
+          "format" : "int64"
         },
-        "controlNamePrefix" : {
+        "updatedBy" : {
           "type" : "string"
         },
-        "controlNameUuid" : {
+        "createdBy" : {
           "type" : "string"
         },
-        "bpmnId" : {
+        "name" : {
           "type" : "string"
         },
-        "bpmnUserid" : {
+        "dcaeBlueprintId" : {
           "type" : "string"
         },
-        "bpmnText" : {
+        "blueprint" : {
           "type" : "string"
         },
-        "imageId" : {
+        "loopElementType" : {
           "type" : "string"
         },
-        "imageUserid" : {
+        "shortName" : {
           "type" : "string"
         },
-        "imageText" : {
-          "type" : "string"
+        "policyModels" : {
+          "type" : "array",
+          "uniqueItems" : true,
+          "items" : {
+            "$ref" : "#/definitions/PolicyModel"
+          }
         },
-        "propId" : {
+        "usedByLoopTemplates" : {
+          "type" : "array",
+          "uniqueItems" : true,
+          "items" : {
+            "$ref" : "#/definitions/LoopTemplateLoopElementModel"
+          }
+        }
+      }
+    },
+    "CldsHealthCheck" : {
+      "type" : "object",
+      "properties" : {
+        "healthCheckComponent" : {
           "type" : "string"
         },
-        "propUserid" : {
+        "healthCheckStatus" : {
           "type" : "string"
         },
-        "propText" : {
+        "description" : {
           "type" : "string"
-        },
-        "userAuthorizedToUpdate" : {
-          "type" : "boolean"
         }
       },
       "x-className" : {
         "type" : "string",
-        "format" : "org.onap.clamp.clds.model.CldsTemplate"
+        "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
       }
     }
   }