[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1020) BRMS Custom Rule Selector for Creating Deployable Packages
Barry Knapp (JIRA)
jira-events at lists.jboss.org
Thu Aug 16 06:00:01 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1020?page=comments#action_12372483 ]
Barry Knapp commented on JBRULES-1020:
--------------------------------------
My Definition of Rule Testing: Testing new rule with existing rules that will be in production with the new rule, in a systems integrated environment.
Here is an example, I have a production server with 100 rules and a rule #1 that says if Driver Age < 21 then set Fact Risky Driver
Due to some change in company policy, I need to replace this rule #1 with 2 new rules.
Rule #2 : if Driver Age < 21 and Driver has no accidents then set Fact Young Driver
Rule #3 : if Driver Age < 21 and Driver has >0 accidents then set Fact Risky Driver
I would need an Integration test environment to test Rule #2 and Rule #3 with all the other 99 production rules, but Rule #1 should not be included in the test environment, since my intention is for Rules #2 and #3 to replace Rule #1.
> BRMS Custom Rule Selector for Creating Deployable Packages
> ----------------------------------------------------------
>
> Key: JBRULES-1020
> URL: http://jira.jboss.com/jira/browse/JBRULES-1020
> Project: JBoss Rules
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: drools-brms
> Environment: general
> Reporter: Barry Knapp
> Assigned To: Michael Neale
> Fix For: 4.0.1
>
>
> Use Case : Ability to include or exclude rules in a deployable package based on rule meta data or custom rule attributes.
> Add an extension point to the BRMS for deciding which rules should be included in a deployable package.
> A CustomSelector interface with an boolean accepts(Rule) method would allow implementors to create a class and implement the accepts method. The custom method could then analyze the rule to determine if the rule should be included in the package being generated by return true for inclusion. A property file with CustomExtractor=com...implementing class would allow the implementor to inject their CustomSelector class.
--
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
More information about the jboss-jira
mailing list