r-geoflow / geoflow

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

Support initWorkflow 'handleMetadata' argument (default TRUE) #299

Closed eblondel closed 1 year ago

eblondel commented 1 year ago

A new argument handleMetadata should be supported in initWorkflow. By default it will be TRUE to handle both contacts and entities (The case of dictionary is now let aside as it's not yet subject to metadata validation). By setting this value to FALSE, we will be able to initialize a workflow, load software, etc, but without loading any contact and metadata.

Why this is needed? In the context of geoflow-shiny, a UI for metadata validation is proposed. When metadata are validated through this UI, and that metadata are handled by means of a software client, this metadata validation UI does require to load the configuration (through initWorkflow). In case of having metadata validation ERRORs (blocking), an initWorkflow that tries to load entities will fail. We then need to have the capacity to initialize the configuration without handling metadata contacts/entities, to delegate this to an UI.

cc @wheintz @mrouan