"with-items" concurrency
In DSL, there will be something like:
create_vms:
with-items: vm in $.vms
concurrency: 5
action: create_vm name=$.vm.name flavor=$.vm.flavor
'concurrency' property means how many actions will be running on executors at a time. It only makes sense if we use "with-items" and should be ignored in other cases.
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- High
- Drafter:
- Nikolay Makhotkin
- Direction:
- Approved
- Assignee:
- Nikolay Makhotkin
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Implemented
- Milestone target:
- 1.0.0
- Started by
- Nikolay Makhotkin
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Refactor for-each
Addressed by: https:/
Adding for_each task spec
Addressed by: https:/
Changing for-each: using runtime_context
Addressed by: https:/
Concurrency: part 1
Addressed by: https:/
Adding test on calculating multi-array input
Addressed by: https:/
Add validation on 'with-items' input
Addressed by: https:/
Change 'with-items' syntax
Addressed by: https:/
Concurrency: part 2
Addressed by: https:/
Concurrency: part 3
Gerrit topic: https:/
Addressed by: https:/
Implementing with-items concurrency
Work Items
Work items:
We need to have a good default which is not "all parallel": TODO