generating config for GS 2.0

View: New views
2 Messages — Rating Filter:   Alert me  

generating config for GS 2.0

by Bart van den Eijnden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi list,

I had a PHP script for GS 1.7 to generate config XML files (I have 17
database users with an identical schema and about 50 tables per user).

However, with 2.0 this does not seem feasible anymore (id values in every
XML file, with non-straightforward values like
FeatureTypeInfoImpl--6c9b038e:124c8fc8adb:-7fff and also a lot more XML
files).

So what is the best way to generate config XML's for GS 2.0?

Thanks for any pointers.

Best regards,
Bart


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: generating config for GS 2.0

by cholmez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The idea for any generated configuration now is to use the REST API.
Our hope is that it can cover all use cases that people used to do by
hacking XML files together.  It's an extension 'rest config' I think
it's called, and there should be docs in the user documentation.

So I think you'd just have a script that makes all the REST calls to
generate your configuration.  Let us know if there's things that you
need done that it can't handle, or indeed that make it more hard in
general (past just the pain of converting what you did before, which we
apologize for, but this is 2.0 so we do get to break a few things).

thanks,

Chris

bartvde@... wrote:

> Hi list,
>
> I had a PHP script for GS 1.7 to generate config XML files (I have 17
> database users with an identical schema and about 50 tables per user).
>
> However, with 2.0 this does not seem feasible anymore (id values in every
> XML file, with non-straightforward values like
> FeatureTypeInfoImpl--6c9b038e:124c8fc8adb:-7fff and also a lot more XML
> files).
>
> So what is the best way to generate config XML's for GS 2.0?
>
> Thanks for any pointers.
>
> Best regards,
> Bart
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Chris Holmes
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users