Skip to content
Snippets Groups Projects
Commit 6bf93760 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

removing execution_id from workflow server

parent 9603b503
No related branches found
No related tags found
No related merge requests found
......@@ -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}",
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment