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
Conversation
00a46ab
to
ca32249
Compare
docs/openapi.json
Outdated
@@ -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.", |
There was a problem hiding this comment.
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?
61d15af
to
e35cf63
Compare
Commenting here, but really this is sth that could be done also in #111, the |
Probably we should stop doing this replace and standardise mounting the shared filesystem at one location (workflow controller mounts on |
8ccaeba
to
bda904e
Compare
reanahub/reana-commons#28 needs to be merged to have this passing on Travis :) |
* 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.
bda904e
to
0b7c5ff
Compare
Closes #107.
Depends on reanahub/reana-commons#28.