)]}'
{"api-ref/source/containers.inc":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"3e98fb6b011891d535a63466dd7882f28dc7f30c","unresolved":false,"context_lines":[{"line_number":976,"context_line":""},{"line_number":977,"context_line":"   - container_ident: container_ident"},{"line_number":978,"context_line":"   - command: command"},{"line_number":979,"context_line":"   - run: run"},{"line_number":980,"context_line":"   - interactive: interactive"},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"Response"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"3f4b6375_1d448eb6","line":979,"range":{"start_line":979,"start_character":10,"end_line":979,"end_character":13},"updated":"2017-10-23 16:36:11.000000000","message":"We should create a new parameter called \u0027execute-run\u0027 or similar. The description of this parameter could be:\n\n  Run the command or not. If this parameter is set of true, Zun will run the command right away. If this parameter is set to false, Zun won\u0027t run the command but return the necessary information (i.e. the URL and exec_id) for users to trigger the execution of the command.","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"7853a23929fb26f37e55f32df01e46134cf038b5","unresolved":false,"context_lines":[{"line_number":976,"context_line":""},{"line_number":977,"context_line":"   - container_ident: container_ident"},{"line_number":978,"context_line":"   - command: command"},{"line_number":979,"context_line":"   - run: run"},{"line_number":980,"context_line":"   - interactive: interactive"},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"Response"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"3f4b6375_a65ec942","line":979,"range":{"start_line":979,"start_character":10,"end_line":979,"end_character":13},"in_reply_to":"3f4b6375_1d448eb6","updated":"2017-10-31 04:11:29.000000000","message":"Done","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"3e98fb6b011891d535a63466dd7882f28dc7f30c","unresolved":false,"context_lines":[{"line_number":977,"context_line":"   - container_ident: container_ident"},{"line_number":978,"context_line":"   - command: command"},{"line_number":979,"context_line":"   - run: run"},{"line_number":980,"context_line":"   - interactive: interactive"},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"Response"},{"line_number":983,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"3f4b6375_9ded1e8d","line":980,"range":{"start_line":980,"start_character":18,"end_line":980,"end_character":29},"updated":"2017-10-23 16:36:11.000000000","message":"Ditto, it is better to create a new parameter called \u0027execute-interactive\u0027 to distinguish with the \u0027interactive\u0027 in other endpoints.","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"7853a23929fb26f37e55f32df01e46134cf038b5","unresolved":false,"context_lines":[{"line_number":977,"context_line":"   - container_ident: container_ident"},{"line_number":978,"context_line":"   - command: command"},{"line_number":979,"context_line":"   - run: run"},{"line_number":980,"context_line":"   - interactive: interactive"},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"Response"},{"line_number":983,"context_line":"--------"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"3f4b6375_865bcd52","line":980,"range":{"start_line":980,"start_character":18,"end_line":980,"end_character":29},"in_reply_to":"3f4b6375_9ded1e8d","updated":"2017-10-31 04:11:29.000000000","message":"Done","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"3e98fb6b011891d535a63466dd7882f28dc7f30c","unresolved":false,"context_lines":[{"line_number":984,"context_line":""},{"line_number":985,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":986,"context_line":""},{"line_number":987,"context_line":"  - exec_output: exec_output"},{"line_number":988,"context_line":""},{"line_number":989,"context_line":"Response Example"},{"line_number":990,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"3f4b6375_fd1ad27a","line":987,"range":{"start_line":987,"start_character":4,"end_line":987,"end_character":28},"updated":"2017-10-23 16:36:11.000000000","message":"There are two possible output:\n\n* {\"exec_id\": \"...\", \"url\": \"...\"} (see: https://github.com/openstack/zun/blob/f16fcd1365132b602c36931a2f31ccf14422735a/zun/compute/manager.py#L446)\n* {\"output\": \"...\", \"exit_code\": \"...\"} (see: https://github.com/openstack/zun/blob/d67d3a2aa05709865cbf9816e91a5ac83765a556/zun/container/docker/driver.py#L531)","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"7853a23929fb26f37e55f32df01e46134cf038b5","unresolved":false,"context_lines":[{"line_number":984,"context_line":""},{"line_number":985,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":986,"context_line":""},{"line_number":987,"context_line":"  - exec_output: exec_output"},{"line_number":988,"context_line":""},{"line_number":989,"context_line":"Response Example"},{"line_number":990,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"3f4b6375_6658d155","line":987,"range":{"start_line":987,"start_character":4,"end_line":987,"end_character":28},"in_reply_to":"3f4b6375_fd1ad27a","updated":"2017-10-31 04:11:29.000000000","message":"Done","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"3e98fb6b011891d535a63466dd7882f28dc7f30c","unresolved":false,"context_lines":[{"line_number":990,"context_line":"----------------"},{"line_number":991,"context_line":""},{"line_number":992,"context_line":".. literalinclude:: samples/container-execute-resp.json"},{"line_number":993,"context_line":"   :language: javascript "},{"line_number":994,"context_line":""},{"line_number":995,"context_line":""},{"line_number":996,"context_line":"Get logs of a container"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"3f4b6375_7dc6e29c","line":993,"range":{"start_line":993,"start_character":24,"end_line":993,"end_character":25},"updated":"2017-10-23 16:36:11.000000000","message":"Nit: remove space.","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"7853a23929fb26f37e55f32df01e46134cf038b5","unresolved":false,"context_lines":[{"line_number":990,"context_line":"----------------"},{"line_number":991,"context_line":""},{"line_number":992,"context_line":".. literalinclude:: samples/container-execute-resp.json"},{"line_number":993,"context_line":"   :language: javascript "},{"line_number":994,"context_line":""},{"line_number":995,"context_line":""},{"line_number":996,"context_line":"Get logs of a container"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"3f4b6375_4655d51c","line":993,"range":{"start_line":993,"start_character":24,"end_line":993,"end_character":25},"in_reply_to":"3f4b6375_7dc6e29c","updated":"2017-10-31 04:11:29.000000000","message":"Done","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"ac29006844e4ff8360e2ba236955998b8ace1980","unresolved":false,"context_lines":[{"line_number":1027,"context_line":""},{"line_number":1028,"context_line":".. rest_parameters:: parameters.yaml"},{"line_number":1029,"context_line":""},{"line_number":1030,"context_line":"  - exec_output: exec_output"},{"line_number":1031,"context_line":""},{"line_number":1032,"context_line":"Response Example"},{"line_number":1033,"context_line":"----------------"}],"source_content_type":"text/x-c++src","patch_set":5,"id":"3f4b6375_efb9e378","line":1030,"range":{"start_line":1030,"start_character":17,"end_line":1030,"end_character":28},"updated":"2017-11-02 15:31:33.000000000","message":"There are other parameters as well. I included them in a new patcheset.","commit_id":"c0039c91408c9ed819c1a665001b8f0db3e2ef8e"}],"api-ref/source/parameters.yaml":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"3e98fb6b011891d535a63466dd7882f28dc7f30c","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  in: path"},{"line_number":18,"context_line":"  required: true"},{"line_number":19,"context_line":"  type: string"},{"line_number":20,"context_line":"command:"},{"line_number":21,"context_line":"  description: |"},{"line_number":22,"context_line":"    The command to execute in a container."},{"line_number":23,"context_line":"  in: query"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f4b6375_783cb0c7","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":7},"updated":"2017-10-23 16:36:11.000000000","message":"Ditto: Let\u0027s create a new parameter (i.e. execute-command) and leave the original \u0027command\u0027 untouched.","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"7853a23929fb26f37e55f32df01e46134cf038b5","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  in: path"},{"line_number":18,"context_line":"  required: true"},{"line_number":19,"context_line":"  type: string"},{"line_number":20,"context_line":"command:"},{"line_number":21,"context_line":"  description: |"},{"line_number":22,"context_line":"    The command to execute in a container."},{"line_number":23,"context_line":"  in: query"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3f4b6375_06359df7","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":7},"in_reply_to":"3f4b6375_783cb0c7","updated":"2017-10-31 04:11:29.000000000","message":"Done","commit_id":"a3e5a803ba96bbddf085d81d714647cdd101d71f"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"91f9a06f129a1a9a6b1626bc2979938512f34614","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  type: boolean"},{"line_number":38,"context_line":"exec_run:"},{"line_number":39,"context_line":"  description: |"},{"line_number":40,"context_line":"    Run the command or not. If this parameter is set of true,"},{"line_number":41,"context_line":"    Zun will run the command right away. If this parameter is set to false,"},{"line_number":42,"context_line":"    Zun won\u0027t run the command but return the necessary information (i.e."},{"line_number":43,"context_line":"    the URL and exec_id) for users to trigger the execution of the command."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_9dd0accb","line":40,"range":{"start_line":40,"start_character":4,"end_line":40,"end_character":7},"updated":"2017-10-31 15:11:19.000000000","message":"s/Run/Whether to run/","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"91f9a06f129a1a9a6b1626bc2979938512f34614","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  type: boolean"},{"line_number":38,"context_line":"exec_run:"},{"line_number":39,"context_line":"  description: |"},{"line_number":40,"context_line":"    Run the command or not. If this parameter is set of true,"},{"line_number":41,"context_line":"    Zun will run the command right away. If this parameter is set to false,"},{"line_number":42,"context_line":"    Zun won\u0027t run the command but return the necessary information (i.e."},{"line_number":43,"context_line":"    the URL and exec_id) for users to trigger the execution of the command."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_1d4f1cbe","line":40,"range":{"start_line":40,"start_character":53,"end_line":40,"end_character":55},"updated":"2017-10-31 15:11:19.000000000","message":"s/of/to/","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"4f188657eae3f236d51721a629a64ba7d8f6ba21","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  type: boolean"},{"line_number":38,"context_line":"exec_run:"},{"line_number":39,"context_line":"  description: |"},{"line_number":40,"context_line":"    Run the command or not. If this parameter is set of true,"},{"line_number":41,"context_line":"    Zun will run the command right away. If this parameter is set to false,"},{"line_number":42,"context_line":"    Zun won\u0027t run the command but return the necessary information (i.e."},{"line_number":43,"context_line":"    the URL and exec_id) for users to trigger the execution of the command."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_1ef828c2","line":40,"range":{"start_line":40,"start_character":53,"end_line":40,"end_character":55},"in_reply_to":"3f4b6375_1d4f1cbe","updated":"2017-11-01 00:33:49.000000000","message":"Done","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"4f188657eae3f236d51721a629a64ba7d8f6ba21","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  type: boolean"},{"line_number":38,"context_line":"exec_run:"},{"line_number":39,"context_line":"  description: |"},{"line_number":40,"context_line":"    Run the command or not. If this parameter is set of true,"},{"line_number":41,"context_line":"    Zun will run the command right away. If this parameter is set to false,"},{"line_number":42,"context_line":"    Zun won\u0027t run the command but return the necessary information (i.e."},{"line_number":43,"context_line":"    the URL and exec_id) for users to trigger the execution of the command."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_de0170b1","line":40,"range":{"start_line":40,"start_character":4,"end_line":40,"end_character":7},"in_reply_to":"3f4b6375_9dd0accb","updated":"2017-11-01 00:33:49.000000000","message":"Done","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"91f9a06f129a1a9a6b1626bc2979938512f34614","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    Run the command or not. If this parameter is set of true,"},{"line_number":41,"context_line":"    Zun will run the command right away. If this parameter is set to false,"},{"line_number":42,"context_line":"    Zun won\u0027t run the command but return the necessary information (i.e."},{"line_number":43,"context_line":"    the URL and exec_id) for users to trigger the execution of the command."},{"line_number":44,"context_line":"  in: query"},{"line_number":45,"context_line":"  required: false"},{"line_number":46,"context_line":"  type: boolean"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_dd94e4ea","line":43,"range":{"start_line":43,"start_character":16,"end_line":43,"end_character":23},"updated":"2017-10-31 15:11:19.000000000","message":"This is user-facing doc so better to write the complete name like execution id or similar.","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"4f188657eae3f236d51721a629a64ba7d8f6ba21","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    Run the command or not. If this parameter is set of true,"},{"line_number":41,"context_line":"    Zun will run the command right away. If this parameter is set to false,"},{"line_number":42,"context_line":"    Zun won\u0027t run the command but return the necessary information (i.e."},{"line_number":43,"context_line":"    the URL and exec_id) for users to trigger the execution of the command."},{"line_number":44,"context_line":"  in: query"},{"line_number":45,"context_line":"  required: false"},{"line_number":46,"context_line":"  type: boolean"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_befc74b5","line":43,"range":{"start_line":43,"start_character":16,"end_line":43,"end_character":23},"in_reply_to":"3f4b6375_dd94e4ea","updated":"2017-11-01 00:33:49.000000000","message":"Done","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"91f9a06f129a1a9a6b1626bc2979938512f34614","unresolved":false,"context_lines":[{"line_number":237,"context_line":"exec_output:"},{"line_number":238,"context_line":"  description: |"},{"line_number":239,"context_line":"    The output of the command executed in a container. There are two possible"},{"line_number":240,"context_line":"    output. If the parameter \"exec_run\" is set of true, the output is "},{"line_number":241,"context_line":"    {\"output\": \"...\", \"exit_code\": \"...\"}. Otherwise, the output is"},{"line_number":242,"context_line":"    {\"exec_id\": \"...\", \"url\": \"...\"}."},{"line_number":243,"context_line":"  in: body"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_f88b2e65","line":240,"range":{"start_line":240,"start_character":29,"end_line":240,"end_character":39},"updated":"2017-10-31 15:11:19.000000000","message":"This should be run parameter.","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"91f9a06f129a1a9a6b1626bc2979938512f34614","unresolved":false,"context_lines":[{"line_number":237,"context_line":"exec_output:"},{"line_number":238,"context_line":"  description: |"},{"line_number":239,"context_line":"    The output of the command executed in a container. There are two possible"},{"line_number":240,"context_line":"    output. If the parameter \"exec_run\" is set of true, the output is "},{"line_number":241,"context_line":"    {\"output\": \"...\", \"exit_code\": \"...\"}. Otherwise, the output is"},{"line_number":242,"context_line":"    {\"exec_id\": \"...\", \"url\": \"...\"}."},{"line_number":243,"context_line":"  in: body"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_b8eb7610","line":240,"range":{"start_line":240,"start_character":69,"end_line":240,"end_character":70},"updated":"2017-10-31 15:11:19.000000000","message":"nit: remove extra space.","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"4f188657eae3f236d51721a629a64ba7d8f6ba21","unresolved":false,"context_lines":[{"line_number":237,"context_line":"exec_output:"},{"line_number":238,"context_line":"  description: |"},{"line_number":239,"context_line":"    The output of the command executed in a container. There are two possible"},{"line_number":240,"context_line":"    output. If the parameter \"exec_run\" is set of true, the output is "},{"line_number":241,"context_line":"    {\"output\": \"...\", \"exit_code\": \"...\"}. Otherwise, the output is"},{"line_number":242,"context_line":"    {\"exec_id\": \"...\", \"url\": \"...\"}."},{"line_number":243,"context_line":"  in: body"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_be1594e7","line":240,"range":{"start_line":240,"start_character":69,"end_line":240,"end_character":70},"in_reply_to":"3f4b6375_b8eb7610","updated":"2017-11-01 00:33:49.000000000","message":"Done","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"},{"author":{"_account_id":23055,"name":"miaohb","email":"miao.hongbao@zte.com.cn","username":"miaohb"},"change_message_id":"4f188657eae3f236d51721a629a64ba7d8f6ba21","unresolved":false,"context_lines":[{"line_number":237,"context_line":"exec_output:"},{"line_number":238,"context_line":"  description: |"},{"line_number":239,"context_line":"    The output of the command executed in a container. There are two possible"},{"line_number":240,"context_line":"    output. If the parameter \"exec_run\" is set of true, the output is "},{"line_number":241,"context_line":"    {\"output\": \"...\", \"exit_code\": \"...\"}. Otherwise, the output is"},{"line_number":242,"context_line":"    {\"exec_id\": \"...\", \"url\": \"...\"}."},{"line_number":243,"context_line":"  in: body"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3f4b6375_9ed2d833","line":240,"range":{"start_line":240,"start_character":29,"end_line":240,"end_character":39},"in_reply_to":"3f4b6375_f88b2e65","updated":"2017-11-01 00:33:49.000000000","message":"Done","commit_id":"0fba5488233c04ff9c6f7e20503fb7bd977a83b2"}],"api-ref/source/samples/container-execute-resp.json":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"ac29006844e4ff8360e2ba236955998b8ace1980","unresolved":false,"context_lines":[{"line_number":2,"context_line":"    \"output\": \"Mon Oct  9 09:09:32 UTC 2017\\n\","},{"line_number":3,"context_line":"    \"exit_code\": 0"},{"line_number":4,"context_line":"}"},{"line_number":5,"context_line":"{"},{"line_number":6,"context_line":"    \"url\": \"tcp://172.16.1.45:2375\","},{"line_number":7,"context_line":"    \"exec_id\": \"3c851c568fc9f21bdb77b7ba98eb1c6ae0c901f56dfb1471de4d6af7c73dbf4d\""},{"line_number":8,"context_line":"}"}],"source_content_type":"application/json","patch_set":5,"id":"3f4b6375_af740bd0","line":8,"range":{"start_line":5,"start_character":0,"end_line":8,"end_character":1},"updated":"2017-11-02 15:31:33.000000000","message":"It is a bit confused to pack two responses into one. I split this out in a new patchset.","commit_id":"c0039c91408c9ed819c1a665001b8f0db3e2ef8e"}]}
