)]}'
{"doc/specs/in-progress/compose-scenario.rst":[{"author":{"_account_id":6172,"name":"Boris Pavlovic","email":"boris@pavlovic.me","username":"boris-42"},"change_message_id":"83c07cce70bbf379107bf1320a4902619dc1fbd5","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":"There are three parts to this change:"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"#. First, all existing scenarios must return the resources they"},{"line_number":41,"context_line":"   create so that they can be reused. Many scenarios will not return"},{"line_number":42,"context_line":"   anything at all since they only list existing resources or delete"},{"line_number":43,"context_line":"   everything they create."}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_cb7f5ea9","line":40,"updated":"2015-09-07 07:23:30.000000000","message":"Actually you can\u0027t use the values that are returned by scenario. Because it is scenario output and it will be extend in future. \n\nMoreover scenario level is bad level. I believe that we should refactor our current atomic_actions functions (utils) in the service way which will allow to combine them together and get scenarios.","commit_id":"b5578b4154046021a2ce0e0410599bd1c7776624"},{"author":{"_account_id":6172,"name":"Boris Pavlovic","email":"boris@pavlovic.me","username":"boris-42"},"change_message_id":"83c07cce70bbf379107bf1320a4902619dc1fbd5","unresolved":false,"context_lines":[{"line_number":44,"context_line":"#. Next, add a new core (i.e., not OpenStack plugin) scenario,"},{"line_number":45,"context_line":"   ``Compose.compose`` that takes a single argument, ``scenarios``,"},{"line_number":46,"context_line":"   which is a list of scenario names and arguments."},{"line_number":47,"context_line":"#. Create and document a mini-language for reusing return values from"},{"line_number":48,"context_line":"   previous scenarios."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"An example might look like:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_0b8c76d8","line":47,"updated":"2015-09-07 07:23:30.000000000","message":"I belive we should find something existing* and not write a new language.","commit_id":"b5578b4154046021a2ce0e0410599bd1c7776624"},{"author":{"_account_id":8576,"name":"Yair Fried","email":"yfried@redhat.com","username":"yfried"},"change_message_id":"a46fec533b3bf05446b1dd8b73c8d5ad472fa8b6","unresolved":false,"context_lines":[{"line_number":80,"context_line":"  ``Compose.compose`` scenario itself."},{"line_number":81,"context_line":"* The value of each sub-scenario is the set of ``args`` passed to that"},{"line_number":82,"context_line":"  scenario."},{"line_number":83,"context_line":"* The value of ``net-id`` uses the special token ``$get()`` token,"},{"line_number":84,"context_line":"  which will be interpreted by ``Compose.compose``. Its value is a"},{"line_number":85,"context_line":"  query, based on the language used by tools like jq and shyaml, to"},{"line_number":86,"context_line":"  get the ``id`` of the network created by"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_d7dc9376","line":83,"updated":"2015-09-02 08:14:07.000000000","message":"Alternative:\nInstead of (or in addition to) returning values, you could add them to context, and you will pull the resources from context.","commit_id":"b5578b4154046021a2ce0e0410599bd1c7776624"},{"author":{"_account_id":8576,"name":"Yair Fried","email":"yfried@redhat.com","username":"yfried"},"change_message_id":"a46fec533b3bf05446b1dd8b73c8d5ad472fa8b6","unresolved":false,"context_lines":[{"line_number":99,"context_line":"Alternatives"},{"line_number":100,"context_line":"------------"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Instead of a new ``Compose.compose`` scenario, this could be added as"},{"line_number":103,"context_line":"a new feature such that Rally itself supported chaining multiple"},{"line_number":104,"context_line":"scenarios. That requires a new schema for task files, though, and it"},{"line_number":105,"context_line":"isn\u0027t clear what the user would name a composed scenario. (Doing this"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_97613bd6","line":102,"updated":"2015-09-02 08:14:07.000000000","message":"Your solution is preferable. :)","commit_id":"b5578b4154046021a2ce0e0410599bd1c7776624"},{"author":{"_account_id":8576,"name":"Yair Fried","email":"yfried@redhat.com","username":"yfried"},"change_message_id":"a46fec533b3bf05446b1dd8b73c8d5ad472fa8b6","unresolved":false,"context_lines":[{"line_number":112,"context_line":"-----------"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"Primary assignee:"},{"line_number":115,"context_line":"  stpierre"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"Work Items"},{"line_number":118,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_f73d17bc","line":115,"updated":"2015-09-02 08:14:07.000000000","message":"please add me","commit_id":"b5578b4154046021a2ce0e0410599bd1c7776624"}]}
