'with-items' for processing collections

Registered by Nikolay Makhotkin

DSL example:

task1:
  with-items: vm in {$.vm_list}
  action: create_vm vm=$.vm

or

task1:
  with-items:
    - vol in {$.volume_list}
    - vm in {$.vm_list}
  action: create_vm vm={$.vm} vol={$.vol}

Blueprint information

Status:
Complete
Approver:
Renat Akhmerov
Priority:
High
Drafter:
Nikolay Makhotkin
Direction:
Approved
Assignee:
Nikolay Makhotkin
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
None
Started by
Renat Akhmerov
Completed by
Renat Akhmerov

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/mistral-with-items,n,z

Addressed by: https://review.openstack.org/144285
    Replace for-each on with-items

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

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

Addressed by: https://review.openstack.org/167599
    Fixing 'with-items' functionality

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.