)]}'
{"id":"openstack%2Fpython-zaqarclient~272909","triplet_id":"openstack%2Fpython-zaqarclient~master~Iae5bffb296efd655a34584c7f2162adbe6d029e2","project":"openstack/python-zaqarclient","branch":"master","topic":"bug/1538366","hashtags":[],"change_id":"Iae5bffb296efd655a34584c7f2162adbe6d029e2","subject":"Improve subscription listing","status":"MERGED","created":"2016-01-27 05:40:01.000000000","updated":"2016-02-15 21:27:29.000000000","submitted":"2016-02-15 21:27:28.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":2,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"69d347fda924aebc6042f81d09f3c6697fc7efe8","_number":272909,"virtual_id_number":272909,"owner":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},{"value":2,"date":"2016-02-15 21:27:28.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},{"value":0,"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},{"value":0,"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},"all":[{"value":2,"date":"2016-02-15 20:57:38.000000000","_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2016-01-28 01:45:11.000000000","_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},{"value":0,"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},{"value":1,"date":"2016-01-29 02:53:37.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},"all":[{"value":1,"date":"2016-02-15 20:57:38.000000000","_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},{"value":0,"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},{"value":0,"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},{"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-01-28 01:45:11.000000000","updated_by":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"reviewer":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"state":"REVIEWER"},{"updated":"2016-01-29 02:53:37.000000000","updated_by":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"reviewer":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"state":"REVIEWER"},{"updated":"2016-02-15 20:57:38.000000000","updated_by":{"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},"reviewer":{"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},"state":"REVIEWER"},{"updated":"2016-02-15 21:27:28.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"623c92b37781e98d22c8861f5cce287b4137884f","author":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"date":"2016-01-27 05:40:01.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"d2bd9519a4adc2deacbe957951df06329e9905a6","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-01-27 05:48:45.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-zaqarclient-python34 http://logs.openstack.org/09/272909/1/check/gate-python-zaqarclient-python34/1d21ddc/ : SUCCESS in 2m 55s\n- gate-python-zaqarclient-pypy http://logs.openstack.org/09/272909/1/check/gate-python-zaqarclient-pypy/cad5bc2/ : FAILURE in 6m 01s (non-voting)\n- check-osc-plugins http://logs.openstack.org/09/272909/1/check/check-osc-plugins/80e6899/ : FAILURE in 1m 42s (non-voting)\n- gate-python-zaqarclient-pep8 http://logs.openstack.org/09/272909/1/check/gate-python-zaqarclient-pep8/e4dba8c/ : SUCCESS in 3m 00s\n- gate-python-zaqarclient-python27 http://logs.openstack.org/09/272909/1/check/gate-python-zaqarclient-python27/c7fb396/ : SUCCESS in 2m 10s","accounts_in_message":[],"_revision_number":1},{"id":"79ce8d79ab6f10b5a9528d81f233555d5b36f752","author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"date":"2016-01-27 17:42:16.000000000","message":"Patch Set 1: Code-Review-1\n\n(1 comment)\n\nLGTM, just one inline comment.","accounts_in_message":[],"_revision_number":1},{"id":"d309ac867d346c527da0c671efbd1b3198f6c545","author":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"date":"2016-01-27 18:23:14.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"a06b4264ce8328e3617ee7a1f3f6689ad72452bf","author":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"date":"2016-01-27 18:31:49.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"70ac27447dbda87294265bd189a28999e6500df4","author":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"date":"2016-01-27 18:33:35.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"720543a4ca4a6b0739dc12ceec53aac4e2361cf2","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-01-27 18:45:20.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-zaqarclient-python34 http://logs.openstack.org/09/272909/3/check/gate-python-zaqarclient-python34/2b81e02/ : SUCCESS in 3m 13s\n- gate-python-zaqarclient-pypy http://logs.openstack.org/09/272909/3/check/gate-python-zaqarclient-pypy/a7c87b2/ : FAILURE in 5m 55s (non-voting)\n- check-osc-plugins http://logs.openstack.org/09/272909/3/check/check-osc-plugins/2ae68b3/ : SUCCESS in 1m 34s (non-voting)\n- gate-python-zaqarclient-pep8 http://logs.openstack.org/09/272909/3/check/gate-python-zaqarclient-pep8/5f82409/ : SUCCESS in 2m 38s\n- gate-python-zaqarclient-python27 http://logs.openstack.org/09/272909/3/check/gate-python-zaqarclient-python27/e55a98c/ : SUCCESS in 2m 16s","accounts_in_message":[],"_revision_number":3},{"id":"d78ed1e9cbdd2b390ad869231313066421a46000","author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"date":"2016-01-28 01:45:11.000000000","message":"Patch Set 3: Code-Review+2\n\nLGTM, thanks.","accounts_in_message":[],"_revision_number":3},{"id":"e4ee8325ed4c90fb4ffd6c5becafe02688454b52","author":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"date":"2016-01-28 02:11:34.000000000","message":"Patch Set 3:\n\n\u003e LGTM, thanks.\n\nNo problem. Please confirm the bug report, if you like this change. \u003d)","accounts_in_message":[],"_revision_number":3},{"id":"22573c8300a16390e71f1c77e886b370c2293171","author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"date":"2016-01-29 02:53:37.000000000","message":"Patch Set 3: Code-Review+1","accounts_in_message":[],"_revision_number":3},{"id":"142774a728e63c6ea8c17982c86cb62526630717","author":{"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},"date":"2016-02-15 20:57:38.000000000","message":"Patch Set 3: Workflow+1 Code-Review+2","accounts_in_message":[],"_revision_number":3},{"id":"a5c1746cabf4c55f12ac6f4f9b33c5494c9a3f30","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-15 20:57:48.000000000","message":"Patch Set 3: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":3},{"id":"d149454650a234925e783da6c34e5e0d95bb3c1a","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-15 21:27:28.000000000","message":"Patch Set 3: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-zaqarclient-python34 http://logs.openstack.org/09/272909/3/gate/gate-python-zaqarclient-python34/8d9d10e/ : SUCCESS in 2m 56s\n- gate-python-zaqarclient-pep8 http://logs.openstack.org/09/272909/3/gate/gate-python-zaqarclient-pep8/1879dcd/ : SUCCESS in 2m 37s\n- gate-python-zaqarclient-python27 http://logs.openstack.org/09/272909/3/gate/gate-python-zaqarclient-python27/87ea19b/ : SUCCESS in 58s\n- gate-zaqarclient-dsvm-functional http://logs.openstack.org/09/272909/3/gate/gate-zaqarclient-dsvm-functional/feb4ac8/ : SUCCESS in 18m 45s","accounts_in_message":[],"_revision_number":3},{"id":"614eee544dd3627702f49551a1189617d904f108","date":"2016-02-15 21:27:29.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"f24a7e9fa32feb4077883f7a10180d110ee6edc0","revisions":{"8bb8e1aec992fa98a7c7f788c521a05ab6980619":{"kind":"REWORK","_number":1,"created":"2016-01-27 05:40:01.000000000","uploader":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"ref":"refs/changes/09/272909/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-zaqarclient","ref":"refs/changes/09/272909/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/1"}}},"commit":{"parents":[{"commit":"2966750d9a897479a6158b78f0b1e750f35a7f0e","subject":"Fix Subscription\u0027s queue_name variable being tuple","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/2966750d9a897479a6158b78f0b1e750f35a7f0e"}]}],"author":{"name":"Eva Balycheva","email":"ubershy@gmail.com","date":"2016-01-27 05:03:53.000000000","tz":180},"committer":{"name":"Eva Balycheva","email":"ubershy@gmail.com","date":"2016-01-27 05:03:53.000000000","tz":180},"subject":"Improve subscription listing","message":"Improve subscription listing\n\nThe way subscriptions are listed by Client.subscriptions method is not\nvery good. Besides doing nice work, this method modifies subscription\nlist response body from Zaqar by adding redundant \u0027queue_name\u0027 key to\neach subscription dictionary in the response body, while there is\nalready \u0027source\u0027 key containing queue name.\n\nBecause of that it\u0027s possible to write a unit test, where queue list\nresponse body from Zaqar does not represent real response that could\ncome from Zaqar. As example see\nzaqarclient.tests.queues.subscriptions.QueuesV2SubscriptionUnitTest.\ntest_subscription_list. This test is missing \u0027source\u0027 keys in response\nbody.\n\nThis patch makes subscription listing code stop modifying responses from\nZaqar. As expected, the example unit test fails after that. This patch\nfixes the test also and checks more subscription object\u0027s fields.\n\nAlso this patch improves subscription listing functional test to check\nall fields of subscription object that was deserialized from Zaqar\nresponse, i.e. checks zaqarclient.queues.v2.subscription.create_object\nmethod. It is also needed, because before this patch, subscription\u0027s\nqueue name field wasn\u0027t checked by any of the tests, making a recent bug\nlike https://bugs.launchpad.net/python-zaqarclient/+bug/1538367\npossible.\n\nChange-Id: Iae5bffb296efd655a34584c7f2162adbe6d029e2\nCloses-Bug: 1538366\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/8bb8e1aec992fa98a7c7f788c521a05ab6980619"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/8bb8e1aec992fa98a7c7f788c521a05ab6980619"}]},"branch":"refs/heads/master"},"ac710af41e880dbed7a8b57f8deca447f4d7c36c":{"kind":"REWORK","_number":2,"created":"2016-01-27 18:31:49.000000000","uploader":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"ref":"refs/changes/09/272909/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-zaqarclient","ref":"refs/changes/09/272909/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/2"}}},"commit":{"parents":[{"commit":"2966750d9a897479a6158b78f0b1e750f35a7f0e","subject":"Fix Subscription\u0027s queue_name variable being tuple","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/2966750d9a897479a6158b78f0b1e750f35a7f0e"}]}],"author":{"name":"Eva Balycheva","email":"ubershy@gmail.com","date":"2016-01-27 05:03:53.000000000","tz":180},"committer":{"name":"Eva Balycheva","email":"ubershy@gmail.com","date":"2016-01-27 18:31:30.000000000","tz":180},"subject":"Improve subscription listing","message":"Improve subscription listing\n\nThe way subscriptions are listed by Client.subscriptions method is not\nvery good. Besides doing nice work, this method modifies subscription\nlist response body from Zaqar by adding redundant \u0027queue_name\u0027 key to\neach subscription dictionary in the response body, while there is\nalready \u0027source\u0027 key containing queue name.\n\nBecause of that it\u0027s possible to write a unit test, where queue list\nresponse body from Zaqar does not represent real response that could\ncome from Zaqar. As example see\nzaqarclient.tests.queues.subscriptions.QueuesV2SubscriptionUnitTest.\ntest_subscription_list. This test is missing \u0027source\u0027 keys in response\nbody.\n\nThis patch makes subscription listing code stop modifying responses from\nZaqar. As expected, the example unit test fails after that. This patch\nfixes the test also and checks more subscription object\u0027s fields.\n\nAlso this patch improves subscription listing functional test to check\nall fields of subscription object that was deserialized from Zaqar\nresponse, i.e. checks zaqarclient.queues.v2.subscription.create_object\nmethod. It is also needed, because before this patch, subscription\u0027s\nqueue name field wasn\u0027t checked by any of the tests, making a recent bug\nlike https://bugs.launchpad.net/python-zaqarclient/+bug/1538367\npossible.\n\nChange-Id: Iae5bffb296efd655a34584c7f2162adbe6d029e2\nCloses-Bug: 1538366\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/ac710af41e880dbed7a8b57f8deca447f4d7c36c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/ac710af41e880dbed7a8b57f8deca447f4d7c36c"}]},"branch":"refs/heads/master"},"f24a7e9fa32feb4077883f7a10180d110ee6edc0":{"kind":"REWORK","_number":3,"created":"2016-01-27 18:33:35.000000000","uploader":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"ref":"refs/changes/09/272909/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-zaqarclient","ref":"refs/changes/09/272909/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-zaqarclient refs/changes/09/272909/3"}}},"commit":{"parents":[{"commit":"2966750d9a897479a6158b78f0b1e750f35a7f0e","subject":"Fix Subscription\u0027s queue_name variable being tuple","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/2966750d9a897479a6158b78f0b1e750f35a7f0e"}]}],"author":{"name":"Eva Balycheva","email":"ubershy@gmail.com","date":"2016-01-27 05:03:53.000000000","tz":180},"committer":{"name":"Eva Balycheva","email":"ubershy@gmail.com","date":"2016-01-27 18:33:19.000000000","tz":180},"subject":"Improve subscription listing","message":"Improve subscription listing\n\nThe way subscriptions are listed by Client.subscriptions method is not\nvery good. Besides doing nice work, this method modifies subscription\nlist response body from Zaqar by adding redundant \u0027queue_name\u0027 key to\neach subscription dictionary in the response body, while there is\nalready \u0027source\u0027 key containing queue name.\n\nBecause of that it\u0027s possible to write a unit test, where queue list\nresponse body from Zaqar does not represent real response that could\ncome from Zaqar. As example see\nzaqarclient.tests.queues.subscriptions.QueuesV2SubscriptionUnitTest.\ntest_subscription_list. This test is missing \u0027source\u0027 keys in response\nbody.\n\nThis patch makes subscription listing code stop modifying responses from\nZaqar. As expected, the example unit test fails after that. This patch\nfixes the test also and checks more subscription object\u0027s fields.\n\nAlso this patch improves subscription listing functional test to check\nall fields of subscription object that was deserialized from Zaqar\nresponse, i.e. checks zaqarclient.queues.v2.subscription.create_object\nmethod. It is also needed, because before this patch, subscription\u0027s\nqueue name field wasn\u0027t checked by any of the tests, making a recent bug\nlike https://bugs.launchpad.net/python-zaqarclient/+bug/1538367\npossible.\n\nChange-Id: Iae5bffb296efd655a34584c7f2162adbe6d029e2\nCloses-Bug: 1538366\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/f24a7e9fa32feb4077883f7a10180d110ee6edc0"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-zaqarclient/commit/f24a7e9fa32feb4077883f7a10180d110ee6edc0"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
