)]}'
{"doc/source/service_queue.rst":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0d41655a9392c3c3e98d29ac298e1893f4d70eaf","unresolved":false,"context_lines":[{"line_number":12,"context_line":"      under the License."},{"line_number":13,"context_line":""},{"line_number":14,"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"},{"line_number":15,"context_line":"The Service Queue Guide"},{"line_number":16,"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"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"We want services (ceilometer, searchlight) to make notifications available to"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1f1a1f67_0c42b9ab","line":15,"updated":"2017-07-19 02:44:02.000000000","message":"I assume this is a user guide, pls rebase this after xiyuan\u0027s doc patch merged. Thanks.","commit_id":"4a8f30c1a5e12e7af76692850d9b793beac3b8d7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"7d1d9ad9a7beabfafec6e31a52f788e871d4dbf6","unresolved":false,"context_lines":[{"line_number":12,"context_line":"      under the License."},{"line_number":13,"context_line":""},{"line_number":14,"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"},{"line_number":15,"context_line":"The Service Queue Guide"},{"line_number":16,"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"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"We want services (ceilometer, searchlight) to make notifications available to"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1f1a1f67_d9ab38d3","line":15,"in_reply_to":"1f1a1f67_0c42b9ab","updated":"2017-07-20 01:11:23.000000000","message":"sure","commit_id":"4a8f30c1a5e12e7af76692850d9b793beac3b8d7"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0d41655a9392c3c3e98d29ac298e1893f4d70eaf","unresolved":false,"context_lines":[{"line_number":30,"context_line":"1. The service queue will be created in user\u0027s project with a special name"},{"line_number":31,"context_line":"   prefix ‘service.’. So it\u0027s a keyword in Zaqar, if user creates a queue"},{"line_number":32,"context_line":"   with name service.xxx that means user allow OpenStack service to post"},{"line_number":33,"context_line":"   message into it."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"2. Then OpenStack service can send the messages to service queue by taking"},{"line_number":36,"context_line":"   HTTP headers: X-Auth-Token, X-Project-Id, X-Service-Token,"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1f1a1f67_acfe2568","line":33,"updated":"2017-07-19 02:44:02.000000000","message":"It would be nice if we can mention that: Given Zaqar supports lazy queue, so if there is no service queue created by tenant user. The service user can also post messages to a non-existing queue and as a result, the service queue will be created by Zaqar automatically.","commit_id":"4a8f30c1a5e12e7af76692850d9b793beac3b8d7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"7d1d9ad9a7beabfafec6e31a52f788e871d4dbf6","unresolved":false,"context_lines":[{"line_number":30,"context_line":"1. The service queue will be created in user\u0027s project with a special name"},{"line_number":31,"context_line":"   prefix ‘service.’. So it\u0027s a keyword in Zaqar, if user creates a queue"},{"line_number":32,"context_line":"   with name service.xxx that means user allow OpenStack service to post"},{"line_number":33,"context_line":"   message into it."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"2. Then OpenStack service can send the messages to service queue by taking"},{"line_number":36,"context_line":"   HTTP headers: X-Auth-Token, X-Project-Id, X-Service-Token,"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1f1a1f67_99b14047","line":33,"in_reply_to":"1f1a1f67_acfe2568","updated":"2017-07-20 01:11:23.000000000","message":"sure.","commit_id":"4a8f30c1a5e12e7af76692850d9b793beac3b8d7"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0d41655a9392c3c3e98d29ac298e1893f4d70eaf","unresolved":false,"context_lines":[{"line_number":31,"context_line":"   prefix ‘service.’. So it\u0027s a keyword in Zaqar, if user creates a queue"},{"line_number":32,"context_line":"   with name service.xxx that means user allow OpenStack service to post"},{"line_number":33,"context_line":"   message into it."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"2. Then OpenStack service can send the messages to service queue by taking"},{"line_number":36,"context_line":"   HTTP headers: X-Auth-Token, X-Project-Id, X-Service-Token,"},{"line_number":37,"context_line":"   X-Service-Delegated-Project-ID, Client-ID::"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1f1a1f67_ac33c561","line":34,"updated":"2017-07-19 02:44:02.000000000","message":"And it would be to mention that the feature can be totally turned off.","commit_id":"4a8f30c1a5e12e7af76692850d9b793beac3b8d7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"7d1d9ad9a7beabfafec6e31a52f788e871d4dbf6","unresolved":false,"context_lines":[{"line_number":31,"context_line":"   prefix ‘service.’. So it\u0027s a keyword in Zaqar, if user creates a queue"},{"line_number":32,"context_line":"   with name service.xxx that means user allow OpenStack service to post"},{"line_number":33,"context_line":"   message into it."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"2. Then OpenStack service can send the messages to service queue by taking"},{"line_number":36,"context_line":"   HTTP headers: X-Auth-Token, X-Project-Id, X-Service-Token,"},{"line_number":37,"context_line":"   X-Service-Delegated-Project-ID, Client-ID::"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1f1a1f67_191090ff","line":34,"in_reply_to":"1f1a1f67_ac33c561","updated":"2017-07-20 01:11:23.000000000","message":"Yes, I will add it.","commit_id":"4a8f30c1a5e12e7af76692850d9b793beac3b8d7"}],"doc/source/user/service_queue.rst":[{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"235060a7d8462b606771dd421ad8b32e65eea6e2","unresolved":false,"context_lines":[{"line_number":12,"context_line":"      under the License."},{"line_number":13,"context_line":""},{"line_number":14,"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"},{"line_number":15,"context_line":"The Service Queue Guide"},{"line_number":16,"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"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"We want services (ceilometer, searchlight) to make notifications available to"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_f4022d0b","line":15,"updated":"2017-07-25 07:38:12.000000000","message":"\"Using Services Queues\" maybe?","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"126cae104a7b96fa59945cbe1f0f58f32233205b","unresolved":false,"context_lines":[{"line_number":12,"context_line":"      under the License."},{"line_number":13,"context_line":""},{"line_number":14,"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"},{"line_number":15,"context_line":"The Service Queue Guide"},{"line_number":16,"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"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"We want services (ceilometer, searchlight) to make notifications available to"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_47cca969","line":15,"in_reply_to":"ff346bd7_f4022d0b","updated":"2017-07-25 08:02:21.000000000","message":"Sure","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"235060a7d8462b606771dd421ad8b32e65eea6e2","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   messages to a non-existing queue and as a result, the service queue will be"},{"line_number":30,"context_line":"   created by Zaqar automatically."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"2. There is a configuration \u0027enable_service_queue\u0027in zaqar.conf. If it\u0027s false"},{"line_number":33,"context_line":"   that will turn off the service queue feature totally."},{"line_number":34,"context_line":"   The queue with prefix \u0027service.\u0027 will become an normal queue, that means"},{"line_number":35,"context_line":"   OpenStack service can\u0027t post notification messages into it anymore."}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_145a514e","line":32,"updated":"2017-07-25 07:38:12.000000000","message":"Missing space","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"126cae104a7b96fa59945cbe1f0f58f32233205b","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   messages to a non-existing queue and as a result, the service queue will be"},{"line_number":30,"context_line":"   created by Zaqar automatically."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"2. There is a configuration \u0027enable_service_queue\u0027in zaqar.conf. If it\u0027s false"},{"line_number":33,"context_line":"   that will turn off the service queue feature totally."},{"line_number":34,"context_line":"   The queue with prefix \u0027service.\u0027 will become an normal queue, that means"},{"line_number":35,"context_line":"   OpenStack service can\u0027t post notification messages into it anymore."}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_a7091596","line":32,"in_reply_to":"ff346bd7_145a514e","updated":"2017-07-25 08:02:21.000000000","message":"Done","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"235060a7d8462b606771dd421ad8b32e65eea6e2","unresolved":false,"context_lines":[{"line_number":30,"context_line":"   created by Zaqar automatically."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"2. There is a configuration \u0027enable_service_queue\u0027in zaqar.conf. If it\u0027s false"},{"line_number":33,"context_line":"   that will turn off the service queue feature totally."},{"line_number":34,"context_line":"   The queue with prefix \u0027service.\u0027 will become an normal queue, that means"},{"line_number":35,"context_line":"   OpenStack service can\u0027t post notification messages into it anymore."},{"line_number":36,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_d431690d","line":33,"updated":"2017-07-25 07:38:12.000000000","message":"completely.","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"126cae104a7b96fa59945cbe1f0f58f32233205b","unresolved":false,"context_lines":[{"line_number":30,"context_line":"   created by Zaqar automatically."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"2. There is a configuration \u0027enable_service_queue\u0027in zaqar.conf. If it\u0027s false"},{"line_number":33,"context_line":"   that will turn off the service queue feature totally."},{"line_number":34,"context_line":"   The queue with prefix \u0027service.\u0027 will become an normal queue, that means"},{"line_number":35,"context_line":"   OpenStack service can\u0027t post notification messages into it anymore."},{"line_number":36,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_c7065987","line":33,"in_reply_to":"ff346bd7_d431690d","updated":"2017-07-25 08:02:21.000000000","message":"Done","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"235060a7d8462b606771dd421ad8b32e65eea6e2","unresolved":false,"context_lines":[{"line_number":34,"context_line":"   The queue with prefix \u0027service.\u0027 will become an normal queue, that means"},{"line_number":35,"context_line":"   OpenStack service can\u0027t post notification messages into it anymore."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"3. When service queue feature is open, OpenStack service can send the"},{"line_number":38,"context_line":"   messages to service queue by taking HTTP headers: X-Auth-Token,"},{"line_number":39,"context_line":"   X-Project-Id, X-Service-Token, X-Service-Delegated-Project-ID, Client-ID::"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_743e3ddb","line":37,"updated":"2017-07-25 07:38:12.000000000","message":"enabled","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"126cae104a7b96fa59945cbe1f0f58f32233205b","unresolved":false,"context_lines":[{"line_number":34,"context_line":"   The queue with prefix \u0027service.\u0027 will become an normal queue, that means"},{"line_number":35,"context_line":"   OpenStack service can\u0027t post notification messages into it anymore."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"3. When service queue feature is open, OpenStack service can send the"},{"line_number":38,"context_line":"   messages to service queue by taking HTTP headers: X-Auth-Token,"},{"line_number":39,"context_line":"   X-Project-Id, X-Service-Token, X-Service-Delegated-Project-ID, Client-ID::"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_07f46185","line":37,"in_reply_to":"ff346bd7_743e3ddb","updated":"2017-07-25 08:02:21.000000000","message":"Done","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"235060a7d8462b606771dd421ad8b32e65eea6e2","unresolved":false,"context_lines":[{"line_number":38,"context_line":"   messages to service queue by taking HTTP headers: X-Auth-Token,"},{"line_number":39,"context_line":"   X-Project-Id, X-Service-Token, X-Service-Delegated-Project-ID, Client-ID::"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    * X-Service-Token and X-Service-Delegated-Project-ID are required for"},{"line_number":42,"context_line":"      service queue feature. Zaqar will use X-Service-Token to authorize this"},{"line_number":43,"context_line":"      request came from a OpenStack Service and use"},{"line_number":44,"context_line":"      X-Service-Delegated-Project-ID to get the project id which service queue"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_94140150","line":41,"updated":"2017-07-25 07:38:12.000000000","message":"I\u0027d remove the star, it\u0027s not a list.","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"126cae104a7b96fa59945cbe1f0f58f32233205b","unresolved":false,"context_lines":[{"line_number":38,"context_line":"   messages to service queue by taking HTTP headers: X-Auth-Token,"},{"line_number":39,"context_line":"   X-Project-Id, X-Service-Token, X-Service-Delegated-Project-ID, Client-ID::"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    * X-Service-Token and X-Service-Delegated-Project-ID are required for"},{"line_number":42,"context_line":"      service queue feature. Zaqar will use X-Service-Token to authorize this"},{"line_number":43,"context_line":"      request came from a OpenStack Service and use"},{"line_number":44,"context_line":"      X-Service-Delegated-Project-ID to get the project id which service queue"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ff346bd7_e7eefdb2","line":41,"in_reply_to":"ff346bd7_94140150","updated":"2017-07-25 08:02:21.000000000","message":"Done","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"}],"zaqar/common/configs.py":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"b1b58e650fe188c35da37f198445e5bfaa43906a","unresolved":false,"context_lines":[{"line_number":35,"context_line":"                item_type\u003dcfg.types.List(item_type\u003dcfg.types.String("},{"line_number":36,"context_line":"                    choices\u003d(\u00271\u0027, \u00271.1\u0027))),"},{"line_number":37,"context_line":"                help\u003d\u0027List of deprecated API versions to enable.\u0027),"},{"line_number":38,"context_line":"    cfg.BoolOpt(\u0027use_service_queue\u0027, default\u003dTrue,"},{"line_number":39,"context_line":"                help\u003d\u0027Turn on/off the service queue feature Default is open.\u0027),"},{"line_number":40,"context_line":")"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_90392ef3","line":38,"range":{"start_line":38,"start_character":17,"end_line":38,"end_character":20},"updated":"2017-06-05 22:22:12.000000000","message":"Would you mind renaming it with \u0027enable_service_queue\u0027?","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"45c567e6b009cba9f483f1ed3ab5bb6b74d1ae35","unresolved":false,"context_lines":[{"line_number":35,"context_line":"                item_type\u003dcfg.types.List(item_type\u003dcfg.types.String("},{"line_number":36,"context_line":"                    choices\u003d(\u00271\u0027, \u00271.1\u0027))),"},{"line_number":37,"context_line":"                help\u003d\u0027List of deprecated API versions to enable.\u0027),"},{"line_number":38,"context_line":"    cfg.BoolOpt(\u0027use_service_queue\u0027, default\u003dTrue,"},{"line_number":39,"context_line":"                help\u003d\u0027Turn on/off the service queue feature Default is open.\u0027),"},{"line_number":40,"context_line":")"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_a79f2964","line":38,"range":{"start_line":38,"start_character":17,"end_line":38,"end_character":20},"in_reply_to":"df140735_90392ef3","updated":"2017-06-07 05:43:44.000000000","message":"Sure","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"1efc7a6d620f58354e719caf3a5429930cfd9d63","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                    choices\u003d(\u00271\u0027, \u00271.1\u0027))),"},{"line_number":37,"context_line":"                help\u003d\u0027List of deprecated API versions to enable.\u0027),"},{"line_number":38,"context_line":"    cfg.BoolOpt(\u0027use_service_queue\u0027, default\u003dTrue,"},{"line_number":39,"context_line":"                help\u003d\u0027Turn on/off the service queue feature Default is open.\u0027),"},{"line_number":40,"context_line":")"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"_DRIVER_OPTIONS \u003d ("}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_8091f8f3","line":39,"range":{"start_line":39,"start_character":59,"end_line":39,"end_character":60},"updated":"2017-06-05 03:47:20.000000000","message":".","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"54fe840996da369b53ad7f5948da41b3145be935","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                    choices\u003d(\u00271\u0027, \u00271.1\u0027))),"},{"line_number":37,"context_line":"                help\u003d\u0027List of deprecated API versions to enable.\u0027),"},{"line_number":38,"context_line":"    cfg.BoolOpt(\u0027use_service_queue\u0027, default\u003dTrue,"},{"line_number":39,"context_line":"                help\u003d\u0027Turn on/off the service queue feature Default is open.\u0027),"},{"line_number":40,"context_line":")"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"_DRIVER_OPTIONS \u003d ("}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_bddae274","line":39,"range":{"start_line":39,"start_character":59,"end_line":39,"end_character":60},"in_reply_to":"df140735_8091f8f3","updated":"2017-06-05 07:26:33.000000000","message":"Done","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"}],"zaqar/transport/validation.py":[{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"1efc7a6d620f58354e719caf3a5429930cfd9d63","unresolved":false,"context_lines":[{"line_number":91,"context_line":""},{"line_number":92,"context_line":"# NOTE(kgriffs): Don\u0027t use \\w because it isn\u0027t guaranteed to match"},{"line_number":93,"context_line":"# only ASCII characters."},{"line_number":94,"context_line":"QUEUE_NAME_REGEX \u003d re.compile(\u0027^[a-zA-Z0-9_\\-.]+$\u0027)"},{"line_number":95,"context_line":"QUEUE_NAME_MAX_LEN \u003d 64"},{"line_number":96,"context_line":"PROJECT_ID_MAX_LEN \u003d 256"},{"line_number":97,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_006cc805","line":94,"range":{"start_line":94,"start_character":0,"end_line":94,"end_character":51},"updated":"2017-06-05 03:47:20.000000000","message":"It\u0027s better to add this change in a new patch and add a release note IMO.","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"54fe840996da369b53ad7f5948da41b3145be935","unresolved":false,"context_lines":[{"line_number":91,"context_line":""},{"line_number":92,"context_line":"# NOTE(kgriffs): Don\u0027t use \\w because it isn\u0027t guaranteed to match"},{"line_number":93,"context_line":"# only ASCII characters."},{"line_number":94,"context_line":"QUEUE_NAME_REGEX \u003d re.compile(\u0027^[a-zA-Z0-9_\\-.]+$\u0027)"},{"line_number":95,"context_line":"QUEUE_NAME_MAX_LEN \u003d 64"},{"line_number":96,"context_line":"PROJECT_ID_MAX_LEN \u003d 256"},{"line_number":97,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_dddfd666","line":94,"range":{"start_line":94,"start_character":0,"end_line":94,"end_character":51},"in_reply_to":"df140735_006cc805","updated":"2017-06-05 07:26:33.000000000","message":"Sure, this could be supported even with Service Queue.","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"b1b58e650fe188c35da37f198445e5bfaa43906a","unresolved":false,"context_lines":[{"line_number":622,"context_line":"            msg \u003d _(u\u0027Limit must be at least 1 and no greater than {0}.\u0027)"},{"line_number":623,"context_line":"            raise ValidationFailed(msg, self._limits_conf.max_pools_per_page)"},{"line_number":624,"context_line":""},{"line_number":625,"context_line":"    def is_service_queue_useable(self):"},{"line_number":626,"context_line":"        return self._conf.use_service_queue"}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_9307f818","line":625,"updated":"2017-06-05 22:22:12.000000000","message":"It looks weird for me. Since the validation is used to check the inputs from API.","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"45c567e6b009cba9f483f1ed3ab5bb6b74d1ae35","unresolved":false,"context_lines":[{"line_number":622,"context_line":"            msg \u003d _(u\u0027Limit must be at least 1 and no greater than {0}.\u0027)"},{"line_number":623,"context_line":"            raise ValidationFailed(msg, self._limits_conf.max_pools_per_page)"},{"line_number":624,"context_line":""},{"line_number":625,"context_line":"    def is_service_queue_useable(self):"},{"line_number":626,"context_line":"        return self._conf.use_service_queue"}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_101a8c16","line":625,"in_reply_to":"df140735_9307f818","updated":"2017-06-07 05:43:44.000000000","message":"ops, miss this,  will update it.","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"}],"zaqar/transport/wsgi/v2_0/messages.py":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"b1b58e650fe188c35da37f198445e5bfaa43906a","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    @acl.enforce(\"messages:create\")"},{"line_number":158,"context_line":"    def on_post(self, req, resp, project_id, queue_name):"},{"line_number":159,"context_line":"        client_uuid \u003d wsgi_helpers.get_client_uuid(req)"},{"line_number":160,"context_line":"        # If we are using the Service Queue feature"},{"line_number":161,"context_line":"        if self._validate.is_service_queue_useable():"},{"line_number":162,"context_line":"            # Check if this queue is service queue"},{"line_number":163,"context_line":"            service_name \u003d req.headers.get(\u0027X-SERVICE-PROJECT-NAME\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_1349a85e","line":160,"updated":"2017-06-05 22:22:12.000000000","message":"Would you mind removing this comment? Since the code can explain what it\u0027s doing?","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"45c567e6b009cba9f483f1ed3ab5bb6b74d1ae35","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    @acl.enforce(\"messages:create\")"},{"line_number":158,"context_line":"    def on_post(self, req, resp, project_id, queue_name):"},{"line_number":159,"context_line":"        client_uuid \u003d wsgi_helpers.get_client_uuid(req)"},{"line_number":160,"context_line":"        # If we are using the Service Queue feature"},{"line_number":161,"context_line":"        if self._validate.is_service_queue_useable():"},{"line_number":162,"context_line":"            # Check if this queue is service queue"},{"line_number":163,"context_line":"            service_name \u003d req.headers.get(\u0027X-SERVICE-PROJECT-NAME\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_87a425bb","line":160,"in_reply_to":"df140735_1349a85e","updated":"2017-06-07 05:43:44.000000000","message":"Done","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"b1b58e650fe188c35da37f198445e5bfaa43906a","unresolved":false,"context_lines":[{"line_number":159,"context_line":"        client_uuid \u003d wsgi_helpers.get_client_uuid(req)"},{"line_number":160,"context_line":"        # If we are using the Service Queue feature"},{"line_number":161,"context_line":"        if self._validate.is_service_queue_useable():"},{"line_number":162,"context_line":"            # Check if this queue is service queue"},{"line_number":163,"context_line":"            service_name \u003d req.headers.get(\u0027X-SERVICE-PROJECT-NAME\u0027)"},{"line_number":164,"context_line":"            if queue_name.startswith(\u0027service.\u0027) and service_name \u003d\u003d \u0027service\u0027:"},{"line_number":165,"context_line":"                project_id \u003d req.headers.get(\u0027X-SERVICE-DELEGATED-PROJECT-ID\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_53b16046","line":162,"updated":"2017-06-05 22:22:12.000000000","message":"Could you please add a NOTE here to give a detailed explanation how are we checking the service queue and what will happen later (e.g. the messages will be written into the customer\u0027s tenant instead of the service tenant)?","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"45c567e6b009cba9f483f1ed3ab5bb6b74d1ae35","unresolved":false,"context_lines":[{"line_number":159,"context_line":"        client_uuid \u003d wsgi_helpers.get_client_uuid(req)"},{"line_number":160,"context_line":"        # If we are using the Service Queue feature"},{"line_number":161,"context_line":"        if self._validate.is_service_queue_useable():"},{"line_number":162,"context_line":"            # Check if this queue is service queue"},{"line_number":163,"context_line":"            service_name \u003d req.headers.get(\u0027X-SERVICE-PROJECT-NAME\u0027)"},{"line_number":164,"context_line":"            if queue_name.startswith(\u0027service.\u0027) and service_name \u003d\u003d \u0027service\u0027:"},{"line_number":165,"context_line":"                project_id \u003d req.headers.get(\u0027X-SERVICE-DELEGATED-PROJECT-ID\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"df140735_e79c016c","line":162,"in_reply_to":"df140735_53b16046","updated":"2017-06-07 05:43:44.000000000","message":"Okay.","commit_id":"fd00b6e8ab69b83a5e321e0f7cfdfd820aca5eab"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"01f2becb6a91067bc82dc405b5490f4bc7bc96c9","unresolved":false,"context_lines":[{"line_number":165,"context_line":"            # it should take the X-SERVICE-TOKEN to identify itself and"},{"line_number":166,"context_line":"            # X-SERVICE-DELEGATED-PROJECT-ID to specify which customer project"},{"line_number":167,"context_line":"            # it want to send messages into."},{"line_number":168,"context_line":"            # Keystonemiddleware will set X-SERVICE-PROJECT-NAME according"},{"line_number":169,"context_line":"            # X-SERVICE-TOKEN, then Zaqar will get it to check if this message"},{"line_number":170,"context_line":"            # came from a service project and then the messages will be"},{"line_number":171,"context_line":"            # written into the customer\u0027s project instead of the service"}],"source_content_type":"text/x-python","patch_set":8,"id":"df140735_a1d5d045","line":168,"range":{"start_line":168,"start_character":65,"end_line":168,"end_character":74},"updated":"2017-06-07 07:38:34.000000000","message":"according to ,I think","commit_id":"3fae110e31c50ce2d50c2ecfae74fb9c4b029568"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"e54e2cce0892bc2aebc93277d621591823e63168","unresolved":false,"context_lines":[{"line_number":165,"context_line":"            # it should take the X-SERVICE-TOKEN to identify itself and"},{"line_number":166,"context_line":"            # X-SERVICE-DELEGATED-PROJECT-ID to specify which customer project"},{"line_number":167,"context_line":"            # it want to send messages into."},{"line_number":168,"context_line":"            # Keystonemiddleware will set X-SERVICE-PROJECT-NAME according"},{"line_number":169,"context_line":"            # X-SERVICE-TOKEN, then Zaqar will get it to check if this message"},{"line_number":170,"context_line":"            # came from a service project and then the messages will be"},{"line_number":171,"context_line":"            # written into the customer\u0027s project instead of the service"}],"source_content_type":"text/x-python","patch_set":8,"id":"df140735_01911cf2","line":168,"range":{"start_line":168,"start_character":65,"end_line":168,"end_character":74},"in_reply_to":"df140735_a1d5d045","updated":"2017-06-07 07:54:07.000000000","message":"Done","commit_id":"3fae110e31c50ce2d50c2ecfae74fb9c4b029568"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"01f2becb6a91067bc82dc405b5490f4bc7bc96c9","unresolved":false,"context_lines":[{"line_number":169,"context_line":"            # X-SERVICE-TOKEN, then Zaqar will get it to check if this message"},{"line_number":170,"context_line":"            # came from a service project and then the messages will be"},{"line_number":171,"context_line":"            # written into the customer\u0027s project instead of the service"},{"line_number":172,"context_line":"            # project according the X-SERVICE-DELEGATED-PROJECT-ID."},{"line_number":173,"context_line":"            service_name \u003d req.headers.get(\u0027X-SERVICE-PROJECT-NAME\u0027)"},{"line_number":174,"context_line":"            if queue_name.startswith(\u0027service.\u0027) and service_name \u003d\u003d \u0027service\u0027:"},{"line_number":175,"context_line":"                project_id \u003d req.headers.get(\u0027X-SERVICE-DELEGATED-PROJECT-ID\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"df140735_a13a7095","line":172,"range":{"start_line":172,"start_character":22,"end_line":172,"end_character":31},"updated":"2017-06-07 07:38:34.000000000","message":"according to","commit_id":"3fae110e31c50ce2d50c2ecfae74fb9c4b029568"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"e54e2cce0892bc2aebc93277d621591823e63168","unresolved":false,"context_lines":[{"line_number":169,"context_line":"            # X-SERVICE-TOKEN, then Zaqar will get it to check if this message"},{"line_number":170,"context_line":"            # came from a service project and then the messages will be"},{"line_number":171,"context_line":"            # written into the customer\u0027s project instead of the service"},{"line_number":172,"context_line":"            # project according the X-SERVICE-DELEGATED-PROJECT-ID."},{"line_number":173,"context_line":"            service_name \u003d req.headers.get(\u0027X-SERVICE-PROJECT-NAME\u0027)"},{"line_number":174,"context_line":"            if queue_name.startswith(\u0027service.\u0027) and service_name \u003d\u003d \u0027service\u0027:"},{"line_number":175,"context_line":"                project_id \u003d req.headers.get(\u0027X-SERVICE-DELEGATED-PROJECT-ID\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"df140735_81b64c8a","line":172,"range":{"start_line":172,"start_character":22,"end_line":172,"end_character":31},"in_reply_to":"df140735_a13a7095","updated":"2017-06-07 07:54:07.000000000","message":"Done","commit_id":"3fae110e31c50ce2d50c2ecfae74fb9c4b029568"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"235060a7d8462b606771dd421ad8b32e65eea6e2","unresolved":false,"context_lines":[{"line_number":171,"context_line":"            # written into the customer\u0027s project instead of the service"},{"line_number":172,"context_line":"            # project according to the X-SERVICE-DELEGATED-PROJECT-ID."},{"line_number":173,"context_line":"            service_name \u003d req.headers.get(\u0027X-SERVICE-PROJECT-NAME\u0027)"},{"line_number":174,"context_line":"            if queue_name.startswith(\u0027service.\u0027) and service_name \u003d\u003d \u0027service\u0027:"},{"line_number":175,"context_line":"                project_id \u003d req.headers.get(\u0027X-SERVICE-DELEGATED-PROJECT-ID\u0027)"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff346bd7_872291a3","line":174,"updated":"2017-07-25 07:38:12.000000000","message":"AFAIK \"service\" is a per-deployment name, although often the default. We should allow configuring it.","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"126cae104a7b96fa59945cbe1f0f58f32233205b","unresolved":false,"context_lines":[{"line_number":171,"context_line":"            # written into the customer\u0027s project instead of the service"},{"line_number":172,"context_line":"            # project according to the X-SERVICE-DELEGATED-PROJECT-ID."},{"line_number":173,"context_line":"            service_name \u003d req.headers.get(\u0027X-SERVICE-PROJECT-NAME\u0027)"},{"line_number":174,"context_line":"            if queue_name.startswith(\u0027service.\u0027) and service_name \u003d\u003d \u0027service\u0027:"},{"line_number":175,"context_line":"                project_id \u003d req.headers.get(\u0027X-SERVICE-DELEGATED-PROJECT-ID\u0027)"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff346bd7_c779b9fc","line":174,"in_reply_to":"ff346bd7_872291a3","updated":"2017-07-25 08:02:21.000000000","message":"Great, I agree it should add an option.","commit_id":"d6341ebb2b7226f928f61c35d63a94aee60ab6f7"}],"zaqar/transport/wsgi/v2_0/queues.py":[{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"7f600c7c8b8ebbd469feb58d021be86974fc4205","unresolved":false,"context_lines":[{"line_number":271,"context_line":"            if service_queue.lower() \u003d\u003d \u0027service\u0027:"},{"line_number":272,"context_line":"                sq_results \u003d self._queue_controller.list(detailed\u003dTrue)"},{"line_number":273,"context_line":"                service_queues \u003d list(next(sq_results))"},{"line_number":274,"context_line":"                for each_quque in service_queues:"},{"line_number":275,"context_line":"                    allowed_projects \u003d each_quque.get("},{"line_number":276,"context_line":"                        \u0027metadata\u0027, {}).get(\u0027allowed_projects\u0027, [])"},{"line_number":277,"context_line":"                    if project_id in list(allowed_projects):"}],"source_content_type":"text/x-python","patch_set":1,"id":"df140735_f20eaa39","line":274,"range":{"start_line":274,"start_character":20,"end_line":274,"end_character":30},"updated":"2017-06-01 02:43:36.000000000","message":"each_quque is supposed to be each_queue, I think","commit_id":"4a2b6c328f74e32068ba6ce65f17da32705f6572"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"458ebb6a1faa6880d2a66927dd4e1257696cee32","unresolved":false,"context_lines":[{"line_number":271,"context_line":"            if service_queue.lower() \u003d\u003d \u0027service\u0027:"},{"line_number":272,"context_line":"                sq_results \u003d self._queue_controller.list(detailed\u003dTrue)"},{"line_number":273,"context_line":"                service_queues \u003d list(next(sq_results))"},{"line_number":274,"context_line":"                for each_quque in service_queues:"},{"line_number":275,"context_line":"                    allowed_projects \u003d each_quque.get("},{"line_number":276,"context_line":"                        \u0027metadata\u0027, {}).get(\u0027allowed_projects\u0027, [])"},{"line_number":277,"context_line":"                    if project_id in list(allowed_projects):"}],"source_content_type":"text/x-python","patch_set":1,"id":"df140735_b06f0591","line":274,"range":{"start_line":274,"start_character":20,"end_line":274,"end_character":30},"in_reply_to":"df140735_f20eaa39","updated":"2017-06-01 08:02:50.000000000","message":"thanks, will fix it.","commit_id":"4a2b6c328f74e32068ba6ce65f17da32705f6572"}]}
