On Fri, Apr 27, 2012 at 8:43 AM, Charles Galpin <[email protected]> wrote:
> I know I have asked this before, but far more often than I'd like I have the 
> need to clone a workspace. Yes, essentially everything is identical except 
> the DB name on the store (and the name of the workspace of course). I know 
> there is a rest api but haven't been given time to automate this, nor do I 
> have time myself otherwise I would do this for sure.
>
> Can anyone who knows about the internals tell me if featureType ids are 
> globally unique, or just unique per workspace? Because if not globally 
> unique, I think I can just copy the workspace and change the namespace id, 
> and store ids in all featuretype.xml and be done.
they're globally unique, as per what the geoserver instance concerns.
They're going to become _globally_ unique when Andrea changes the
usage of UID by UUID.

It wouldn't be hard to create a "tool" (like in the tools menu in the
user interface) to copy or clone a workspace and all its contents.
>
> I just don't want to break anything while doing this :)
>
> Thanks,
> charles
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to