Draft of React test
[clamp.git] / docs / swagger / swagger.json
index 819d091..d35a59c 100644 (file)
 {
   "swagger" : "2.0",
   "info" : {
-    "version" : "3.0.3-SNAPSHOT",
+    "version" : "4.1.1-SNAPSHOT",
     "title" : "Clamp Rest API"
   },
-  "host" : "0.0.0.0",
-  "basePath" : "/restservices/clds/v1/",
+  "host" : "localhost:43819",
+  "basePath" : "/restservices/clds/",
   "schemes" : [ "http" ],
   "paths" : {
-    "/clds/action/{action}/{modelName}?test={test}" : {
+    "/v2/loop/{loopName}" : {
+      "get" : {
+        "operationId" : "route167",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route167"
+      }
+    },
+    "/v2/loop/delete/{loopName}" : {
+      "put" : {
+        "operationId" : "route177",
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : { }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route177"
+      }
+    },
+    "/v2/loop/deploy/{loopName}" : {
+      "put" : {
+        "operationId" : "route172",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route172"
+      }
+    },
+    "/v2/loop/getAllNames" : {
+      "get" : {
+        "operationId" : "route166",
+        "produces" : [ "application/json" ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "type" : "array",
+              "items" : {
+                "type" : "string"
+              }
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route166"
+      }
+    },
+    "/v2/loop/getstatus/{loopName}" : {
+      "get" : {
+        "operationId" : "route178",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route178"
+      }
+    },
+    "/v2/loop/restart/{loopName}" : {
+      "put" : {
+        "operationId" : "route175",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route175"
+      }
+    },
+    "/v2/loop/stop/{loopName}" : {
+      "put" : {
+        "operationId" : "route174",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route174"
+      }
+    },
+    "/v2/loop/submit/{loopName}" : {
+      "put" : {
+        "operationId" : "route176",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route176"
+      }
+    },
+    "/v2/loop/svgRepresentation/{loopName}" : {
+      "get" : {
+        "operationId" : "route168",
+        "produces" : [ "application/xml" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "type" : "string"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route168"
+      }
+    },
+    "/v2/loop/undeploy/{loopName}" : {
+      "put" : {
+        "operationId" : "route173",
+        "produces" : [ "application/json" ],
+        "parameters" : [ {
+          "name" : "loopName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
+        } ],
+        "responses" : {
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/Loop"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route173"
+      }
+    },
+    "/v2/loop/updateGlobalProperties/{loopName}" : {
+      "post" : {
+        "operationId" : "route169",
+        "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-5",
+        "x-routeId" : "route169"
+      }
+    },
+    "/v2/loop/updateMicroservicePolicy/{loopName}" : {
+      "post" : {
+        "operationId" : "route171",
+        "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-5",
+        "x-routeId" : "route171"
+      }
+    },
+    "/v2/loop/updateOperationalPolicies/{loopName}" : {
+      "post" : {
+        "operationId" : "route170",
+        "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-5",
+        "x-routeId" : "route170"
+      }
+    },
+    "/v1/clds/action/{action}/{modelName}?test={test}" : {
       "put" : {
-        "operationId" : "route10",
+        "operationId" : "route187",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route10"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route187"
       }
     },
-    "/clds/cldsDetails" : {
+    "/v1/clds/cldsDetails" : {
       "get" : {
-        "operationId" : "route2",
+        "operationId" : "route179",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsMonitoringDetails"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsMonitoringDetails"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route2"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route179"
       }
     },
-    "/clds/cldsInfo" : {
+    "/v1/clds/cldsInfo" : {
       "get" : {
-        "operationId" : "route3",
+        "operationId" : "route180",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsInfo"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsInfo"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route3"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route180"
       }
     },
-    "/clds/dcae/event?test={test}" : {
+    "/v1/clds/dcae/event?test={test}" : {
       "post" : {
-        "operationId" : "route11",
+        "operationId" : "route188",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route11"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route188"
       }
     },
-    "/clds/deploy/{modelName}" : {
+    "/v1/clds/deploy/{modelName}" : {
       "put" : {
-        "operationId" : "route15",
+        "operationId" : "route190",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route15"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route190"
       }
     },
-    "/clds/model-names" : {
+    "/v1/clds/model-names" : {
       "get" : {
-        "operationId" : "route9",
+        "operationId" : "route186",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/ValueItem"
-            },
             "schema" : {
               "$ref" : "#/definitions/ValueItem"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route9"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route186"
       }
     },
-    "/clds/model/{modelName}" : {
+    "/v1/clds/model/{modelName}" : {
       "get" : {
-        "operationId" : "route7",
+        "operationId" : "route184",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "modelName",
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsModel"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsModel"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route7"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route184"
       },
       "put" : {
-        "operationId" : "route8",
+        "operationId" : "route185",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsModel"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsModel"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route8"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route185"
       }
     },
-    "/clds/model/bpmn/{modelName}" : {
+    "/v1/clds/model/bpmn/{modelName}" : {
       "get" : {
-        "operationId" : "route5",
+        "operationId" : "route182",
         "produces" : [ "text/xml" ],
         "parameters" : [ {
           "name" : "modelName",
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route5"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route182"
       }
     },
-    "/clds/model/image/{modelName}" : {
+    "/v1/clds/model/image/{modelName}" : {
       "get" : {
-        "operationId" : "route6",
+        "operationId" : "route183",
         "produces" : [ "text/xml" ],
         "parameters" : [ {
           "name" : "modelName",
         "responses" : {
           "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"
-      }
-    },
-    "/clds/properties/{serviceInvariantUUID}?refresh={refresh}" : {
-      "get" : {
-        "operationId" : "route14",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "serviceInvariantUUID}?refresh={refresh",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : { }
-        },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route14"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route183"
       }
     },
-    "/clds/sdc/services" : {
+    "/v1/clds/properties" : {
       "get" : {
-        "operationId" : "route12",
+        "operationId" : "route189",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route12"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route189"
       }
     },
-    "/clds/undeploy/{modelName}" : {
+    "/v1/clds/undeploy/{modelName}" : {
       "put" : {
-        "operationId" : "route16",
+        "operationId" : "route191",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route16"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route191"
       }
     },
-    "/cldsTempate/template-names" : {
+    "/v1/cldsTempate/template-names" : {
       "get" : {
-        "operationId" : "route21",
+        "operationId" : "route196",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/ValueItem"
-            },
             "schema" : {
               "$ref" : "#/definitions/ValueItem"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route21"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route196"
       }
     },
-    "/cldsTempate/template/{templateName}" : {
+    "/v1/cldsTempate/template/{templateName}" : {
       "get" : {
-        "operationId" : "route19",
+        "operationId" : "route194",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "templateName",
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsTemplate"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsTemplate"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route19"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route194"
       },
       "put" : {
-        "operationId" : "route20",
+        "operationId" : "route195",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsTemplate"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsTemplate"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route20"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route195"
       }
     },
-    "/cldsTempate/template/bpmn/{templateName}" : {
+    "/v1/cldsTempate/template/bpmn/{templateName}" : {
       "get" : {
-        "operationId" : "route17",
+        "operationId" : "route192",
         "produces" : [ "text/xml" ],
         "parameters" : [ {
           "name" : "templateName",
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route17"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route192"
       }
     },
-    "/cldsTempate/template/image/{templateName}" : {
+    "/v1/cldsTempate/template/image/{templateName}" : {
       "get" : {
-        "operationId" : "route18",
+        "operationId" : "route193",
         "produces" : [ "text/xml" ],
         "parameters" : [ {
           "name" : "templateName",
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route18"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route193"
       }
     },
-    "/dictionary" : {
+    "/v1/dictionary" : {
       "get" : {
-        "operationId" : "route27",
+        "operationId" : "route204",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsDictionary"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsDictionary"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route27"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route204"
       }
     },
-    "/dictionary/{dictionaryName}" : {
+    "/v1/dictionary/{dictionaryName}" : {
       "put" : {
-        "operationId" : "route26",
+        "operationId" : "route203",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsDictionary"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsDictionary"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route26"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route203"
       }
     },
-    "/dictionary/{dictionaryName}/items" : {
+    "/v1/dictionary/{dictionaryName}/items" : {
       "get" : {
-        "operationId" : "route29",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "dictionaryName",
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsDictionary"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsDictionary"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route29"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : null
       },
       "put" : {
-        "operationId" : "route28",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsDictionaryItem"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsDictionaryItem"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route28"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : null
       }
     },
-    "/healthcheck" : {
+    "/v1/healthcheck" : {
       "get" : {
-        "operationId" : "route4",
+        "operationId" : "route181",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route4"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route181"
       }
     },
-    "/tosca/models" : {
+    "/v1/tosca/models" : {
       "get" : {
-        "operationId" : "route24",
+        "operationId" : "route200",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsToscaModel"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsToscaModel"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route24"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route200"
       }
     },
-    "/tosca/models/{toscaModelName}" : {
+    "/v1/tosca/models/{toscaModelName}" : {
       "get" : {
-        "operationId" : "route25",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "toscaModelName",
         "responses" : {
           "200" : {
             "description" : "Output type",
-            "responseSchema" : {
-              "$ref" : "#/definitions/CldsToscaModel"
-            },
             "schema" : {
               "$ref" : "#/definitions/CldsToscaModel"
             }
           }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route25"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : null
       },
       "put" : {
-        "operationId" : "route22",
+        "operationId" : "route197",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route22"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route197"
       }
     },
-    "/tosca/models/policyType/{policyType}" : {
+    "/v1/tosca/models/policyType/{policyType}" : {
       "get" : {
-        "operationId" : "route23",
+        "operationId" : "route198",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "policyType",
           "type" : "string"
         } ],
         "responses" : {
-          "200" : { }
-        },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route23"
-      }
-    },
-    "/user/getUser" : {
-      "get" : {
-        "operationId" : "route30",
+          "200" : {
+            "description" : "Output type",
+            "schema" : {
+              "$ref" : "#/definitions/CldsToscaModel"
+            }
+          }
+        },
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route198"
+      }
+    },
+    "/v1/user/getUser" : {
+      "get" : {
+        "operationId" : "route205",
         "produces" : [ "text/plain" ],
         "responses" : {
           "200" : { }
         },
-        "x-camelContextId" : "camel-1",
-        "x-routeId" : "route30"
+        "x-camelContextId" : "camel-5",
+        "x-routeId" : "route205"
       }
     }
   },
   "definitions" : {
+    "Loop" : {
+      "type" : "object",
+      "properties" : {
+        "name" : {
+          "type" : "string"
+        },
+        "dcaeDeploymentId" : {
+          "type" : "string"
+        },
+        "dcaeDeploymentStatusUrl" : {
+          "type" : "string"
+        },
+        "dcaeBlueprintId" : {
+          "type" : "string"
+        },
+        "svgRepresentation" : {
+          "type" : "string"
+        },
+        "globalPropertiesJson" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "modelPropertiesJson" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "blueprint" : {
+          "type" : "string"
+        },
+        "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"
+          }
+        }
+      },
+      "x-className" : {
+        "type" : "string",
+        "format" : "org.onap.clamp.loop.Loop"
+      }
+    },
+    "JsonArray" : {
+      "type" : "object",
+      "properties" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asString" : {
+          "type" : "string"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
+        },
+        "asDouble" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
+        },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
+          "type" : "string"
+        },
+        "asBigDecimal" : {
+          "type" : "number"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "jsonArray" : {
+          "type" : "boolean"
+        },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
+        "jsonPrimitive" : {
+          "type" : "boolean"
+        },
+        "jsonNull" : {
+          "type" : "boolean"
+        },
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
+        }
+      },
+      "x-className" : {
+        "type" : "string",
+        "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"
+    },
+    "JsonPrimitive" : {
+      "type" : "object",
+      "properties" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "boolean" : {
+          "type" : "boolean"
+        },
+        "number" : {
+          "type" : "boolean"
+        },
+        "asString" : {
+          "type" : "string"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
+        },
+        "asDouble" : {
+          "type" : "number",
+          "format" : "double"
+        },
+        "asFloat" : {
+          "type" : "number",
+          "format" : "float"
+        },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "asCharacter" : {
+          "type" : "string"
+        },
+        "asBigDecimal" : {
+          "type" : "number"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "string" : {
+          "type" : "boolean"
+        },
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "jsonArray" : {
+          "type" : "boolean"
+        },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
+        "jsonPrimitive" : {
+          "type" : "boolean"
+        },
+        "jsonNull" : {
+          "type" : "boolean"
+        },
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
+        }
+      }
+    },
+    "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"
+          }
+        }
+      },
+      "x-className" : {
+        "type" : "string",
+        "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
+      }
+    },
+    "JsonObject" : {
+      "type" : "object",
+      "properties" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
+        "asString" : {
+          "type" : "string"
+        },
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "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"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "jsonArray" : {
+          "type" : "boolean"
+        },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
+        "jsonPrimitive" : {
+          "type" : "boolean"
+        },
+        "jsonNull" : {
+          "type" : "boolean"
+        },
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
+        }
+      },
+      "x-className" : {
+        "type" : "string",
+        "format" : "com.google.gson.JsonObject"
+      }
+    },
+    "ExternalComponent" : {
+      "type" : "object",
+      "properties" : {
+        "state" : {
+          "$ref" : "#/definitions/ExternalComponentState"
+        },
+        "componentName" : {
+          "type" : "string"
+        }
+      }
+    },
+    "OperationalPolicy" : {
+      "type" : "object",
+      "properties" : {
+        "name" : {
+          "type" : "string"
+        },
+        "configurationsJson" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "loop" : {
+          "$ref" : "#/definitions/Loop"
+        },
+        "jsonRepresentation" : {
+          "$ref" : "#/definitions/JsonObject"
+        }
+      }
+    },
+    "ExternalComponentState" : {
+      "type" : "object",
+      "properties" : {
+        "stateName" : {
+          "type" : "string"
+        },
+        "description" : {
+          "type" : "string"
+        },
+        "level" : {
+          "type" : "integer",
+          "format" : "int32"
+        }
+      }
+    },
+    "JsonNull" : {
+      "type" : "object",
+      "properties" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asJsonObject" : {
+          "$ref" : "#/definitions/JsonObject"
+        },
+        "asJsonPrimitive" : {
+          "$ref" : "#/definitions/JsonPrimitive"
+        },
+        "asString" : {
+          "type" : "string"
+        },
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "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"
+        },
+        "asBigInteger" : {
+          "type" : "integer"
+        },
+        "asShort" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "jsonArray" : {
+          "type" : "boolean"
+        },
+        "jsonObject" : {
+          "type" : "boolean"
+        },
+        "jsonPrimitive" : {
+          "type" : "boolean"
+        },
+        "jsonNull" : {
+          "type" : "boolean"
+        },
+        "asJsonArray" : {
+          "$ref" : "#/definitions/JsonArray"
+        }
+      }
+    },
     "CldsModelInstance" : {
       "type" : "object",
       "properties" : {
         "closeloopName" : {
           "type" : "string"
         },
+        "modelId" : {
+          "type" : "string"
+        },
         "modelName" : {
           "type" : "string"
         },
         "event" : {
           "type" : "string"
         },
-        "serviceUUID" : {
-          "type" : "string"
-        },
-        "resourceUUID" : {
-          "type" : "string"
-        },
         "artifactName" : {
           "type" : "string"
         },
             "$ref" : "#/definitions/CldsModelInstance"
           }
         },
+        "serviceUUID" : {
+          "type" : "string"
+        },
+        "resourceUUID" : {
+          "type" : "string"
+        },
         "controlName" : {
           "type" : "string"
         },