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

removing execution_id from workflow server... again?

parent 6bf93760
No related branches found
No related tags found
No related merge requests found
......@@ -98,24 +98,6 @@ class WorkflowRequestRestService:
)
return request
@view_config(request_method="POST", route_name="create_execution_workflow_request")
def create_execution_workflow_request(self):
"""
Create a new workflow request from the name/arguments supplied.
Audience: front-end and CLI
:return:
"""
# all we should have to do here is take the WorkflowRequest from the context and
# hand it to WorkflowInfo to save it, but we're still conflating
# workflows and workflow requests right now
request = self.request.info.create_workflow_request(
self.request.context,
self.request.GET.getall("args"),
self.request.matchdict["id"],
)
return request
@view_config(request_method="POST", route_name="submit_workflow_request")
def submit_workflow(self):
"""
......@@ -285,7 +267,6 @@ def main(global_config, **settings):
"/workflows/requests/{request_id}/submit",
factory=lookup_request,
)
config.include("pyramid_beaker")
config.scan(".")
return config.make_wsgi_app()
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