Defining a workflow start task
We need to be able to define a workflow start task write in the model (and respectively in DSL). In practice, it doesn't make a lot of sense to start with a random task because real workflows involve data processing and hence all actions need to be taken in a certain order to prepare all data for a certain workflow task.
As a part of this BP we need to get rid of Execution "task" parameter when we start a workflow (in all the models, API, python client and CLI).
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- Medium
- Drafter:
- Renat Akhmerov
- Direction:
- Needs approval
- Assignee:
- Dmitri Zimine
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Blocked
- Milestone target:
- None
- Started by
- Renat Akhmerov
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Refactor test_engine to not rely on start_task
Please deprecate this for a bit at the python client level otherwise solum might end up
getting broken. Also we need a way of communicating such things (api changes) to the users. Normally if you remove something from an API you need to bump the major version number. That might be a bit drasitic but I think at least deprecating it and removing it later is reasonable. So on the client start printing out a warning that
soon this start_task will be ignored then later remove the parameter.
Once you have a real user, it stops becomming a PoC and you need to version properly.
Gerrit topic: https:/
Addressed by: https:/
Refactor test_task_retry to not rely on start_task
Gerrit topic: https:/
Addressed by: https:/
Define workflow start task in DSL
Addressed by: https:/
Remove 'task' from start_workflow_
Addressed by: https:/
Trigger doesn't use task
Work Items
Work items:
mistral - refactor tests to not rely on start_task parameter: INPROGRESS
mistral - change implementation: TODO
mistral - adjust all tests: TODO
mistral - remove task_name from signatures and API : TODO
python-
mistral-dashboard - remove 'start task' field from Create Execution UI : TODO
mistral-extra - add 'start' for workflows : TODO
functionaltests - adjust to the changes : TODO