)]}'
{"id":"openstack%2Fpython-keystoneclient~178594","triplet_id":"openstack%2Fpython-keystoneclient~master~I0264567320ab8f77bb832c5f8613361069172c2d","project":"openstack/python-keystoneclient","branch":"master","topic":"bug/1450276","hashtags":[],"change_id":"I0264567320ab8f77bb832c5f8613361069172c2d","subject":"Use openstack common util method to find name-or-id resource","status":"ABANDONED","created":"2015-04-29 10:18:55.000000000","updated":"2015-04-30 08:59:41.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"55b636d51ed9c66f21233d2581224fbaa8789ca9","_number":178594,"virtual_id_number":178594,"owner":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"date":"2015-04-30 08:59:36.000000000","_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},{"value":1,"date":"2015-04-30 03:08:47.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":1,"default_value":0,"optional":true},"Code-Review":{"disliked":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":-1,"date":"2015-04-30 05:05:27.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"}],"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":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":0},"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"}],"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":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2015-04-30 03:08:47.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"},{"updated":"2015-04-30 05:05:27.000000000","updated_by":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"reviewer":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"state":"REVIEWER"}],"messages":[{"id":"e5d9022d4fcf99141d80eb668da747053e2283a9","author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"date":"2015-04-29 10:18:55.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"9d45155396748fba24cc61ee19bb58b2035f5b84","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-04-29 11:14:01.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-python-keystoneclient-python26 http://logs.openstack.org/94/178594/1/check/gate-python-keystoneclient-python26/4b6bf78/ : SUCCESS in 2m 12s\n- gate-python-keystoneclient-pep8 http://logs.openstack.org/94/178594/1/check/gate-python-keystoneclient-pep8/0fdead6/ : FAILURE in 2m 10s\n- gate-python-keystoneclient-docs http://docs-draft.openstack.org/94/178594/1/check/gate-python-keystoneclient-docs/f573158//doc/build/html/ : SUCCESS in 3m 12s\n- gate-python-keystoneclient-python27 http://logs.openstack.org/94/178594/1/check/gate-python-keystoneclient-python27/2643356/ : SUCCESS in 2m 10s\n- gate-python-keystoneclient-python34 http://logs.openstack.org/94/178594/1/check/gate-python-keystoneclient-python34/a9c4685/ : SUCCESS in 4m 46s\n- gate-tempest-dsvm-neutron-src-python-keystoneclient http://logs.openstack.org/94/178594/1/check/gate-tempest-dsvm-neutron-src-python-keystoneclient/04b5c6c/ : SUCCESS in 54m 46s\n- check-keystoneclient-dsvm-functional http://logs.openstack.org/94/178594/1/check/check-keystoneclient-dsvm-functional/2d9fd80/ : SUCCESS in 17m 26s","accounts_in_message":[],"_revision_number":1},{"id":"023ba261cb558ff8b07d16a84b4e145446ed04b7","author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"date":"2015-04-30 02:17:19.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"7005ea6d2a11f6f18e2751b11344e1692b3bbc1b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-04-30 03:08:47.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-keystoneclient-python26 http://logs.openstack.org/94/178594/2/check/gate-python-keystoneclient-python26/8f676a5/ : SUCCESS in 2m 04s\n- gate-python-keystoneclient-pep8 http://logs.openstack.org/94/178594/2/check/gate-python-keystoneclient-pep8/dc30340/ : SUCCESS in 1m 56s\n- gate-python-keystoneclient-docs http://docs-draft.openstack.org/94/178594/2/check/gate-python-keystoneclient-docs/20a7dc1//doc/build/html/ : SUCCESS in 2m 05s\n- gate-python-keystoneclient-python27 http://logs.openstack.org/94/178594/2/check/gate-python-keystoneclient-python27/d889840/ : SUCCESS in 2m 01s\n- gate-python-keystoneclient-python34 http://logs.openstack.org/94/178594/2/check/gate-python-keystoneclient-python34/4b8ed54/ : SUCCESS in 3m 48s\n- gate-tempest-dsvm-neutron-src-python-keystoneclient http://logs.openstack.org/94/178594/2/check/gate-tempest-dsvm-neutron-src-python-keystoneclient/30d5fae/ : SUCCESS in 51m 00s\n- check-keystoneclient-dsvm-functional http://logs.openstack.org/94/178594/2/check/check-keystoneclient-dsvm-functional/f188711/ : SUCCESS in 16m 18s","accounts_in_message":[],"_revision_number":2},{"id":"e136eebbfb075f349af59a6ee90ac377b52aa41d","author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"date":"2015-04-30 05:05:27.000000000","message":"Patch Set 2: Code-Review-1\n\nI believe any changes to the keystone client CLI are deprecated in favor the openstack CLI.","accounts_in_message":[],"_revision_number":2},{"id":"b9e6493ec6341980ac1b69f2845c3188854c84b4","author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"date":"2015-04-30 08:59:36.000000000","message":"Patch Set 2:\n\nyeah, thanks for review, abandon","accounts_in_message":[],"_revision_number":2},{"id":"a90fc25797058d6a5448d5938e6fd06e5ce5aa10","author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"date":"2015-04-30 08:59:41.000000000","message":"Abandoned","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"2a63ac255e899e2a3aee217d803ed7d9cbbe8e0b","revisions":{"c1dfb172aff44e4dda538c6a846321902e66d6fa":{"kind":"REWORK","_number":1,"created":"2015-04-29 10:18:55.000000000","uploader":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"ref":"refs/changes/94/178594/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-keystoneclient","ref":"refs/changes/94/178594/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-keystoneclient refs/changes/94/178594/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-keystoneclient refs/changes/94/178594/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-keystoneclient refs/changes/94/178594/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-keystoneclient refs/changes/94/178594/1"}}},"commit":{"parents":[{"commit":"37742ec52082f14a8467a464a431987ac1b5df7a","subject":"Remove keystoneclient.middleware","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-keystoneclient/commit/37742ec52082f14a8467a464a431987ac1b5df7a"}]}],"author":{"name":"liu-sheng","email":"liusheng@huawei.com","date":"2015-04-29 09:59:25.000000000","tz":480},"committer":{"name":"liu-sheng","email":"liusheng@huawei.com","date":"2015-04-29 10:16:40.000000000","tz":480},"subject":"Use openstack common util method to find name-or-id resource","message":"Use openstack common util method to find name-or-id resource\n\nCurrently, the keystone commands support name-or-id, like this:\n    keystone --debug user-role-list --tenant-id admin\nBut, if we specified tenant_id of \"--tenant-id\" parameter of above\ncommand, keystoneclient will still try to get the tenant at first,\nthat is inefficient, it is better to directly use the tenant_id to\nget user-role relationship firstly. This flaw can be find by\nspecifying \"--debug\" option with above command. The openstack common\nutil method \"find_resource\" has optimized that, this change switch\nkeystonclient to use it.\n\nChange-Id: I0264567320ab8f77bb832c5f8613361069172c2d\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-keystoneclient/commit/c1dfb172aff44e4dda538c6a846321902e66d6fa"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-keystoneclient/commit/c1dfb172aff44e4dda538c6a846321902e66d6fa"}]},"branch":"refs/heads/master"},"2a63ac255e899e2a3aee217d803ed7d9cbbe8e0b":{"kind":"REWORK","_number":2,"created":"2015-04-30 02:17:19.000000000","uploader":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"ref":"refs/changes/94/178594/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-keystoneclient","ref":"refs/changes/94/178594/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-keystoneclient refs/changes/94/178594/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-keystoneclient refs/changes/94/178594/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-keystoneclient refs/changes/94/178594/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-keystoneclient refs/changes/94/178594/2"}}},"commit":{"parents":[{"commit":"37742ec52082f14a8467a464a431987ac1b5df7a","subject":"Remove keystoneclient.middleware","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-keystoneclient/commit/37742ec52082f14a8467a464a431987ac1b5df7a"}]}],"author":{"name":"liu-sheng","email":"liusheng@huawei.com","date":"2015-04-29 09:59:25.000000000","tz":480},"committer":{"name":"liu-sheng","email":"liusheng@huawei.com","date":"2015-04-30 01:57:18.000000000","tz":480},"subject":"Use openstack common util method to find name-or-id resource","message":"Use openstack common util method to find name-or-id resource\n\nCurrently, the keystone commands support name-or-id, like this:\n    keystone --debug user-role-list --tenant-id admin\nBut, if we specified tenant_id of \"--tenant-id\" parameter of above\ncommand, keystoneclient will still try to get the tenant at first,\nthat is inefficient, it is better to directly use the tenant_id to\nget user-role relationship firstly. This flaw can be find by\nspecifying \"--debug\" option with above command. The openstack common\nutil method \"find_resource\" has optimized that, this change switch\nkeystonclient to use it.\n\nChange-Id: I0264567320ab8f77bb832c5f8613361069172c2d\nCloses-Bug: #1450276\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-keystoneclient/commit/2a63ac255e899e2a3aee217d803ed7d9cbbe8e0b"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-keystoneclient/commit/2a63ac255e899e2a3aee217d803ed7d9cbbe8e0b"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
