Remove 2 APIs from Swagger.json 67/66867/1
authorGuangrongFu <fu.guangrong@zte.com.cn>
Mon, 17 Sep 2018 03:07:30 +0000 (11:07 +0800)
committerGuangrongFu <fu.guangrong@zte.com.cn>
Mon, 17 Sep 2018 03:07:30 +0000 (11:07 +0800)
Change-Id: Ic479a2dc188e373269d07ee2e48bdf6f60d96441
Issue-ID: HOLMES-168
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
api/swagger.json

index 511ce72..e1719ea 100644 (file)
             }
           }
         }
             }
           }
         }
-      },
-      "put" : {
-        "tags" : [ "Holmes Engine Management" ],
-        "summary" : "Deploy a rule into the Drools engine.",
-        "description" : "",
-        "operationId" : "deployRule",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "in" : "body",
-          "name" : "body",
-          "description" : "The request entity of the HTTP call, which comprises three fields: \"content\" , \"loopControlName\" and \"engineId\". The \"content\" should be a valid Drools rule string and the \"engineId\" has to be \"engine-d\" in the Beijing release.",
-          "required" : true,
-          "schema" : {
-            "$ref" : "#/definitions/DeployRuleRequest"
-          }
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "$ref" : "#/definitions/CorrelationRuleResponse"
-            }
-          }
-        }
-      }
-    },
-    "/rule/{packageName}" : {
-      "delete" : {
-        "tags" : [ "Holmes Engine Management" ],
-        "summary" : "Undeploy a rule from the Drools engine.",
-        "description" : "",
-        "operationId" : "undeployRule",
-        "produces" : [ "application/json" ],
-        "parameters" : [ {
-          "name" : "packageName",
-          "in" : "path",
-          "required" : true,
-          "type" : "string"
-        } ],
-        "responses" : {
-          "200" : {
-            "description" : "successful operation",
-            "schema" : {
-              "type" : "boolean"
-            }
-          }
-        }
-      }
-    }
-  },
-  "definitions" : {
-    "CorrelationRuleResponse" : {
-      "type" : "object",
-      "properties" : {
-        "package" : {
-          "type" : "string"
-        }
-      }
-    },
-    "DeployRuleRequest" : {
-      "type" : "object",
-      "required" : [ "content", "loopControlName" ],
-      "properties" : {
-        "content" : {
-          "type" : "string"
-        },
-        "engineId" : {
-          "type" : "string"
-        },
-        "loopControlName" : {
-          "type" : "string"
-        }
       }
     }
   }
       }
     }
   }