Based from the logs my error is on the autowiring of session and/or the
knowledgebase. I am not sure what i did wrong. Here's my latest setup.
?xml version=1.0 encoding=UTF-8?
beans:beans xmlns=http://www.springframework.org/schema/mvc;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Hi all,
i am novice on GUVNOR, but i would like to define my fusion rules by
graphical tool.
An example of my rules is:
rule radiation-event
salience 10
no-loop
when
$obs: RadiationObservation( $obsLocation : location, value 10
) over window:length(1) from entry-point
hi folks, this is a simple question ,
i just want to understand how is it possible that a stateless session have a
setGlobal() method as it does not maintain a state. What's the point ?!
i also have some confusion between a request scope and a stateless
session scope i think it s the same..
--
On 26/04/2012, bardelman feki.ahmed@gmail.com wrote:
hi folks, this is a simple question ,
i just want to understand how is it possible that a stateless session have
a
setGlobal() method as it does not maintain a state. What's the point ?!
You don't keep state in globals with a stateful
Yes this is possible with Guvnor 5.2 onwards.
The user-guide explains how to use the Guided Rule Editor (but not
specifically CEP features).
Read that and give it a try - it's reasonably intuitive (not an excuse for
poor documentation though) and come back here with questions.
With kind
The release notes will tell you.
Any reason you need to go back to 5.2 from 5.3?
If all your rules are plain text DRL an export from 5.3 and import into 5.2
might be OK.
To be honest we don't check for compatibility between repository exports
going backwards - obviously old versions can't
I made a Jira for this. If possible, provide a small repository export that we
can use for testing.
https://issues.jboss.org/browse/GUVNOR-1877
Toni Rikkola
On Apr 25, 2012, at 8:30 PM, Sean Su wrote:
Do we support Joda time objects in Guvnor (5.3)? I did add joda time jar on
the classpath
Hi,
Still am stuck up with this problem. I couldn t verify the redundancy in my
rules using Drools Verifier. Can somebody out there help me ?
Thanks,
Prasanna.
--
View this message in context:
sure. Attach to the jira or send to here?
Thanks
Sean
Sent from my iPad
On Apr 26, 2012, at 7:39 AM, Toni Rikkola toni.rikk...@gmail.com wrote:
I made a Jira for this. If possible, provide a small repository export that
we can use for testing.
https://issues.jboss.org/browse/GUVNOR-1877
It seems that the new fact created by the guided editor must be from
the java class that has the default non argument constructor in
Guvnor. There seems no way we can customize it to pass arguments in.
This would force us to provide setters to the object.
Is this a true statement?
Thanks
Sean
Is there a way to use contains with an object? i.e
obj:Object(collection contains SubObject(string=TST,int=1))
I know you could do a from but we are writing a DSL and it would be great if
I could accomplish something like this above
TIA!
--
View this message in context:
I guess I could also have a method on my main object that takes parameters
and just do a not null check...
gboro54 wrote
Is there a way to use contains with an object? i.e
obj:Object(collection contains SubObject(string=TST,int=1))
I know you could do a from but we are writing a DSL
Yes I know that from can be used with DSL. I was just trying to think of a
way to do something with a sub part of the object(i.e a dsl entry with a - )
laune wrote
On 26/04/2012, gboro54 lt;gboro54@gt; wrote:
Is there a way to use contains with an object? i.e
Yes, but've got to follow
On 26/04/2012, gboro54 gbor...@gmail.com wrote:
Is there a way to use contains with an object? i.e
Yes, but've got to follow Java's sytax rules (apart from using
additional operators).
obj:Object(collection contains SubObject(string=TST,int=1))
The second operand isn't a valid Java
Hi Mike,
thanks for suggestion, but i have already read documentation.
First of all, i cannot define over window:length(1) from entry-point
lowLevelSensorStream.
Do you help me to do this?
Best Regards,
Matteo.
On Thu, Apr 26, 2012 at 11:32 AM, Michael Anstis
michael.ans...@gmail.comwrote:
On 26/04/2012 12:56, worldofprasanna wrote:
Hi,
Still am stuck up with this problem. I couldn t verify the redundancy in my
rules using Drools Verifier. Can somebody out there help me ?
Only toni knows that code. If it's not working, it's likely a bug.
Please submit a unit test:
Think of a stateless knowledge session as being a statefull knowledge session,
with the following adjustments:
A stateless knowledge session cannot be manipulated prior the start of the
session.
A stateless knowledge session cannot be manipulated or queried after the end of
the session.
A
Sure.
- Create New Rule
- Add a condition (green + near WHEN)
- Select From Entry Point
- Type lowLevelSensorStream into TextBox
- Click on click to add patterns...
- Select your Fact Type (see * below)
- In Over sliding window ListBox select Length
- Type 1
Seems reasonable enough.
On 26 April 2012 14:36, Sean Su sean.x...@gmail.com wrote:
It seems that the new fact created by the guided editor must be from
the java class that has the default non argument constructor in
Guvnor. There seems no way we can customize it to pass arguments in.
This
I have not yet determined how I want to implement my problem and was hoping
to get some feedback.
I am using drools to migrate the logic from my automated currency trading
infrastructure. Each currency pair, i.e. eurusd has around
200 attributes associated with it.
This includes range values
JavaBeans convention : all default constructible and plenty of setters (for
writeable properties) and getters (for readeable properties)
- Mail original -
De: Michael Anstis michael.ans...@gmail.com
À: Rules Users List rules-users@lists.jboss.org
Envoyé: Jeudi 26 Avril 2012 15:40:27
What I am prototyping is part of the event processing (with or without
fusion). I want to use the rules created by the Guvnor to create the new
events. However, as you would understand, once the event has been created,
it should not be modified as it happened in the past.
So I am trying to avoid
Should use a DSL then.
- Mail original -
De: Sean Su sean.x...@gmail.com
À: Rules Users List rules-users@lists.jboss.org
Envoyé: Jeudi 26 Avril 2012 19:06:57
Objet: Re: [rules-users] Guvnor guided editor and non argument constructor
What I am prototyping is part of the event
actually I think I just answered my own question. Every computation that I
do is based on either quotes or previous closing values. Using fusion
greatly simplifies everything and (I'm pretty sure) solves my problems.
Am I correct?
--
View this message in context:
http://blog.athico.com/2012/04/drools-drop-in-centre-at-jboss-world.html
--
Now you have another reason to come to JBoss World
http://www.redhat.com/summit/, as if you didn't already have too many
on your list :)
On Friday the 29th of June we'll have an all day drop in centre for
Drools
Can DSL be presented as the decision table as well? Any examples if yes?
Thanks.
Sean
Sent from my iPad
On Apr 26, 2012, at 1:14 PM, Vincent LEGENDRE
vincent.legen...@eurodecision.com wrote:
Should use a DSL then.
--
*De: *Sean Su sean.x...@gmail.com
*À: *Rules
Yes, if you use 5.4 - this supports BRL fragments as columns. Rule
Templates also support DSLs.
HOWEVER - and this is probably an issue - DSLs in Guvnor currently only
support literal values.
So if you use a DSL in either a Decision Table or Rule Template you cannot
specify different values in
Any time frame for the final release? I played with CR1 and it does not
seem stable.
Sent from my iPad
On Apr 26, 2012, at 2:28 PM, Michael Anstis michael.ans...@gmail.com
wrote:
Yes, if you use 5.4 - this supports BRL fragments as columns. Rule
Templates also support DSLs.
HOWEVER - and this
Mark Proctor has mentioned it being within the next couple of weeks, so I'd
assume before June.
sent on the move
On 26 Apr 2012 20:00, Sean Su sean.x...@gmail.com wrote:
Any time frame for the final release? I played with CR1 and it does not
seem stable.
Sent from my iPad
On Apr 26, 2012,
This rule (and note the correct spelling of modelYear with a capital
'Y', in contrast to your first post) compiles and executes correctly
using 5.3.0.
rule qr
when
info: CarRulesInfo( quoteRequest.VIN == null,
quoteRequest.modelYear 1982 )
then
System.out.println(
OK.
#1 is a bug. I have raised a JIRA -
https://issues.jboss.org/browse/GUVNOR-1879. It is a bit of an edge case
but I've fixed for 5.4.0.Final.
#2 I'll attach the provided repository to the existing JIRA.
Thanks,
Mike
On 26 April 2012 20:13, Sean Su sean.x...@gmail.com wrote:
Attached is
Thank Mike. I have a POC due by the end of May and these bugs/issues
directly impact the output of it. Is there any service channel we can
access (paid or free) that allows us to access the latest stable version,
and possibly dedicated support?
Sean
Sent from my iPad
On Apr 26, 2012, at 4:44
Hi,
I've had a look at #2 too.
The problem is that you need to build the package before taking a snapshot.
There was another underlying problem that meant you could not build your
package either, but I've fixed that.
Regarding the latest stable version: you can get the latest snapshot build
Hi Mark,
Thanks for the reply. And below is the issue which i have created.
https://issues.jboss.org/browse/JBRULES-3484
Regards,
Prasanna.
--
View this message in context:
http://drools.46999.n3.nabble.com/Redundancy-check-option-not-working-in-Drools-Verifier-5-4-tp3938055p3943464.html
Sent
34 matches
Mail list logo