X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=api%2Fswagger.json;h=e1719ea707f49a9d658f31e4d0789dbd79a75b82;hb=3ec3a8e1980c1c1bd08f9f0e28b76f46d11ba9f6;hp=511ce725d70abb5126174052c3c3ed088a45a922;hpb=8490a957d5200419a0b8e60c35d8b2c7ecb1ba6e;p=holmes%2Fengine-management.git diff --git a/api/swagger.json b/api/swagger.json index 511ce72..e1719ea 100644 --- a/api/swagger.json +++ b/api/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 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" - } } } }