Dave,
I am using the web-based BRMS and Execution Server. Where do I write code?
Where do I add the lines
"session.addEventListener"
Pls help.
This is what I did to setup and run.
1. Created guided decision table in BRMS
2. Created snapshot
3. Created .properties file and put in the execution server war file
4. Posted knowledgebase-request from ruby and it worked
I did not instantiate RuleBase, WorkingMemory, insert facts etc. Now where
do I write and insert code?
Thx,
Anu
dave sinclair wrote:
Sorry, 3.5.9
On Wed, Mar 25, 2009 at 12:27 PM, Anu@work
<anupama.vaid(a)bluecasa.com>wrote:
>
> I can write Java code but how and where do I upload it in the web-based
> Guvnor so that the Drools execution server (called by REST/ XML clients)
> can
> use it? Also there is no section 2.5.9 in the doc. I did look up the
> section
> on WorkingMemoryLogger but I am not using the IDE.
>
> Thx
>
>
> dave sinclair wrote:
> >
> > To get logging work you are gonna have to write some Java code. Look at
> > section 2.5.9 in this doc
> >
> >
>
http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/tr...
> >
> > On Tue, Mar 24, 2009 at 11:36 PM, Anu@work
> > <anupama.vaid(a)bluecasa.com>wrote:
> >
> >>
> >> So far I haven't written any Java code to get my initial rules running
> in
> >> Guvnor. My client apps are going to be non-Java apps that send HTTP
> Post
> >> to
> >> the execution server. I am not sure how I could use the audit
> framework
> >> in
> >> the web-based Guvnor UI. I looked at WorkingMemoryLogger but I can't
> >> figure
> >> out how to use it on the server. Can you point me to some
> documentation
> >> or
> >> links?
> >>
> >> Thx,
> >> Anu
> >>
> >>
> >> Mark Proctor wrote:
> >> >
> >> > Anu@work wrote:
> >> >> Hi,
> >> >>
> >> >> Thx to the drools community. I was able to install and run Guvnor
5
> >> CR1
> >> >> and
> >> >> Drools Execution Server 5 on Tomcat (Ubuntu) fairly easily. And it
> >> works
> >> >> like magic. I followed the steps below to get my rules running on
> >> Guvnor
> >> >> and
> >> >> execution server after installation
> >> >>
> >> >> 1. created category
> >> >> 2. created package
> >> >> 3. declared model
> >> >> 4. created decision table
> >> >> 5. saved and validated package
> >> >> 6. deployed a snapshot
> >> >> 7. created myrule.properties file with the snapshot URL exported
by
> >> >> Guvnor
> >> >> and put it in the server
> >> >> 8. Ran tests from rails client using JSON.
> >> >>
> >> >> It all ran perfectly. Now I need to log all input facts and output
> >> facts
> >> >> and
> >> >> the rules fired each time a client posts a request to the
execution
> >> >> server.
> >> >> How do I do that?
> >> >>
> >> > Take a look at the audit functionality, you can extended that be
> >> > something more custom if you need. You can also look at the debug
> >> > listeners, the audit framework is based on the listener framework.
> >> >> Please help.
> >> >>
> >> >> Thx,
> >> >> Anu
> >> >>
> >> >
> >> >
> >> > _______________________________________________
> >> > rules-users mailing list
> >> > rules-users(a)lists.jboss.org
> >> >
https://lists.jboss.org/mailman/listinfo/rules-users
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
http://www.nabble.com/Guvnor-Audit-Logging-tp22690776p22694685.html
> >> Sent from the drools - user mailing list archive at
Nabble.com.
> >>
> >> _______________________________________________
> >> rules-users mailing list
> >> rules-users(a)lists.jboss.org
> >>
https://lists.jboss.org/mailman/listinfo/rules-users
> >>
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
> --
> View this message in context:
>
http://www.nabble.com/Guvnor-Audit-Logging-tp22690776p22705466.html
> Sent from the drools - user mailing list archive at
Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users