<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="MSHTML 6.00.6002.18357" name="GENERATOR">
<style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">Chris,</font></div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">Using WebDAV is probably the best way of doing this. When you copy a rule into the appropriate location from one WebDAV directory to another, Guvnor will pick up that rule and install it in the specified
 location in the repository.</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="tahoma" size="2">One thing that's very important to note is that only a subset of the information available in Guvnor is available through WebDAV (or the REST API)! At this point, my understanding is that it's practically impossible
 to get some of the rule metadata out of Guvnor; the work on the AtomPub interface may address a lot of these concerns. But if your plan is to do something like migrate documentation or test cases and not just rules, make sure you test the feasibility first!
</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="tahoma" size="2">My understanding from reading previous posts and discussions related to this is that the details of this type of Guvnor-Guvnor migration are hard. Do you import the whole history? What if the users from one instance
 aren't in the other? What do you do if categories and statuses aren't available? I agree that despite these issues that this is still an obviously useful feature.
</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font>&nbsp;</div>
<div>
<div><font face="Tahoma" size="2">David Faulkner</font></div>
<div><font face="tahoma" size="2"><a href="mailto:david.faulkner@amentra.com">david.faulkner@amentra.com</a></font></div>
</div>
<div id="divRpF525162" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> rules-users-bounces@lists.jboss.org [rules-users-bounces@lists.jboss.org] On Behalf Of Steve Ronderos [steve.ronderos@ni.com]<br>
<b>Sent:</b> Wednesday, February 16, 2011 6:26 PM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] Migrating from one environment to another<br>
</font><br>
</div>
<div></div>
<div><font face="sans-serif" size="2">Hi Chris,</font> <br>
<br>
<font face="sans-serif" size="2">You may be able to accomplish migrating a single package via the WebDAV interface and a script in your favorite language.</font>
<br>
<br>
<font face="sans-serif" size="2">Here are some relevant results from a quick google search:</font>
<br>
<a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-guvnor/html/ch01.html#d0e1301" target="_blank"><font color="blue" size="3"><u>http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-guvnor/html/ch01.html#d0e1301</u></font></a><font size="3">
</font><br>
<a href="http://blog.athico.com/2008/05/accessing-guvnor-as-filesystem-webdav.html" target="_blank"><font color="blue" size="3"><u>http://blog.athico.com/2008/05/accessing-guvnor-as-filesystem-webdav.html</u></font></a><font size="3">
</font><br>
<a href="http://thoughts.inphina.com/2011/02/14/adding-rules-to-drools-guvnor-programmatically-with-webdav/" target="_blank"><font color="blue" size="3"><u>http://thoughts.inphina.com/2011/02/14/adding-rules-to-drools-guvnor-programmatically-with-webdav/</u></font></a><font size="3">
</font><br>
<font face="sans-serif" size="2"><br>
Hope this is helpful,</font> <br>
<font face="sans-serif" size="2">Steve</font> <br>
<br>
<tt><font size="2">rules-users-bounces@lists.jboss.org wrote on 02/16/2011 05:12:45 PM:<br>
<br>
&gt; From:</font></tt> <br>
<tt><font size="2">&gt; <br>
&gt; Chris Selwyn &lt;chris@selwyn-family.me.uk&gt;</font></tt> <br>
<tt><font size="2">&gt; <br>
&gt; To:</font></tt> <br>
<tt><font size="2">&gt; <br>
&gt; rules-users@lists.jboss.org</font></tt> <br>
<tt><font size="2">&gt; <br>
&gt; Date:</font></tt> <br>
<tt><font size="2">&gt; <br>
&gt; 02/16/2011 05:14 PM</font></tt> <br>
<tt><font size="2">&gt; <br>
&gt; Subject:</font></tt> <br>
<tt><font size="2">&gt; <br>
&gt; Re: [rules-users] Migrating from one environment to another</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; Thanks for the confirmation Michael.<br>
&gt; <br>
&gt; I must say that I am surprised. It seems such an obviously useful thing.<br>
&gt; Is there a reason why it does not exit? Is there a problem in <br>
&gt; building such a thing?<br>
&gt; <br>
&gt; Chris<br>
&gt; <br>
&gt; On 16/02/2011 22:33, Michael Anstis wrote: </font></tt><br>
<tt><font size="2">&gt; @Chris,<br>
&gt; <br>
&gt; I don't believe there is such a mechanism.<br>
&gt; <br>
&gt; @Sathya,<br>
&gt; <br>
&gt; Hijacking a previous post is unlikely to get you a reply.<br>
&gt; <br>
&gt; Thanks,<br>
&gt; <br>
&gt; Mike <br>
</font></tt><br>
<tt><font size="2">&gt; On 16 February 2011 22:04, Chris Selwyn &lt;chris@selwyn-family.me.uk&gt; wrote:</font></tt>
<br>
<tt><font size="2">&gt; I am aware of the Guvnor export/import mechanism to move an entire<br>
&gt; repository and the method of importing a DRL to create a package.<br>
&gt; <br>
&gt; But what I have been looking for is a mechanism to move the entire<br>
&gt; contents of a Guvnor package (DSL, model, DSLR file, DRL files etc) from<br>
&gt; one Guvnor instance to another, so far without luck.<br>
&gt; <br>
&gt; Is there such a mechanism?<br>
&gt; <br>
&gt; Chris Selwyn<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" target="_blank"><tt><font size="2">https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a>
<br>
<tt><font size="2">&gt; <br>
&gt; <br>
&gt; <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" target="_blank"><tt><font size="2">https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size="2"><br>
</font></tt><br>
<tt><font size="2">&gt; <br>
</font></tt><br>
<tt><font size="2">&gt; No virus found in this message.<br>
&gt; Checked by AVG - </font></tt><a href="UrlBlockedError.aspx" target="_blank"><tt><font size="2">www.avg.com</font></tt></a><tt><font size="2"><br>
&gt; Version: 10.0.1204 / Virus Database: 1435/3447 - Release Date: 02/16/11<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" target="_blank"><tt><font size="2">https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size="2"><br>
</font></tt></div>
</body>
</html>