)]}'
{"nova/tests/functional/api/client.py":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"7904e1bdf2def728fe04ba459414ab6237323f1c","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        auth_result \u003d self._authenticate()"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        # NOTE(justinsb): httplib \u0027helpfully\u0027 converts headers to lower case"},{"line_number":161,"context_line":"        base_uri \u003d auth_result[\u0027x-server-management-url\u0027]"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        if strip_version:"},{"line_number":164,"context_line":"            # NOTE(vish): cut out version number and tenant_id"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba8a016a_a2ac238d","line":161,"updated":"2015-11-21 11:50:18.000000000","message":"So, interesting fact (that I just realized), base_uri is actually coming from the Noauthmiddleware - https://github.com/openstack/nova/blob/26aebbd8a20b6f2f886fe8b16197ec88bf6c1593/nova/api/openstack/auth.py#L39\n\nWhich makes sense, this is the way the service catalog would work. So if we make a new NoAuth middleware that returns without project ids, we probably don\u0027t need any of this.\n\nhttps://github.com/openstack/nova/blob/26aebbd8a20b6f2f886fe8b16197ec88bf6c1593/nova/tests/unit/conf_fixture.py#L58 is where we specify which noauth that we use.","commit_id":"fa53e0aa7cdc9fd3e9cab29a55296100b460a93f"},{"author":{"_account_id":17714,"name":"Augustina Ragwitz","email":"auggy@cpan.org","username":"mmmpork"},"change_message_id":"c7f056ccaa479cd6be4b7c7d120cbfc01dc1586d","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        auth_result \u003d self._authenticate()"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        # NOTE(justinsb): httplib \u0027helpfully\u0027 converts headers to lower case"},{"line_number":161,"context_line":"        base_uri \u003d auth_result[\u0027x-server-management-url\u0027]"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        if strip_version:"},{"line_number":164,"context_line":"            # NOTE(vish): cut out version number and tenant_id"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a8ffd7b_fb718da9","line":161,"in_reply_to":"ba8a016a_a2ac238d","updated":"2015-11-30 18:47:01.000000000","message":"Just saw this comment! Looking into the NoAuth middleware thing per your suggestion.","commit_id":"fa53e0aa7cdc9fd3e9cab29a55296100b460a93f"},{"author":{"_account_id":17714,"name":"Augustina Ragwitz","email":"auggy@cpan.org","username":"mmmpork"},"change_message_id":"5c7c21feaa7e7adae1716bc361937f318f2dbd53","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        return self.auth_result"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    def api_request(self, relative_uri, check_response_status\u003dNone,"},{"line_number":157,"context_line":"                    strip_version\u003dFalse, strip_project_id\u003dFalse, **kwargs):"},{"line_number":158,"context_line":"        auth_result \u003d self._authenticate()"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        # NOTE(justinsb): httplib \u0027helpfully\u0027 converts headers to lower case"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a740942_5f3451dd","line":157,"updated":"2015-12-03 19:15:43.000000000","message":"Comment from previous patch from sdague:\n\n\t\nSean Dague\t\tNov 21 3:50 AM\nSo, interesting fact (that I just realized), base_uri is actually coming from the Noauthmiddleware - https://github.com/openstack/nova/blob/26aebbd8a20b6f2f886fe8b16197ec88bf6c1593/nova/api/openstack/auth.py#L39\n\nWhich makes sense, this is the way the service catalog would work. So if we make a new NoAuth middleware that returns without project ids, we probably don\u0027t need any of this.\n\nhttps://github.com/openstack/nova/blob/26aebbd8a20b6f2f886fe8b16197ec88bf6c1593/nova/tests/unit/conf_fixture.py#L58 is where we specify which noauth that we use.","commit_id":"b974c77421f8bfb3edbd9f081f78a90475a500d1"}]}
