<br> People,<br><br> Just a heads up, .brl rules are intended to be simpler rules authored/maintained by business people. While it is a good to have the ability to edit them with the guided editor, they are limited in what they can express. <br>
<br> Just as one example, as of now, they don't support "from" syntax, meaning you can not use collect/accumulate/entry-point. If you don't use that and a couple other things, its not problem then. <br>
<br> I wanted to give this heads up so that people is aware before hand to avoid waste time in some cases.<br><br> BTW, it is not that we can't change that in the future. It is just how things are now.<br><br> []s<br>
Edson<br><br><div class="gmail_quote">2009/5/20 Steve Ronderos <span dir="ltr"><<a href="mailto:steve.ronderos@ni.com">steve.ronderos@ni.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><tt><font size="2"><a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a> wrote on 05/19/2009
06:40:34 PM:<br>
<br>
> [image removed] </font></tt>
<br><tt><font size="2">> <br>
> Re: [rules-users] How to import DRL into Business Rule Assets section?</font></tt>
<br><tt><font size="2">> <br>
> Late Norther </font></tt>
<br><tt><font size="2">> <br>
> to:</font></tt>
<br><tt><font size="2">> <br>
> Rules Users List</font></tt>
<br><tt><font size="2">> <br>
> 05/19/2009 06:53 PM</font></tt>
<br><tt><font size="2">> <br>
> Sent by:</font></tt>
<br><tt><font size="2">> <br>
> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a></font></tt>
<br><tt><font size="2">> <br>
> Please respond to Rules Users List</font></tt>
<br><div><div></div><div class="h5"><tt><font size="2">> <br>
> 2009/5/19 Michal Bali <<a href="mailto:michalbali@gmail.com" target="_blank">michalbali@gmail.com</a>>:<br>
> > Hi Jon,<br>
> ><br>
> > You could use webdav to connect to Guvnor -<br>
> > </font></tt><a href="http://blog.athico.com/2008/05/accessing-guvnor-as-filesystem-webdav.html" target="_blank"><tt><font size="2">http://blog.athico.com/2008/05/accessing-guvnor-as-filesystem-webdav.html</font></tt></a><tt><font size="2">.<br>
> > You should then see how Guvnor stores the 'business rules', I
think it is an<br>
> > XML file. Then instead of generating DRL file you could generate
this XML.<br>
> > You can then upload these files via webdav into Guvnor.<br>
> > Hope this helps.<br>
> ><br>
> > Regards,<br>
> > Michal<br>
> ><br>
> <br>
> Michal,<br>
> <br>
> I can't thank you enough. This worked well.<br>
> <br>
> For others, here is a review of what I did.<br>
> <br>
> 1. Created a 'dummy' rule using the guided editor in my target package.<br>
> 2. Used the blog URL above to mount the package webdav share<br>
> 3. Downloaded the 'dummy' rule from the webdav share to act as a template<br>
> 4. Updated my Perl import/export script to create .brl files instead<br>
> of .drl files, using the template.<br>
> 5. Copied the new .brl files created by my utility script to the webdav
share.<br>
> 6. Go back to Guvnor GWT and saw/confirmed my rules.<br>
> <br>
> The only snafu I found was that I am unable to populate a category
as<br>
> part of the import, but I can have my analysts do that by hand if<br>
> needed. That apparently is not stored in the .brl, but rather<br>
> somewhere else. I did confirm that I can update the category
in the<br>
> UI after the load.<br>
> <br>
> Again, Thank you.<br>
> <br>
> Jon<br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
> </font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><tt><font size="2">https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a>
<br>
<br></div></div><tt><font size="2">Jon,</font></tt>
<br>
<br><tt><font size="2">We are currently trying to convert our drl files to
brls as well. Would it be possible to share your perl conversion
utility? We were just about to start creating a similar script, but
it would help us out greatly if we could have a look at yours.</font></tt>
<br>
<br><tt><font size="2">Thanks,</font></tt>
<br><font color="#888888">
<br><tt><font size="2">Steve<br>
</font></tt></font><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></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>