)]}'
{"barbicanclient/client.py":[{"author":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"change_message_id":"2649584c0486bd1a608700ab3f377a74c48ecc78","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        super(_HTTPClient, self).__init__(session, **kwargs)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"        if not endpoint:"},{"line_number":71,"context_line":"            endpoint \u003d self.get_endpoint()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        self.endpoint_override \u003d \u0027{0}/{1}\u0027.format(endpoint,"},{"line_number":74,"context_line":"                                                  _DEFAULT_API_VERSION)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5aa745d1_caff4433","line":71,"updated":"2015-04-16 11:45:52.000000000","message":"do you have standard discovery set up on the / ? if so you could pass a version\u003dX to __init__ here and it would figure this out for you.","commit_id":"2fccb38c544ec44362fa2800f62aa5abef8c449f"},{"author":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"change_message_id":"d163941a716667fd68ccf0a354887a4c8208ac04","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        super(_HTTPClient, self).__init__(session, **kwargs)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"        if not endpoint:"},{"line_number":71,"context_line":"            endpoint \u003d self.get_endpoint()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        self.endpoint_override \u003d \u0027{0}/{1}\u0027.format(endpoint,"},{"line_number":74,"context_line":"                                                  _DEFAULT_API_VERSION)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_45f2209c","line":71,"in_reply_to":"3ab451fb_bf98d36b","updated":"2015-04-16 21:44:14.000000000","message":"actually having thought about it, a better way to do this would be to append the _DEFAULT_API_VERSION to the start of the url in request()","commit_id":"2fccb38c544ec44362fa2800f62aa5abef8c449f"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1a43532c4855c8d74af2f0f055e0e71abb9f9f48","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        super(_HTTPClient, self).__init__(session, **kwargs)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"        if not endpoint:"},{"line_number":71,"context_line":"            endpoint \u003d self.get_endpoint()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        self.endpoint_override \u003d \u0027{0}/{1}\u0027.format(endpoint,"},{"line_number":74,"context_line":"                                                  _DEFAULT_API_VERSION)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_bf98d36b","line":71,"in_reply_to":"5aa745d1_08cf74b1","updated":"2015-04-16 20:34:33.000000000","message":"Please see blueprint: https://blueprints.launchpad.net/barbican/+spec/fix-version-api","commit_id":"2fccb38c544ec44362fa2800f62aa5abef8c449f"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"13ef4e74cf2315d1962e8982e697e72d261ea9d8","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        super(_HTTPClient, self).__init__(session, **kwargs)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"        if not endpoint:"},{"line_number":71,"context_line":"            endpoint \u003d self.get_endpoint()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"        self.endpoint_override \u003d \u0027{0}/{1}\u0027.format(endpoint,"},{"line_number":74,"context_line":"                                                  _DEFAULT_API_VERSION)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5aa745d1_08cf74b1","line":71,"in_reply_to":"5aa745d1_caff4433","updated":"2015-04-16 12:19:47.000000000","message":"No, there is work coming later to enable that though. I will ask the person that was gonna work on that, else, I will take that.","commit_id":"2fccb38c544ec44362fa2800f62aa5abef8c449f"},{"author":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"change_message_id":"d163941a716667fd68ccf0a354887a4c8208ac04","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def request(self, *args, **kwargs):"},{"line_number":84,"context_line":"        headers \u003d kwargs.setdefault(\u0027headers\u0027, {})"},{"line_number":85,"context_line":"        headers.update(self._default_headers)"},{"line_number":86,"context_line":"        resp \u003d super(_HTTPClient, self).request(*args, **kwargs)"},{"line_number":87,"context_line":"        # NOTE(jamielennox): _check_status_code is being completely ignored as"},{"line_number":88,"context_line":"        # errors are being raised from session.request. This behaviour is"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_853f0825","line":85,"updated":"2015-04-16 21:44:14.000000000","message":"here, if you break args to url and method then append DEFAULT_API_VERSION to the url then you will achieve the same effect without having to specify an override","commit_id":"2fccb38c544ec44362fa2800f62aa5abef8c449f"}],"functionaltests/client/test_client_connectivity.py":[{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"17f2b6cbaa6aefc3da69e1d6275a33e3de874790","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    @classmethod"},{"line_number":29,"context_line":"    def setUpClass(cls):"},{"line_number":30,"context_line":"        super(WhenTestingClientConnectivity, cls).setUpClass()"},{"line_number":31,"context_line":"        if \u0027v2\u0027 in CONF.identity.auth_version:"},{"line_number":32,"context_line":"            cls.auth \u003d identity.v2.Password("},{"line_number":33,"context_line":"                auth_url\u003dCONF.identity.uri,"},{"line_number":34,"context_line":"                username\u003dCONF.keymanager.username,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5aa745d1_5b5c1f25","line":31,"updated":"2015-04-16 15:24:21.000000000","message":"I\u0027m a little confused -- what CONF does barbicanclient use? I didn\u0027t know of a conf file, just ths OS_ environment vars, or commandline args.\n\nIn barbican.py there is the setup for argparse which uses:\n\n_DEFAULT_IDENTITY_API_VERSION \u003d \u00273.0\u0027\n\nand \n\napi_version \u003d args.os_identity_api_version\n\nWhich also implies that we use \"2.0\" or \"3.0\" (which is wrong I think, it should be just \"2\" or \"3\" I think to match what the server uses, and since there is no 3.0 AFAIK).","commit_id":"2fccb38c544ec44362fa2800f62aa5abef8c449f"},{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"68a3cf0b42b2959412188fe98ca5543adca0f7ae","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    @classmethod"},{"line_number":29,"context_line":"    def setUpClass(cls):"},{"line_number":30,"context_line":"        super(WhenTestingClientConnectivity, cls).setUpClass()"},{"line_number":31,"context_line":"        if \u0027v2\u0027 in CONF.identity.auth_version:"},{"line_number":32,"context_line":"            cls.auth \u003d identity.v2.Password("},{"line_number":33,"context_line":"                auth_url\u003dCONF.identity.uri,"},{"line_number":34,"context_line":"                username\u003dCONF.keymanager.username,"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_bf43336c","line":31,"in_reply_to":"3ab451fb_dfc03fe3","updated":"2015-04-16 20:47:29.000000000","message":"Oh derp, it\u0027s the functional test conf.","commit_id":"2fccb38c544ec44362fa2800f62aa5abef8c449f"},{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"3c4e1041a9ef4817f50403a0b4ad7eb7a1bc655f","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    @classmethod"},{"line_number":29,"context_line":"    def setUpClass(cls):"},{"line_number":30,"context_line":"        super(WhenTestingClientConnectivity, cls).setUpClass()"},{"line_number":31,"context_line":"        if \u0027v2\u0027 in CONF.identity.auth_version:"},{"line_number":32,"context_line":"            cls.auth \u003d identity.v2.Password("},{"line_number":33,"context_line":"                auth_url\u003dCONF.identity.uri,"},{"line_number":34,"context_line":"                username\u003dCONF.keymanager.username,"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_dfc03fe3","line":31,"in_reply_to":"5aa745d1_5b5c1f25","updated":"2015-04-16 20:45:36.000000000","message":"Yeah, I\u0027m not clear on where this CONF is being read either?","commit_id":"2fccb38c544ec44362fa2800f62aa5abef8c449f"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"b4d383f4b093cd680d84e05750779d3cd39d0b09","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# implied."},{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":"import logging"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from functionaltests.base import BaseTestCase"},{"line_number":18,"context_line":"from barbicanclient import client"}],"source_content_type":"text/x-python","patch_set":7,"id":"bab921fb_219d2d66","line":15,"updated":"2015-04-25 15:35:17.000000000","message":"I am wondering how this testcase fits into the existing client test structure.  We have base.py which is the BaseTestCase which does a lot of this work (for example see setupClass) so maybe we could leverage that code and put this into functionaltests/client/v1/functional/test_connectivity.py?","commit_id":"3f84b0c5c3dccecb5e535575c64ebfc21549158a"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"1122a1c942b83316399ff7c8bda4e88227d96ae4","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# implied."},{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":"import logging"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from functionaltests.base import BaseTestCase"},{"line_number":18,"context_line":"from barbicanclient import client"}],"source_content_type":"text/x-python","patch_set":7,"id":"bab921fb_90567628","line":15,"in_reply_to":"bab921fb_219d2d66","updated":"2015-04-26 10:45:21.000000000","message":"so you\u0027re saying that we could drop the inheritance from BaseTestCase here?","commit_id":"3f84b0c5c3dccecb5e535575c64ebfc21549158a"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3104c43f454c86c10c0a0f6a402080aaeadedcbd","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# implied."},{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":"import logging"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from functionaltests.base import BaseTestCase"},{"line_number":18,"context_line":"from barbicanclient import client"}],"source_content_type":"text/x-python","patch_set":7,"id":"bab921fb_d343d511","line":15,"in_reply_to":"bab921fb_90567628","updated":"2015-04-26 20:16:26.000000000","message":"just thinking out loud that we could somehow use the same code that each setup uses.","commit_id":"3f84b0c5c3dccecb5e535575c64ebfc21549158a"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"b4d383f4b093cd680d84e05750779d3cd39d0b09","unresolved":false,"context_lines":[{"line_number":23,"context_line":"CONF \u003d config.CONF"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class WhenTestingClientConnectivity(BaseTestCase):"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    @classmethod"},{"line_number":29,"context_line":"    def setUpClass(cls):"}],"source_content_type":"text/x-python","patch_set":7,"id":"bab921fb_41714175","line":26,"updated":"2015-04-25 15:35:17.000000000","message":"this is more of a unit test name.  ClientConnectivityTest would better fit the functional tests.","commit_id":"3f84b0c5c3dccecb5e535575c64ebfc21549158a"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"1122a1c942b83316399ff7c8bda4e88227d96ae4","unresolved":false,"context_lines":[{"line_number":23,"context_line":"CONF \u003d config.CONF"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class WhenTestingClientConnectivity(BaseTestCase):"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    @classmethod"},{"line_number":29,"context_line":"    def setUpClass(cls):"}],"source_content_type":"text/x-python","patch_set":7,"id":"bab921fb_50333e14","line":26,"in_reply_to":"bab921fb_41714175","updated":"2015-04-26 10:45:21.000000000","message":"I was actually planning to touch the topic of test naming in the summit.","commit_id":"3f84b0c5c3dccecb5e535575c64ebfc21549158a"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3104c43f454c86c10c0a0f6a402080aaeadedcbd","unresolved":false,"context_lines":[{"line_number":23,"context_line":"CONF \u003d config.CONF"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class WhenTestingClientConnectivity(BaseTestCase):"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    @classmethod"},{"line_number":29,"context_line":"    def setUpClass(cls):"}],"source_content_type":"text/x-python","patch_set":7,"id":"bab921fb_b34d0140","line":26,"in_reply_to":"bab921fb_50333e14","updated":"2015-04-26 20:16:26.000000000","message":"sounds good","commit_id":"3f84b0c5c3dccecb5e535575c64ebfc21549158a"}]}
