4 "description" : "This page shows all the APIs available in the Holmes engine management module.",
6 "title" : "API Descriptions for Holmes Engine Management",
7 "termsOfService" : "http://www.github.com/kongchen/swagger-maven-plugin",
9 "name" : "Guangrong Fu",
10 "email" : "fu.guangrong@zte.com.cn"
13 "name" : "Apache 2.0",
14 "url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
17 "basePath" : "/api/holmes-engine-mgmt/v1/",
19 "name" : "Health Check"
21 "name" : "Holmes Engine Management"
26 "tags" : [ "Health Check" ],
27 "summary" : "Interface for the health check of the engine management module for Holmes",
29 "operationId" : "healthCheck",
30 "produces" : [ "text/plain" ],
33 "description" : "successful operation",
43 "tags" : [ "Holmes Engine Management" ],
44 "summary" : "Check the validity of a rule.",
46 "operationId" : "compileRule",
47 "produces" : [ "application/json" ],
50 "description" : "successful operation",
58 "tags" : [ "Holmes Engine Management" ],
59 "summary" : "Deploy a rule into the Drools engine.",
61 "operationId" : "deployRule",
62 "produces" : [ "application/json" ],
66 "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.",
69 "$ref" : "#/definitions/DeployRuleRequest"
74 "description" : "successful operation",
76 "$ref" : "#/definitions/CorrelationRuleResponse"
82 "/rule/{packageName}" : {
84 "tags" : [ "Holmes Engine Management" ],
85 "summary" : "Undeploy a rule from the Drools engine.",
87 "operationId" : "undeployRule",
88 "produces" : [ "application/json" ],
90 "name" : "packageName",
97 "description" : "successful operation",
107 "CorrelationRuleResponse" : {
115 "DeployRuleRequest" : {
117 "required" : [ "content" ],