I'm after a quick bit of help on how to do something that I think should be
easy but I can't work out how.
I have a Java-side class that essentially is something like
declare Datum
description: String
broader: List Datum
narrower: List Datum
end
These are arranged in a graph. Root
Hi all,
at work we have a huge rule base (2k rules with an average size of ~2Mib).
I've found the building this RB with the latest kie-maven-plugin
troublesome at best.
I want to share my experience hoping that some Drools developer could
help me.
I'm using the latest Drools 6.x from the master
I want a query that takes a datum and yields the root nodes for that datum.
Do you mean root node or nodes? Surely there can only be one root? Or do you
mean you are looking for the leafs?
Mark
On 18 Jun 2014, at 13:31, Borris bor...@chaos.org.uk wrote:
I'm after a quick bit of help on how to
Good question. I'm supporting a graph rather than a tree, so theoretically
there could be more than one node that has no parents. But in my particular
use case I am constraining the data so that there is never more than one
root node.
So how to find the root node (singular) from an arbitrary node
Terms like root and parent are used with trees. You might call
these nodes nodes with indegree 0.
-W
On 18/06/2014, Borris bor...@chaos.org.uk wrote:
Good question. I'm supporting a graph rather than a tree, so theoretically
there could be more than one node that has no parents. But in my
I guess it's probably useful for me to add that there are multiple such
graphs and key part of the operation is which graph a datum belongs to.
--
View this message in context:
It looks like your graph is not in the WM, so you can just iterate the
references. Here is an example of how to do this.
@Test
public void testGraphIterationToFindLeafs() {
String drl = import + Datum.class.getCanonicalName() + ;\n +
import java.util.List;\n +
I am using the latest drools 6.1.0-SNAPSHOT. I have two jars containing
different versions of a KieModule, and they each contain a drl file with an
event type declaration for an existing class. If I try to update the
container from one version to the other, the call to
KieContainer#updateToVersion
Looks like a bug. Please try on 6.1CR1.
http://mvnrepository.com/artifact/org.drools
If it’s not fixed, and yo want it fixed you’ll need to submit a pull request
with a failing unit test:
http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html
You
After upgrade to 6.1.0.CR1 rule compilation is generating a pluggable
accumulate function registration error.
Partial stack dump:
Caused by: java.lang.RuntimeException: Error while creating KieBase[Message
[id=1, level=ERROR,
path=com/s/c/manager/rules/campaign/priority/prioritize.drl, line=31,
can you please open a jira ticket and possibly add a reproducer?
It seems a serious regression, but it would have to be reproduced
and fixed in the next few days for this to make it to the final release
Thanks!
Davide
On 06/18/2014 03:26 PM, rogerL wrote:
After upgrade to 6.1.0.CR1 rule
Hi Mario, thanks for the quick reply.
Yes I could definitely open a jira and a pull request, just be patient
though, as I've to isolate the code from our own.
Reproducing the slowdown I experienced would be a little problematic
because it depends, I think, entirely on the size (and shape) of our
Hi ,
I need to migrate repository from BRMS 5.1.1 to BRMS 6.0.1.
In BRMS 6.0.1 Administration And Configuration Guide , i read we can do
migrating using data migration tool.
I could not able to find where this migration tool download zip available.
IF anybody knows, please provide me the
Download the Drools Workbench distribution from the Drools download page on
the Drools website. It is in that zip file (jcr2vfs migration).
Sent on the move
On 19 Jun 2014 06:36, LaKhI ReDdY!!! reddy.laks...@gmail.com
wrote:
Hi ,
I need to migrate repository from BRMS 5.1.1 to BRMS
14 matches
Mail list logo