)]}'
{"barbican/api/app.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    return wsgi_app"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"def main_app(func):"},{"line_number":61,"context_line":"    def _wrapper(global_config, **local_conf):"},{"line_number":62,"context_line":"        # Queuing initialization"},{"line_number":63,"context_line":"        CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_bf2dd296","line":60,"updated":"2015-05-20 03:41:37.000000000","message":"can we add unit tests to cover this code and make coverage a bit happier?","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"2439d0426a67a1feb114991a8d55f05b3b4f36da","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        # Queuing initialization"},{"line_number":64,"context_line":"        queue.init(CONF, is_server_side\u003dFalse)"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        # Queuing initialization"},{"line_number":67,"context_line":"        queue.init(CONF, is_server_side\u003dFalse)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        config.setup_remote_pydev_debug()"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_0dbca0da","line":66,"updated":"2015-06-17 23:17:15.000000000","message":"Double double vision vision? :)\n\nI think you are missing the log.setup(...) line instead?","commit_id":"3d43c16c00969ed9b9902555e3cfab7960696f9f"}],"barbican/api/controllers/versions.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    # this is the same as the version string."},{"line_number":46,"context_line":"    version_id \u003d \u0027v1\u0027"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    last_updated \u003d \u00272015-04-28T00:00:00Z\u0027"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def __init__(self):"},{"line_number":51,"context_line":"        LOG.debug(\u0027\u003d\u003d\u003d Creating V1Controller \u003d\u003d\u003d\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_3f3a02cd","line":48,"updated":"2015-05-20 03:41:37.000000000","message":"Should this be updated each time this class changes?  Any way we could have it pull in a timestamp at merge time?","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    @index.when(method\u003d\u0027GET\u0027, template\u003d\u0027json\u0027)"},{"line_number":90,"context_line":"    @utils.allow_certain_content_types(\"application/json\","},{"line_number":91,"context_line":"                                       \"application/json-home\")"},{"line_number":92,"context_line":"    def on_get(self):"},{"line_number":93,"context_line":"        \"\"\"The list of versions is dependent on the context.\"\"\""},{"line_number":94,"context_line":"        self._redirect_to_default_json_home_if_needed(pecan.request)"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_1f33c6f7","line":91,"updated":"2015-05-20 03:41:37.000000000","message":"can you use the constants defined  above (lines 29-30)?","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":112,"context_line":"                ],"},{"line_number":113,"context_line":"                \u0027media-types\u0027: ["},{"line_number":114,"context_line":"                    {"},{"line_number":115,"context_line":"                        \u0027base\u0027: \u0027application/json\u0027,"},{"line_number":116,"context_line":"                        \u0027type\u0027: MEDIA_TYPE_JSON % current_version"},{"line_number":117,"context_line":"                    }"},{"line_number":118,"context_line":"                ]"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_df4f6e69","line":115,"updated":"2015-05-20 03:41:37.000000000","message":"can we use the constant above (line 29)?","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        }"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"        # Since we are returning all the versions available, the proper status"},{"line_number":128,"context_line":"        # code is Multiple Choices (300)"},{"line_number":129,"context_line":"        pecan.response.status \u003d 300"},{"line_number":130,"context_line":"        return version_output"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_9f5576fb","line":128,"updated":"2015-05-20 03:41:37.000000000","message":"The idea here is to return a set of version URLs to the user, right?  The 3xx return code normally says that further action needs to be taken to fulfill the response, but here the list IS the response, and no further action is needed by the client.  Would a 200 be more appropriate?","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        return version_output"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    def _redirect_to_default_json_home_if_needed(self, request):"},{"line_number":133,"context_line":"        if self._mime_best_match(request.accept) \u003d\u003d \u0027application/json-home\u0027:"},{"line_number":134,"context_line":"            url \u003d self.get_versioned_url(request.url, DEFAULT_VERSION)"},{"line_number":135,"context_line":"            LOG.debug(\"Redirecting Request to \" + url)"},{"line_number":136,"context_line":"            # NOTE(jaosorior): This issues an \"external\" redirect because of"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_ff2fca85","line":133,"updated":"2015-05-20 03:41:37.000000000","message":"can you use the constant defined  above (line 30)?","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"ebda53e92ec5830d0ff5cdc740e6d7639bade9fe","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    # this is the same as the version string."},{"line_number":54,"context_line":"    version_id \u003d \u0027v1\u0027"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    last_updated \u003d \u00272015-04-28T00:00:00Z\u0027"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def __init__(self):"},{"line_number":59,"context_line":"        LOG.debug(\u0027\u003d\u003d\u003d Creating V1Controller \u003d\u003d\u003d\u0027)"}],"source_content_type":"text/x-python","patch_set":6,"id":"5afe65bd_d002f10a","line":56,"updated":"2015-06-03 18:39:46.000000000","message":"Is it supposed to be updated with new release or minor version change?","commit_id":"0905978f5232adfa013d4553ac89e5068b37cc16"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"6cc9d208007a6ebb7264eaee3a4f31466d8f9656","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    # this is the same as the version string."},{"line_number":83,"context_line":"    version_id \u003d \u0027v1\u0027"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    last_updated \u003d \u00272015-04-28T00:00:00Z\u0027"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def __init__(self):"},{"line_number":88,"context_line":"        LOG.debug(\u0027\u003d\u003d\u003d Creating V1Controller \u003d\u003d\u003d\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_74043449","line":85,"updated":"2015-06-17 14:16:58.000000000","message":"What\u0027s the policy for updating this string? Would it only be for major releases or any time we update the API?","commit_id":"3d43c16c00969ed9b9902555e3cfab7960696f9f"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"a65714d88d5734db54a4462adfde786e62fde2a1","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    # this is the same as the version string."},{"line_number":83,"context_line":"    version_id \u003d \u0027v1\u0027"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    last_updated \u003d \u00272015-04-28T00:00:00Z\u0027"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def __init__(self):"},{"line_number":88,"context_line":"        LOG.debug(\u0027\u003d\u003d\u003d Creating V1Controller \u003d\u003d\u003d\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_42efeee8","line":85,"in_reply_to":"fa32b979_74043449","updated":"2015-06-17 14:19:10.000000000","message":"Honestly, I tried figuring this out and had no luck :/ Basically the keystone version info has the same thing, some string hardcoded and no real indication on how it will be changed, I hope I can bring this topic to the mid-cycle, but meanwhile I didn\u0027t think having this would be much of an issue.","commit_id":"3d43c16c00969ed9b9902555e3cfab7960696f9f"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"6cc9d208007a6ebb7264eaee3a4f31466d8f9656","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        version_output \u003d {"},{"line_number":143,"context_line":"            \u0027versions\u0027: {"},{"line_number":144,"context_line":"                \u0027values\u0027: versions_info"},{"line_number":145,"context_line":"            }"},{"line_number":146,"context_line":"        }"},{"line_number":147,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_625d5214","line":144,"updated":"2015-06-17 14:16:58.000000000","message":"Why have the values mapping? Why not just have versions_info directly under versions?","commit_id":"3d43c16c00969ed9b9902555e3cfab7960696f9f"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"a65714d88d5734db54a4462adfde786e62fde2a1","unresolved":false,"context_lines":[{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        version_output \u003d {"},{"line_number":143,"context_line":"            \u0027versions\u0027: {"},{"line_number":144,"context_line":"                \u0027values\u0027: versions_info"},{"line_number":145,"context_line":"            }"},{"line_number":146,"context_line":"        }"},{"line_number":147,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_c223fe56","line":144,"in_reply_to":"fa32b979_625d5214","updated":"2015-06-17 14:19:10.000000000","message":"It\u0027s the way it was done in Keystone, and how keystoneclient.discover will parse it.","commit_id":"3d43c16c00969ed9b9902555e3cfab7960696f9f"}],"barbican/tests/api/controllers/test_versions.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    def test_should_return_multiple_choices_on_get(self):"},{"line_number":23,"context_line":"        resp \u003d self.app.get(\u0027/\u0027)"},{"line_number":24,"context_line":"        self.assertEqual(300, resp.status_int)"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    def test_should_return_multiple_choices_on_get_if_json_accept_header(self):"},{"line_number":27,"context_line":"        headers \u003d {\u0027Accept\u0027: \u0027application/json\u0027}"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_ff46aa4d","line":24,"updated":"2015-05-20 03:41:37.000000000","message":"if we change from 300 to 200 then this would change as well","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    def test_should_return_multiple_choices_on_get_if_json_accept_header(self):"},{"line_number":27,"context_line":"        headers \u003d {\u0027Accept\u0027: \u0027application/json\u0027}"},{"line_number":28,"context_line":"        resp \u003d self.app.get(\u0027/\u0027, headers\u003dheaders)"},{"line_number":29,"context_line":"        self.assertEqual(300, resp.status_int)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    def test_should_redirect_if_json_home_accept_header_present(self):"},{"line_number":32,"context_line":"        headers \u003d {\u0027Accept\u0027: \u0027application/json-home\u0027}"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_9f6c56d1","line":29,"updated":"2015-05-20 03:41:37.000000000","message":"same as above","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"6cc9d208007a6ebb7264eaee3a4f31466d8f9656","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    def test_should_redirect_if_json_home_accept_header_present(self):"},{"line_number":32,"context_line":"        headers \u003d {\u0027Accept\u0027: \u0027application/json-home\u0027}"},{"line_number":33,"context_line":"        resp \u003d self.app.get(\u0027/\u0027, headers\u003dheaders)"},{"line_number":34,"context_line":"        self.assertEqual(302, resp.status_int)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def test_should_return_version_json(self):"},{"line_number":37,"context_line":"        resp \u003d self.app.get(\u0027/\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_d76f42fa","line":34,"updated":"2015-06-17 14:16:58.000000000","message":"Should we test anything further like the response from the server? This only tests the return value, but what about the content received?","commit_id":"3d43c16c00969ed9b9902555e3cfab7960696f9f"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"a99f2a580b9b4f5595547927340a1036f89c6f46","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    def test_should_redirect_if_json_home_accept_header_present(self):"},{"line_number":32,"context_line":"        headers \u003d {\u0027Accept\u0027: \u0027application/json-home\u0027}"},{"line_number":33,"context_line":"        resp \u003d self.app.get(\u0027/\u0027, headers\u003dheaders)"},{"line_number":34,"context_line":"        self.assertEqual(302, resp.status_int)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def test_should_return_version_json(self):"},{"line_number":37,"context_line":"        resp \u003d self.app.get(\u0027/\u0027)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa32b979_220bca8f","line":34,"in_reply_to":"fa32b979_d76f42fa","updated":"2015-06-17 14:21:39.000000000","message":"currently the real json-home implementation is not there yet, it will come in a subsequent commit, that\u0027s why I\u0027m only testing for this","commit_id":"3d43c16c00969ed9b9902555e3cfab7960696f9f"}],"functionaltests/api/v1/smoke/test_versions.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"3f825e338fe02dc645f95e3351651780681763b1","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        resp \u003d self.client.get(url_without_version, use_auth\u003duse_auth)"},{"line_number":36,"context_line":"        body \u003d resp.json()"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"        self.assertEqual(resp.status_code, 300)"},{"line_number":39,"context_line":"        versions_response \u003d body[\u0027versions\u0027][\u0027values\u0027]"},{"line_number":40,"context_line":"        v1_info \u003d versions_response[0]"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a016987_7f719aa7","line":38,"updated":"2015-05-20 03:41:37.000000000","message":"if we change from 300 to 200 then this changes","commit_id":"8c9d9b038d0501534537dc348e1103df8e7763f1"}]}
