In Guvnor you have to create a Model also in your specific packages and
select "import from global area". Then you have to go to the configuration
of the package and add the classes you want to use in your package.
Best Regards,
Esteban Aliverti
- Develop
Dear Wolfgang:
Just change the "Hello World" rule in the "Hello World" example by this
one...
rule "Hello World"
when
m : Message( status == Message.HELLO || != "WrongType", myMessage : message
)
then
System.out.println( myMessage );
m.setMessage( "Goodbye cruel world" );
m.setStatus( Message.GOO
Using an undeclared static variable (Message.HELLO) wasn't handled
cleanly in 5.1.1. This has been fixed in 5.2.0.
-W
2011/12/22 Manuel Ortiz :
> Dear Wolfgang:
>
> Just change the "Hello World" rule in the "Hello World" example by this
> one...
>
> rule "Hello World"
> when
> m : Message( status
Dear Wolfgang:
Sorry, I don't understand your answer very well. The bug I report has to do
with composite restrictions, not with static variable declarations. Maybe
my bug description is not very good.
I used "Hello world" example described at
http://downloads.jboss.com/drools/docs/5.1.1.34858.F
Sorry - I should have made it clear that it doesn't matter *why* one
of the components of a composite restriction is in error. Either a
missing declaration or a type incompatibility - it results in a null
reference, and some agent processing this doesn't check.
-W
2011/12/22 Manuel Ortiz :
> Dear
Thank you very much Wolfgang.
Then I understand that this composite restriction compiling error is fixed
in 5.2.0. Isn't it?
Thank you again for your time.
Kind regards,
Manuel Ortiz.
2011/12/22 Wolfgang Laun
> Sorry - I should have made it clear that it doesn't matter *why* one
> of the com
2011/12/22 Manuel Ortiz :
> Thank you very much Wolfgang.
>
> Then I understand that this composite restriction compiling error is fixed
> in 5.2.0. Isn't it?
Yes.
-W
>
> Thank you again for your time.
>
> Kind regards,
>
> Manuel Ortiz.
>
> 2011/12/22 Wolfgang Laun
>>
>> Sorry - I should have m
Hi All,
Please any one can provide me the code to integrate with web application
please provide me some link...
Thanks in Advance
Thank u...
--
View this message in context:
http://drools.46999.n3.nabble.com/Integration-of-drools-with-webapplication-Servlet-tp3606467p3606467.html
Sent from the
If you know how to code servlets and how to code Drools and use the
Knowledge* apis, there is nothing in particular to do in order to
integrate both tools.
Just use the drools code inside the servlet.
What exactly do you want to achieve?
Cheers
On Thu, Dec 22, 2011 at 9:29 AM, srinivasasanda
wrot
Your question is extremely broad! Could you please elaborate a little bit
more?
Drools is a very flexible flexible framework that could be used in a lot of
different ways.
Best Regards,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http:
You can have a look here:
https://github.com/leogomes/raul-analyzer
and here:
https://github.com/leogomes/analyzer-web
It's nothing serious, but something I was playing with sometime ago to demo
some ideas. I can't provide any support, but it's very simple. A servlet
that calls drools to analyze s
I have one simple rule, just check the boolean attribute of the object and
print the value of the boolean, that simple rule. I am using java as my rule
dialect. I found something interesting while debugging.
1. When i read the drl file from the local file stream I found the
following...
Hi Salaboy,
I have a this problem when i add my code with web application , but
i am getting result in console application ,
please give me some solution.. and i am not able to sort out
which jar
files exactly needed to include,
..
Hi Esteban,
I have a this problem when i add my code with web application , but
i am getting result in console application ,
please give me some solution.. and i am not able to sort out
which jar
files exactly needed to include,
..
Hi Leo_Gomes
I have a this problem when i add my code with web application , but
i am getting result in console application ,
please give me some solution.. and i am not able to sort out
which jar
files exactly needed to include,
.
You don't need to post the same question again and again.
Cheers
On Thu, Dec 22, 2011 at 2:19 PM, srinivasasanda
wrote:
> Hi Leo_Gomes
> I have a this problem when i add my code with web application , but
> i am getting result in console application ,
> please give me some s
Hi Salaboy,
Sorry, my intention is keep the actual problem clearly ,what i am facing ,
so that u can give some solution..
--
View this message in context:
http://drools.46999.n3.nabble.com/Integration-of-drools-with-webapplication-Servlet-tp3606467p3607092.html
Sent from the Drools: User forum
Since I have not received an answer let me make the question more specific.
Is it possible to interact with Drools via a rest api without Guvnor?
Thank you
Mike
On Mon, Dec 5, 2011 at 1:05 PM, ronalbury wrote:
> I am a complete newbie, but have seen several things written about using
> Apach
The REST APIS for guvnor is just to interact with the repository,
the Drools Server expose runtime sessions and allows you to interact
with remote drools sessions using REST or SOAP
You can wrap your specific interfaces using REST and interact with the
engine in that way.
Cheers
2011/12/22 mike :
Unless the experts disagree, I don't think that is possible as is.
Guvnor *is* the REST frontend for the drools repository. If you are not
interested in the Guvnor UI and only seek to use the REST api, it should
be possible to strip out the UI related pieces from the Guvnor war
(web.xml, WEB-I
Yeah ... that's sort of my problem :) ... I was expecting to get a clean
war when downloading http://www.jboss.org/drools/downloads ... host that
in a server and hit it with REST calls from my language of choice
So it looks like I must install Guvnor or do the stripping thing.
Thank you very muc
But once again.. do you want to interact with drools sessions or with
the repository that store your rules??
If you don't want to use the repository just install drools-server
2011/12/22 mike :
> Yeah ... that's sort of my problem :) ... I was expecting to get a clean war
> when downloading http:
I want to execute rules, interact with sessions, load objects into them,
update rules, everything that is possible to do with drools engine via a
REST api. Right now i am forced to do all this in java because I am using
the classes in the jars.
Drools-server sounds like what i need. But I haven't
It should be in the downloads section:
http://www.jboss.org/drools/downloads
the Drools and jBPM integration package
2011/12/22 mike :
> I want to execute rules, interact with sessions, load objects into them,
> update rules, everything that is possible to do with drools engine via a
> REST api.
Cool I downloaded droolsjbpm-tools-distribution-5.3.0.Final and there's no
.war in there either.
Cheers
Mike
On Thu, Dec 22, 2011 at 1:19 PM, Mauricio Salatino wrote:
> It should be in the downloads section:
> http://www.jboss.org/drools/downloads
>
> the Drools and jBPM integration package
>
>
Have a look there too :
http://drools.46999.n3.nabble.com/quot-Rule-Id-quot-for-a-Drools-Rule-td2914385.html
or use a WorkingMemoryEventListener and a AgendaEventListener together
to set the name for all freshly inserted objects.
___
rules-users maili
Thanks for the link :) 'Twas an interesting view! A few complexities still
remain. I may be ill-informed about this matter so please correct me if I'm
totally off-base in any of these statements.
Alexandre states that the KnowledgeSession is thread safe, which is contrary
to the documentation (if
Any idea when GUVNOR-1731 and GUVNOR-1732 will be fixed?
http://issues.jboss.org/browse/GUVNOR-1731
http://issues.jboss.org/browse/GUVNOR-1732
I would think at least 1732 is urgent; it is a feature that is supported
in BRL but not supported in DSL
Thanks
Ghanshyam
-
Both are scheduled for "FUTURE" work.
Neither are considered urgent from our perspective as we have other higher
priority work to complete first.
If these issues cause you problems we are always happy to accept community
pull requests.
With kind regards,
Mike
2011/12/22
> Any idea when GUVNO
When you are dealing with events, the processing works a bit differently.
First, we have to clarify: Are you inserting events or plain facts? If it
has a timestamp, it has to be handled as an event. The distinction matters
because in an event-driven scenario, only events would be inserted "from
the
Hi,
Thanks for your attention!!!..
I have a simple rule as follows ...
import com.sample.Message;
dialect "java"
rule "Hello World"
when
eval(true)
then
System.out.println( "Ok I know!" );
end
when I import into Guvnor, Guvnor automatically change the file into a
So for I think, Guvnor not support 'java' dilect, It only support 'mvel'. Is
any one not agree with me?
-
with kind regards,
--
View this message in context:
http://drools.46999.n3.nabble.com/Is-Guvnor-Support-java-dialect-tp3607716p3607716.html
Sent from the Drools: User forum mailing list
Guvnor will validate and build th drl file but 'Basic view' is not working.
When I click the basic view button it says..."there are errors in this view.
Can not switch to guided mode until the errors are resolved".
The problem is the errors created by Guvnor only. I specifically mention
'java' dia
Is it possible to push a repository import into a Guvnor instance?
What I am looking for is the ability to stand up a Guvnor instance from
predetermined artifacts, the artifacts being repository.xml (which
contains packages, rules, working sets, etc.) and model jars. If I have a
model jar and
Well, after some "heads in the wall", I resolved the problem... :(
Jboss AS 7 supports unzipped war, but we need to move the
drools-guvnor.war from /deployments folder and unzip it as
deployments/drools-guvnor.war, not deployments/drools-guvnor as I did
before.
The strange fact is Jboss Consol
It sounds like a bug to me.
Can you raise a JIRA (https://issues.jboss.org/browse/GUVNOR).
With kind regards,
Mike
On 22 December 2011 22:48, domingo wrote:
> Hi,
> Thanks for your attention!!!..
>
> I have a simple rule as follows ...
>
> import com.sample.Message;
>
> dialect "java"
>
> rul
Not as far as I know, but it would be a good idea.
Jervis, IIRC the REST API doesn't provide for import of such coarse grained
artifacts (i.e. a whole repository)? What do you think?
2011/12/23
> Is it possible to push a repository import into a Guvnor instance?
>
> What I am looking for is the
37 matches
Mail list logo