<br><tt><font size=2>rules-users-bounces@lists.jboss.org wrote on 05/19/2009
06:40:34 PM:<br>
<br>
&gt; [image removed] </font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Re: [rules-users] How to import DRL into Business Rule Assets &nbsp;section?</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Late Norther </font></tt>
<br><tt><font size=2>&gt; <br>
&gt; to:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Rules Users List</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 05/19/2009 06:53 PM</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Sent by:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; rules-users-bounces@lists.jboss.org</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Please respond to Rules Users List</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 2009/5/19 Michal Bali &lt;michalbali@gmail.com&gt;:<br>
&gt; &gt; Hi Jon,<br>
&gt; &gt;<br>
&gt; &gt; You could use webdav to connect to Guvnor -<br>
&gt; &gt; </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>
&gt; &gt; You should then see how Guvnor stores the 'business rules', I
think it is an<br>
&gt; &gt; XML file. Then instead of generating DRL file you could generate
this XML.<br>
&gt; &gt; You can then upload these files via webdav into Guvnor.<br>
&gt; &gt; Hope this helps.<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt; Michal<br>
&gt; &gt;<br>
&gt; <br>
&gt; Michal,<br>
&gt; <br>
&gt; I can't thank you enough. &nbsp;This worked well.<br>
&gt; <br>
&gt; For others, here is a review of what I did.<br>
&gt; <br>
&gt; 1. Created a 'dummy' rule using the guided editor in my target package.<br>
&gt; 2. Used the blog URL above to mount the package webdav share<br>
&gt; 3. Downloaded the 'dummy' rule from the webdav share to act as a template<br>
&gt; 4. Updated my Perl import/export script to create .brl files instead<br>
&gt; of .drl files, using the template.<br>
&gt; 5. Copied the new .brl files created by my utility script to the webdav
share.<br>
&gt; 6. Go back to Guvnor GWT and saw/confirmed my rules.<br>
&gt; <br>
&gt; The only snafu I found was that I am unable to populate a category
as<br>
&gt; part of the import, but I can have my analysts do that by hand if<br>
&gt; needed. &nbsp;That apparently is not stored in the .brl, but rather<br>
&gt; somewhere else. &nbsp; I did confirm that I can update the category
in the<br>
&gt; UI after the load.<br>
&gt; <br>
&gt; Again, &nbsp;Thank you.<br>
&gt; <br>
&gt; Jon<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; rules-users@lists.jboss.org<br>
&gt; </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. &nbsp;Would it be possible to share your perl conversion
utility? &nbsp;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>