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