)]}'
{"specs/juno/solum-mistral-input.rst":[{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"baada198_1cffbc68","updated":"2014-07-02 16:46:38.000000000","message":"This document has a bunch of trailing spaces that Gerrit highlights in red. That attracts a lot of attention form the reviewers, so it might be best to delete that whitespace when you make further revisions.\n\nAlso, line wrap everything at 79 chars: \nhttp://git.openstack.org/cgit/stackforge/solum-specs/tree/specs/template.rst#n24","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":5,"context_line":"******************"},{"line_number":6,"context_line":"Overview and Scope"},{"line_number":7,"context_line":"******************"},{"line_number":8,"context_line":"This specification will describe the Horizon GUI, database schema and steps required to provide the user input needed for each Mistral Task in a Mistral Workbook/workflow."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"The following topics are explicitly outside of this specification scope:"},{"line_number":11,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_7c927858","line":8,"updated":"2014-07-02 16:46:38.000000000","message":"s/will describe/describes/","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Solum Horizon GUI Prototype"},{"line_number":23,"context_line":"---------------------------"},{"line_number":24,"context_line":"Prior to this screen, Horizon will likely logically have a dropdown list of workflows to choose from which would then bring this page up:"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":".. image:: http://i.imgur.com/ezCU3KX.png"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_dc79c4fd","line":24,"updated":"2014-07-02 16:46:38.000000000","message":"Consider: Before this screen, the user was already prompted to select a workflow from a pre-defined list. After that selection, this page displays:","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":23,"context_line":"---------------------------"},{"line_number":24,"context_line":"Prior to this screen, Horizon will likely logically have a dropdown list of workflows to choose from which would then bring this page up:"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":".. image:: http://i.imgur.com/ezCU3KX.png"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"The top section including the black text will be prefilled in by parsing the Mistral Definition/DSL.  The blue text in the bottom indicates where a user will fill in data.  The \"Dyanamic Workflow User Input\" section will be dynamically generated by parsing the Mistral DSL to detect all input fields with no values.  These input variables are typically identified in the Mistral Definition by a \"$.\" prefix.  This data is used to generate the Mistral Context."},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_5c8934c9","line":26,"updated":"2014-07-02 16:46:38.000000000","message":"I am concerned with the SSH username and SSH Password fields expressed in the UI. What are those for? Why should a password ever be needed rather than a public key?","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":4715,"name":"Angus Salkeld","email":"asalkeld@redhat.com","username":"asalkeld"},"change_message_id":"d7cadae75d58dbb682efc1b19a269b88a5265005","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":".. image:: http://i.imgur.com/ezCU3KX.png"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"The top section including the black text will be prefilled in by parsing the Mistral Definition/DSL.  The blue text in the bottom indicates where a user will fill in data.  The \"Dyanamic Workflow User Input\" section will be dynamically generated by parsing the Mistral DSL to detect all input fields with no values.  These input variables are typically identified in the Mistral Definition by a \"$.\" prefix.  This data is used to generate the Mistral Context."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"After this step, Horizon would logically present a user with a choice of workflow (Mistral Workbook) and user input set which can be used to generate the Mistral Execution."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1ae5cdf2_62b16b8e","line":28,"updated":"2014-06-20 00:02:38.000000000","message":"I don\u0027t think the section below should look like that (for now). Until we introduce Environments all we need is the plan file. Currently I generate the mistral application context in solum based on the plan here:\n\nhttps://review.openstack.org/#/c/97208/9/solum/api/handlers/pipeline_handler.py\n\nRemember each step of the workbook provides results for the next step, so there is normally not many inputs required (until we get to environments and want to tweak the behavior of each step). I just feel this is jumping the gun a bit. And when we add Environments, we will have to rework this anyway (let\u0027s walk before we try running).\n\nNote: to implement environments the following mistral blueprint will need to be implemented https://blueprints.launchpad.net/mistral/+spec/mistral-dataflow-collections\n\nTo create a pipeline all you need is:\n * workbook name (one of the defined workbooks in solum or a custom one in mistral)\n * plan file\n\nI think what we need is a way to discover a list of supported workbooks, that hides where the workbook is (glance or local file):\n /v1/workbooks/\n\n In the short term there is no need to store this in the DB, just list what is in /etc/solum/workbooks/ (only support get_all no POST/GET/PUT). This is an endpoint purely for the client/UI to get a list of supported workbooks.\n\nI\u0027d suggest avoiding creating a new table for workbooks as we are planning to use glance\u0027s catalog as soon as that is available (not ready yet).","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":9537,"name":"Julien Vey","email":"vey.julien@gmail.com","username":"julienvey"},"change_message_id":"6ea08f5538c46ac79944fd6b990b74aaa2de8de6","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":".. image:: http://i.imgur.com/ezCU3KX.png"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"The top section including the black text will be prefilled in by parsing the Mistral Definition/DSL.  The blue text in the bottom indicates where a user will fill in data.  The \"Dyanamic Workflow User Input\" section will be dynamically generated by parsing the Mistral DSL to detect all input fields with no values.  These input variables are typically identified in the Mistral Definition by a \"$.\" prefix.  This data is used to generate the Mistral Context."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"After this step, Horizon would logically present a user with a choice of workflow (Mistral Workbook) and user input set which can be used to generate the Mistral Execution."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1ae5cdf2_f490e34f","line":28,"in_reply_to":"1ae5cdf2_62b16b8e","updated":"2014-06-27 10:35:52.000000000","message":"We could do the same thing we did for language_packs.\n\nProvide an API to query available workbooks. But in Solum itself, we would just call Mistral/Glance or list the FS to find this information. Our API would just be a wrapper.","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":39,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":40,"context_line":"This workflow_definition table has a one to many relationship to the workflow_input_set table.  The workflow_definition table holds the Mistral Workbook information (including DSL).  Each record in workflow_input_set indicates another user input set for this workflow."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Discussion point: Should the workflow_data field (Mistral DSL raw data) become a Glance URL instead later?"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":" "},{"line_number":45,"context_line":"+--------------+--------------------+--------------+-------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_573aedcd","line":42,"updated":"2014-07-02 16:46:38.000000000","message":"Yes, once Glance has artifact repository features. We should define the a glance entity type for workflows, if one is not already provided. We can file this as a tech debt bug/task (dependent on the new glance feature), and proceed without it in the short term.","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":50,"context_line":"|              |                    |              | workflow_input_set table            |"},{"line_number":51,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":52,"context_line":"| VARCHAR(80)  | workflow_name      | not null     | Must be unique in Mistral.  Solum   |"},{"line_number":53,"context_line":"|              |                    |              | will hash the project id and append |"},{"line_number":54,"context_line":"|              |                    |              | to the workflow_name to make it     |"},{"line_number":55,"context_line":"|              |                    |              | unique within a project             |"},{"line_number":56,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_3c4ac080","line":53,"updated":"2014-07-02 16:46:38.000000000","message":"You may want to prepend the workflow name to make it more readable to humans.","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":58,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":59,"context_line":"| VARCHAR(200) | workflow_tags      |              | User friendly workflow tags         |"},{"line_number":60,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":61,"context_line":"| CHAR(36)     | project_id         |              | O.S. UUID of the project that       |"},{"line_number":62,"context_line":"|              |                    |              | created this workflow               |"},{"line_number":63,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":64,"context_line":"| CHAR(36)     | user_id            |              | O.S. UUID of the user that created  |"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_1c133c67","line":61,"updated":"2014-07-02 16:46:38.000000000","message":"s/O.S./Keystone/","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":61,"context_line":"| CHAR(36)     | project_id         |              | O.S. UUID of the project that       |"},{"line_number":62,"context_line":"|              |                    |              | created this workflow               |"},{"line_number":63,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":64,"context_line":"| CHAR(36)     | user_id            |              | O.S. UUID of the user that created  |"},{"line_number":65,"context_line":"|              |                    |              | this workflow                       |"},{"line_number":66,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":67,"context_line":"| DATETIME     | created_on         | not null     |                                     |"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_dc18e486","line":64,"updated":"2014-07-02 16:46:38.000000000","message":"s/O.S./Keystone/","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":70,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":71,"context_line":"| DATETIME     | last_used_on       |              |                                     |"},{"line_number":72,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":73,"context_line":"| CHAR(36)     | last_used_by       |              | Last O.S. user UUID that used this  |"},{"line_number":74,"context_line":"|              |                    |              | workflow                            |"},{"line_number":75,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":76,"context_line":"| SMALLINT     | project_global_flag|              | Portable Boolean value. 0 \u003d false,  |"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_370f3932","line":73,"updated":"2014-07-02 16:46:38.000000000","message":"s/O.S./Keystone/","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":74,"context_line":"|              |                    |              | workflow                            |"},{"line_number":75,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":76,"context_line":"| SMALLINT     | project_global_flag|              | Portable Boolean value. 0 \u003d false,  |"},{"line_number":77,"context_line":"|              |                    |              | 1 \u003d true. When true, this workflow  |"},{"line_number":78,"context_line":"|              |                    |              | will be available to everyone in the|"},{"line_number":79,"context_line":"|              |                    |              | project.                            |"},{"line_number":80,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_1721559f","line":77,"updated":"2014-07-02 16:46:38.000000000","message":"What is the default value? Will the default be set in the database, or in our code?","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":78,"context_line":"|              |                    |              | will be available to everyone in the|"},{"line_number":79,"context_line":"|              |                    |              | project.                            |"},{"line_number":80,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":81,"context_line":"|VARCHAR(10000)| workflow_data      | not null     | The Mistral DSL itself              |"},{"line_number":82,"context_line":"+--------------+--------------------+--------------+------------+------------------------+ "},{"line_number":83,"context_line":""},{"line_number":84,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_d7827d51","line":81,"updated":"2014-07-02 16:46:38.000000000","message":"Why limit inputs to 10K characters arbitrarily? Maybe there is another type that might work better for this. TEXT, BIGTEXT, or BLOB are worth consideration. I am not sure which are supported by SQLAlchemy.","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Table: workflow_input_set"},{"line_number":87,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":88,"context_line":"This table holds user ID and timestamp information for workflow_input records.  There is a one to many relationship between workflow_input_set (one) and workflow_input (many).  This schema design makes the assumption that all input will be entered in a single logical \"transaction\" and that each individual input field does not need separate user and timestamp tracking."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"+-------------+--------------------+--------------+-------------------------------------+"},{"line_number":91,"context_line":"| Field Type  | Name               | Attributes   | Notes                               |"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_57410d38","line":88,"updated":"2014-07-02 16:46:38.000000000","message":"Does the ordering of these matter? If so, we might want a sort key field too, rather than relying on the sort order of the backing store.","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":96,"context_line":"|             |                    |              | and is the foreign reference for the|"},{"line_number":97,"context_line":"|             |                    |              | workflow_definition table.          |"},{"line_number":98,"context_line":"+-------------+--------------------+--------------+------------+------------------------+ "},{"line_number":99,"context_line":"| CHAR(36)    | user_id            |              | O.S. UUID of the user that created  |"},{"line_number":100,"context_line":"|             |                    |              | the input set                       |"},{"line_number":101,"context_line":"+-------------+--------------------+--------------+------------+------------------------+ "},{"line_number":102,"context_line":"| DATETIME    | created_on         | not null     |                                     |"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_b748a95c","line":99,"updated":"2014-07-02 16:46:38.000000000","message":"s/O.S./Keystone/","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":109,"context_line":"|             |                    |              | workflow                            |"},{"line_number":110,"context_line":"+-------------+--------------------+--------------+------------+------------------------+ "},{"line_number":111,"context_line":"| SMALLINT    | project_global_flag|              | Portable Boolean value.  0 \u003d false, |"},{"line_number":112,"context_line":"|             |                    |              | 1 \u003d true.  When true, this user     |"},{"line_number":113,"context_line":"|             |                    |              | input set will be available to      |"},{"line_number":114,"context_line":"|             |                    |              | everyone in the project.            |"},{"line_number":115,"context_line":"+-------------+--------------------+--------------+------------+------------------------+ "}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_b75fc90d","line":112,"updated":"2014-07-02 16:46:38.000000000","message":"What is the default value? Will the default be set in the database, or in our code?","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":132,"context_line":"| VARCHAR(100)| input_name         | not null     | A required user input field         |"},{"line_number":133,"context_line":"|             |                    |              | obtained from the Mistral DSL       |"},{"line_number":134,"context_line":"+-------------+--------------------+--------------+------------+------------------------+ "},{"line_number":135,"context_line":"| VARCHAR(500)| input_data         | not null     | User data for the input_name field  |"},{"line_number":136,"context_line":"+-------------+--------------------+--------------+------------+------------------------+ "},{"line_number":137,"context_line":""},{"line_number":138,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_77ac51ee","line":135,"updated":"2014-07-02 16:46:38.000000000","message":"Why limit inputs to 500 characters arbitrarily? Maybe there is another type that might work better for this. TEXT, BIGTEXT, or BLOB are worth consideration. I am not sure which are supported by SQLAlchemy.","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"OpenStack Workflow and Messaging Options"},{"line_number":145,"context_line":"----------------------------------------"},{"line_number":146,"context_line":".. image:: http://i.imgur.com/oYfaWWD.png"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"Definitions"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_77da9179","line":146,"updated":"2014-07-02 16:46:38.000000000","message":"Consider also linking to the wiki that this image is derived from.","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"f34dea869fc8f626e5288a64d8f442a816ab88b8","unresolved":false,"context_lines":[{"line_number":235,"context_line":"    \"flavor_id\": \u003cflavor_id\u003e,"},{"line_number":236,"context_line":"    \"server_name\": \u003cserver_name\u003e,"},{"line_number":237,"context_line":"    \"ssh_username\": \u003cssh_username\u003e,"},{"line_number":238,"context_line":"    \"ssh_password\": \u003cssh_password\u003e,"},{"line_number":239,"context_line":"    \"admin_email\": \u003cadmin_email\u003e,"},{"line_number":240,"context_line":"    \"from_email\": \u003cfrom_email\u003e,"},{"line_number":241,"context_line":"    \"smtp_server\": \u003csmtp_server\u003e,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_1ce89cb3","line":238,"updated":"2014-07-02 16:46:38.000000000","message":"Is this something that Mistral does? Can we use a public key here instead?","commit_id":"542e91f5378826f98f83e3037b83e2691c6b15bc"}]}
