Hi there, My colleague and I are attempting to automate the generation of the “bonding boxes” process by using bash on Linux. Originally, we had a script file that upon execution would travel through the GeoServer site and once it had reached the “Feature Type Editor” page, it generated all the bonding boxes for us. Recently our developers had added Authentication requiring a log in to our GeoServer site (added upon the login for the Config page), which had jammed our automation process. We no longer can use the automation script we had; this is due to each user having unique credentials to login to the site. We would like to know if there are any other methods available that we could use to generate the bonding boxes through automation. Please note that we are currently running our script on the same machine that the GeoServer site lives. Any help or suggestion is greatly appreciated. Thanks, Tony. |
---|
You can use perl LWP or something similar to provide the
authentication credentials.
Alex
On Thu, Feb 12, 2009 at 12:53 PM, payam parsanejad <payam77@anonymised.com> wrote:
Hi there,
My colleague and I are attempting to automate the generation of the "bonding
boxes" process by using bash on Linux. Originally, we had a script file that
upon execution would travel through the GeoServer site and once it had
reached the "Feature Type Editor" page, it generated all the bonding boxes
for us.Recently our developers had added Authentication requiring a log in to our
GeoServer site (added upon the login for the Config page), which had jammed
our automation process. We no longer can use the automation script we had;
this is due to each user having unique credentials to login to the site.We would like to know if there are any other methods available that we could
use to generate the bonding boxes through automation. Please note that we
are currently running our script on the same machine that the GeoServer site
lives.Any help or suggestion is greatly appreciated.
Thanks,
Tony.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Hi Alex, Our script is using a lynx command that sets off another script that will generate the right keystrokes to automatically navigate through the site. We need to find a way to skip the entering the credential part of this process and directly call the components that are responsible for generating the bonding boxes. Thanks, Tony. — On Thu, 2/12/09, Alexander Petkov greenkov@anonymised.com wrote: > From: Alexander Petkov greenkov@anonymised.com > Subject: Re: [Geoserver-users] Map server automation > To: payam77@anonymised.com > Cc: geoserver-users@lists.sourceforge.net, kchoi@anonymised.com > Date: Thursday, February 12, 2009, 12:03 PM > > <br>> You can use perl LWP or something similar to provide the<br>> authentication credentials.<br>> <br>> Alex<br>> <br>> On Thu, Feb 12, 2009 at 12:53 PM, payam parsanejad <payam77@anonymised.com><br>> wrote:<br>> > Hi there,<br>> ><br>> ><br>> ><br>> > My colleague and I are attempting to automate the generation of the<br>> "bonding<br>> > boxes" process by using bash on Linux. Originally, we had a script<br>> file that<br>> > upon execution would travel through the GeoServer site and once it had<br>> > reached the "Feature<br>> Type Editor" page, it generated all the<br>> bonding boxes<br>> > for us.<br>> ><br>> ><br>> ><br>> > Recently our developers had added Authentication requiring a log in to our<br>> > GeoServer site (added upon the login for the Config page), which had<br>> jammed<br>> > our automation process. We no longer can use the automation script we had;<br>> > this is due to each user having unique credentials to login to the site.<br>> ><br>> ><br>> ><br>> > We would like to know if there are any other methods available that we<br>> could<br>> > use to generate the bonding boxes through automation. Please note that we<br>> > are currently running our script on the same machine that the GeoServer<br>> site<br>> > lives.<br>> ><br>> ><br>> ><br>> > Any help or suggestion is greatly appreciated.<br>> ><br>> ><br>> ><br>> > Thanks,<br>> ><br>> ><br>> Tony.<br>> ><br>> ><br>> ------------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > Geoserver-users mailing list<br>> > Geoserver-users@lists.sourceforge.net<br>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users<br>> ><br>> ><br>> <br>> |
---|
Hi,
The REST configuration extensions, planed to be released for 1.7.3, sound exactly like what you need. With them you can use a simple command line tool like curl to configure your feature types.
Here is some documentation:
http://geoserver.org/display/GEOSDOC/RESTful+Configuration+API
http://gridlock.openplans.org/geoserver/1.7.x/doc/user/extensions/rest/rest-config-api.html#feature-types
As I said it is not quite available yet, we are working on releasing it for 1.7.3. If you want to try it out right away you will have to build them from svn.
-Justin
payam parsanejad wrote:
Hi Alex,
Our script is using a lynx command that sets off another script that will generate the right keystrokes to automatically navigate through the site. We need to find a way to skip the entering the credential part of this process and directly call the components that are responsible for generating the bonding boxes.
Thanks,
Tony.
--- On *Thu, 2/12/09, Alexander Petkov /<greenkov@anonymised.com>/* wrote:
From: Alexander Petkov <greenkov@anonymised.com>
Subject: Re: [Geoserver-users] Map server automation
To: payam77@anonymised.com
Cc: geoserver-users@lists.sourceforge.net, kchoi@anonymised.com
Date: Thursday, February 12, 2009, 12:03 PMYou can use perl LWP or something similar to provide the
authentication credentials.Alex
On Thu, Feb 12, 2009 at 12:53 PM, payam parsanejad <payam77@anonymised.com>
wrote:
> Hi there,
>
> My colleague and I are attempting to automate the generation of the
"bonding
> boxes" process by using bash on Linux. Originally, we had a script
file that
> upon execution would travel through the GeoServer site and once it had
> reached the "Feature
Type Editor" page, it generated all the
bonding boxes
> for us.
>
> Recently our developers had added Authentication requiring a log in to our
> GeoServer site (added upon the login for the Config page), which had
jammed
> our automation process. We no longer can use the automation script we had;
> this is due to each user having unique credentials to login to the site.
>
> We would like to know if there are any other methods available that we
could
> use to generate the bonding boxes through automation. Please note that we
> are currently running our script on the same machine that the GeoServer
site
> lives.
>
> Any help or suggestion is greatly appreciated.
>
> Thanks,
>
Tony.
>
------------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>------------------------------------------------------------------------
------------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.