In guvnor 5.5.0.Final, there is User Permission feature to create user
mapping, assign package / category permissions to user.
However, we cannot see such feature.
For user mapping, we found that it can be achived by editing user.properties
in guvnor WAR file.
However, we are unable to identify
Hi, got a few questions about binding variables, hope someone can help out,
thanks.
1. Does binding actually cache the result for the RHS?
example:
rule "no binding"
when c : MyClass(member1 != member2)
then c.somemethod(imp.getMember1());
end
rule "with binding"
when c : MyClass(m : member1, mem
Hi,
I am new to Drools and Optaplanner and have built a first model and
succeeded running with java score calculation. Now am struggling trying to
use rules for score.
Have read "Drools Expert User Guide" and looked through Optaplanner
examples but am still confused. Main difficult is discovering
"if your rules change, then your version changes, and a new jar needs to be
published"
Before you could rebuild a knowledgeBase, loading a binary package from
Guvnor (by building a snapshot in guvnor ) and this at run time.
So now you publish.
How does the Kie-ci grap that jar ?
How do you in a we
Hi
I am pleased to announce the release 2.0 of EulerGUI, a development tool
and a framework for rules and the Semantic Web, under LGPL license, in Java
and Scala.
As was already told on this list, EulerGUI has Drools under the hood, plus
4 other rules engines, and integration with controled (for
If your rules change, then your version changes, and a new jar needs to be
published.
Separate your rules, from your application and allow them to be dynamically
updated.
Mark
On 28 Nov 2013, at 14:52, Nicolas Héron wrote:
> Hi Mark,
> thanks for you answer.
> When you say deploy, I guess i
I used same session for insertion and retracted facts after each cycle. But
nothing changes in execution time when creating a new session each cycle.
I made a last test with 300 totally different facts and it showed that the
rule engine somehow "learns" and asserts faster if a similar object is
in
Hi Mark,
thanks for you answer.
When you say deploy, I guess it is in the worbench's repository ?
Now I do not want to compile or whatever.
My application is running and while running, we want it to load new set of
rules.
How is the KieContainer aware of the workbench address or stuff like that ?
I
Well, I don't know what your fact classes contain nor what they mean,
and I haven't the foggiest what you're trying to do - so how can I
help you?
The previous answer was just for a technical issue, but now your're
asking for more...
-W
On 28/11/2013, braveheart85 wrote:
> I tried what you said
I tried what you said:
$o: FamilyData( identifierCode == "PCFNDR85E15H501S" )
$y: org.titan.family.filter.YearData( ) from $o.data.get(0)
$e: FamilyEntity( ) from $y.familyEntity.get(0)
$result : Number( ) from accumulate
($r: Relative( ) from $e.re
I don't understand your hint...
If i pick only first element then how can i have count of relatives in all
years?
thank you very much
Andrea
--
View this message in context:
http://drools.46999.n3.nabble.com/BUG-Can-t-build-a-rete-network-with-an-inner-OR-group-element-tp4026974p4026984.html
S
Investigating more thoroughly I discover a strange behaviour of accumulate
function.
I have 5 instances of Relative Object distributed in 3 instances of Family
(2 relatives in first Family, 2 relatives in second Family and finally 1
relative in last Family).
When i perform this rule:
$o: F
As per previous email:
1) Create your original project with rules, build and deploy the jar.
2) Load the JAR to create a KieContainer.
3) add or change rules. Change the maven version, build and deploy the jar.
4) Ensure the JAR is in the KieRepository, or available to maven if using
kie-ci, and
If possible, pick the first element of FamilyData.data only, like so:
y: YearData( ) from $o.data.get(0)
-W
On 28/11/2013, braveheart85 wrote:
> unfortunately there is a problem in previous solution.
> I wrote:
>
> $o: FamilyData( identifierCode == "PCFNDR85E15H501S" )
> $y: YearD
unfortunately there is a problem in previous solution.
I wrote:
$o: FamilyData( identifierCode == "PCFNDR85E15H501S" )
$y: YearData( ) from $o.data
$result : Number( ) from accumulate
(FamilyEntity( $relatives : relative ) from $y.familyEntity,
Thank you laune.
You're right, I didn't believe it would work.
--
View this message in context:
http://drools.46999.n3.nabble.com/BUG-Can-t-build-a-rete-network-with-an-inner-OR-group-element-tp4026974p4026978.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
Exception in thread "main" java.lang.NullPointerException
at
com.example.domain.solver.MyVariableStrengthComparator.compare(MyVariableStrengthComparator.java:30)
at
com.example.domain.solver.MyVariableStrengthComparator.compare(MyVariableStrengthComparator.java:1)
at java.ut
Why don't you move
$y: Year( ) from $o.data
up in front of the accumulate?
-W
On 28/11/2013, braveheart85 wrote:
> Hello guys,
>
> I have just obtained this DroolsRuntimeException when i perform this rule:
>
> $result : Number( ) from accumulate
> (
> ($y: Y
Hello guys,
I have just obtained this DroolsRuntimeException when i perform this rule:
$result : Number( ) from accumulate
(
($y: Year( ) from $o.data) &&
(Family( $relatives : relative ) from $y.familyEntity),
Hi All,
In previous Drools version (5.3, 5.4, 55 and 5.6RC1), it was possible to
dynamically update the package content from Guvnor.
The use case was :
1) Some rules are created/updated/deleted on Guvnor
2) A new snapshot is built
3) The drools runtime is notified and reload a new knowledgeBase f
20 matches
Mail list logo