)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"30702a7bef9405452df2bca380a529766b6d963a","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Now, Zaqar will add a non-URL-encoded message body MD5 validation function."},{"line_number":10,"context_line":"This is essential for the security of the message body, it can prevent the"},{"line_number":11,"context_line":"message being tampered."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Ic01e37be1ab59a42d10c53ffadfb6569ffccce2b"},{"line_number":14,"context_line":"blueprint: support-md5-of-body"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"9f91af0f_81ed56b8","line":11,"updated":"2018-01-10 01:30:40.000000000","message":"the commit message should be updated as well","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"30702a7bef9405452df2bca380a529766b6d963a","unresolved":false,"context_lines":[{"line_number":11,"context_line":"message being tampered."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Ic01e37be1ab59a42d10c53ffadfb6569ffccce2b"},{"line_number":14,"context_line":"blueprint: support-md5-of-body"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"9f91af0f_011066a7","line":14,"updated":"2018-01-10 01:30:40.000000000","message":"and the link and information in launchpad","commit_id":"a09d411c6053750521294a17826309df41caf58f"}],"specs/queens/support-md5-of-body.rst":[{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"814b5ab989c212b07641344a72f6cb08900bfa99","unresolved":false,"context_lines":[{"line_number":11,"context_line":"  To test out your formatting, see http://www.tele3.cz/jbar/rest/rest.html"},{"line_number":12,"context_line":""},{"line_number":13,"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"},{"line_number":14,"context_line":"Support MD5 Of Message Body"},{"line_number":15,"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"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"https://blueprints.launchpad.net/zaqar/+spec/support-md5-of-body"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_e1b0e2df","line":14,"range":{"start_line":14,"start_character":8,"end_line":14,"end_character":11},"updated":"2018-01-10 01:14:47.000000000","message":"According your proposes, I prefer to change the title to \"Support Secure Hash Algorithm of Message Body\".  Since we will support not only MD5 but also others.","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"814b5ab989c212b07641344a72f6cb08900bfa99","unresolved":false,"context_lines":[{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Currently, Zaqar has no MD5 digest of the non-URL-encoded message body. It is"},{"line_number":27,"context_line":"a good function for the security of the message body. "},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"AWS SQS service has supported the function, that would be a good reference for"},{"line_number":30,"context_line":"Zaqar[1]."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_21d6ca29","line":27,"range":{"start_line":27,"start_character":53,"end_line":27,"end_character":54},"updated":"2018-01-10 01:14:47.000000000","message":"blank space here.","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"30702a7bef9405452df2bca380a529766b6d963a","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now£¬it just support ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not. "},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` for message. This property is a string type.  "}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_612052f8","line":43,"range":{"start_line":43,"start_character":29,"end_line":43,"end_character":60},"updated":"2018-01-10 01:30:40.000000000","message":"And SHA512? I\u0027m not sure if it\u0027s too heavy for our case.","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"814b5ab989c212b07641344a72f6cb08900bfa99","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now£¬it just support ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not. "},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` for message. This property is a string type.  "}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_619db264","line":43,"range":{"start_line":43,"start_character":22,"end_line":43,"end_character":29},"updated":"2018-01-10 01:14:47.000000000","message":"supports","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"7ce596bdfb9100604d0f6100b3eb497cb85fa8a8","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now£¬it just support ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not. "},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` for message. This property is a string type.  "}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_2166ca2b","line":43,"range":{"start_line":43,"start_character":29,"end_line":43,"end_character":60},"in_reply_to":"9f91af0f_612052f8","updated":"2018-01-10 08:42:37.000000000","message":"I think these algorithms are enough.","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"814b5ab989c212b07641344a72f6cb08900bfa99","unresolved":false,"context_lines":[{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now£¬it just support ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not. "},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` for message. This property is a string type.  "},{"line_number":47,"context_line":"   When you sends a message to a queue, Zaqar will use the ``hash_algorithm`` to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_21a48ab9","line":44,"range":{"start_line":44,"start_character":55,"end_line":44,"end_character":56},"updated":"2018-01-10 01:14:47.000000000","message":"blank space here too.","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"814b5ab989c212b07641344a72f6cb08900bfa99","unresolved":false,"context_lines":[{"line_number":43,"context_line":"   file. Now£¬it just support ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not. "},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` for message. This property is a string type.  "},{"line_number":47,"context_line":"   When you sends a message to a queue, Zaqar will use the ``hash_algorithm`` to"},{"line_number":48,"context_line":"   calculate the hash value of the non-URL-encoded message body. Finally Zaqar"},{"line_number":49,"context_line":"   will store the value on the backend. Now the backend Mongodb, Redis and Swift"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_4190ae4a","line":46,"range":{"start_line":46,"start_character":79,"end_line":46,"end_character":81},"updated":"2018-01-10 01:14:47.000000000","message":"blank spaces.","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"814b5ab989c212b07641344a72f6cb08900bfa99","unresolved":false,"context_lines":[{"line_number":47,"context_line":"   When you sends a message to a queue, Zaqar will use the ``hash_algorithm`` to"},{"line_number":48,"context_line":"   calculate the hash value of the non-URL-encoded message body. Finally Zaqar"},{"line_number":49,"context_line":"   will store the value on the backend. Now the backend Mongodb, Redis and Swift"},{"line_number":50,"context_line":"   can be support."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"3. Return the property ``hash`` and ``hash_algorithm`` for message when user claim"},{"line_number":53,"context_line":"   or get the message. When user get or claim the message, The API will return the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_61761241","line":50,"range":{"start_line":50,"start_character":10,"end_line":50,"end_character":17},"updated":"2018-01-10 01:14:47.000000000","message":"supported","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"814b5ab989c212b07641344a72f6cb08900bfa99","unresolved":false,"context_lines":[{"line_number":49,"context_line":"   will store the value on the backend. Now the backend Mongodb, Redis and Swift"},{"line_number":50,"context_line":"   can be support."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"3. Return the property ``hash`` and ``hash_algorithm`` for message when user claim"},{"line_number":53,"context_line":"   or get the message. When user get or claim the message, The API will return the"},{"line_number":54,"context_line":"   k-v pair of ``hash`` and ``hash_algorithm`` in the body of the message. The user"},{"line_number":55,"context_line":"   can then use this value to verify that the body of the newly retrieved message"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_21924a4d","line":52,"range":{"start_line":52,"start_character":23,"end_line":52,"end_character":54},"updated":"2018-01-10 01:14:47.000000000","message":"So there are two new properties for message,  hash and hash_algorithm.  I think you should update the description of #2 changing.","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"30702a7bef9405452df2bca380a529766b6d963a","unresolved":false,"context_lines":[{"line_number":113,"context_line":"Work Items"},{"line_number":114,"context_line":"----------"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"#. Add message body MD5 digest support for Mongodb, Redis and Swift."},{"line_number":117,"context_line":"#. Add release note for this feature."},{"line_number":118,"context_line":"#. Update API reference."},{"line_number":119,"context_line":"#. Add user/developer document for this feature."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9f91af0f_21656a46","line":116,"updated":"2018-01-10 01:30:40.000000000","message":"and here.","commit_id":"a09d411c6053750521294a17826309df41caf58f"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"643757390237908824ec603211d634a0c7784d2b","unresolved":false,"context_lines":[{"line_number":14,"context_line":"Support Hash Of Message Body"},{"line_number":15,"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":16,"context_line":""},{"line_number":17,"context_line":"https://blueprints.launchpad.net/zaqar/+spec/support-md5-of-body"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Now, Zaqar will add a non-URL-encoded message body hash validation function."},{"line_number":20,"context_line":"This is essential for the security of the message body, it can prevent the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_745be52d","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":64},"updated":"2018-01-11 01:06:24.000000000","message":"And this url also should be updated too. : )","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"ce91ce7e14e95b245198f8dfa690b2472c2b68a5","unresolved":false,"context_lines":[{"line_number":14,"context_line":"Support Hash Of Message Body"},{"line_number":15,"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":16,"context_line":""},{"line_number":17,"context_line":"https://blueprints.launchpad.net/zaqar/+spec/support-md5-of-body"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Now, Zaqar will add a non-URL-encoded message body hash validation function."},{"line_number":20,"context_line":"This is essential for the security of the message body, it can prevent the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_948eb125","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":64},"in_reply_to":"7f96bb07_745be52d","updated":"2018-01-11 01:32:23.000000000","message":"Re create a BP? I think it\u0027s an extension of the BP.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"d3f20cac1bf40b8505b1ea06c9fa7ffe1ba2d1f9","unresolved":false,"context_lines":[{"line_number":14,"context_line":"Support Hash Of Message Body"},{"line_number":15,"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":16,"context_line":""},{"line_number":17,"context_line":"https://blueprints.launchpad.net/zaqar/+spec/support-md5-of-body"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Now, Zaqar will add a non-URL-encoded message body hash validation function."},{"line_number":20,"context_line":"This is essential for the security of the message body, it can prevent the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_6f08eb27","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":64},"in_reply_to":"7f96bb07_948eb125","updated":"2018-01-11 05:47:30.000000000","message":"Ah, I see, you can\u0027t edit the url,  Feilong can do it. never mind.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"9605c44f3732e6c7f375755c31ce1c807e53bd0e","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Now, Zaqar will add a non-URL-encoded message body hash validation function."},{"line_number":20,"context_line":"This is essential for the security of the message body, it can prevent the"},{"line_number":21,"context_line":"message being tampered."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Problem description"},{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_647b0c8c","line":21,"updated":"2018-01-12 07:03:37.000000000","message":"prevent message being tampered, from is missed , I think","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"57642ea0e77f9ca08b80dd302959d84eb6bec02f","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Now, Zaqar will add a non-URL-encoded message body hash validation function."},{"line_number":20,"context_line":"This is essential for the security of the message body, it can prevent the"},{"line_number":21,"context_line":"message being tampered."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Problem description"},{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_24d168ce","line":21,"in_reply_to":"7f96bb07_647b0c8c","updated":"2018-01-13 09:43:09.000000000","message":"Done","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"7b0e735a5265db6651ba908cb5471604775c7edc","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_0ff92a7f","line":43,"updated":"2018-01-11 02:32:58.000000000","message":"IMHO, we\u0027re over-engineering here. We just need a hash digest here, we don\u0027t have to give an option to user to use SHA256, which will bring performance issue for sure.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0103b7f2a047b26c75e89882d9c3d5b6573ee0ef","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_f32a8be5","line":43,"in_reply_to":"7f96bb07_0019f477","updated":"2018-01-12 02:47:05.000000000","message":"OK, I\u0027m happy if we can keep it simple.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"e52a0586789d6b8a7da19f458bf18d94feb98547","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_cc0a6d89","line":43,"in_reply_to":"7f96bb07_0ff92a7f","updated":"2018-01-11 05:35:59.000000000","message":"The performance should be little different, just want to add more choices, some users may need SHA256, but still have to go through more discussions to determine.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"c448e5ddb8cfa47ead7f4c7016d5f3fcb98391fc","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_cfd6df50","line":43,"in_reply_to":"7f96bb07_cc0a6d89","updated":"2018-01-11 06:01:17.000000000","message":"My suggestion is we can built the extension mechanism and just support MD5 in Q.  Since we didn\u0027t really clearly know if it\u0027s enough for users of not.  But we can mention here at the end that Zaqar have the ability to support more algorithm if user really need them.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"d70c09f29c762b79028efb4d5e066476f92b6ded","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new optional property named ``hash_algorithm`` for queue, the default value"},{"line_number":42,"context_line":"   is ``MD5``. This global default value can be get from the zaqar configration"},{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_0019f477","line":43,"in_reply_to":"7f96bb07_cfd6df50","updated":"2018-01-11 08:10:25.000000000","message":"Agree","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"7b0e735a5265db6651ba908cb5471604775c7edc","unresolved":false,"context_lines":[{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"},{"line_number":47,"context_line":"   is a string type. When you send a message to queue, Zaqar will use the"},{"line_number":48,"context_line":"   ``hash_algorithm`` to calculate the ``hash`` value of the non-URL-encoded message"},{"line_number":49,"context_line":"   body. Finally Zaqar will store the value on the backend. Now the backend Mongodb,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_4f83b205","line":46,"updated":"2018-01-11 02:32:58.000000000","message":"Why do we need this for message?","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"ab3ece285530241e9b3a49d86bf3e955fa913483","unresolved":false,"context_lines":[{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"},{"line_number":47,"context_line":"   is a string type. When you send a message to queue, Zaqar will use the"},{"line_number":48,"context_line":"   ``hash_algorithm`` to calculate the ``hash`` value of the non-URL-encoded message"},{"line_number":49,"context_line":"   body. Finally Zaqar will store the value on the backend. Now the backend Mongodb,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_76d7464d","line":46,"in_reply_to":"7f96bb07_131937d6","updated":"2018-01-12 05:41:29.000000000","message":"Yes, users can get hashing algorithms from the queue\u0027s metadata. However, in this case, the user must call the queue metadata API to verify the hash value, which may affect performance. Here, we can also not put it in backend storage and add it to the message when the API returns.\nOf course, if only md5 algorithm, we do not need to do so.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"e52a0586789d6b8a7da19f458bf18d94feb98547","unresolved":false,"context_lines":[{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"},{"line_number":47,"context_line":"   is a string type. When you send a message to queue, Zaqar will use the"},{"line_number":48,"context_line":"   ``hash_algorithm`` to calculate the ``hash`` value of the non-URL-encoded message"},{"line_number":49,"context_line":"   body. Finally Zaqar will store the value on the backend. Now the backend Mongodb,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_ac61213c","line":46,"in_reply_to":"7f96bb07_4f83b205","updated":"2018-01-11 05:35:59.000000000","message":"The message propertie ``hash`` is certainly needed, the user can get it from the API. The ``hash_algorithm`` is based on the previous idea, if there are different algorithms, zaqar must be to tell the user which one be used now.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0103b7f2a047b26c75e89882d9c3d5b6573ee0ef","unresolved":false,"context_lines":[{"line_number":43,"context_line":"   file. Now, it just supports ``MD5``, ``SHA1``, ``SHA256``. When you want to create"},{"line_number":44,"context_line":"   a new queue, you can choose to set the value or not."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"},{"line_number":47,"context_line":"   is a string type. When you send a message to queue, Zaqar will use the"},{"line_number":48,"context_line":"   ``hash_algorithm`` to calculate the ``hash`` value of the non-URL-encoded message"},{"line_number":49,"context_line":"   body. Finally Zaqar will store the value on the backend. Now the backend Mongodb,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_131937d6","line":46,"in_reply_to":"7f96bb07_ac61213c","updated":"2018-01-12 02:47:05.000000000","message":"Assume it\u0027s a producer/consumer mode, both producer and consumer should be able to know the hash algorithm from the metadata of the queue. I don\u0027t understand why do we need to put the algorithm for each message.","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"9605c44f3732e6c7f375755c31ce1c807e53bd0e","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"},{"line_number":47,"context_line":"   is a string type. When you send a message to queue, Zaqar will use the"},{"line_number":48,"context_line":"   ``hash_algorithm`` to calculate the ``hash`` value of the non-URL-encoded message"},{"line_number":49,"context_line":"   body. Finally Zaqar will store the value on the backend. Now the backend Mongodb,"},{"line_number":50,"context_line":"   Redis and Swift can be supported."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_a4bcb405","line":48,"updated":"2018-01-12 07:03:37.000000000","message":"please describe the default behavior of hashless message and backward compatible process","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"57642ea0e77f9ca08b80dd302959d84eb6bec02f","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"2. Add new property named ``hash`` and ``hash_algorithm`` for message. This property"},{"line_number":47,"context_line":"   is a string type. When you send a message to queue, Zaqar will use the"},{"line_number":48,"context_line":"   ``hash_algorithm`` to calculate the ``hash`` value of the non-URL-encoded message"},{"line_number":49,"context_line":"   body. Finally Zaqar will store the value on the backend. Now the backend Mongodb,"},{"line_number":50,"context_line":"   Redis and Swift can be supported."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7f96bb07_e4b14091","line":48,"in_reply_to":"7f96bb07_a4bcb405","updated":"2018-01-13 09:43:09.000000000","message":"Done","commit_id":"b72cf021714a0a05b65e534ccccfa1de12d4de09"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"4be13070d254d715bd5cd4b2b19457895836b130","unresolved":false,"context_lines":[{"line_number":44,"context_line":"   Finally Zaqar will store the value on the backend. Now the backend Mongodb,"},{"line_number":45,"context_line":"   Redis and Swift can be supported."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"2. Return the property ``checksum`` for message when user claim or get the message."},{"line_number":48,"context_line":"   When user get or claim the message, The API will return the k-v pair of ``checksum``"},{"line_number":49,"context_line":"   in the body of the message. The user can then use this value to verify that the"},{"line_number":50,"context_line":"   body of the newly retrieved message is correct or not."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f96bb07_5995523f","line":47,"range":{"start_line":47,"start_character":58,"end_line":47,"end_character":63},"updated":"2018-01-16 01:49:05.000000000","message":"claims","commit_id":"67f243390956a7629ad1912b1008cd94d77f0052"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"4be13070d254d715bd5cd4b2b19457895836b130","unresolved":false,"context_lines":[{"line_number":44,"context_line":"   Finally Zaqar will store the value on the backend. Now the backend Mongodb,"},{"line_number":45,"context_line":"   Redis and Swift can be supported."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"2. Return the property ``checksum`` for message when user claim or get the message."},{"line_number":48,"context_line":"   When user get or claim the message, The API will return the k-v pair of ``checksum``"},{"line_number":49,"context_line":"   in the body of the message. The user can then use this value to verify that the"},{"line_number":50,"context_line":"   body of the newly retrieved message is correct or not."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f96bb07_399ac66d","line":47,"range":{"start_line":47,"start_character":67,"end_line":47,"end_character":70},"updated":"2018-01-16 01:49:05.000000000","message":"gets","commit_id":"67f243390956a7629ad1912b1008cd94d77f0052"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"4be13070d254d715bd5cd4b2b19457895836b130","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   Redis and Swift can be supported."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"2. Return the property ``checksum`` for message when user claim or get the message."},{"line_number":48,"context_line":"   When user get or claim the message, The API will return the k-v pair of ``checksum``"},{"line_number":49,"context_line":"   in the body of the message. The user can then use this value to verify that the"},{"line_number":50,"context_line":"   body of the newly retrieved message is correct or not."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f96bb07_597eb219","line":48,"range":{"start_line":48,"start_character":20,"end_line":48,"end_character":25},"updated":"2018-01-16 01:49:05.000000000","message":"ditto","commit_id":"67f243390956a7629ad1912b1008cd94d77f0052"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"4be13070d254d715bd5cd4b2b19457895836b130","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   Redis and Swift can be supported."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"2. Return the property ``checksum`` for message when user claim or get the message."},{"line_number":48,"context_line":"   When user get or claim the message, The API will return the k-v pair of ``checksum``"},{"line_number":49,"context_line":"   in the body of the message. The user can then use this value to verify that the"},{"line_number":50,"context_line":"   body of the newly retrieved message is correct or not."},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f96bb07_99843a0e","line":48,"range":{"start_line":48,"start_character":13,"end_line":48,"end_character":16},"updated":"2018-01-16 01:49:05.000000000","message":"ditto","commit_id":"67f243390956a7629ad1912b1008cd94d77f0052"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"7d89d98bb883107c17a5cf2c54cf3e771452a2a6","unresolved":false,"context_lines":[{"line_number":50,"context_line":"   body of the newly retrieved message is correct or not."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"3. This feature is backward compatible. For old messages that do not have the checksum"},{"line_number":53,"context_line":"   attribute, the checksum will return ``None`` for both ``claim`` and ``get`` operation."},{"line_number":54,"context_line":"   This feature will also transit smoothly as the old messages gradually expire."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"4. Add new data model for message body and queue on different backend."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f96bb07_ae868712","line":53,"updated":"2018-01-16 03:22:25.000000000","message":"None or \"\"?","commit_id":"67f243390956a7629ad1912b1008cd94d77f0052"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"34923764a859b3c4445297ecf06bb4480dcc7b94","unresolved":false,"context_lines":[{"line_number":50,"context_line":"   body of the newly retrieved message is correct or not."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"3. This feature is backward compatible. For old messages that do not have the checksum"},{"line_number":53,"context_line":"   attribute, the checksum will return ``None`` for both ``claim`` and ``get`` operation."},{"line_number":54,"context_line":"   This feature will also transit smoothly as the old messages gradually expire."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"4. Add new data model for message body and queue on different backend."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7f96bb07_118f9e75","line":53,"in_reply_to":"7f96bb07_ae868712","updated":"2018-01-16 03:41:58.000000000","message":"Seems \"\" is better.","commit_id":"67f243390956a7629ad1912b1008cd94d77f0052"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"77fcf44dc21b2574fcfd21d2e196bd0cfdb46a41","unresolved":false,"context_lines":[{"line_number":35,"context_line":"When user claim or get the messages, the checksum will be returned with message"},{"line_number":36,"context_line":"body together, So user can use it to verify that the message body is correct."},{"line_number":37,"context_line":"Currently zaqar only support the checksum of the non-URL-encoded message body based"},{"line_number":38,"context_line":"on MD5 digests. We may support other algorithms in future versions, including SHA1,"},{"line_number":39,"context_line":"sha256, sha512, and so on. So, It is necessary to change the following:"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"1. Add new property named ``checksum`` for message. This property is a string type."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7f96bb07_dc7e0618","line":39,"range":{"start_line":38,"start_character":16,"end_line":39,"end_character":25},"updated":"2018-01-17 01:50:17.000000000","message":"Yes. We can revisit it in the future. Make it configurable seems a good way.","commit_id":"66c299e3dd7be3654225f5acd0b6004ea07325dc"}]}
