Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Operation
Deploying a RuleURLapi/holmes-engine-mgmt/v1/ruleMethodPUTRequest
Message TypeJSON String
Message

{

"engineId": "aplus-d",

"content": "template header\n ruleId\n package packageName...",

"loopControlName": "loop-control-name"

}

Field Name

Mandatory

Data Type

Default Value

Description

engineIdNstringthe id of the rule engine which the rule is to be deployed tocontentYstringthe content of the rule which should be fully in compliance with the grammatical regulations of DroolsloopControlNameYstringclosed loop control nameResponse
Success Code200
Error Code499
Message on Success

 {

"packageName": "package0281721",

}

Message on Error

{

"code": 499,

"message": "The detailed error message is displayed here."

}

Field Name

Description

packageNamethe id of the package returned from the server
codethe error code returned from the server
messagethe detailed message if any error occurs
OperationUndeploying a RuleURLapi/holmes-engine-mgmt/v1/rule/{packageName}MethodDELETERequest

Parameter Name

Mandatory

Data Type

Default Value

Description

packageNameYstringthe name of the packageResponse
Success Code200
Error Code499
Message on Success

none

Message on Error

{

"code": 499,

"message": "The detailed error message is displayed here."

}

Field Name

Description

codethe error code returned from the server
messagethe detailed message if any error occurs
OperationVerifying a Rule
URLapi/holmes-engine-mgmt/v1/rule
MethodPOST
Request
Message TypeJSON String
Message

{

"content": "template header\n ruleId\n package packageName..."

}

Field Name

Mandatory

Data Type

Default Value

Description

contentNstring
the content of the rule which should be fully in compliance with the grammatical regulations of Drools
Response
Success Code200
Error Code499
Message on Success

none

Message on Error

{

"code": 499,

"message": "The detailed error message is displayed here."

}

Field Name

Description

codethe error code returned from the server
messagethe detailed message if any error occurs