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

rest: unify inputs/outputs/code to single dir #109

Merged
merged 8 commits into from Jul 19, 2018

Conversation

diegodelemos
Copy link
Member

  • Seed workflow run workspace instead per type (inputs/outputs/code).

Closes #107.
Depends on reanahub/reana-commons#28.

@diegodelemos diegodelemos added this to the v0.3.0 milestone Jul 10, 2018
@diegodelemos diegodelemos self-assigned this Jul 10, 2018
@diegodelemos diegodelemos force-pushed the 107-workspace-endpoint branch 3 times, most recently from 00a46ab to ca32249 Compare July 11, 2018 15:00
@@ -619,8 +619,8 @@
},
"/api/workflows/{workflow_id_or_name}/workspace": {
"get": {
"description": "This resource is expecting a workflow UUID and a filename to return its list of code|input|output files.",
"operationId": "get_workflow_files",
"description": "This resource is expecting a workflow run UUID which workspace file list will be retrieved.",
Copy link
Member

@dinosk dinosk Jul 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about: "This resource retrieves the file list of a workspace, given its workflow run UUID."?
After reading everything I would suggest we go everywhere from workflow run workspace to just workspace, WDYT?

@diegodelemos diegodelemos force-pushed the 107-workspace-endpoint branch 2 times, most recently from 61d15af to e35cf63 Compare July 17, 2018 13:52
@diegodelemos diegodelemos removed their assignment Jul 17, 2018
@dinosk
Copy link
Member

dinosk commented Jul 18, 2018

Commenting here, but really this is sth that could be done also in #111, the experiment/organization should be removed in: https://github.com/reanahub/reana-workflow-controller/blob/master/reana_workflow_controller/tasks.py#L141

@diegodelemos
Copy link
Member Author

Probably we should stop doing this replace and standardise mounting the shared filesystem at one location (workflow controller mounts on /reana whereas the rest is doing it on /data) shall we add it on reanahub/reana-cluster#100 which is related? @dinosk

@diegodelemos
Copy link
Member Author

reanahub/reana-commons#28 needs to be merged to have this passing on Travis :)

Diego Rodriguez added 8 commits July 19, 2018 10:42
* Drops concept of input/output/code directories, so workspace is
  free to be organised as the user wants. Besides, any seeded file
  has as root the workflow run workspace.
* Renames endpoint so workspace directly contains all files.
* Drops listing files per type (inputs/outputs/code), instead treats
  the workspace as the global root.
* Replaces all references of workflow run to workflow.

* Simplifies OpenAPI operationId's.
* reanahub/reana-cluster@22603c1
  standardises REANA shared FS mount path so this fix is no longer
  needed.
@dinosk dinosk merged commit 0b7c5ff into reanahub:master Jul 19, 2018
@tiborsimko tiborsimko added this to Done in v0.3.0 Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v0.3.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants