<br><tt><font size=2>rules-users-bounces@lists.jboss.org 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>
> rules-users-bounces@lists.jboss.org</font></tt>
<br><tt><font size=2>> <br>
> Please respond to Rules Users List</font></tt>
<br><tt><font size=2>> <br>
> 2009/5/19 Michal Bali <michalbali@gmail.com>:<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"><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>
> rules-users@lists.jboss.org<br>
> </font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a>
<br>
<br><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>
<br><tt><font size=2>Steve<br>
</font></tt>