[rules-users] Guvnor utility to update packages and models
Jervis Liu
jliu at redhat.com
Sat Jan 7 01:16:40 EST 2012
Hi,
This is the exact reason why you may want to use the Global Area.
Global area is a special area that is designed to store assets that can
be shared among all packages. First, put your common pojo in the Global
Area. Then add pojo to each package using the "Import from the Global
Area" option.
Further more, you can update your pojo through REST interface remotely
when you pojo model is changed:
http://docs.jboss.org/drools/release/5.3.0.Final/drools-guvnor-docs/html/ch09.html#d0e2282
Cheers,
Jervis
On 2012/1/7 4:15, Dean Whisnant wrote:
> We are using Drool and Guvnor 5.1.1 and have approximately 150 rule packages (different rules for different customers, ...). Has anyone written a utility or do you have a suggestion for updating POJO models within each of these that doesn't involve me going to each package within guvnor?
>
> As an example, 50 of my packages might all use the same POJO, we'll call it transactionAv10.jar, and when I go to v11 I currently have to go back into each package in guvnor and archive v10 and then upload v11.
>
> I'm looking for a way that I could do this outside of guvnor. Whether it be doing the updates at the webdav level, or even calling some guvnor functions that do these tasks. For reference, I am using Apache Tomcat to host Guvnor and am using the default database structure.
>
> Any thoughts?
>
> Thank you!
>
> Dean Whisnant
> basys, inc.
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list