r-geoflow / geoflow

Tools to Orchestrate Geospatial (Meta)Data Management Workflows and Manage FAIR Services
https://github.com/r-geoflow/geoflow/wiki
Other
40 stars 14 forks source link

Add overwrite options to geoserver publishing action #329

Closed eblondel closed 1 year ago

eblondel commented 1 year ago

Deactivating the geosapi action in a workflow has side effects in other actions (eg ISO 19115 where OGC service links will be not be added). On the other hand, a user does not necessarily want to re-run the full geoserver action. We can distinguish various use cases:

From this, a set of 3 options could be added to the geosapi action:

cc @juldebar @kikislater

kikislater commented 1 year ago

Thanks, worth trying

kikislater commented 1 year ago

When "overwrite_upload": false and "overwrite_layer": true

abstract in geoserver is not updated, is this actual behaviour ?

eblondel commented 1 year ago

If overwrite_upload is false, you assume you uploaded a dataset through the Geoserver API (eg. a GeoPackage) and you don't want to re-upload it because it didn't change. If overwrite_layer is true, the layer will be republished (without any physical data download behind). So we will update layer title for example (based on the entity metadata).

eblondel commented 1 year ago

if overwrite_layer is true and that the layer metadata are not changed, there is an issue.

kikislater commented 1 year ago

if overwrite_layer is true and that the layer metadata are not changed, there is an issue.

That's it ! I'll retest it tomorrow