)]}'
{"id":"openstack%2Fpython-glanceclient~299136","triplet_id":"openstack%2Fpython-glanceclient~master~Ifebe9011870bbddc46fc6d6a26563641d5559e97","project":"openstack/python-glanceclient","branch":"master","hashtags":[],"change_id":"Ifebe9011870bbddc46fc6d6a26563641d5559e97","subject":"Update auth_token before sending request","status":"MERGED","created":"2016-03-30 06:01:38.000000000","updated":"2016-04-05 22:23:12.000000000","submitted":"2016-04-05 22:23:12.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"56da8e3294188558359a47b65d0f64d660ac74e0","_number":299136,"virtual_id_number":299136,"owner":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},{"value":2,"date":"2016-04-05 22:23:12.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"value":0,"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"}],"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":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"all":[{"value":2,"date":"2016-04-05 21:18:59.000000000","_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2016-03-30 12:10:23.000000000","_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"value":1,"date":"2016-03-30 13:45:17.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"}],"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":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"all":[{"value":1,"date":"2016-04-05 21:18:59.000000000","_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"value":0,"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"value":0,"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"}],"values":{"-1":"Branch Freeze"," 0":"No Priority","+1":"Important Change","+2":"Top Priority / Holds Gate"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-03-30 12:10:23.000000000","updated_by":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"reviewer":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"state":"REVIEWER"},{"updated":"2016-03-30 13:45:17.000000000","updated_by":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"reviewer":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"state":"REVIEWER"},{"updated":"2016-04-05 21:18:59.000000000","updated_by":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"reviewer":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"state":"REVIEWER"},{"updated":"2016-04-05 22:23:12.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"1a9bbb83664e19dc4d3e37c68f144cb2a053a2cc","author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"date":"2016-03-30 06:01:38.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"a47bd00a31192ac385ebcec1a2cf71e3c072ab7f","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-03-30 07:31:32.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/36/299136/1/check/gate-python-glanceclient-docs/f010f83//doc/build/html/ : SUCCESS in 6m 20s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/36/299136/1/check/gate-python-glanceclient-pep8/0dc4467/ : SUCCESS in 2m 41s\n- gate-python-glanceclient-python27 http://logs.openstack.org/36/299136/1/check/gate-python-glanceclient-python27/0fc38d3/ : SUCCESS in 2m 48s\n- gate-python-glanceclient-python34 http://logs.openstack.org/36/299136/1/check/gate-python-glanceclient-python34/a531559/ : SUCCESS in 4m 09s\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/36/299136/1/check/gate-tempest-dsvm-neutron-src-python-glanceclient/16d7fff/ : SUCCESS in 1h 29m 09s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/36/299136/1/check/gate-glanceclient-dsvm-functional/fc20e15/ : SUCCESS in 10m 52s","accounts_in_message":[],"_revision_number":1},{"id":"a3b87894d95235afe31e6d6a9d864a724f055d02","author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"date":"2016-03-30 09:46:57.000000000","message":"Patch Set 1: Code-Review+1\n\n(1 comment)\n\nLooks ok I think.\n\n+1 in case we\u0027re paranoid enough to add the encoding check to the test. ( I understand that this should currently encode all headers.)","accounts_in_message":[],"_revision_number":1},{"id":"db46fcfefeb9da493b5e25d9cb4169aae6e253ed","author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"date":"2016-03-30 10:33:30.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"dc1bbbf12be32541347b4212213115da6fa3da11","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-03-30 11:36:22.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/36/299136/2/check/gate-python-glanceclient-docs/9b8a5f5//doc/build/html/ : SUCCESS in 2m 31s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/36/299136/2/check/gate-python-glanceclient-pep8/ac669e8/ : SUCCESS in 2m 32s\n- gate-python-glanceclient-python27 http://logs.openstack.org/36/299136/2/check/gate-python-glanceclient-python27/9979128/ : SUCCESS in 3m 58s\n- gate-python-glanceclient-python34 http://logs.openstack.org/36/299136/2/check/gate-python-glanceclient-python34/7ea78e5/ : SUCCESS in 3m 56s\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/36/299136/2/check/gate-tempest-dsvm-neutron-src-python-glanceclient/9be03b3/ : SUCCESS in 52m 18s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/36/299136/2/check/gate-glanceclient-dsvm-functional/a50b370/ : SUCCESS in 21m 36s","accounts_in_message":[],"_revision_number":2},{"id":"a579694292d048a19cc34ea7f0ca1c73f4eb298a","author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"date":"2016-03-30 12:10:23.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"315ec3a7d39f7c22855fb72ad353a305bb2661e2","author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"date":"2016-03-30 13:45:17.000000000","message":"Patch Set 2: Code-Review+1","accounts_in_message":[],"_revision_number":2},{"id":"0c90761c7a2185a55e45067ce62363b68178d75b","author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"date":"2016-04-05 21:18:59.000000000","message":"Patch Set 2: Workflow+1 Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"5ef40b1e31d2b02f83d99dd6d4585ab2426359ae","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-04-05 21:19:06.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"08a63f4f6399e0ab130c1c0403aac30351cfdfe9","date":"2016-04-05 22:23:12.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":2},{"id":"56da8e3294188558359a47b65d0f64d660ac74e0","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-04-05 22:23:12.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-glanceclient-docs http://docs-draft.openstack.org/36/299136/2/gate/gate-python-glanceclient-docs/e5a17a4//doc/build/html/ : SUCCESS in 3m 02s\n- gate-python-glanceclient-pep8 http://logs.openstack.org/36/299136/2/gate/gate-python-glanceclient-pep8/9b5d019/ : SUCCESS in 2m 59s\n- gate-python-glanceclient-python27 http://logs.openstack.org/36/299136/2/gate/gate-python-glanceclient-python27/991472c/ : SUCCESS in 3m 23s\n- gate-python-glanceclient-python34 http://logs.openstack.org/36/299136/2/gate/gate-python-glanceclient-python34/ca133c4/ : SUCCESS in 2m 57s\n- gate-tempest-dsvm-neutron-src-python-glanceclient http://logs.openstack.org/36/299136/2/gate/gate-tempest-dsvm-neutron-src-python-glanceclient/f4d9876/ : SUCCESS in 1h 03m 40s\n- gate-glanceclient-dsvm-functional http://logs.openstack.org/36/299136/2/gate/gate-glanceclient-dsvm-functional/40ae9e8/ : SUCCESS in 20m 53s","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"2561e4061c375982fd056af583233c4c658b139e","revisions":{"4fedf8bb276e1b421e150a5171f182efa17efba8":{"kind":"REWORK","_number":1,"created":"2016-03-30 06:01:38.000000000","uploader":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"ref":"refs/changes/36/299136/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/36/299136/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/36/299136/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/36/299136/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/36/299136/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/36/299136/1"}}},"commit":{"parents":[{"commit":"04e1ea73a5159f07eac5bf6ef40f33e7f724f901","subject":"Merge \"Ship the default metadata schema in the client\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/04e1ea73a5159f07eac5bf6ef40f33e7f724f901"}]}],"author":{"name":"kairat_kushaev","email":"kkushaev@mirantis.com","date":"2016-03-30 05:49:24.000000000","tz":180},"committer":{"name":"kairat_kushaev","email":"kkushaev@mirantis.com","date":"2016-03-30 06:01:28.000000000","tz":180},"subject":"Update auth_token before sending request","message":"Update auth_token before sending request\n\nPreviously auth_token was initialized once in __init__ method.\nAfter that we stored token in session headers. So to refresh token\nusers need to instantiate a new session inside http client or\nre-create client itself.\nIn order to provide possibility to refresh token we need\nto add token header before sending the request. So users can\njust update auth_token attribute in the HTTPClient to refresh\nuser token.\n\nChange-Id: Ifebe9011870bbddc46fc6d6a26563641d5559e97\nCloses-Bug: #1563495\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/4fedf8bb276e1b421e150a5171f182efa17efba8"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/4fedf8bb276e1b421e150a5171f182efa17efba8"}]},"branch":"refs/heads/master"},"2561e4061c375982fd056af583233c4c658b139e":{"kind":"REWORK","_number":2,"created":"2016-03-30 10:33:30.000000000","uploader":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"ref":"refs/changes/36/299136/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-glanceclient","ref":"refs/changes/36/299136/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/36/299136/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/36/299136/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-glanceclient refs/changes/36/299136/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-glanceclient refs/changes/36/299136/2"}}},"commit":{"parents":[{"commit":"04e1ea73a5159f07eac5bf6ef40f33e7f724f901","subject":"Merge \"Ship the default metadata schema in the client\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/04e1ea73a5159f07eac5bf6ef40f33e7f724f901"}]}],"author":{"name":"kairat_kushaev","email":"kkushaev@mirantis.com","date":"2016-03-30 05:49:24.000000000","tz":180},"committer":{"name":"kairat_kushaev","email":"kkushaev@mirantis.com","date":"2016-03-30 10:33:19.000000000","tz":180},"subject":"Update auth_token before sending request","message":"Update auth_token before sending request\n\nPreviously auth_token was initialized once in __init__ method.\nAfter that we stored token in session headers. So to refresh token\nusers need to instantiate a new session inside http client or\nre-create client itself.\nIn order to provide possibility to refresh token we need\nto add token header before sending the request. So users can\njust update auth_token attribute in the HTTPClient to refresh\nuser token.\n\nChange-Id: Ifebe9011870bbddc46fc6d6a26563641d5559e97\nCloses-Bug: #1563495\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/2561e4061c375982fd056af583233c4c658b139e"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-glanceclient/commit/2561e4061c375982fd056af583233c4c658b139e"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
