Re: [Geoserver-users] Removing SHP layer via REST using it.geosolutions library

2018-10-31 Thread bradh
] Removing SHP layer via REST using it.geosolutions library Hi Brad, yes, I figured that unpublished would not delete system files, but removing story would. But as you said this is just not implemented... anyway, is there anything I can do, create a ticket or to do something about it ? Was this done

Re: [Geoserver-users] Removing SHP layer via REST using it.geosolutions library

2018-10-31 Thread mikeluz
Hi Brad, yes, I figured that unpublished would not delete system files, but removing story would. But as you said this is just not implemented... anyway, is there anything I can do, create a ticket or to do something about it ? Was this done deliberately, or just someone has forgotten about it ?

Re: [Geoserver-users] Removing SHP layer via REST using it.geosolutions library

2018-10-31 Thread bradh
Conceptually you should be removing the data store, not just unpublishing the layer. However from https://github.com/geoserver/geoserver/blob/master/src/restconfig/src/main/j ava/org/geoserver/rest/catalog/DataStoreController.java#L217 it looks like the purge (deleteType) option didn't actually

[Geoserver-users] Removing SHP layer via REST using it.geosolutions library

2018-10-31 Thread mikeluz
Hi everyone, I am have a bit problem with removing the SHP layer using the it.geosolutions library, but I think it is general Geoserver REST API problem. My question or problem is that when I unpublish/remove a layer using: / publisher.unpublishFeatureType(WORKSPACE, STORE, layerName); / the