)]}'
{"doc/source/dsl/dsl_v2.rst":[{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Mistral DSL v2 specification"},{"line_number":2,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Introduction"},{"line_number":5,"context_line":"------------"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Current document fully describes Domain Specific Language (DSL) version"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_ceca43a0","line":4,"updated":"2015-09-11 16:57:00.000000000","message":"Nikolay, please make sure to have \"Introduction\" part in sync with wiki. Now it\u0027s different.","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"-  `Workflows \u003c#workflows\u003e`__"},{"line_number":24,"context_line":"-  `Actions \u003c#actions\u003e`__"},{"line_number":25,"context_line":"-  `Triggers \u003c#triggers\u003e`__"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Prerequisites"},{"line_number":28,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_6e969795","line":25,"updated":"2015-09-11 16:57:00.000000000","message":"Section \"Triggers\" does not exist.","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. code-block:: yaml"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    ---"},{"line_number":54,"context_line":"    version: \u00272.0\u0027"},{"line_number":55,"context_line":"    create_vm:"},{"line_number":56,"context_line":"      description: Simple workflow sample"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_6ea3f79e","line":53,"updated":"2015-09-11 16:57:00.000000000","message":"Nikolay, please try to preserve blank lines in workflow snippets. IMO, they structure a code and hence improve readability.","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":101,"context_line":"   attributes that could be defined in **task-defaults** are the"},{"line_number":102,"context_line":"   following:"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"   -  **on-error**"},{"line_number":105,"context_line":"   -  **on-success**"},{"line_number":106,"context_line":"   -  **on-complete**"},{"line_number":107,"context_line":"   -  **retry**"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_ee7867fa","line":104,"updated":"2015-09-11 16:57:00.000000000","message":"Missing short descriptions of these attributes as shown on wiki.","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":120,"context_line":"Task is what a workflow consists of. It defines a specific computational"},{"line_number":121,"context_line":"step in the workflow. Each task can optionally take input data and"},{"line_number":122,"context_line":"produce output. In Mistral DSL v2 task can be associated with an action"},{"line_number":123,"context_line":"or with calling a workflow. In the example below there are two tasks of"},{"line_number":124,"context_line":"different types:"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":".. code-block:: yaml"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_8eff6b33","line":123,"updated":"2015-09-11 16:57:00.000000000","message":"Remove \"calling\"","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":"    action_based_task:"},{"line_number":129,"context_line":"       action: std.http url\u003d\u0027openstack.org\u0027"},{"line_number":130,"context_line":"    workflow_based_task:"},{"line_number":131,"context_line":"       workflow: backup_vm_workflow vm_id\u003d\u003c% $.vm_id %\u003e"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_cee8037e","line":130,"updated":"2015-09-11 16:57:00.000000000","message":"Blank line between task definitions.","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"All Mistral tasks regardless of workflow type have the following common"},{"line_number":143,"context_line":"attributes:"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"-  **description** - Arbitrary text containing task description."},{"line_number":146,"context_line":"   *Optional*."},{"line_number":147,"context_line":"-  **action** - Name of the action associated with the task. *Required"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_1963a7b2","line":144,"updated":"2015-09-11 16:57:00.000000000","message":"For some reason, this list block visually looks different than the others. Space between lines seems too large.","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":156,"context_line":"   \"\u003c% $.movie_name %\u003e is a cool movie!\")"},{"line_number":157,"context_line":"-  **with-items** - String or list of strings. It is used for processing collections of input data in single task. More about *with-items* - `With-items \u003c#with-items\u003e`__"},{"line_number":158,"context_line":"-  **target** - Executor\u0027s name where is task should be run."},{"line_number":159,"context_line":"-  **keep-result** - if False, the result of a task won\u0027t be stored in Database."},{"line_number":160,"context_line":"-  **publish** - Dictionary of variables to publish to the workflow"},{"line_number":161,"context_line":"   context. Any JSON-compatible data structure optionally containing"},{"line_number":162,"context_line":"   YAQL expression to select precisely what needs to be published."}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_f987d30f","line":159,"updated":"2015-09-11 16:57:00.000000000","message":"\"False\" -\u003e \"false\". I needs to be changed across the code because as well as \"True\" because it is invalid for both YAML and YAQL.\n\n\"Database\" -\u003e \"database\"","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":165,"context_line":"-  Set of policies keys:"},{"line_number":166,"context_line":"    * **wait-before**"},{"line_number":167,"context_line":"    * **wait-after**"},{"line_number":168,"context_line":"    * **pause-before**"},{"line_number":169,"context_line":"    * **retry**"},{"line_number":170,"context_line":"    * **timeout**"},{"line_number":171,"context_line":"    * **concurrency**"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_b994fb35","line":168,"updated":"2015-09-11 16:57:00.000000000","message":"Missing short descriptions of policies\u0027 attributes.","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":192,"context_line":"      retry:"},{"line_number":193,"context_line":"        count: 10"},{"line_number":194,"context_line":"        delay: 20"},{"line_number":195,"context_line":"        break-on: \u003c% $.my_var \u003d True %\u003e"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"* **wait-before**"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_f92a73e6","line":195,"updated":"2015-09-11 16:57:00.000000000","message":"\"True\" -\u003e \"true\"","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* **pause-before**"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":" The Mistral Engine will pause the workflow and its task with the \u0027pause-before\u0027 policy before executing it.  The workflow and task will be paused until a resume signal is received.  This policy accepts a YAQL expression which will cause the policy to be applied only if the expression evaluates to \u0027True\u0027."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"* **timeout**"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_f9bb5373","line":210,"updated":"2015-09-11 16:57:00.000000000","message":"This description doesn\u0027t look clear to me and it\u0027s too verbose. I\u0027d suggest it from wiki.\n\n\"True\" -\u003e \"true\"","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":224,"context_line":""},{"line_number":225,"context_line":" Defines a pattern how task should be repeated in case of an error."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"    * **count** - Defines a maximum number of times that a task can be repeated."},{"line_number":228,"context_line":"    * **delay** - Defines a delay in seconds between subsequent task iterations."},{"line_number":229,"context_line":"    * **break-on** - Defines a YAQL expression that will break iteration loop if it evaluates to *\u0027True\u0027*. If it fires then the task is considered error."},{"line_number":230,"context_line":"    * **continue-on** - Defines a YAQL expression that will continue iteration loop if it evaluates to *\u0027True\u0027*. If it fires then the task is considered successful."}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_f917d351","line":227,"updated":"2015-09-11 16:57:00.000000000","message":"Seems like indentation of this list block is too large.","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":227,"context_line":"    * **count** - Defines a maximum number of times that a task can be repeated."},{"line_number":228,"context_line":"    * **delay** - Defines a delay in seconds between subsequent task iterations."},{"line_number":229,"context_line":"    * **break-on** - Defines a YAQL expression that will break iteration loop if it evaluates to *\u0027True\u0027*. If it fires then the task is considered error."},{"line_number":230,"context_line":"    * **continue-on** - Defines a YAQL expression that will continue iteration loop if it evaluates to *\u0027True\u0027*. If it fires then the task is considered successful."},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"With-items"},{"line_number":233,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_b452c210","line":230,"updated":"2015-09-11 16:57:00.000000000","message":"\"True\" -\u003e \"true\"","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    * **delay** - Defines a delay in seconds between subsequent task iterations."},{"line_number":229,"context_line":"    * **break-on** - Defines a YAQL expression that will break iteration loop if it evaluates to *\u0027True\u0027*. If it fires then the task is considered error."},{"line_number":230,"context_line":"    * **continue-on** - Defines a YAQL expression that will continue iteration loop if it evaluates to *\u0027True\u0027*. If it fires then the task is considered successful."},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"With-items"},{"line_number":233,"context_line":"----------"},{"line_number":234,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_f4e83a18","line":231,"updated":"2015-09-11 16:57:00.000000000","message":"Missing a block \"Retry policy can also be configured on a single line as: ...\"","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"dce42646d50db2edf70a954b32f886cbcae53566","unresolved":false,"context_lines":[{"line_number":229,"context_line":"    * **break-on** - Defines a YAQL expression that will break iteration loop if it evaluates to *\u0027True\u0027*. If it fires then the task is considered error."},{"line_number":230,"context_line":"    * **continue-on** - Defines a YAQL expression that will continue iteration loop if it evaluates to *\u0027True\u0027*. If it fires then the task is considered successful."},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"With-items"},{"line_number":233,"context_line":"----------"},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"YAML example"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da20952f_14636eb2","line":232,"updated":"2015-09-11 16:57:00.000000000","message":"Nikolay, I would suggest we copy block \"Processing Collections\" from wiki instead of this \"With-items\" and insert it into the same place as on wiki (otherwise it breaks the structure because this section describes only common task attributes).","commit_id":"b0175e2e70667acc95a8adf10a5b98d58e3da0e2"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"24a4a0f2d5183887b5dbb04d51f0aeafbd2d8d77","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"-  `Workflows \u003c#Workflows\u003e`__"},{"line_number":28,"context_line":"-  `Actions \u003c#Actions\u003e`__"},{"line_number":29,"context_line":"-  `Triggers \u003c#Triggers\u003e`__"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Prerequisites"},{"line_number":32,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_bd7d201e","side":"PARENT","line":29,"updated":"2015-09-15 10:13:14.000000000","message":"Why did you delete \"triggers\" ?","commit_id":"f42b7f5f5e4bcbce8db7e7340b4cac12de3eec4d"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Unlike Mistral DSLv1 DSL v2 assumes that all"},{"line_number":13,"context_line":"entities that Mistral works with like workflows and actions are"},{"line_number":14,"context_line":"completely independent in terms of how they\u0027re referenced and accessed"},{"line_number":15,"context_line":"through API (and also Python Client API and CLI). Workbooks, the entity"},{"line_number":16,"context_line":"that can combine combine workflows and actions still exist in the"},{"line_number":17,"context_line":"language but only for namespacing and convenience purposes. See"},{"line_number":18,"context_line":"`Workbooks section \u003c#workbooks\u003e`__ for more details."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_eacd105e","line":15,"updated":"2015-09-15 09:53:12.000000000","message":"Let\u0027s change \"Workbooks\" to \"Workbook\"","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"24a4a0f2d5183887b5dbb04d51f0aeafbd2d8d77","unresolved":false,"context_lines":[{"line_number":13,"context_line":"entities that Mistral works with like workflows and actions are"},{"line_number":14,"context_line":"completely independent in terms of how they\u0027re referenced and accessed"},{"line_number":15,"context_line":"through API (and also Python Client API and CLI). Workbooks, the entity"},{"line_number":16,"context_line":"that can combine combine workflows and actions still exist in the"},{"line_number":17,"context_line":"language but only for namespacing and convenience purposes. See"},{"line_number":18,"context_line":"`Workbooks section \u003c#workbooks\u003e`__ for more details."},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_1d13ec0e","line":16,"updated":"2015-09-15 10:13:14.000000000","message":"1) Please, remove second \"combine\" word\n2) Use plural or singular form: \"Workbooks, the entity\"","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":13,"context_line":"entities that Mistral works with like workflows and actions are"},{"line_number":14,"context_line":"completely independent in terms of how they\u0027re referenced and accessed"},{"line_number":15,"context_line":"through API (and also Python Client API and CLI). Workbooks, the entity"},{"line_number":16,"context_line":"that can combine combine workflows and actions still exist in the"},{"line_number":17,"context_line":"language but only for namespacing and convenience purposes. See"},{"line_number":18,"context_line":"`Workbooks section \u003c#workbooks\u003e`__ for more details."},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_0ab164e1","line":16,"updated":"2015-09-15 09:53:12.000000000","message":"remove one \"combine\", it\u0027s doubled","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":17,"context_line":"language but only for namespacing and convenience purposes. See"},{"line_number":18,"context_line":"`Workbooks section \u003c#workbooks\u003e`__ for more details."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"**NOTE**: DSL and API of version 1 is not supported since April 2015 and"},{"line_number":21,"context_line":"DSL and API of version 2 is now the only way to interact with Mistral"},{"line_number":22,"context_line":"service."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_0a0de48f","line":20,"updated":"2015-09-15 09:53:12.000000000","message":"Let\u0027s make it \"has not been supported\" (better english)","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"24a4a0f2d5183887b5dbb04d51f0aeafbd2d8d77","unresolved":false,"context_lines":[{"line_number":27,"context_line":"-  `Workflows \u003c#workflows\u003e`__"},{"line_number":28,"context_line":"-  `Actions \u003c#actions\u003e`__"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Also, Mistral DSL takes advantage of"},{"line_number":31,"context_line":"`YAQL \u003chttps://pypi.python.org/pypi/yaql/1.0.0\u003e`__ expression language to"},{"line_number":32,"context_line":"reference workflow context variables and thereby implements passing data"},{"line_number":33,"context_line":"between workflow tasks. It\u0027s also referred to as Data Flow mechanism."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_5dbac4c1","line":30,"updated":"2015-09-15 10:13:14.000000000","message":"We have the same info in \"Prerequisites\" section, so maybe we can move it under this section.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    ---"},{"line_number":76,"context_line":"    version: \u00272.0\u0027"},{"line_number":77,"context_line":"    create_vm:"},{"line_number":78,"context_line":"     description: Simple workflow example"},{"line_number":79,"context_line":"     type: direct"},{"line_number":80,"context_line":"     input:"},{"line_number":81,"context_line":"       - vm_name"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_3db7d0d9","line":78,"updated":"2015-09-15 09:53:12.000000000","message":"Please use 2 char indentation for all YAML examples. I would also prefer to keep all original blank lines that exist in wiki, they improve readability.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":161,"context_line":".. code-block:: yaml"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"    action_based_task:"},{"line_number":164,"context_line":"     action: std.http url\u003d\u0027openstack.org\u0027"},{"line_number":165,"context_line":"    workflow_based_task:"},{"line_number":166,"context_line":"     workflow: backup_vm_workflow vm_id\u003d\u003c% $.vm_id %\u003e"},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_9dc05c2c","line":164,"updated":"2015-09-15 09:53:12.000000000","message":"Wrong indent: 1 instead of 2. Also add a blank line before these two tasks","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":220,"context_line":".. code-block:: yaml"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"    my_task:"},{"line_number":223,"context_line":"     action: my_action"},{"line_number":224,"context_line":"     pause-before: true"},{"line_number":225,"context_line":"     wait-before: 2"},{"line_number":226,"context_line":"     wait-after: 4"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_ddcd745e","line":223,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"24a4a0f2d5183887b5dbb04d51f0aeafbd2d8d77","unresolved":false,"context_lines":[{"line_number":233,"context_line":"**pause-before**"},{"line_number":234,"context_line":""},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"Defines wether Mistral Engine should put the workflow on hold or not"},{"line_number":237,"context_line":"before starting a task."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"**wait-before**"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_dd8574ad","line":236,"updated":"2015-09-15 10:13:14.000000000","message":"typo: wether -\u003e whether","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":266,"context_line":"   iterations."},{"line_number":267,"context_line":"-  **break-on** - Defines a YAQL expression that will break iteration"},{"line_number":268,"context_line":"   loop if it evaluates to \u0027true\u0027. If it fires then the task is"},{"line_number":269,"context_line":"   considered successful."},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"Retry policy can also be configured on a single line as:"},{"line_number":272,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_7da0e89f","line":269,"updated":"2015-09-15 09:53:12.000000000","message":"Please add \"continue-on\".","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":273,"context_line":".. code-block:: yaml"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"    task1:"},{"line_number":276,"context_line":"     action: my_action"},{"line_number":277,"context_line":"     retry: count\u003d10 delay\u003d5 break-on\u003d\u003c% $.foo \u003d \u0027bar\u0027 %\u003e"},{"line_number":278,"context_line":""},{"line_number":279,"context_line":"All parameter values for any policy can be defined as YAQL expressions."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_7ddc6812","line":276,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":289,"context_line":".. code-block:: yaml"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    my_task:"},{"line_number":292,"context_line":"     action: std.http"},{"line_number":293,"context_line":"     input:"},{"line_number":294,"context_line":"        url: http://mywebsite.org"},{"line_number":295,"context_line":"       method: GET"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_fdfe386a","line":292,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":308,"context_line":".. code-block:: yaml"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"    my_task:"},{"line_number":311,"context_line":"     workflow: some_nested_workflow"},{"line_number":312,"context_line":"     input:"},{"line_number":313,"context_line":"       param1: val1"},{"line_number":314,"context_line":"       param2: val2"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_ddf49488","line":311,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":346,"context_line":""},{"line_number":347,"context_line":"    ---"},{"line_number":348,"context_line":"    version: \u00272.0\u0027"},{"line_number":349,"context_line":"    create_vm_and_send_email:"},{"line_number":350,"context_line":"     type: direct"},{"line_number":351,"context_line":"     input:"},{"line_number":352,"context_line":"       - vm_name"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_3d2cb001","line":349,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"24a4a0f2d5183887b5dbb04d51f0aeafbd2d8d77","unresolved":false,"context_lines":[{"line_number":403,"context_line":"Fork"},{"line_number":404,"context_line":"\u0027\u0027\u0027\u0027"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"There are situations when we need to be able to run more than task after"},{"line_number":407,"context_line":"some task has completed."},{"line_number":408,"context_line":""},{"line_number":409,"context_line":".. code-block:: yaml"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_dd5a5450","line":406,"updated":"2015-09-15 10:13:14.000000000","message":"Probably you missed the word \"to run more than _one_ task\"","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":409,"context_line":".. code-block:: yaml"},{"line_number":410,"context_line":""},{"line_number":411,"context_line":"    create_vm:"},{"line_number":412,"context_line":"     ..."},{"line_number":413,"context_line":"     on-success:"},{"line_number":414,"context_line":"       - register_vm_in_load_balancer"},{"line_number":415,"context_line":"       - register_vm_in_dns"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_5d2f24f6","line":412,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":430,"context_line":""},{"line_number":431,"context_line":"    register_vm_in_load_balancer:"},{"line_number":432,"context_line":"     ..."},{"line_number":433,"context_line":"     on-success:"},{"line_number":434,"context_line":"       - wait_for_all_registrations"},{"line_number":435,"context_line":"    register_vm_in_dns:"},{"line_number":436,"context_line":"     ..."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_1d39ac41","line":433,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":455,"context_line":""},{"line_number":456,"context_line":".. code-block:: yaml"},{"line_number":457,"context_line":""},{"line_number":458,"context_line":"    register_vm_in_load_balancer:"},{"line_number":459,"context_line":"     ..."},{"line_number":460,"context_line":"     on-success:"},{"line_number":461,"context_line":"       - wait_for_all_registrations"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_bd40c0a6","line":458,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"24a4a0f2d5183887b5dbb04d51f0aeafbd2d8d77","unresolved":false,"context_lines":[{"line_number":473,"context_line":""},{"line_number":474,"context_line":"When a task has property \"join\" assigned with a numeric value then the"},{"line_number":475,"context_line":"task will run once at least this number of upstream tasks are completed"},{"line_number":476,"context_line":"and corresponding conditions have triggered. In the example about task"},{"line_number":477,"context_line":"\"wait_for_two_registrations\" will run if two any of"},{"line_number":478,"context_line":"\"register_vm_xxx\" tasks complete."},{"line_number":479,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_40a2dbaf","line":476,"updated":"2015-09-15 10:13:14.000000000","message":"about - \u003e above","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"24a4a0f2d5183887b5dbb04d51f0aeafbd2d8d77","unresolved":false,"context_lines":[{"line_number":481,"context_line":""},{"line_number":482,"context_line":""},{"line_number":483,"context_line":"Discriminator is a special case of Partial Join when \"join\" property has"},{"line_number":484,"context_line":"value 1. In this case instead of 1 it is possible to specify special"},{"line_number":485,"context_line":"string value \"one\" which is introduced for symmetry with \"all\". However,"},{"line_number":486,"context_line":"it\u0027s up to the user whether to use \"1\" or \"one\"."},{"line_number":487,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_c0d26b00","line":484,"updated":"2015-09-15 10:13:14.000000000","message":"Let\u0027s add a little bit explanation here. \"Discriminator is a special case of Partial Join when \"join\" property has\tvalue 1 \" - it is ok, but what does it mean ?) Add something info here, I think it is importance to notice that in this case join wait execution of ANY upstream tasks","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":512,"context_line":"    version: \u00272.0\u0027"},{"line_number":513,"context_line":"    create_vm_and_send_email:"},{"line_number":514,"context_line":"     type: reverse"},{"line_number":515,"context_line":"     input:"},{"line_number":516,"context_line":"       - vm_name"},{"line_number":517,"context_line":"       - image_id"},{"line_number":518,"context_line":"       - flavor_id"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_9d45bcb4","line":515,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":551,"context_line":"    ---"},{"line_number":552,"context_line":"    version: \u00272.0\u0027"},{"line_number":553,"context_line":"    create_vms:"},{"line_number":554,"context_line":"     description: Creating multiple virtual servers using \"with-items\". "},{"line_number":555,"context_line":"     input:"},{"line_number":556,"context_line":"       - vm_names"},{"line_number":557,"context_line":"       - image_ref"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_fd0cf895","line":554,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"24a4a0f2d5183887b5dbb04d51f0aeafbd2d8d77","unresolved":false,"context_lines":[{"line_number":574,"context_line":"           count: \u003c% $.vm_names.len() * 10 %\u003e"},{"line_number":575,"context_line":""},{"line_number":576,"context_line":"Workflow \"create_vms\" in this example creates as many virtual servers"},{"line_number":577,"context_line":"as we provide in \"vm_names\" input parameter. E.g., if we specify"},{"line_number":578,"context_line":"vm_names\u003d[\"vm1\", \"vm2\"] then it\u0027ll create servers with these names"},{"line_number":579,"context_line":"based on same image and flavor. It is possible because of using"},{"line_number":580,"context_line":"\"with-items\" keyword that makes an action or a workflow associated with"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_40ef3b87","line":577,"updated":"2015-09-15 10:13:14.000000000","message":"\"as we provide _names_ in \u0027vm_names\u0027\" ?","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":586,"context_line":".. code-block:: yaml"},{"line_number":587,"context_line":""},{"line_number":588,"context_line":"    with-items:"},{"line_number":589,"context_line":"     - var1 in \u003c% YAQL_expression_1 %\u003e"},{"line_number":590,"context_line":"     - var2 in \u003c% YAQL_expression_2 %\u003e"},{"line_number":591,"context_line":"     ..."},{"line_number":592,"context_line":"     - varN in \u003c% YAQL_expression_N %\u003e"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_1d10cca7","line":589,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":653,"context_line":""},{"line_number":654,"context_line":".. code-block:: yaml"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"    http_task:"},{"line_number":657,"context_line":"     action: std.http url\u003d\u0027google.com\u0027"},{"line_number":658,"context_line":""},{"line_number":659,"context_line":"std.mistral_http"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_bd276011","line":656,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":692,"context_line":".. code-block:: yaml"},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"    send_email_task:"},{"line_number":695,"context_line":"     action: std.email"},{"line_number":696,"context_line":"     input:"},{"line_number":697,"context_line":"         to_addrs: [admin@mywebsite.org]"},{"line_number":698,"context_line":"         subject: Hello from Mistral :)"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_dd225401","line":695,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":857,"context_line":".. code-block:: yaml"},{"line_number":858,"context_line":""},{"line_number":859,"context_line":"    my_workflow:"},{"line_number":860,"context_line":"     tasks:"},{"line_number":861,"context_line":"       ..."},{"line_number":862,"context_line":"       send_error_email:"},{"line_number":863,"context_line":"         action: error_email execution_id\u003d\u003c% $.__execution.id %\u003e"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_9d4a9cab","line":860,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"2db3ca498e6a642efa7da164103a718eb0e181d4","unresolved":false,"context_lines":[{"line_number":921,"context_line":"    name: my_workbook"},{"line_number":922,"context_line":"    description: My set of workflows and ad-hoc actions"},{"line_number":923,"context_line":"    workflows:"},{"line_number":924,"context_line":"     local_workflow1:"},{"line_number":925,"context_line":"       type: direct"},{"line_number":926,"context_line":"       "},{"line_number":927,"context_line":"       tasks:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba15a1d1_bddc40e5","line":924,"updated":"2015-09-15 09:53:12.000000000","message":"Use 2 char indentation.","commit_id":"bb53eba93d0a838343aa622c03d24067ae18f8cf"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"e1ddfd3f8e06f0906de22d1ef418c7b065f40e44","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        create_server:"},{"line_number":90,"context_line":"          action: nova.servers_create name\u003d\u003c% $.vm_name %\u003e image\u003d\u003c% $.image_ref %\u003e flavor\u003d\u003c% $.flavor_ref %\u003e"},{"line_number":91,"context_line":"          publish:"},{"line_number":92,"context_line":"            vm_id: \u003c% $.create_server.id %\u003e"},{"line_number":93,"context_line":"          on-success:"},{"line_number":94,"context_line":"            - wait_for_instance"},{"line_number":95,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba15a1d1_f8d07f55","line":92,"updated":"2015-09-15 12:39:59.000000000","message":"Please, update syntax here: \u003c% task(create_server).result.id %\u003e","commit_id":"cbb5c8f36c720d1d5c13424093b63e9ef19747c2"}]}
