Hi Group Members,
I have checked out Drools source from
http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/ on 7th
After that I have tested some scenarios/use cases, which are required for
1. *'Add Pkg/Rule with serialized RuleBase & Working Memory'* use case is
working fine, except some special scenarios
[ I have mentioned them in the attached file DynamicRulesMoreTest)].
2. *'Remove Pkg/rule with serialized RuleBase & Working Memory'* use case is
I have attached the Test scenarios & Rule(s) .
Please help me, if I am doing some thing wrong. Above 2 use cases are very
important for us, to use *"Drool"* in our application*.*
Quick update on how the Spring (IOC) - Drools integration is going
- About 2/3rds of what I'm doing is Examples and Documentation , the
other third is the Spring (IOC)-Drools adapter themselves.
- Calling it IOC rather than Spring as the adapter classes are just
JavaBeans - in theory they should work with Guice and Seam as well.
- Only a couple of adapter classes are needed; most functionality is
already in the existing Spring or Drools Frameworks.
- Example is based on HelloWorld - preview is up on the wiki -
*- I'll need to provide Spring config / code snippets for Stateless
Sessions, RuleAgents and deploying as part of Web apps as well
- Will refer to Transactions, Spring Proxy etc ; in general this part
will be RTSM (read the spring manual).
Anybody has any thoughts?
I am using JBoss rules 3.0.6 to externalize all business rules. We have a
requirement were in we want to create a audit report after rules have been
executed. For each rule, we need to track Desired Condition Value(as
specified in when part), Actual Condition Value(value in asserted object)
and so on.
I looked into Event Model API's and was able to successfully fetch required
data from call back methods provided by DefaultAgendaEventListener for most
of the rules.
However, In my application there are some rules which use EvalCondition. I
am not able to fetch required data from EvalExpression() - I know that using
eval is not a good idea but it will remain like this for now.
On introspecting Eval Expression i am getting something like below:
What i am expecting is something like below:
eval( Income.getGrossIncome().doubleValue() == 10001)
Is there any way to get the original eval expression through
Another problem which i for see going forward is that i need to gather
required audit data not only for rules which have fired but also for rules
which did not get fired. I require same data for these rules like Desired
Condition value, actual value in asserted object. So that any body can see
how actual value differed from desired value. I am not able to figure out
how to gather data for rules which did not get fired at all.