)]}'
{"marconi/proxy/storage/base.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"84a6f0e6cd482eb59ccd40e8543bc8a8fed43c94","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        raise NotImplementedError"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    @abc.abstractmethod"},{"line_number":95,"context_line":"    def drop(self):"},{"line_number":96,"context_line":"        \"\"\"Drops all partitions from storage.\"\"\""},{"line_number":97,"context_line":"        raise NotImplementedError"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FZWs%3D","line":95,"updated":"2013-09-27 15:52:47.000000000","message":"mmh, drop is not that clear to me. What about `flush` or drop_all ?","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"607f0b15fab370407c289fde70988bb082c41d01","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        raise NotImplementedError"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    @abc.abstractmethod"},{"line_number":95,"context_line":"    def drop(self):"},{"line_number":96,"context_line":"        \"\"\"Drops all partitions from storage.\"\"\""},{"line_number":97,"context_line":"        raise NotImplementedError"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FYUE%3D","line":95,"in_reply_to":"AAAAS3%2F%2FYV8%3D","updated":"2013-09-27 19:16:51.000000000","message":"I see what you\u0027re saying. I\u0027ll go with drop_all to avoid possible ambiguity. Thanks!","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"9eadf7063e93888901355fa6d4b0e20097c33209","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        raise NotImplementedError"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    @abc.abstractmethod"},{"line_number":95,"context_line":"    def drop(self):"},{"line_number":96,"context_line":"        \"\"\"Drops all partitions from storage.\"\"\""},{"line_number":97,"context_line":"        raise NotImplementedError"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FYV8%3D","line":95,"in_reply_to":"AAAAS3%2F%2FYto%3D","updated":"2013-09-27 19:06:49.000000000","message":"I figured so. \n\nI\u0027m not fully opposed to drop, it\u0027s just that I read it as dropping 1 thing. As for mongodb, we\u0027re dropping 1 collection but in the proxy we\u0027re deleting many catalogs or partitions.\n\nI\u0027d like to make it clear that this drops the `whole` thing as in \"you\u0027re deleting all your records\".\n\nHopefully, I\u0027m not getting to philosophical here. Thoughts?","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"07f90b0287670b4ff3ecd214379afba6e1ad7d2a","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        raise NotImplementedError"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    @abc.abstractmethod"},{"line_number":95,"context_line":"    def drop(self):"},{"line_number":96,"context_line":"        \"\"\"Drops all partitions from storage.\"\"\""},{"line_number":97,"context_line":"        raise NotImplementedError"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FYto%3D","line":95,"in_reply_to":"AAAAS3%2F%2FZWs%3D","updated":"2013-09-27 17:41:06.000000000","message":"I was going with the convention used in pymongo: http://api.mongodb.org/python/current/api/pymongo/collection.html#pymongo.collection.Collection.drop\n\nWhat do you think?","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"}],"marconi/proxy/storage/mongodb/partitions.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"84a6f0e6cd482eb59ccd40e8543bc8a8fed43c94","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    @utils.raises_conn_error"},{"line_number":83,"context_line":"    def drop(self):"},{"line_number":84,"context_line":"        self._col.drop()"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"def _normalize(entry):"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FZUc%3D","line":84,"updated":"2013-09-27 15:52:47.000000000","message":"This is a bit harmful. If the collection is dropped and the storage is never `instanciated` again, the collection will be re-created without indexes on the next write operation.\n\nI\u0027d suggest using drop + ensure_index.","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"07f90b0287670b4ff3ecd214379afba6e1ad7d2a","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    @utils.raises_conn_error"},{"line_number":83,"context_line":"    def drop(self):"},{"line_number":84,"context_line":"        self._col.drop()"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"def _normalize(entry):"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FYtg%3D","line":84,"in_reply_to":"AAAAS3%2F%2FZUc%3D","updated":"2013-09-27 17:41:06.000000000","message":"Thanks! I\u0027ll fix this up.","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"}],"marconi/proxy/transport/wsgi/driver.py":[{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"0c098ffbc1d316bd97a230d6717d0857f8221512","unresolved":false,"context_lines":[{"line_number":30,"context_line":"from marconi.common import config"},{"line_number":31,"context_line":"import marconi.openstack.common.log as logging"},{"line_number":32,"context_line":"from marconi.proxy import transport"},{"line_number":33,"context_line":"from marconi.proxy.transport.wsgi import catalogue"},{"line_number":34,"context_line":"from marconi.proxy.transport.wsgi import forward"},{"line_number":35,"context_line":"from marconi.proxy.transport.wsgi import health"},{"line_number":36,"context_line":"from marconi.proxy.transport.wsgi import metadata"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2FblI%3D","line":33,"updated":"2013-09-26 19:17:28.000000000","message":"Just import wsgi and do wsgi.foo","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"395a7dc1e39ea893cd957af51b67cdc9c5cf7dc0","unresolved":false,"context_lines":[{"line_number":30,"context_line":"from marconi.common import config"},{"line_number":31,"context_line":"import marconi.openstack.common.log as logging"},{"line_number":32,"context_line":"from marconi.proxy import transport"},{"line_number":33,"context_line":"from marconi.proxy.transport.wsgi import catalogue"},{"line_number":34,"context_line":"from marconi.proxy.transport.wsgi import forward"},{"line_number":35,"context_line":"from marconi.proxy.transport.wsgi import health"},{"line_number":36,"context_line":"from marconi.proxy.transport.wsgi import metadata"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2FbaU%3D","line":33,"in_reply_to":"AAAAS3%2F%2FblI%3D","updated":"2013-09-26 20:20:17.000000000","message":"Awesome, thanks!","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"0c098ffbc1d316bd97a230d6717d0857f8221512","unresolved":false,"context_lines":[{"line_number":42,"context_line":"from marconi.queues.transport import auth"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"_V \u003d \u0027/\u0027 + version.version"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"OPTIONS \u003d {"},{"line_number":48,"context_line":"    \u0027bind\u0027: \u00270.0.0.0\u0027,"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2Fbk0%3D","line":45,"updated":"2013-09-26 19:17:28.000000000","message":"_VER","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"395a7dc1e39ea893cd957af51b67cdc9c5cf7dc0","unresolved":false,"context_lines":[{"line_number":42,"context_line":"from marconi.queues.transport import auth"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"_V \u003d \u0027/\u0027 + version.version"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"OPTIONS \u003d {"},{"line_number":48,"context_line":"    \u0027bind\u0027: \u00270.0.0.0\u0027,"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2FbaQ%3D","line":45,"in_reply_to":"AAAAS3%2F%2Fbk0%3D","updated":"2013-09-26 20:20:17.000000000","message":"+1","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"0c098ffbc1d316bd97a230d6717d0857f8221512","unresolved":false,"context_lines":[{"line_number":151,"context_line":"            strategy \u003d auth.strategy(GLOBAL_CFG.auth_strategy)"},{"line_number":152,"context_line":"            self.app \u003d strategy.install(self.app, PROJECT_CFG.conf)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    def listen(self):"},{"line_number":155,"context_line":"        \"\"\"Listens on the \u0027bind:port\u0027 as per the config.\"\"\""},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"        msg \u003d _(u\u0027Serving on host {bind}:{port}\u0027).format("}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2Fbj4%3D","line":154,"updated":"2013-09-26 19:17:28.000000000","message":"I can haz marconi-proxy cmd (future patch).","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"395a7dc1e39ea893cd957af51b67cdc9c5cf7dc0","unresolved":false,"context_lines":[{"line_number":151,"context_line":"            strategy \u003d auth.strategy(GLOBAL_CFG.auth_strategy)"},{"line_number":152,"context_line":"            self.app \u003d strategy.install(self.app, PROJECT_CFG.conf)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    def listen(self):"},{"line_number":155,"context_line":"        \"\"\"Listens on the \u0027bind:port\u0027 as per the config.\"\"\""},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"        msg \u003d _(u\u0027Serving on host {bind}:{port}\u0027).format("}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2Fbac%3D","line":154,"in_reply_to":"AAAAS3%2F%2Fbj4%3D","updated":"2013-09-26 20:20:17.000000000","message":"Bug report issued: https://bugs.launchpad.net/marconi/+bug/1231663\n\nThanks!","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"84a6f0e6cd482eb59ccd40e8543bc8a8fed43c94","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    if not req.client_accepts(\u0027application/json\u0027):"},{"line_number":60,"context_line":"        raise falcon.HTTPNotAcceptable("},{"line_number":61,"context_line":"            u\u0027\u0027\u0027"},{"line_number":62,"context_line":"Endpoint only serves `application/json`; specify client-side"},{"line_number":63,"context_line":"media type support with the \"Accept\" header.\u0027\u0027\u0027,"},{"line_number":64,"context_line":"            href\u003du\u0027http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html\u0027,"},{"line_number":65,"context_line":"            href_text\u003du\u002714.1 Accept, Hypertext Transfer Protocol -- HTTP/1.1\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FZP4%3D","line":62,"updated":"2013-09-27 15:52:47.000000000","message":"TBH, I think it looks better to have this messages in a variable, wrapped with () than using raw strings. Not big deal, just a sharing.","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"07f90b0287670b4ff3ecd214379afba6e1ad7d2a","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    if not req.client_accepts(\u0027application/json\u0027):"},{"line_number":60,"context_line":"        raise falcon.HTTPNotAcceptable("},{"line_number":61,"context_line":"            u\u0027\u0027\u0027"},{"line_number":62,"context_line":"Endpoint only serves `application/json`; specify client-side"},{"line_number":63,"context_line":"media type support with the \"Accept\" header.\u0027\u0027\u0027,"},{"line_number":64,"context_line":"            href\u003du\u0027http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html\u0027,"},{"line_number":65,"context_line":"            href_text\u003du\u002714.1 Accept, Hypertext Transfer Protocol -- HTTP/1.1\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FYso%3D","line":62,"in_reply_to":"AAAAS3%2F%2FZP4%3D","updated":"2013-09-27 17:41:06.000000000","message":"I agree. I\u0027ll leave that for a later patch, though. :)","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"    # TODO(cpp-cabrera): refactor to avoid duplication with queues..wsgi"},{"line_number":145,"context_line":"    def _init_middleware(self):"},{"line_number":146,"context_line":"        \"\"\"Initialize WSGI middlewarez.\"\"\""},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        # NOTE(flaper87): Install Auth"},{"line_number":149,"context_line":"        if GLOBAL_CFG.auth_strategy:"}],"source_content_type":"text/x-python","patch_set":13,"id":"AAAAS3%2F%2FM8w%3D","line":146,"updated":"2013-10-02 13:26:02.000000000","message":"middlewares* ?","commit_id":"08c639019c4ef95bdcdcb132ecd3603d3ef10591"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"607f0b15fab370407c289fde70988bb082c41d01","unresolved":false,"context_lines":[{"line_number":143,"context_line":""},{"line_number":144,"context_line":"    # TODO(cpp-cabrera): refactor to avoid duplication with queues..wsgi"},{"line_number":145,"context_line":"    def _init_middleware(self):"},{"line_number":146,"context_line":"        \"\"\"Initialize WSGI middlewarez.\"\"\""},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        # NOTE(flaper87): Install Auth"},{"line_number":149,"context_line":"        if GLOBAL_CFG.auth_strategy:"}],"source_content_type":"text/x-python","patch_set":13,"id":"AAAAS3%2F%2FM30%3D","line":146,"in_reply_to":"AAAAS3%2F%2FM8w%3D","updated":"2013-10-02 13:39:15.000000000","message":"Hehe, this typo exists over on queues-side, too. I vote for patching this one up later. :)","commit_id":"08c639019c4ef95bdcdcb132ecd3603d3ef10591"}],"marconi/proxy/transport/wsgi/metadata.py":[{"author":{"_account_id":6943,"name":"Zhihao Yuan","email":"zhihao.yuan@rackspace.com","username":"zyuan"},"change_message_id":"6ee36e6ce4b54c75beb0cfcd7339672465c4faf1","unresolved":false,"context_lines":[{"line_number":30,"context_line":"            partitions_controller, catalogue_controller,"},{"line_number":31,"context_line":"            cache, selector, methods\u003d[\u0027get\u0027])"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def on_get(self, request, response, queue):"},{"line_number":34,"context_line":"        self._forward(request, response, queue)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def on_put(self, request, response, queue):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAS3%2F%2FtB0%3D","line":33,"updated":"2013-09-20 22:36:04.000000000","message":"Why need this line?  \u0027get\u0027 is already been forwarded with `methods\u003d[\u0027get\u0027]`, right?","commit_id":"e5a169590698d420d07b2a2ed712f673adecfef2"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"38c354ed61d0a29f78212f00f60537f73e6c7358","unresolved":false,"context_lines":[{"line_number":30,"context_line":"            partitions_controller, catalogue_controller,"},{"line_number":31,"context_line":"            cache, selector, methods\u003d[\u0027get\u0027])"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def on_get(self, request, response, queue):"},{"line_number":34,"context_line":"        self._forward(request, response, queue)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def on_put(self, request, response, queue):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAS3%2F%2Fsyc%3D","line":33,"in_reply_to":"AAAAS3%2F%2FtB0%3D","updated":"2013-09-23 13:00:23.000000000","message":"Good point. This is just cruft. I\u0027ll remove it soon.","commit_id":"e5a169590698d420d07b2a2ed712f673adecfef2"}],"marconi/proxy/transport/wsgi/queues.py":[{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"d803751722c60d51a4854e79dd0768cffc1d88f0","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"import falcon"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"from marconi.proxy.utils import forward"},{"line_number":36,"context_line":"from marconi.proxy.utils import helpers"},{"line_number":37,"context_line":"from marconi.proxy.utils import http"},{"line_number":38,"context_line":"from marconi.proxy.utils import partition"}],"source_content_type":"text/x-python","patch_set":13,"id":"AAAAS3%2F%2FLbI%3D","line":35,"updated":"2013-10-02 21:11:26.000000000","message":"Next time you can just do:\n\nfrom marconi.proxy import utils\n\nutils.forward\nutils.http\nutils.partition","commit_id":"08c639019c4ef95bdcdcb132ecd3603d3ef10591"}],"marconi/proxy/transport/wsgi/version.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"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":13,"id":"AAAAS3%2F%2FM5I%3D","line":1,"updated":"2013-10-02 13:26:02.000000000","message":"General thought. I don\u0027t think this is the best way to handle API versions. I think it\u0027s ok for now and we can revisit this later. Some comments:\n\n  1) We need to be able to enable / disable API versions from the config file\n  2) Different API versions should live in separate packages.","commit_id":"08c639019c4ef95bdcdcb132ecd3603d3ef10591"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"607f0b15fab370407c289fde70988bb082c41d01","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":13,"id":"AAAAS3%2F%2FM3E%3D","line":1,"in_reply_to":"AAAAS3%2F%2FM5I%3D","updated":"2013-10-02 13:39:15.000000000","message":"That\u0027s a great point. I hadn\u0027t even considered being able to launch different versions of the API depending on configuration settings, but I really like that idea.\n\n+2 to this. I\u0027ll file a blueprint.\n\nblueprint versioned-api","commit_id":"08c639019c4ef95bdcdcb132ecd3603d3ef10591"}],"marconi/proxy/utils/forward.py":[{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"0c098ffbc1d316bd97a230d6717d0857f8221512","unresolved":false,"context_lines":[{"line_number":23,"context_line":"class ForwardMixin(object):"},{"line_number":24,"context_line":"    \"\"\"Implements falcon-compatible forwarding for resources"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    :param partitions_controller: talks to partitions storage"},{"line_number":27,"context_line":"    :param catalogue_controller: talks to catalogue storage"},{"line_number":28,"context_line":"    :param cache: localized, fast lookups"},{"line_number":29,"context_line":"    :param selector: @see utils.round_robin - host selection order"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2Fbjc%3D","line":26,"updated":"2013-09-26 19:17:28.000000000","message":"gtk; I need to do this in my code too. :p","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"}],"marconi/proxy/utils/helpers.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"84a6f0e6cd482eb59ccd40e8543bc8a8fed43c94","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    return request.get_header(\u0027x_project_id\u0027) or \u0027_\u0027"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"def forward(host, request):"},{"line_number":29,"context_line":"    \"\"\"Forwards a request."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    :param host: str - URL to host to use"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FZMg%3D","line":28,"updated":"2013-09-27 15:52:47.000000000","message":"I\u0027m a bit worried about this helpers depending directly on Falcon objects. My concern is around the whole Pecan / Falcon issue. I think we can easily make this helpers generic enough to not depend on such objects and be useful for other implementations as well.","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"07f90b0287670b4ff3ecd214379afba6e1ad7d2a","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    return request.get_header(\u0027x_project_id\u0027) or \u0027_\u0027"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"def forward(host, request):"},{"line_number":29,"context_line":"    \"\"\"Forwards a request."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    :param host: str - URL to host to use"}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FYsQ%3D","line":28,"in_reply_to":"AAAAS3%2F%2FZMg%3D","updated":"2013-09-27 17:41:06.000000000","message":"Good point. I\u0027ll file a bug on this (https://bugs.launchpad.net/marconi/+bug/1232159) and come back to it later. Thankfully, I\u0027ve centralized the forwarding logic in this one method (DRYness, w00t!), so this\u0027ll be easy to patch later.","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"d803751722c60d51a4854e79dd0768cffc1d88f0","unresolved":false,"context_lines":[{"line_number":28,"context_line":"def forward(host, request):"},{"line_number":29,"context_line":"    \"\"\"Forwards a request."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    :param host: str - URL to host to use"},{"line_number":32,"context_line":"    :param request: falcon.Request"},{"line_number":33,"context_line":"    :returns: a python-requests response object"},{"line_number":34,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":13,"id":"AAAAS3%2F%2FLag%3D","line":31,"updated":"2013-10-02 21:11:26.000000000","message":":type host: str","commit_id":"08c639019c4ef95bdcdcb132ecd3603d3ef10591"}],"marconi/tests/helpers.py":[{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"0c098ffbc1d316bd97a230d6717d0857f8221512","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    and deletes them once this goes out of scope."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    :param partitions_controller:"},{"line_number":62,"context_line":"    :param count: int - number of partitions to create"},{"line_number":63,"context_line":"    :returns: [(str, int, [str])] - names, weights, hosts"},{"line_number":64,"context_line":"    \"\"\""},{"line_number":65,"context_line":"    spec \u003d [(six.text_type(uuid.uuid1()), i,"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2FbjE%3D","line":62,"updated":"2013-09-26 19:17:28.000000000","message":":type count: int (also the others)","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"395a7dc1e39ea893cd957af51b67cdc9c5cf7dc0","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    and deletes them once this goes out of scope."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    :param partitions_controller:"},{"line_number":62,"context_line":"    :param count: int - number of partitions to create"},{"line_number":63,"context_line":"    :returns: [(str, int, [str])] - names, weights, hosts"},{"line_number":64,"context_line":"    \"\"\""},{"line_number":65,"context_line":"    spec \u003d [(six.text_type(uuid.uuid1()), i,"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAS3%2F%2FbaI%3D","line":62,"in_reply_to":"AAAAS3%2F%2FbjE%3D","updated":"2013-09-26 20:20:17.000000000","message":"Saving the docstring revamp for a future patch.","commit_id":"c484b550939fdda4fb6777eb6ee8ba08e86fe0e9"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"84a6f0e6cd482eb59ccd40e8543bc8a8fed43c94","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    \"\"\"context_manager: Creates `count` partitions in storage,"},{"line_number":59,"context_line":"    and deletes them once this goes out of scope."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    :param partitions_controller:"},{"line_number":62,"context_line":"    :param count: int - number of partitions to create"},{"line_number":63,"context_line":"    :returns: [(str, int, [str])] - names, weights, hosts"},{"line_number":64,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FZMU%3D","line":61,"updated":"2013-09-27 15:52:47.000000000","message":"controller*","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"07f90b0287670b4ff3ecd214379afba6e1ad7d2a","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    \"\"\"context_manager: Creates `count` partitions in storage,"},{"line_number":59,"context_line":"    and deletes them once this goes out of scope."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    :param partitions_controller:"},{"line_number":62,"context_line":"    :param count: int - number of partitions to create"},{"line_number":63,"context_line":"    :returns: [(str, int, [str])] - names, weights, hosts"},{"line_number":64,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":10,"id":"AAAAS3%2F%2FYr8%3D","line":61,"in_reply_to":"AAAAS3%2F%2FZMU%3D","updated":"2013-09-27 17:41:06.000000000","message":"Done","commit_id":"2d15768e1be98b23c9ad18a5610d4d976cbf2a9f"}],"tests/unit/proxy/test_catalog.py":[{"author":{"_account_id":6943,"name":"Zhihao Yuan","email":"zhihao.yuan@rackspace.com","username":"zyuan"},"change_message_id":"6ee36e6ce4b54c75beb0cfcd7339672465c4faf1","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def tearDown(self):"},{"line_number":47,"context_line":"        CatalogTest.proxy.cache.flush()"},{"line_number":48,"context_line":"        CatalogTest.proxy.storage.catalogue_controller.drop()"},{"line_number":49,"context_line":"        super(CatalogTest, self).tearDown()"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    def __add_partitions(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAS3%2F%2FtCA%3D","line":48,"updated":"2013-09-20 22:36:04.000000000","message":"+1","commit_id":"e5a169590698d420d07b2a2ed712f673adecfef2"}]}
