nokia / CloudFlow

A workflow visualization tool for OpenStack Mistral (https://github.com/openstack/mistral)
http://yaqluator.com:8000
Apache License 2.0
95 stars 31 forks source link

Add a link to a parent workflow execution #11

Closed rakhmerov closed 7 years ago

rakhmerov commented 7 years ago

If the current workflow execution has a parent we need to display a link to it somewhere, probably at the top of the page.

CloudFlow version: v0.0.10

GuyShaanan commented 7 years ago

Does the API /executions/<id>/ exposes such parameter?

rakhmerov commented 7 years ago

Well, it's a little tricky now. You need to first get "task_execution_id", then using /tasks/<?> get a task and take its "workflow_execution_id". So it's possible but we have to make 2 additional requests which is not good, of course. I think we can do an optimization and insert "parent_workflow_execution_id" right into the execution object.

I guess we can postpone it. But once we do that it'll be easier to navigate.