I created hosted workflow using Swagger UI and see default parameters values set for the workflow: Workflow Path: /Dockstore.cwl Test File Path :/test.json
I have two questions:
What is the purpose of the “Test File Path” parameter?
How can I create the hosted workflow without setting this “Test File Path” parameter? (remove the file once the workflow is created using PATCH request?)
Is there a way to set my own values for these parameters using Swagger UI POST request when I create the hosted workflow? I tried setting request parameter “workflow_path” or “defaultWorkflowPath” but neither one worked.
Thank you so much for your prompt response and clarifications.
I see, too bad about the hardcoded names for the CWL files as Dockstore supports custom filenames for other types of the workflows (GitHub hosted ones, for example). May I ask why hosted workflows don’t allow custom filenames? Is there a plan to add such support?
Thank you for the pointer to example Java code on how to upload files to the hosted workflow. I got it working from Python already
Hi Masha. Glad to hear that your Python workflow creator is working!
Regarding the hardcoded file names in hosted workflows, I believe that we decided on that design to simplify the feature and make it easier to implement and use. At present, I’m not aware of plans to change it, but to formally push us in that direction, please do file an issue on our github repo.