diff --git a/inst/extdata/workflows/config_metadata_gsheets_sdi_postgis_dbi.json b/inst/extdata/workflows/config_metadata_gsheets_sdi_postgis_dbi.json new file mode 100644 index 00000000..085e2203 --- /dev/null +++ b/inst/extdata/workflows/config_metadata_gsheets_sdi_postgis_dbi.json @@ -0,0 +1,50 @@ +{ + "profile": { + "id": "my-workflow", + "name": "My workflow", + "project": "Test geoflow project", + "organization": "My organization", + "logos": [ + "https://via.placeholder.com/300x150.png/09f/fff?text=geoflow" + ], + "mode": "entity" + }, + "metadata": { + "entities": [ + { + "handler": "gsheet", + "source": "https://docs.google.com/spreadsheets/d/1BJEMagysqwekNKSn11228eIEN7wDUNFMyT0ssmNHmgc/edit?usp=sharing" + } + ], + "contacts" : [ + { + "handler": "gsheet", + "source": "https://docs.google.com/spreadsheets/d/1BqlXwA2fKiRuozNAQhBb_PbQVSPTCfl8_Q9rfM8E2ws/edit?usp=sharing" + } + ] + }, + "software": [ + { + "type": "input", + "software_type": "dbi", + "parameters": { + "drv": "Postgres", + "host": "host", + "port": "5432", + "user": "user", + "password": "pwd", + "dbname": "dbname" + } + } + ], + "actions": [ + { + "id": "sf-write-dbi", + "run": true, + "options":{ + "createIndexes": true, + "overwrite": true + } + } + ] +} diff --git a/inst/extdata/workflows/workflows.csv b/inst/extdata/workflows/workflows.csv index 265e8c0f..800294eb 100644 --- a/inst/extdata/workflows/workflows.csv +++ b/inst/extdata/workflows/workflows.csv @@ -9,6 +9,7 @@ config_metadata_gsheets_iso19115_inspire_geonetwork_with_uuid.json,Load metadata config_metadata_gsheets_zenodo.json,Load metadata entities/contacts from Google Spreadsheets and deposit records on Zenodo config_metadata_gsheets_zenodo_clean_options.json,Load metadata entities/contacts from Google Spreadsheets and deposit records on Zenodo, with deposit cleaning options config_metadata_gsheets_zenodo_full.json,Load metadata entities/contacts from Google Spreadsheets, deposit records on Zenodo and publish them +config_metadata_gsheets_sdi_postgis_dbi.json,Load metadata entities/contacts from Google spreadsheets and upload a shapefile into a Postgis database config_metadata_gsheets_sdi_geoserver_shp.json,Load metadata entities/contacts from Google Spreadsheets and publish ESRI shapefile based layer on GeoServer config_metadata_gsheets_sdi_geoserver_geotiff.json,Load metadata entities/contacts from Google Spreadsheets and publish GeoTIFF based layer on GeoServer config_metadata_gsheets_sdi_geoserver_geotiff_view.json,Load metadata entities/contacts from Google Spreadsheets and publish GeoTIFF based view layer on GeoServer