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