RE: [rules-users] Rules Effective Date

2009-05-27 Thread Ingold, Jonathan
Hi Srinivas,
  I would look at the newly released 5.01 GA, specifically at the
documentation for Fusion, which focuses on event processing. 
 

| Jonathan Ingold |

 



From: Srinivas Doddi [mailto:srinivas_do...@gap.com] 
Sent: Tuesday, May 26, 2009 11:41 PM
To: rules-users@lists.jboss.org
Subject: [rules-users] Rules Effective Date



Hi

I am a newbie for Drools and googled for a good time.  I would like to
know if Drools 4.0.7 and Drools 5 have anything like an "Effective Date"
concept? We have a requirement for having a rule written by the Business
Analysts and takes effective for a future date, without restarting the
application. Is Rules Engine intelligent enough to pick the rules
depending on effective dates?

Thanks a lot for your help.

SRINI


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Guvnor Package Builds & The EGT w/ver. 5.0.0 CR1

2009-05-06 Thread Ingold, Jonathan
Hello,

I use Guvnor's repository to store, organize and deploy our rules.
However Eclipse Ganymede with the Eclipse Guvnor Toolkit is used for all
of our editing and testing.

My question is this: After making a change to a rule (we use drls only)
I save the local copy and commit it to Guvnor.  However, when I run a
test class that checks to make sure these changes went into effect they
do not. In order for the changes to truly become effective, I must
rebuild the rule package in Guvnor.  The .properties file has
newInstance=true which according to the comments "means the RuleBase
will be created fresh whenever there are changes".

I would really rather not have to switch over to guvnor and rebuild the
package anytime I make even a minor change in my rules for testing.
Does anyone know a way around this or am I doing something foolish
without realizing it?

Thanks,

Jon

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


RE: [rules-users] Guvnor - assigning roles to users

2009-05-06 Thread Ingold, Jonathan
You may also want to change "brms" to "drools-guvnor" not
"brms-*.properties to drools-guvnor-*.properties.  I have found the
making sure I specify drools-guvnor instead of brms or drools-brms
whenever possible avoids a lot of not so obvious problems at least if
you are using 5.0.0 CR1, don't know about the the M* releases.
 

| Jonathan Ingold |  jonathan.ing...@jackson.com  | PH: & FAX:
517-367-3827 | Business Rules Developer | Jackson National |
http://www.jackson.com    | Please note that
all Jackson e-mail addresses have changed from @jnli.com to
@jackson.com.

 




2009/5/6 Darrin Mison 


The Drools 5 guvnor guide states that you can specify the admin
role for a user in your JAAS login configuration. 

"It is also possible (thanks to JAAS) to define what users have
the "admin" role for Guvnor"

This is also stated here:
http://magazine.redhat.com/2008/08/12/jboss-drools-how-to-tuning-guvnor-
part-1/#password

I can't get this to work, the only way I can assign roles to
users is using the web UI.  

Is this a bug or are the docs out of date ?  Or am I missing
something ?

server/default/deploy/jboss-brms.war/WEB-INF/components.xml



server/default/conf/login-config.xml:
  
 

   props/brms-users.properties
   props/brms-roles.properties

 
  

server/default/conf/props/brms-users.properties
admin=admin123

server/default/conf/props/brms-roles.properties
admin=admin


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Sudoku example in Guvnor 5.0.0 CR1

2009-05-01 Thread Ingold, Jonathan
Hello,
 
I was wondering if anyone has tried using Guvnor with the Sudoku example
in examples for 5.0.0 CR1.  We are looking at Guvnor's functionality and
I'm have difficulty running any successful scenario's against the Sudoku
rules in Guvnor.  I know this is one of the more complex examples in the
drl package but it seems that there would have to be a lot of work done
to get any benefit from Guvnor without rewriting some of the Java
Classes.  Anyone willing to share any experiences with this?
 
Thanks,
 
Jon

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Guvnor's Scenario returning "Error rebuilding RuleBase"

2009-04-23 Thread Ingold, Jonathan
Hello,
 
I am receiving an "Error rebuilding RuleBase" error in Guvnor anytime I
run a scenario against rules that reference a constant.  Also the
constants are not available in the scenario tool.
 
An example of a rule that I have used that references a constant would
be:
***
rule "First"
 
  salience 10
 
 when
  $a : Action(task == ConstantC.UNO)
 
 then 
  System.out.println("First Rule Fired");
  
end
*
Note "task" is a ConstantC object.

 
The constant UNO is declared in my java class with the line:
***
public static ConstantC UNO = new ConstantC(1, "One");

 
The rule fires perfectly in Eclipse with the expected result.  Could
this possibly be a bug with Guvnor?  I couldn't find anything in JIRA
relating to this.
 
Any input is appreciated!
 
Thanks,
 
Jon

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Bug JBRULES-2026

2009-04-20 Thread Ingold, Jonathan
Hello,
 
I was wondering if anyone knows of a workaround to this bug
(https://jira.jboss.org/jira/browse/JBRULES-2026) which concerns an
error importing or dragging repository resources from Guvnor to Eclipse
using webDAV on a windows box. I know Mark is working on this bug but
I'm guessing someone out there is using Eclipse and Guvnor with a
workaround.
 
Any input is appreciated!
 
Thanks,

| Jonathan Ingold |  jonathan.ing...@jackson.com  | PH: & FAX:
517-367-3827 | Business Rules Developer | Jackson National Life
Insurance |  http://www.jackson.com    | Please
note that all Jackson e-mail addresses have changed from @jnli.com to
@jackson.com.

 
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


RE: [rules-users] Comparison info with other engines

2009-04-17 Thread Ingold, Jonathan
The Guvnor feature of Drools makes things easier for Business users and
is great for version control!
 

| Jonathan Ingold |  jonathan.ing...@jackson.com  | PH: & FAX:
517-367-3827 | Business Rules Developer | Jackson National Life
Insurance |  http://www.jackson.com    | Please
note that all Jackson e-mail addresses have changed from @jnli.com to
@jackson.com.

 



From: Lindy hagan [mailto:lindyha...@gmail.com] 
Sent: Friday, April 17, 2009 2:28 PM
To: rules-users@lists.jboss.org
Subject: [rules-users] Comparison info with other engines


I'm wondering if anybody has comparison info with other engines. I just
started to evaluate the products
not sure which factors to consider. But I have these requirements:

Must Be
1)Free or inexpensive product.
2)Rules change frequently, level of effort should be minimum.
3)Multiple join condition (A rule is determined ranging from 1 to 10
data fields.)
4)Should support approximately 75 rules.

Better if we have.
1)Change Rules dynamically if possible.
2)Ease of use for Business users and developers.
3)Rule versioning.

Will be happy if any one can send me rule comparison document or suggest
me which tools can i use to evaluate.

Thanks,
Lindy

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users