)]}'
{"id":"openstack%2Fpython-blazarclient~87949","triplet_id":"openstack%2Fpython-blazarclient~master~Ie6a4df384770123ec5fc4cf43823ce5ef1a47ca5","project":"openstack/python-blazarclient","branch":"master","topic":"bug/1304595","hashtags":[],"change_id":"Ie6a4df384770123ec5fc4cf43823ce5ef1a47ca5","subject":"Add sort-by option for climateclient list commands","status":"MERGED","created":"2014-04-16 12:21:52.000000000","updated":"2014-04-24 09:50:52.000000000","submitted":"2014-04-24 09:50:52.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":2,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"e9533b1ddc770de9cdf89dda305545fec2c092dd","_number":87949,"virtual_id_number":87949,"owner":{"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":2,"date":"2014-04-24 09:50:52.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},{"value":0,"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},{"value":0,"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},{"value":0,"_account_id":9225,"name":"Cristian A Sanchez","email":"cabsanchez@gmail.com","username":"casanch1"},{"value":0,"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"}],"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":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},"recommended":{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":1,"date":"2014-04-16 14:56:53.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},{"value":2,"date":"2014-04-16 16:00:39.000000000","_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},{"value":0,"date":"2014-04-16 14:46:21.000000000","permitted_voting_range":{"min":0,"max":1},"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},{"value":0,"date":"2014-04-16 14:25:56.000000000","permitted_voting_range":{"min":0,"max":1},"_account_id":9225,"name":"Cristian A Sanchez","email":"cabsanchez@gmail.com","username":"casanch1"},{"value":2,"date":"2014-04-24 09:30:13.000000000","_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"}],"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":"","value":1,"default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},{"value":0,"date":"2014-04-16 16:00:39.000000000","_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},{"value":0,"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},{"value":0,"_account_id":9225,"name":"Cristian A Sanchez","email":"cabsanchez@gmail.com","username":"casanch1"},{"value":1,"date":"2014-04-24 09:30:13.000000000","_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},{"value":0,"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},{"value":0,"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},{"value":0,"_account_id":9225,"name":"Cristian A Sanchez","email":"cabsanchez@gmail.com","username":"casanch1"},{"value":0,"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"}],"values":{"-1":"Branch Freeze"," 0":"No Priority","+1":"Important Change","+2":"Gate Blocker Fix / Urgent Change"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},{"_account_id":9225,"name":"Cristian A Sanchez","email":"cabsanchez@gmail.com","username":"casanch1"},{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},{"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2014-04-16 14:25:56.000000000","updated_by":{"_account_id":9225,"name":"Cristian A Sanchez","email":"cabsanchez@gmail.com","username":"casanch1"},"reviewer":{"_account_id":9225,"name":"Cristian A Sanchez","email":"cabsanchez@gmail.com","username":"casanch1"},"state":"REVIEWER"},{"updated":"2014-04-16 14:56:53.000000000","updated_by":{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},"reviewer":{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},"state":"REVIEWER"},{"updated":"2014-04-16 16:00:39.000000000","updated_by":{"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},"reviewer":{"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},"state":"REVIEWER"},{"updated":"2014-04-24 09:30:13.000000000","updated_by":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"reviewer":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"state":"REVIEWER"},{"updated":"2014-04-24 09:50:52.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"96ec3bbe7a2885fa99fb80bc4ef34091ef89491e","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-16 12:21:53.000000000","message":"Patch Set 1:\n\nStarting check jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":1},{"id":"3b2bc0ac952268ec3e12aaeb78ec5e723240d917","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-16 12:22:46.000000000","message":"Patch Set 1: Works for me\n\nBuild succeeded.\n\n- gate-python-climateclient-pep8 http://logs.openstack.org/49/87949/1/check/gate-python-climateclient-pep8/c9a9f2c : SUCCESS in 51s\n- gate-python-climateclient-python26 http://logs.openstack.org/49/87949/1/check/gate-python-climateclient-python26/0875efb : SUCCESS in 32s\n- gate-python-climateclient-python27 http://logs.openstack.org/49/87949/1/check/gate-python-climateclient-python27/c34165e : SUCCESS in 31s\n","accounts_in_message":[],"_revision_number":1},{"id":"2d2ae50155efcdc576625817f1e8dcc354dd074d","author":{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},"date":"2014-04-16 13:28:34.000000000","message":"Patch Set 1: (1 inline comment)\n\nJust a question.","accounts_in_message":[],"_revision_number":1},{"id":"8012fbe352fbd9aa008eac931f7b21de4cf7d9ed","author":{"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},"date":"2014-04-16 13:46:19.000000000","message":"Patch Set 1: (1 inline comment)\n\n","accounts_in_message":[],"_revision_number":1},{"id":"43a56e2928cadfa78b0dc23be39ed63218606ff2","author":{"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},"date":"2014-04-16 14:00:10.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"0983fc4e70ae649b1a532e6e7f952820764a032e","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-16 14:00:11.000000000","message":"Patch Set 2:\n\nStarting check jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"59e576e97d4df8afab79f1f835dd8c2997cf7d51","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-16 14:01:11.000000000","message":"Patch Set 2: Works for me\n\nBuild succeeded.\n\n- gate-python-climateclient-pep8 http://logs.openstack.org/49/87949/2/check/gate-python-climateclient-pep8/31576eb : SUCCESS in 47s\n- gate-python-climateclient-python26 http://logs.openstack.org/49/87949/2/check/gate-python-climateclient-python26/094e4c7 : SUCCESS in 59s\n- gate-python-climateclient-python27 http://logs.openstack.org/49/87949/2/check/gate-python-climateclient-python27/02cc2a2 : SUCCESS in 32s\n","accounts_in_message":[],"_revision_number":2},{"id":"e7cd3714cb1895ec7a0a1afb5b1618b630036316","author":{"_account_id":9225,"name":"Cristian A Sanchez","email":"cabsanchez@gmail.com","username":"casanch1"},"date":"2014-04-16 14:25:56.000000000","message":"Patch Set 2:\n\nQuestion: do you think that sort_by functionality could be implemented in climate api?","accounts_in_message":[],"_revision_number":2},{"id":"823074e21466dfe0de053322910a584ede0536b6","author":{"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},"date":"2014-04-16 14:46:21.000000000","message":"Patch Set 2:\n\nIt could be, but that will require to decide how to build the urls, what options could be allowed and also do some input validation for new parameters.\nI\u0027m sure that in the future we will need that kind of functionality, but for now I decided to do it quick and simple in the climateclient.\nWe can open a bp and start writing stuff, what do you think?","accounts_in_message":[],"_revision_number":2},{"id":"f75b9d4b683f129af612d3b2c3eef6b046579ff2","author":{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},"date":"2014-04-16 14:56:53.000000000","message":"Patch Set 2: Looks good to me, but someone else must approve\n\nI agree with the blueprint thing.","accounts_in_message":[],"_revision_number":2},{"id":"c98e8208b21058bf6a89f13ca9a5c7213781db97","author":{"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},"date":"2014-04-16 16:00:39.000000000","message":"Patch Set 2: Looks good to me (core reviewer)\n\n","accounts_in_message":[],"_revision_number":2},{"id":"2e1c6e3390d2bcaf2aa8f4dcf694798a07ec781a","author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"date":"2014-04-24 09:30:13.000000000","message":"Patch Set 2: Looks good to me (core reviewer); Approved\n\nLGTM, thanks !","accounts_in_message":[],"_revision_number":2},{"id":"4b35158867cfa571755a75596c7a00d8cd3f2ffe","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-24 09:30:14.000000000","message":"Patch Set 2: No score\n\nStarting check jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"2c216bda47bef49a3a19484e6cb35c896528fb7d","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-24 09:49:28.000000000","message":"Patch Set 2: Works for me\n\nBuild succeeded.\n\n- gate-python-climateclient-pep8 http://logs.openstack.org/49/87949/2/check/gate-python-climateclient-pep8/06db0ae : SUCCESS in 1m 15s\n- gate-python-climateclient-python26 http://logs.openstack.org/49/87949/2/check/gate-python-climateclient-python26/2f00b61 : SUCCESS in 55s\n- gate-python-climateclient-python27 http://logs.openstack.org/49/87949/2/check/gate-python-climateclient-python27/a45ad24 : SUCCESS in 1m 20s\n","accounts_in_message":[],"_revision_number":2},{"id":"61c753f129e968480a3f8622efcf74146d61cb2f","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-24 09:49:29.000000000","message":"Patch Set 2: No score\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"4dd9a96bd1d00fdc893d1c9db8632fa4f115118e","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-24 09:50:52.000000000","message":"Change has been successfully merged into the git repository.","accounts_in_message":[],"_revision_number":2},{"id":"22cf62af60b1e9ba7f38dfabc1730e1f22e9255e","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-04-24 09:50:52.000000000","message":"Patch Set 2: Verified\n\nBuild succeeded.\n\n- gate-python-climateclient-pep8 http://logs.openstack.org/49/87949/2/gate/gate-python-climateclient-pep8/fed40cc : SUCCESS in 1m 06s\n- gate-python-climateclient-python26 http://logs.openstack.org/49/87949/2/gate/gate-python-climateclient-python26/6041887 : SUCCESS in 53s\n- gate-python-climateclient-python27 http://logs.openstack.org/49/87949/2/gate/gate-python-climateclient-python27/6693fa4 : SUCCESS in 33s\n","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"020c07de184737bdc2aa359301654d540cfb14e4","revisions":{"79dccd8bf2a1a7c2cfc0a15dc65f8bdb2cf9c2f6":{"kind":"REWORK","_number":1,"created":"2014-04-16 12:21:52.000000000","uploader":{"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},"ref":"refs/changes/49/87949/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-blazarclient","ref":"refs/changes/49/87949/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-blazarclient refs/changes/49/87949/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-blazarclient refs/changes/49/87949/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-blazarclient refs/changes/49/87949/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-blazarclient refs/changes/49/87949/1"}}},"commit":{"parents":[{"commit":"fb02a3a39673ca49f5041d973b2e128143406214","subject":"Removing dependencies from test-requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-blazarclient/commit/fb02a3a39673ca49f5041d973b2e128143406214"}]}],"author":{"name":"cmart","email":"christian.martinez@intel.com","date":"2014-04-15 20:27:15.000000000","tz":0},"committer":{"name":"cmart","email":"christian.martinez@intel.com","date":"2014-04-16 12:21:12.000000000","tz":0},"subject":"Add sort-by option for climateclient list commands","message":"Add sort-by option for climateclient list commands\n\nAdding a sort-by parameter for the climateclient list command so that\nwhen a list is retrieved, it will be order by the column that the user\nprefered.\nDefault value will be name (which is a more meaningful order attribute\nthan id).\n\nChange-Id: Ie6a4df384770123ec5fc4cf43823ce5ef1a47ca5\nCloses-Bug: #1304595\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-blazarclient/commit/79dccd8bf2a1a7c2cfc0a15dc65f8bdb2cf9c2f6"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-blazarclient/commit/79dccd8bf2a1a7c2cfc0a15dc65f8bdb2cf9c2f6"}]},"branch":"refs/heads/master"},"020c07de184737bdc2aa359301654d540cfb14e4":{"kind":"REWORK","_number":2,"created":"2014-04-16 14:00:10.000000000","uploader":{"_account_id":10200,"name":"Christian Martinez","email":"chmartinez35@gmail.com","username":"cmart"},"ref":"refs/changes/49/87949/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-blazarclient","ref":"refs/changes/49/87949/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-blazarclient refs/changes/49/87949/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-blazarclient refs/changes/49/87949/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-blazarclient refs/changes/49/87949/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-blazarclient refs/changes/49/87949/2"}}},"commit":{"parents":[{"commit":"fb02a3a39673ca49f5041d973b2e128143406214","subject":"Removing dependencies from test-requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-blazarclient/commit/fb02a3a39673ca49f5041d973b2e128143406214"}]}],"author":{"name":"cmart","email":"christian.martinez@intel.com","date":"2014-04-15 20:27:15.000000000","tz":0},"committer":{"name":"cmart","email":"christian.martinez@intel.com","date":"2014-04-16 13:59:04.000000000","tz":0},"subject":"Add sort-by option for climateclient list commands","message":"Add sort-by option for climateclient list commands\n\nAdding a sort-by parameter for the climateclient list command so that\nwhen a list is retrieved, it will be order by the column that the user\nprefered.\nDefault value will be \u0027name\u0027 for leases and \u0027hypervisor_hostname\u0027 for\nhosts (which are more meaningful order attributes than id).\n\nChange-Id: Ie6a4df384770123ec5fc4cf43823ce5ef1a47ca5\nCloses-Bug: #1304595\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-blazarclient/commit/020c07de184737bdc2aa359301654d540cfb14e4"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-blazarclient/commit/020c07de184737bdc2aa359301654d540cfb14e4"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
