[rules-users] Drools Fusion (CEP) event life cycle

2014-07-24 Thread Ephemeris Lappis
Hello. I'm testing event processing in Drools, and after some basic tests, I have some questions about event life cycle management. According to the documentation, in stream mode, events may be automatically discarded by the engine when no rule, currently or in the future, applies to them. In

[rules-users] [optaplanner] creating dynamic fact classes(planning entity and planning variables) in Optaplanner

2014-07-24 Thread colorful.world
Hi guys, Recently, I have successfully implemented drools project with dynamic domain attributes(using declare facts type in drl) and dynamic rules(using drl rule string) which allows the users to easily add and change the domain classes and rules from GUI. But, when we come to have auto

Re: [rules-users] [optaplanner] creating dynamic fact classes(planning entity and planning variables) in Optaplanner

2014-07-24 Thread Geoffrey De Smet
(this is indeed a Drools question) It's a matter of adding Java annotations on those declared fact types. I don't know if Drools supports that. It would be nice if we have an example to demonstrate that. Feel free to open a jira on OptaPlanner that we should create such an example. On 24-07-14

[rules-users] Drools Performance Analysis Required

2014-07-24 Thread Zahid Ahmed
Hi, I need to know the Drools capacity to execute the rules. I need to know how many rules it can execute at a time and with how many facts. I need to know the memory stats. We are planning for a central rules execution server with executing around 10,000 rules per request and requests per

Re: [rules-users] [optaplanner] creating dynamic fact classes(planning entity and planning variables) in Optaplanner

2014-07-24 Thread colorful.world
Hi Geoffrey, Thanks for reply. What we use for declaring fact type is just to have class declaration in drl file. Since this drl string is loaded at runtime, we are able to have dynamic class structures and drools rules from DB. So, I am wondering if we can have dynamic Planning Entity and

Re: [rules-users] [optaplanner] creating dynamic fact classes(planning entity and planning variables) in Optaplanner

2014-07-24 Thread Davide Sottara
Declared types support annotations. You'll have to import it package my.drl; import my.SomeAnnotation; declare Foo @SomeAnnotation bar : String end When the declare is processed, the class builder will try to resolve the annotation and, if found, will wire it to the class being generated.

Re: [rules-users] [optaplanner] creating dynamic fact classes(planning entity and planning variables) in Optaplanner

2014-07-24 Thread Geoffrey De Smet
On 24-07-14 11:19, colorful.world wrote: Hi Geoffrey, Thanks for reply. What we use for declaring fact type is just to have class declaration in drl file. Since this drl string is loaded at runtime, we are able to have dynamic class structures and drools rules from DB. So, I am wondering if we

Re: [rules-users] [optaplanner] creating dynamic fact classes(planning entity and planning variables) in Optaplanner

2014-07-24 Thread colorful.world
Thank you very much for your replies. I will definitely try and get it back here. -- View this message in context: http://drools.46999.n3.nabble.com/optaplanner-creating-dynamic-fact-classes-planning-entity-and-planning-variables-in-Optaplanner-tp4030473p4030480.html Sent from the Drools:

Re: [rules-users] How to read XML using XMLPackageReader-Drools-compiler.5.2.1.final?

2014-07-24 Thread abhinay_agarwal
Though the post is very old, it may help someone to know the solution public static void XMLtoDRL() { try { PackageBuilderConfiguration conf = new PackageBuilderConfiguration(); final XmlPackageReader xmlPackageReader = new

Re: [rules-users] Unable to build index of kmodule.xml from Kie project jar

2014-07-24 Thread sumit dhaniya
Try upgrading to 6.1.CR2. On Thu, Jul 24, 2014 at 1:23 AM, LearningDrool apeksha.gu...@asurion.com wrote: Hi, I am getting the same error as described below. I was able to run and fire rules using a standalone application in my project but when I try to call the same rules through a

Re: [rules-users] Drools Performance Analysis Required

2014-07-24 Thread Stephen Masters
Your specific rules have so much more impact on these stats than any of the factors you mention such as numbers of rules and facts. The number of rules by itself has very little impact on performance, except at start-up time. There are knowledge bases out there with 100,000 rules, which

[rules-users] gradle and drools

2014-07-24 Thread Mercier Jonathan
Dear, Gradle become day after day more popular. In more spring and hibernate project switch to this tools. So how we can use this tools with drools to get an uniform build system ? Regards ___ rules-users mailing list rules-users@lists.jboss.org

[rules-users] Problem with Drools 6.0.1 Eclipse Projects with CDI and Java 7

2014-07-24 Thread WebHomer
I'm new to Drools and pretty new to maven. I am trying to incorporate Drools 6.0.1 into a Wildfly (8.0.0) based project. I am using the current version of JBoss Developer Studio 7.1.1.GA on Redhat Linux In Eclipse the project has a number of errors in CDI modules, but builds without errors in

[rules-users] Any point on how to make SSO(Single sign on) authentication in Guvnor 5.3.3.Final version?

2014-07-24 Thread LaKhI ReDdY!!!!!!!!!!!
Hi, Can anybody suggest on how to make SSO(Single sign on) authentication in Guvnor 5.3.3.Final version? Regards, Reddy ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Problem with Drools 6.0.1 Eclipse Projects with CDI and Java 7

2014-07-24 Thread Borris
I had a similar problem. There was a bug https://issues.jboss.org/browse/DROOLS-472 which has now been fixed. I think if you try the 6.1CR you should find the issue is resolved. Borris On Thursday 24/07/2014 15:35, WebHomer wrote: I'm new to Drools and pretty new to maven. I am trying to

Re: [rules-users] gradle and drools

2014-07-24 Thread Mark Proctor
By getting involved and porting the maven plugin to those other build systems: http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html Mark On 24 Jul 2014, at 14:08, Mercier Jonathan jmerc...@genoscope.cns.fr wrote: Dear, Gradle become day after

Re: [rules-users] Problem with Drools 6.0.1 Eclipse Projects with CDI and Java 7

2014-07-24 Thread WebHomer
Thanks! upgrading to 6.1CR2 fixed both the problem with loading the annotation and the inability to use Java 1.7 syntax -- View this message in context: http://drools.46999.n3.nabble.com/Problem-with-Drools-6-0-1-Eclipse-Projects-with-CDI-and-Java-7-tp4030485p4030490.html Sent from the Drools: