diff --git a/services/workflow/src/workflow/server.py b/services/workflow/src/workflow/server.py index 9fbc0f72c27d8b61e2016e25faabb3ce434dda1b..c45a3cdd718e11ff3cb75b9562d91e9a91d50929 100644 --- a/services/workflow/src/workflow/server.py +++ b/services/workflow/src/workflow/server.py @@ -255,7 +255,6 @@ def main(global_config, **settings): # GET /workflows <- list of workflows # GET /workflows/null <- info about the null workflow # POST /workflows/null/requests/create <- create a request for the null workflow - # POST /workflows/null/execution/123/create <- create a request for the null workflow for execution #123 # PUT /workflows/requests/23/files/foo.txt <- attach foo.txt to request #23 on workflow null # POST /workflows/requests/23/submit <- launch request #23 @@ -266,11 +265,6 @@ def main(global_config, **settings): "/workflows/{name}/requests/create", factory=lookup_workflow, ) - config.add_route( - "create_execution_workflow_request", - "/workflows/{name}/execution/{id}/create", - factory=lookup_workflow, - ) config.add_route( "workflow_request", "/workflows/requests/{request_id}", diff --git a/shared/workspaces/src/workspaces/services.py b/shared/workspaces/src/workspaces/services.py index f12e0cbb61d8f9437892bfd257a77059261a4f63..00034139058a943362e7540307ee9763cdf7ea1a 100644 --- a/shared/workspaces/src/workspaces/services.py +++ b/shared/workspaces/src/workspaces/services.py @@ -486,7 +486,7 @@ class WorkflowService(WorkflowServiceIF): log_file = self._execute_prepared(temp_folder) # 6. start reading log file - monitor = WorkflowMonitor(str(log_file)) + monitor = WorkflowMonitor(logfile_path=(log_file), workflow_request_id=request.workflow_request_id) # parse events from log events = monitor.events with workflow_events: