Start workflow execution
Start Workflow Execution
POST /workflow_executions
Permission workflow_execution:start
| workflow_execution:start_unpublished
- Client send workflow version id and config to WFS
- WFS asks AS if user is allowed to start workflow
- Check active workflow limit
- Check availability/deprecation of workflow
- Check config with json schema of workflow and user has access to referenced buckets
- Save workflow execution to database with unique ID
- Copy config into separate s3 bucket
- (Start nextflow via Slurm REST API (python library through openapi-generator)) -> #2 (closed)
- Tower Tracing enabled -> point to WLS
- workflow execution ID as workspace ID (somehow inject workflow execution id)
- Save Slurm job Id to database to enable canceling the job
- Return Workflow execution instance with status pending