Re: [rules-users] How to display Knowledge base / DRL

2013-06-18 Thread Wolfgang Laun
On 19/06/2013, dfree...@gio.com.au wrote: > Thanks Laune, works a treat. > In eclipse the spreadsheet API's are flagged as deprecated. This begs the > question of how to interrogate a Knowledgebase when you need to do some > debugging without resorting to deprecated methods. I've just checked the

Re: [rules-users] How to display Knowledge base / DRL

2013-06-18 Thread dfree...@gio.com.au
Thanks Laune, works a treat. In eclipse the spreadsheet API's are flagged as deprecated. This begs the question of how to interrogate a Knowledgebase when you need to do some debugging without resorting to deprecated methods. -- View this message in context: http://drools.46999.n3.nabble.com

[rules-users] Is "modify" available from the Java API?

2013-06-18 Thread Thomas Grayson
In the RHS of a rule one can use either an "update" or "modify" block to notify Drools that a fact has changed. In the Java API for 5.5.0 Final, I can call StatefulKnowledgeSession.update(factHandle, object) to update a fact handle with an object. However, there's no complementary StatefulKno

Re: [rules-users] Problem with eclipse and drools 6.0.0 beta 3

2013-06-18 Thread Mark Proctor
things are still raw in the beta's, and we've not checked the eclipse tooling. It's really only for developers, not end users. Best to stick with 5.5 Mark On 18 Jun 2013, at 16:46, harald.loes...@bluemail.ch wrote: > Hi, > today I started using drools using eclipse Kepler version where I added

[rules-users] Using GetObjects command with ObjectFilter attribute in Drools-Server

2013-06-18 Thread le_zurdo
In the Drools Integration User Guide there is an example to create XML commands which can be used with Drools Server. The documentation of the GetObjectsCommand specifies that you can set an ObjectFilter to filter the objects returned: GetObjectsCommand

Re: [rules-users] Rule Templates - Conditionally Generate Rule based on Values in Data

2013-06-18 Thread Wolfgang Laun
A *rule template *is a text (file) intended to be expanded repeatedly using different sets of template parameters, similar to a macro processor. Each expansion will generate - more or less - the same rule, unless you put the flexibility into the parameter, which just passes the buck to the code dri

[rules-users] Problem with eclipse and drools 6.0.0 beta 3

2013-06-18 Thread harald.loes...@bluemail.ch
Hi, today I started using drools using eclipse Kepler version where I added droolsjbpm-tools-distribution-6.0.0.Beta3 to. Now I see the perspective and are able to create the hello world example project with the Sample.drl and the DroolsTest.java class. But the example project doesn't compile

[rules-users] Rule Templates - Conditionally Generate Rule based on Values in Data

2013-06-18 Thread Jason Allen
All, I saw this question was asked a couple of months ago with no reply, but thought I would try again. In using a Rule Template, I'm trying to determine a way to dynamically generate rules based on a value in the data. There is a data set, that has various pieces data, depending on a column v

Re: [rules-users] How to import drl files to Guvnor for graphical rules

2013-06-18 Thread Michael Anstis
In 6.0 guided rules will be stored as DRL. It will therefore be possible to push a plain DRL file into a repository and author with the guided editor. Rule Templates and guided decision tables will at this time remain stored in an internal format. Sent on the move On 18 Jun 2013 14:29, "rjr201"

Re: [rules-users] How to import drl files to Guvnor for graphical rules

2013-06-18 Thread rjr201
It's the converting from .drl to .brl that could be tricky. I guess it depends what your rules look like. It was a while ago when I looked at it, but it didn't seem a trivial task to convert from .drl to .brl. But do let me know how you get on.. -- View this message in context: http://drools.4

Re: [rules-users] How to import drl files to Guvnor for graphical rules

2013-06-18 Thread rjr201
As far as I'm aware there is no way to automatically upload .drl files into the guided editor format (.brl). This is something that I really need to be able to do as well. However, I have heard that this will be possible in the upcoming UberFire application. -- View this message in context: ht

Re: [rules-users] Problem with Banking Tutorial

2013-06-18 Thread Mark Proctor
We prioritise our product releases, for which there are paid subscriptions. Via the customer support portal, you can flag up bugs and they are fixed as a priority, under monitored SLAs. The "free" community releases, are best effort. We don't tend to do maintenance releases in the community, onl

[rules-users] Drools Fusion + Twitter4J + Guvnor Demo

2013-06-18 Thread Toshiya Kobayashi
Hello, I wrote a Drools Complex Event Processing demo which is a web application based on Drools Fusion + Twitter4J + Guvnor. http://tkobayas.wordpress.com/2013/06/15/drools-fusion-twitter4j-guvnor-demo/ https://github.com/tkobayas/twitter-cep-web In 2012 JUDCON India, I presented this demo ba

Re: [rules-users] Problem with Banking Tutorial

2013-06-18 Thread Stefan Schuster
Hello, thanks you all for your support. I have to announce that I could not recommend to use drools in our project. This Bug was one of the main reasons for it. - Can hardly belief that this is still the official stable release... We now implement a simplified solution for our problem from scratc

[rules-users] 6.0.0-Beta3: Fibonacci example

2013-06-18 Thread Wolfgang Laun
FibonacciExample.java:28 KieContainer kc = KieServices.Factory.get().getKieClasspathContainer(); How can I tell - without running eclipse and whatnot - which file(s) from the unzipped and unjarred sources are part of this? -W ___ rules-users mailing li

Re: [rules-users] OptaPlanner Guvnor integration

2013-06-18 Thread Geoffrey De Smet
On 18-06-13 09:46, Bartek wrote: Thanks for your answer, it helps. But just after solving one problem I am facing another. When uploading my domain facts to Guvnor I get exception (from guvnor logs): ...  Servle

Re: [rules-users] Applying complex condition in excel while importing into drool

2013-06-18 Thread Wolfgang Laun
What are we expected to check or where do you need help? The code you've posted does not concur with the problem you've described being in the .xls-file. -W On 18/06/2013, ashish6276 wrote: > Hi, > > We are importing excel in drool by using drool API. we are facing issue in > applying multiple c

Re: [rules-users] OptaPlanner Guvnor integration

2013-06-18 Thread Bartek
Thanks for your answer, it helps. But just after solving one problem I am facing another. When uploading my domain facts to Guvnor I get exception (from guvnor logs): ... Servlet.service() for servlet AssetFileServlet threw exception: javax.enterprise.event.ObserverException ... Caused by: *