)]}'
{"marconi/__init__.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"4590e98c6421b25699c05858c930daa76965a444","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    import gettext"},{"line_number":24,"context_line":"    gettext.install(\u0027marconi\u0027, unicode\u003d1)"},{"line_number":25,"context_line":"    import marconi.queues.public.bootstrap"},{"line_number":26,"context_line":"    Bootstrap \u003d marconi.queues.public.bootstrap.Bootstrap"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"import marconi.version"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATH%2F%2Fv%2BQ%3D","line":26,"updated":"2013-10-10 11:30:22.000000000","message":"This __init__ assumes that the Bootstrap we want to hoist is the public one (leaving out /v1/catalogue and /v1/shards routes). Perhaps it\u0027d make sense not to hoist this up in the future?","commit_id":"79254f534078b20dd9c10a0cd7c74926437c616b"}],"marconi/common/transport/wsgi/health.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"4590e98c6421b25699c05858c930daa76965a444","unresolved":false,"context_lines":[{"line_number":23,"context_line":"        resp.status \u003d falcon.HTTP_204"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def on_head(self, req, resp, **kwargs):"},{"line_number":26,"context_line":"        resp.status \u003d falcon.HTTP_204"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATH%2F%2Fv%2BI%3D","line":26,"updated":"2013-10-10 11:30:22.000000000","message":"Changed to kwargs to allow for use in routes that have the project_id injected into them as well as routes that do not (/v1/health vs. /v1/health/{project_id}). The latter is the result of a before_hook on queues-public-api.","commit_id":"79254f534078b20dd9c10a0cd7c74926437c616b"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    def on_get(self, req, resp, **kwargs):"},{"line_number":23,"context_line":"        resp.status \u003d falcon.HTTP_204"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def on_head(self, req, resp, **kwargs):"},{"line_number":26,"context_line":"        resp.status \u003d falcon.HTTP_204"}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F%2BMs%3D","line":25,"updated":"2013-10-23 13:55:04.000000000","message":"This was done to make the Health Resource compatible with the proxy, which does not require project_id for all end points.\n\nNote that we\u0027ll be removing the proxy in the future. This change still remains relevant because it allows us to construct health end points that do not care about project_id.","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"}],"marconi/proxy/transport/wsgi/admin/driver.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"\"\"\"marconi-proxy (admin): interface for managing partitions.\"\"\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from marconi.common.transport.wsgi import health"},{"line_number":19,"context_line":"from marconi.proxy.transport.wsgi import ("},{"line_number":20,"context_line":"    catalogue, driver, partitions,"},{"line_number":21,"context_line":")"}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F%2BMY%3D","line":18,"updated":"2013-10-23 13:55:04.000000000","message":"Here, we move towards using the common health resource.","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"}],"marconi/proxy/transport/wsgi/driver.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"4590e98c6421b25699c05858c930daa76965a444","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        version_path \u003d version.path()"},{"line_number":70,"context_line":"        self.app \u003d falcon.API(before\u003d[helpers.require_accepts_json])"},{"line_number":71,"context_line":"        for route, resource in self.bridge:"},{"line_number":72,"context_line":"            print(self.storage)"},{"line_number":73,"context_line":"            self.app.add_route(version_path + route, resource)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    # TODO(cpp-cabrera): refactor to avoid duplication with queues..wsgi"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATH%2F%2Fv98%3D","line":72,"updated":"2013-10-10 11:30:22.000000000","message":"oops... I\u0027ll fix this up soon.","commit_id":"79254f534078b20dd9c10a0cd7c74926437c616b"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from oslo.config import cfg"},{"line_number":23,"context_line":"import six"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"from marconi.common.transport import version"},{"line_number":26,"context_line":"from marconi.common.transport.wsgi import helpers"},{"line_number":27,"context_line":"import marconi.openstack.common.log as logging"},{"line_number":28,"context_line":"from marconi.proxy import transport"}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F%2BMQ%3D","line":25,"updated":"2013-10-23 13:55:04.000000000","message":"versioning was moved to a common module. Eventually, it would make sense to move this out to a config file, but I\u0027d like to leave that for a future patch.","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"}],"marconi/proxy/transport/wsgi/health.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2013 Rackspace Hosting, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F%2BMM%3D","side":"PARENT","line":1,"updated":"2013-10-23 13:55:04.000000000","message":"Made redundant by the common health resource.","commit_id":"3e0ffc4f496fcfbbd1d1358a00f7b47af5628b83"}],"marconi/proxy/transport/wsgi/public/driver.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"4590e98c6421b25699c05858c930daa76965a444","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"class Driver(driver.DriverBase):"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    def __init__(self, storage, cache):"},{"line_number":30,"context_line":"        super(Driver, self).__init__(storage, cache)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATH%2F%2Fv90%3D","line":29,"updated":"2013-10-10 11:30:22.000000000","message":"It\u0027s the little things...","commit_id":"79254f534078b20dd9c10a0cd7c74926437c616b"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"class Driver(driver.DriverBase):"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    def __init__(self, storage, cache):"},{"line_number":30,"context_line":"        super(Driver, self).__init__(storage, cache)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F%2BMI%3D","line":29,"updated":"2013-10-23 13:55:04.000000000","message":"Catching the tiniest typos - magic methods have some dangers. :)","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"}],"marconi/queues/transport/base.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":23,"context_line":"]"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":27,"context_line":"class DriverBase(object):"},{"line_number":28,"context_line":"    \"\"\"Base class for Transport Drivers to document the expected interface."},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F%2BLw%3D","line":26,"updated":"2013-10-23 13:55:04.000000000","message":"Let\u0027s migrate to using six.add_metaclass wherever possible.","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"f2c6b2e26f0cfd1f942af4b95846d4d3880fe0be","unresolved":false,"context_lines":[{"line_number":23,"context_line":"]"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":27,"context_line":"class DriverBase(object):"},{"line_number":28,"context_line":"    \"\"\"Base class for Transport Drivers to document the expected interface."},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATn%2F%2F%2BB8%3D","line":26,"in_reply_to":"AAAATX%2F%2F%2BLw%3D","updated":"2013-10-24 13:52:02.000000000","message":"+1","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"}],"marconi/queues/transport/wsgi/admin/driver.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"70beb78c84ca6ff115bfe6e27bbc7a53593f9164","unresolved":false,"context_lines":[{"line_number":37,"context_line":"            (\u0027/catalogue\u0027,"},{"line_number":38,"context_line":"             catalogue.Listing(catalogue_controller)),"},{"line_number":39,"context_line":"            (\u0027/catalogue/{queue}\u0027,"},{"line_number":40,"context_line":"             catalogue.Resource(catalogue_controller)),"},{"line_number":41,"context_line":"            (\u0027/health\u0027,"},{"line_number":42,"context_line":"             health.Resource())"},{"line_number":43,"context_line":"        ]"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATH%2F%2Fv8M%3D","line":40,"updated":"2013-10-10 11:32:16.000000000","message":"Consider these routes cruft for the moment. Actually, I\u0027ll go ahead and remove them for now, and inject the appropriate /v1/shards route when the time comes to integrate the new storage driver and the new transport resource.","commit_id":"79254f534078b20dd9c10a0cd7c74926437c616b"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    def __init__(self, conf, storage, cache):"},{"line_number":25,"context_line":"        super(Driver, self).__init__(conf, storage, cache)"},{"line_number":26,"context_line":"        self.public \u003d public_driver.Driver(conf, storage, cache)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    @property"},{"line_number":29,"context_line":"    def bridge(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F%2BLk%3D","line":26,"updated":"2013-10-23 13:55:04.000000000","message":"I found a cleaner way to do this by the final patch in this branch. The idea becomes - admin drivers are a super public driver! They can do everything a public driver can do + admin functions. Therefore, I inherit and call the super\u0027s bridge below.\n\nKeep in mind that I\u0027ve improved this by the final patch in this line. :P","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"bbf90cf43b830cc6386951a8296cec3db36b433e","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    def bridge(self):"},{"line_number":30,"context_line":"        return self.public.bridge + ["},{"line_number":31,"context_line":"            (\u0027/health\u0027,"},{"line_number":32,"context_line":"             health.Resource())"},{"line_number":33,"context_line":"        ]"}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F9pM%3D","line":32,"updated":"2013-10-23 15:46:40.000000000","message":"Health is exposed on both the admin resource and on the public resource. Notice that this leads to a double-dose of health when running in admin mode. This will be fixed in the final patch in this line, and has already been noted there.","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"}],"marconi/queues/transport/wsgi/driver.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        self.app \u003d falcon.API(before\u003dbefore_hooks)"},{"line_number":72,"context_line":"        version_path \u003d version.path()"},{"line_number":73,"context_line":"        for route, resource in self.bridge:"},{"line_number":74,"context_line":"            self.app.add_route(version_path + route, resource)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def _init_middleware(self):"},{"line_number":77,"context_line":"        \"\"\"Initialize WSGI middlewarez.\"\"\""}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAATX%2F%2F%2BLU%3D","line":74,"updated":"2013-10-23 13:55:04.000000000","message":"This is done to unify the route-building mechanics across admin/public interfaces, and begins to open up the possibility for abstracting away API version differences.","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"}],"marconi/queues/transport/wsgi/public/driver.py":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"4590e98c6421b25699c05858c930daa76965a444","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        return ["},{"line_number":37,"context_line":"            # Home"},{"line_number":38,"context_line":"            (\u0027/\u0027,"},{"line_number":39,"context_line":"             v1.V1Resource()),"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"            # Queues Endpoints"},{"line_number":42,"context_line":"            (\u0027/queues\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATH%2F%2Fv8s%3D","line":39,"updated":"2013-10-10 11:30:22.000000000","message":"This seems terribly redundant: *v1*.*V1*Resource(). I\u0027ve filed a bug for this kind of thing in our code base: https://bugs.launchpad.net/marconi/+bug/1237747","commit_id":"79254f534078b20dd9c10a0cd7c74926437c616b"}],"setup.cfg":[{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"5b127d3ada0cb51bd65abe1ee8f0348dc69b3cf7","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"marconi.queues.storage \u003d"},{"line_number":30,"context_line":"    sqlite \u003d marconi.queues.storage.sqlite.driver:Driver"},{"line_number":31,"context_line":"    mongodb \u003d marconi.queues.storage.mongodb.driver:Driver"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"marconi.queues.public.transport \u003d"},{"line_number":34,"context_line":"    wsgi \u003d marconi.queues.transport.wsgi.public.driver:Driver"}],"source_content_type":"text/x-ttcn-cfg","patch_set":12,"id":"AAAATX%2F%2F%2BLM%3D","line":31,"updated":"2013-10-23 13:55:04.000000000","message":"In upcoming patches in the admin API feature line, I also separate out the storage drivers into admin/public interfaces.","commit_id":"13d7974cb9886f42d29930a2b05b14808408683e"}]}
