Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New action for D4science storage interaction with d4storagehub4R package #154

Closed
5 tasks done
abennici opened this issue Apr 21, 2021 · 0 comments
Closed
5 tasks done

Comments

@abennici
Copy link
Collaborator

abennici commented Apr 21, 2021

Add a new action using eblondel/d4storagehub4R services to create folders and upload of out files on D4Science Workspace directory.
This action should manage at least :

  • connection to folder if existing
  • creation of folders if missing
  • upload of file handled in entity$data$uploadSource
  • fetch the public link of the newly uploaded file and enrich entity$relations with it
  • manage option depositWithFiles to upload all data/metadata resources

Some brainstorming is required on:

  • how/where the workspace folder path should be coded. As 1st requirement, a workspace property should be part of the d4storagehub software declaration. A 2d requirement, there is a need to refactor the workspace entity data property (Need to refactor workspace in relation with its target software #155), as a similar concept could be targeting 2 different software, and create a conflict. Example: a Geoserver workspace named 'my_workspace', and a D4Science workspace folder named 'my_folder'.
  • re-executing the action at the end of the workflow similarly to zenodo/dataverse in case the user wants to upload more resources (all, data, metadata). To be done in link with action options
  • the position / order of the action within the list of actions to be executed. If the file upload is performed before an action such as geometa (ISO 19115), it offers the possibility to enrich the metadata with a web-link from D4Science. Reversely, if this file upload occured after geometa (ISO 19115), we lose the capacity to enrich the ISO 19115 with a D4Sscience web-link. By analogy, we have the same issue with Zenodo action that needs to be performed earlier in the workflow if we want to enrich ISO 19115 with the pre-reserved DOI. This deserves more thinking about ordering the actions (Investigate the question of workflow actions order #156)
@abennici abennici added the enhancement New feature or request label Apr 21, 2021
@eblondel eblondel changed the title New action d4storagehub New action for D4science storage interaction with d4storagehub4R package Apr 21, 2021
@eblondel eblondel assigned eblondel and abennici and unassigned eblondel Apr 21, 2021
abennici added a commit to abennici/geoflow that referenced this issue Apr 22, 2021
abennici added a commit to abennici/geoflow that referenced this issue Apr 22, 2021
abennici added a commit to abennici/geoflow that referenced this issue Apr 22, 2021
abennici added a commit to abennici/geoflow that referenced this issue Apr 22, 2021
eblondel added a commit that referenced this issue Apr 22, 2021
abennici added a commit to abennici/geoflow that referenced this issue Apr 23, 2021
abennici added a commit to abennici/geoflow that referenced this issue Apr 23, 2021
abennici added a commit to abennici/geoflow that referenced this issue Apr 23, 2021
eblondel added a commit that referenced this issue Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants