"with-items" concurrency

Registered by Nikolay Makhotkin

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:
milestone icon 1.0.0
Started by
Nikolay Makhotkin
Completed by
Renat Akhmerov

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/mistral-for-each-parallelism,n,z

Addressed by: https://review.openstack.org/140327
    Refactor for-each

Addressed by: https://review.openstack.org/141023
    Adding for_each task spec

Addressed by: https://review.openstack.org/141066
    Changing for-each: using runtime_context

Addressed by: https://review.openstack.org/147547
    Concurrency: part 1

Addressed by: https://review.openstack.org/146457
    Adding test on calculating multi-array input

Addressed by: https://review.openstack.org/146466
    Add validation on 'with-items' input

Addressed by: https://review.openstack.org/146891
    Change 'with-items' syntax

Addressed by: https://review.openstack.org/147811
    Concurrency: part 2

Addressed by: https://review.openstack.org/147885
    Concurrency: part 3

Gerrit topic: https://review.openstack.org/#q,topic:bug/1476871,n,z

Addressed by: https://review.openstack.org/205496
    Implementing with-items concurrency

(?)

Work Items

Work items:
We need to have a good default which is not "all parallel": TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.