)]}'
{"ironicclient/osc/plugin.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ad7c1dbdbacb8cdd06e514f52661a2b0f828c954","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    client \u003d baremetal_client_class("},{"line_number":43,"context_line":"        os_ironic_api_version\u003dinstance._api_version[API_NAME],"},{"line_number":44,"context_line":"        session\u003dinstance.session,"},{"line_number":45,"context_line":"        region_name\u003dinstance.region_name,"},{"line_number":46,"context_line":"        # NOTE(vdrok): This will be set as endpoint_override, and the Client"},{"line_number":47,"context_line":"        # class will be able to do the version stripping if needed"},{"line_number":48,"context_line":"        endpoint\u003dinstance.get_endpoint_for_service_type("}],"source_content_type":"text/x-python","patch_set":1,"id":"fa7ab95a_eb217a9f","line":45,"updated":"2016-09-02 10:52:32.000000000","message":"There seem to be a region_name public param too, so switched to it.","commit_id":"2a4e5178224da0106eec527d73fa3939bbd0e499"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"76227be4a247b95201d6b723a89ce1d8a499a8d8","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    client \u003d baremetal_client_class("},{"line_number":43,"context_line":"        os_ironic_api_version\u003dinstance._api_version[API_NAME],"},{"line_number":44,"context_line":"        session\u003dinstance.session,"},{"line_number":45,"context_line":"        region_name\u003dinstance.region_name,"},{"line_number":46,"context_line":"        # NOTE(vdrok): This will be set as endpoint_override, and the Client"},{"line_number":47,"context_line":"        # class will be able to do the version stripping if needed"},{"line_number":48,"context_line":"        endpoint\u003dinstance.get_endpoint_for_service_type("}],"source_content_type":"text/x-python","patch_set":1,"id":"3a71b18c_bac5fb5c","line":45,"in_reply_to":"9a89bdaa_df6912c0","updated":"2016-12-12 11:30:20.000000000","message":"3.3.0 is currently in global requirements, but for backportability of this fix, it seems indeed to use _region_name for now. Will change to region_name in a separate patch.","commit_id":"2a4e5178224da0106eec527d73fa3939bbd0e499"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"2989385eef435946c43f13af732527697ff74c4d","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    client \u003d baremetal_client_class("},{"line_number":43,"context_line":"        os_ironic_api_version\u003dinstance._api_version[API_NAME],"},{"line_number":44,"context_line":"        session\u003dinstance.session,"},{"line_number":45,"context_line":"        region_name\u003dinstance.region_name,"},{"line_number":46,"context_line":"        # NOTE(vdrok): This will be set as endpoint_override, and the Client"},{"line_number":47,"context_line":"        # class will be able to do the version stripping if needed"},{"line_number":48,"context_line":"        endpoint\u003dinstance.get_endpoint_for_service_type("}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_df6912c0","line":45,"in_reply_to":"fa7ab95a_eb217a9f","updated":"2016-09-06 13:59:11.000000000","message":"This didn\u0027t work in my environment, no .region_name. I\u0027m using 2.6.0. I looked at the master branch, and the code for .region_name is there. I think you have to wait for an updated version of osc, or go back to using ._region_name.","commit_id":"2a4e5178224da0106eec527d73fa3939bbd0e499"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"79b26e196bb8cd26c1ad6b533e788733287da899","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        session\u003dinstance.session,"},{"line_number":45,"context_line":"        region_name\u003dinstance._region_name,"},{"line_number":46,"context_line":"        # NOTE(vdrok): This will be set as endpoint_override, and the Client"},{"line_number":47,"context_line":"        # class will be able to do the version stripping if needed"},{"line_number":48,"context_line":"        endpoint\u003dinstance.get_endpoint_for_service_type("},{"line_number":49,"context_line":"            API_NAME, interface\u003dinstance.interface,"},{"line_number":50,"context_line":"            region_name\u003dinstance._region_name"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_d950a60d","line":47,"updated":"2017-01-24 20:21:37.000000000","message":"The HTTPClient will strip the version off the endpoint, the SessionClient won\u0027t.\n\nSo this code is fine if we only care about HTTPClient. And your test is fine. But if someone wanted to test that the version is stripped off the endpoint, the test isn\u0027t good cuz it has instance.session \u003d set-to-something, in which case a SessionClient gets created, not an HTTPClient. (I didn\u0027t test, based on looking at code, so I could be wrong...)","commit_id":"2218e65c8f523e37e6f96b56c8dbe56e4089d287"}],"ironicclient/tests/unit/osc/fakes.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"79b26e196bb8cd26c1ad6b533e788733287da899","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        self.interface \u003d \u0027public\u0027"},{"line_number":39,"context_line":"        self._region_name \u003d \u0027RegionOne\u0027"},{"line_number":40,"context_line":"        self.session \u003d \u0027fake session\u0027"},{"line_number":41,"context_line":"        self._api_version \u003d {\u0027baremetal\u0027: \u00271.6\u0027}"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"class FakeResource(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_d6d6b526","line":41,"updated":"2017-01-24 20:21:37.000000000","message":"the http.DEFAULT_VER in master is 1.9 now. I don\u0027t know if it makes any diff since this is for testing.","commit_id":"2218e65c8f523e37e6f96b56c8dbe56e4089d287"}],"releasenotes/notes/osc-versioned-endpoint-fix-08f6b7af2f47a5d6.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"2989385eef435946c43f13af732527697ff74c4d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixed an issue with openstack client plugin not being able to work with"},{"line_number":4,"context_line":"    versioned ironic endpoints."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9a89bdaa_1cbb8828","line":3,"updated":"2016-09-06 13:59:11.000000000","message":"We don\u0027t use past tense in the release notes. So s/Fixed/Fixes/\n\ns/openstack/OpenStack/. I wonder what the \u0027right\u0027 name is. \u0027OpenStackClient plugin\u0027?","commit_id":"2a4e5178224da0106eec527d73fa3939bbd0e499"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"76227be4a247b95201d6b723a89ce1d8a499a8d8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fixed an issue with openstack client plugin not being able to work with"},{"line_number":4,"context_line":"    versioned ironic endpoints."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3a71b18c_1ae34fda","line":3,"in_reply_to":"9a89bdaa_1cbb8828","updated":"2016-12-12 11:30:20.000000000","message":"Done","commit_id":"2a4e5178224da0106eec527d73fa3939bbd0e499"}]}
