Chris,
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.
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!
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.
David Faulkner
david.faulkner@amentra.com<mailto:david.faulkner@amentra.com
________________________________
From: rules-users-bounces(a)lists.jboss.org [rules-users-bounces(a)lists.jboss.org] On Behalf
Of Steve Ronderos [steve.ronderos(a)ni.com]
Sent: Wednesday, February 16, 2011 6:26 PM
To: Rules Users List
Subject: Re: [rules-users] Migrating from one environment to another
Hi Chris,
You may be able to accomplish migrating a single package via the WebDAV interface and a
script in your favorite language.
Here are some relevant results from a quick google search:
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-guvnor/ht...
http://blog.athico.com/2008/05/accessing-guvnor-as-filesystem-webdav.html
http://thoughts.inphina.com/2011/02/14/adding-rules-to-drools-guvnor-prog...
Hope this is helpful,
Steve
rules-users-bounces(a)lists.jboss.org wrote on 02/16/2011 05:12:45 PM:
From:
Chris Selwyn <chris(a)selwyn-family.me.uk
To:
rules-users(a)lists.jboss.org
Date:
02/16/2011 05:14 PM
Subject:
Re: [rules-users] Migrating from one environment to another
Sent by:
rules-users-bounces(a)lists.jboss.org
Thanks for the confirmation Michael.
I must say that I am surprised. It seems such an obviously useful thing.
Is there a reason why it does not exit? Is there a problem in
building such a thing?
Chris
On 16/02/2011 22:33, Michael Anstis wrote:
@Chris,
I don't believe there is such a mechanism.
@Sathya,
Hijacking a previous post is unlikely to get you a reply.
Thanks,
Mike
On 16 February 2011 22:04, Chris Selwyn
<chris(a)selwyn-family.me.uk> wrote:
I am aware of the Guvnor export/import mechanism to move an entire
repository and the method of importing a DRL to create a package.
But what I have been looking for is a mechanism to move the entire
contents of a Guvnor package (DSL, model, DSLR file, DRL files etc) from
one Guvnor instance to another, so far without luck.
Is there such a mechanism?
Chris Selwyn
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
> No virus found in this message.
> Checked by AVG -
www.avg.com<UrlBlockedError.aspx
>
Version: 10.0.1204 / Virus Database: 1435/3447 - Release Date: 02/16/11
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users