[rules-users] Repositry deployment Issues

2013-12-27 Thread Govind J. Parashar
Hi All Anyone know how to dynamic deploy or export (using programmatically or through scripting ) repository in Guvnor. Thanks & regards Govind Parashar -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Wolfgang Laun

Re: [rules-users] Drools6.0 Security Issues

2013-12-27 Thread Wolfgang Laun
You might want to look into the topic of the Java platform's security manager, which provides features for running untrusted SW. This list may not be the best place to ask about details w.r.t. this topic. The idea of inspecting DRL source code to detect the (malicious) usage of some class or other

Re: [rules-users] rule condition problem in drools 5.5.0 Final

2013-12-27 Thread Davide Sottara
I could not reproduce the problem in 5.6 either. Please try 5.6.0-CR1 and consider upgrading, 5.6.Final will be released - I guess - just after the holidays and will not have substantial differences from CR1. On the other hand, if the test fails in 5.6 too, please submit a reproducer. Thanks Davide

Re: [rules-users] Drools6.0 Security Issues

2013-12-27 Thread philip
Thank you for your reply. If existing some package or class on the rule 's RHS ,How to filter them ,and forbid execute this rule. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools6-0-Security-Issues-tp4027433p4027445.html Sent from the Drools: User forum

Re: [rules-users] Drools 5.4 : DRL : Issues using java.util.Map and > operator in Condition

2013-12-27 Thread Wolfgang Laun
Davide's suggestion also works in 5.4.0. -W On 27/12/2013, anij wrote: > Thanks laune!! > This type cast save me for the day!! > > *eval((Integer) map.get("Age") > 18 )* > > > Cheers!! > Happy week End!! > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-5-4-DR

Re: [rules-users] rule condition problem in drools 5.5.0 Final

2013-12-27 Thread Wolfgang Laun
Looks like a bug, try 5.6.0. But I wonder about the strange way of writing this rule. A much simpler way would be when todo: ToDoItemTO(status in ('DELAY')) not ToDoItemTO( this != todo ) then -W On 27/12/2013, scarlettxu wrote: > Hi expert, > > expect you can have a lo

Re: [rules-users] Drools6.0 Security Issues

2013-12-27 Thread Wolfgang Laun
An automatic import of java.lang.* isn't a Drools feature - it is a Java feature, and, ultimately, RHS code needs to be passed to a Java compiler. Moreover, even when Java itself would not automatically import java.lang.Process, using the full-blown class name in the code still gives you access to

Re: [rules-users] Drools 5.4 : DRL : Issues using java.util.Map and > operator in Condition

2013-12-27 Thread anij
Thanks laune!! This type cast save me for the day!! *eval((Integer) map.get("Age") > 18 )* Cheers!! Happy week End!! -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-DRL-Issues-using-java-util-Map-and-operator-in-Condition-tp4027435p4027439.html Sent from the D

Re: [rules-users] Drools 5.4 : DRL : Issues using java.util.Map and > operator in Condition

2013-12-27 Thread Davide Sottara
I haven't checked 5.4, but in later versions you should be able to write: when Map( this[ "age" ] > 18 ) Davide On 12/27/2013 12:24 PM, Wolfgang Laun wrote: > See inline. > > On 27/12/2013, anij wrote: >> Hi, >> I'm facing problem when I'm using Map and > Operator in condition section. >> I'm

Re: [rules-users] Drools 5.4 : DRL : Issues using java.util.Map and > operator in Condition

2013-12-27 Thread Wolfgang Laun
See inline. On 27/12/2013, anij wrote: > > Hi, > I'm facing problem when I'm using Map and > Operator in condition section. > I'm using version 5.4. > > this is my RULE: > > package resouces.rules > > import java.uti

Re: [rules-users] Active-Active setup on Drools

2013-12-27 Thread Wolfgang Laun
On 27/12/2013, dejie wrote: > Hi, > > Would like to find out how to setup two Drools instances with both > Active-Active for HA purpose? Hilarious Assertions? Hideous Accidents? Holistic Acquisitions? Why is it that everybody thinks that everybody can interpret their MOA? > Is there a way to en

[rules-users] Drools 5.4 : DRL : Issues using java.util.Map and > operator in Condition

2013-12-27 Thread anij
Hi, I'm facing problem when I'm using Map and > Operator in condition section. I'm using version 5.4. this is my RULE: package resouces.rules import java.util.*; rule "Valid Age_BNG" agenda-group "Check user Eligi

[rules-users] rule condition problem in drools 5.5.0 Final

2013-12-27 Thread scarlettxu
Hi expert, expect you can have a look of our problem and give any suggestions we are using drools 5.2.0 Final now, but we want to change to 5.5.0 Final in order to use some new features. while in the testing of 5.5.0 Final version, we find a problem below we have a simple testing rule as below

[rules-users] Drools6.0 Security Issues

2013-12-27 Thread 18922445710
Hello, everyone, Greetings! I want to use Drools6.0 in my project,but I found a security issue. The Drools6.0 automatically import the java.lang.* packages. As we all know, thess packages including some package such as Process class,which can damage the application's security. So, I want know