[Geoserver-users] REST delete of Data Store

Hello,

If I issue a DELETE to remove a Data Store with recurse=true, the associated Workspace is deleted as well. For example:

http://localhost:8090/geoserver/rest/workspaces/peter/stores/MAPPER_WEB?recurse=true

I see a similar issue in JIRA (GEOS-6511). I wanted to bring attention to the Data Store delete issue as well.

Thank you,

Peter Parker

Analyst Programmer

Department of Natural Resources

I thought that was only the case if it was the last datastore in a workspace?

···

Jody Garnett

On Tue, Aug 26, 2014 at 9:16 AM, Parker, Peter R (DNR) <peter.parker@anonymised.com> wrote:

Hello,

If I issue a DELETE to remove a Data Store with recurse=true, the associated Workspace is deleted as well. For example:

http://localhost:8090/geoserver/rest/workspaces/peter/stores/MAPPER_WEB?recurse=true

I see a similar issue in JIRA (GEOS-6511). I wanted to bring attention to the Data Store delete issue as well.

Thank you,

Peter Parker

Analyst Programmer

Department of Natural Resources


Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Unfortunately that does not appear to be the case.

I just ran another test with two Stores (Oracle NG) each with multiple Feature Types/Layers and issues a DELETE with recurse=true on one of the Stores and it removed the entire Workspace containing the two Stores.

Thanks,

Peter

···

I thought that was only the case if it was the last datastore in a workspace?

Jody Garnett

On Tue, Aug 26, 2014 at 9:16 AM, Parker, Peter R (DNR) <peter.parker@anonymised.com> wrote:

Hello,

If I issue a DELETE to remove a Data Store with recurse=true, the associated Workspace is deleted as well. For example:

http://localhost:8090/geoserver/rest/workspaces/peter/stores/MAPPER_WEB?recurse=true

I see a similar issue in JIRA (GEOS-6511). I wanted to bring attention to the Data Store delete issue as well.

Thank you,

Peter Parker

Analyst Programmer

Department of Natural Resources


Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Oh, the GeoServer version is 2.5.1.

···

From: Parker, Peter R (DNR)
Sent: Wednesday, August 27, 2014 7:43 AM
To: ‘Jody Garnett’
Cc: geoserver-users@lists.sourceforge.net
Subject: RE: [Geoserver-users] REST delete of Data Store

Unfortunately that does not appear to be the case.

I just ran another test with two Stores (Oracle NG) each with multiple Feature Types/Layers and issues a DELETE with recurse=true on one of the Stores and it removed the entire Workspace containing the two Stores.

Thanks,

Peter

From: Jody Garnett [mailto:jody.garnett@anonymised.com]
Sent: Tuesday, August 26, 2014 4:00 PM
To: Parker, Peter R (DNR)
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] REST delete of Data Store

I thought that was only the case if it was the last datastore in a workspace?

Jody Garnett

On Tue, Aug 26, 2014 at 9:16 AM, Parker, Peter R (DNR) <peter.parker@anonymised.com> wrote:

Hello,

If I issue a DELETE to remove a Data Store with recurse=true, the associated Workspace is deleted as well. For example:

http://localhost:8090/geoserver/rest/workspaces/peter/stores/MAPPER_WEB?recurse=true

I see a similar issue in JIRA (GEOS-6511). I wanted to bring attention to the Data Store delete issue as well.

Thank you,

Peter Parker

Analyst Programmer

Department of Natural Resources


Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users