[
http://jira.jboss.com/jira/browse/JBRULES-1185?page=comments#action_12376442 ]
Edson Tirelli commented on JBRULES-1185:
----------------------------------------
Support added. As an example, run the StateExampleWithDynamicRules. In the event log we
can see now:
<org.drools.audit.event.RuleBaseLogEvent>
<packageName>org.drools.examples</packageName>
<type>12</type>
</org.drools.audit.event.RuleBaseLogEvent>
<org.drools.audit.event.RuleBaseLogEvent>
<packageName>org.drools.examples</packageName>
<ruleName>D to E</ruleName>
<type>16</type>
</org.drools.audit.event.RuleBaseLogEvent>
<org.drools.audit.event.ActivationLogEvent>
<activationId>D to E [5, 4]</activationId>
<rule>D to E</rule>
<declarations>e=E[NOTRUN](5)</declarations>
<type>4</type>
</org.drools.audit.event.ActivationLogEvent>
<org.drools.audit.event.RuleBaseLogEvent>
<packageName>org.drools.examples</packageName>
<ruleName>D to E</ruleName>
<type>17</type>
</org.drools.audit.event.RuleBaseLogEvent>
<org.drools.audit.event.RuleBaseLogEvent>
<packageName>org.drools.examples</packageName>
<type>13</type>
</org.drools.audit.event.RuleBaseLogEvent>
If you look at the 3rd event in the log snippet above ( the rule activation ), it happens
in consequence of the 2nd event that is the Rule addition to the rulebase.
The Audit View stopped working now, so, need to add such support to it.
Add support to RuleBase events on the Event Support system
----------------------------------------------------------
Key: JBRULES-1185
URL:
http://jira.jboss.com/jira/browse/JBRULES-1185
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 4.0.1
Reporter: Edson Tirelli
Assigned To: Edson Tirelli
Fix For: 4.0.2
Add support to RuleBase events on the event support system. Add events at least for:
* before package added
* after package added
* before rule added
* after rule added
* before package removed
* after package removed
* before rule removed
* after rule removed
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira