X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=engine-d%2Fsrc%2Fmain%2Fresources%2Fswagger.json;h=e1719ea707f49a9d658f31e4d0789dbd79a75b82;hb=refs%2Fchanges%2F49%2F66849%2F1;hp=4dd3f6d5455608944019a2fcf7f9b5fd8ac5d074;hpb=fe3bae00cfa7eac9618856b1dd10a8c03daa8810;p=holmes%2Fengine-management.git diff --git a/engine-d/src/main/resources/swagger.json b/engine-d/src/main/resources/swagger.json index 4dd3f6d..e1719ea 100644 --- a/engine-d/src/main/resources/swagger.json +++ b/engine-d/src/main/resources/swagger.json @@ -53,75 +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 two fields: \"content\" 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" ], - "properties" : { - "content" : { - "type" : "string" - }, - "engineid" : { - "type" : "string" - } } } }