Hi Salaboy,
Thanks for your reply.
Is the project you refer this:
http://search.maven.org/#browse%7C609132515
It seems that sub dir 5.2.0.M1 (newest code ?) is empty
(http://search.maven.org/#browse%7C279286389)
In which way the project is to be deployed ?
Or is it possible to use drools-serve
Hi all,
Drools Expert 5.3.0
Is there a .war file anywhere to be deployed on tomcat (6.0.28) ?
Didn't find it in the download zip (http://www.jboss.org/drools/downloads).
Currently, we are using Drools 5.1.1 as a web service, but due to some
shortcomings especially in windowing (window:time and
Hi W,
Thank you, the sum in tracker approach worked fine.
Now I'll test if the update of tracker instead of creating level2 tracker is
enough for us ...
On the other hand, we are now considering moving from drools 5.1.1 to 5.2.0
or to 5.3.0.
br Esko
Esko Hujanen
www.ebsolut.fi
--
View
Drools-expert 5.1.1
Does window:length work in Drools version 5.1.1 ?
It seems that "over window:length( 5 )" in rule "PossibleFFF_launch_level1"
does not work.
It seems that it returns only the last MMMBean added in trackers in rules
"PossibleFFF_Level1_update_tracker_count" and
"PossibleFFF_Lev
Hi W et al.,
I came up with a following solution.
One reason why I came up with this kind of solution is that it is not firing
every time when there comes a temperature reading (ZZZBean) in the system
(working memory).
Would you comment if this solution is viable and if there are any pitfalls ?
I
Hi Mark,
Thanks for response,
now I must figure out how to configure Q-calendar with xml files ...
We are using drools-expert/fusion as a web service and we configure it
through xml files
(knowledge-services.xml, camel-server.xml, camel-client.xml ...)
br, Esko
---
Esko Hujanen
www.ebsolut.
Hi all,
Sorry, the first rule should read:
when
$mds : ZZZSensorBean(temperature > 30)
not ZZZTracker(profileID == $mds.profileID)
then
ZZZTracker $tracker = new ZZZTracker();
$tracker.profileID = $mds.profileID;
end
br Esko
--
View this message in context:
http://drools.46999.
Hi all,
So to achieve the desired behaviour I concocted something like this:
1. If got a reading > 30, create tracker-object (of type ZZZTracker) for
this specific profileID and insert it in working memory.
Tracker is just a POJO with some bean fields, e.g. profileID. There is a
check in when-par
Hi Wolfgang et al,
Thanks for the response.
>> Note that the rule will fire as soon as you insert the first ZZZBean,
>> because a window of lenght N is actually a window of lenght <= N.
Why window:length is implemented this way ?
And with "window:time(5m)" it is presumably the same, actual time
Hi all,
Sorry, I must make a correction the question:
the rule fires AFTER one ZZZBean enters the system.
After that it fires every time a new ZZZBean enters the system, and every
time then fires as many times as there are ZZZBeans in memory.
Best regards,
Esko
---
Esko Hujanen
www.ebsolut.f
Hi all,
Here is the rule:
CLIP -->
rule "ZZZOver30" dialect "mvel"
when
$tsb : ZZZBean($prof : profileID)
$avg : Number( doubleValue > 30 ) from accumulate(
ZZZBean( $tempr : temperature, profileID == $prof) over
window:length( 3 ),
average( $tempr ) )
then
// do some
Hi all,
Does Quartz-Calendar work with Drools 5.1.1 ?
See Drools-expert user guide:
http://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/ch05.html#d0e3921
We have configured Drools server as a web service with xml-files
(knowledge-services.xml, camel-server.xml, camel-client.x
Hi laune / W
Thanks, the plain retract seems to do the trick.
and thanks also for pointing me to right direction,
I must dig in more in the doc ;)
cheers, Esko
--
Esko Hujanen
http://www.ebsolut.fi
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-get-handle
Hi all,
I need to retract events from StatefulKnowledgeSession in rule's
consequences section.
How do I get a handle to the session in rule's RHS ?
When I get this session handle I will try to use its retract method:
void retract(FactHandle handle)
(which is derived from WorkingMemoryEntryPoint i
Hi W,
Thank you!
Adding fire-all-rules did the trick:
7
37
true
4
It somewhat obscured that when dealing with plain facts there was no need to
explicitly call fireAllRules ... Why ?
Cheers,
Esko
--
Esko Hujanen
http://www.ebsolut.fi
--
View th
We send the facts over REST interface in XStream mode:
7
37
true
4
Do we need to do an insert somewhere explicitly ?
Doesn't REST interface handle that ?
cheers,
Esko
Esko Hujanen
http://www.ebsolut.fi
--
View this message in context:
Hi Wolfgang et al,
That is used to run init.drl using mirellaInitBean.
mirellaInitBean is just a stub that fires init.drl which in turn starts
ResourceChangeNotifierService and ResourceChangeScannerService
(I did not remember to replace "mirella" with "CCC" in my original post, see
knowledge-serv
Hi all,
I'm new to Drools.
We need to have Fusion features in our systems, especially temporal
relations on events.
The problem is we don't know how to take Fusion in use.
Our rules do not fire, why ?
What are the steps to get Fusion up and running ?
We are using Drools as a web service, and it
18 matches
Mail list logo