summaryrefslogtreecommitdiffstats
path: root/engine-d/src/main/resources/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d/src/main/resources/swagger.json')
-rw-r--r--engine-d/src/main/resources/swagger.json72
1 files changed, 0 insertions, 72 deletions
diff --git a/engine-d/src/main/resources/swagger.json b/engine-d/src/main/resources/swagger.json
index 6cb8eaf..e1719ea 100644
--- a/engine-d/src/main/resources/swagger.json
+++ b/engine-d/src/main/resources/swagger.json
@@ -53,78 +53,6 @@
}
}
}
- },
- "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 Amsterdam 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"
- }
}
}
}