)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10181,"name":"Dave Thomas","email":"opensource@peoplemerge.com","username":"peoplemerge"},"change_message_id":"0bf5b4311db883e21359ffe7d1480a487fc21b2e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"create, delete, update and list flavors. This API is considered an"},{"line_number":11,"context_line":"admin-only API, hence it\u0027s registered as part of the private endpoints."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Partially-Implements blueprint marconi-queue-flavors"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Id29d29940f2ecabab0531edefe018c0dd2f39811"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_cebb9973","line":13,"updated":"2014-07-17 20:53:32.000000000","message":"In this change, we\u0027re adding administratively-manageable features, right?  Is it the right place for a DocImpact?","commit_id":"523c8f5e76f0f0546c20934270b4bdf970106d33"}],"marconi/common/schemas/flavors.py":[{"author":{"_account_id":8092,"name":"Sriram Madapusi Vasudevan","email":"sriram1991mv@gmail.com","username":"thesriram"},"change_message_id":"c3c1d26440b035b2f232c787e0bca008efc69d92","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":4,"id":"baada198_6b43266b","line":1,"updated":"2014-08-01 19:35:41.000000000","message":"Red Hat perhaps? :P","commit_id":"4be6b060a5f8100780fd889c27e0c07e5b234251"}],"zaqar/common/schemas/flavors.py":[{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"2727521aa0f5f84b5569baacdd565a1b88830f6f","unresolved":false,"context_lines":[{"line_number":19,"context_line":"# each storage driver, so we don\u0027t perform any further validation at"},{"line_number":20,"context_line":"# the transport layer."},{"line_number":21,"context_line":"patch_capabilities \u003d {"},{"line_number":22,"context_line":"    \u0027type\u0027: \u0027object\u0027, \u0027properties\u0027: {"},{"line_number":23,"context_line":"        \u0027capabilities\u0027: {"},{"line_number":24,"context_line":"            \u0027type\u0027: \u0027object\u0027"},{"line_number":25,"context_line":"        }"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_8a2d34b1","line":22,"updated":"2014-08-06 22:41:00.000000000","message":"NIT: Is this formatted this way for some reason? It would be easier to read if all keys are aligned","commit_id":"003c6d118c925c5ed7a81df555143d5632162b3b"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"2727521aa0f5f84b5569baacdd565a1b88830f6f","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"# NOTE(flaper87): a string valid"},{"line_number":30,"context_line":"patch_pool \u003d {"},{"line_number":31,"context_line":"    \u0027type\u0027: \u0027object\u0027, \u0027properties\u0027: {"},{"line_number":32,"context_line":"        \u0027pool\u0027: {"},{"line_number":33,"context_line":"            \u0027type\u0027: \u0027string\u0027"},{"line_number":34,"context_line":"        },"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_aa175852","line":31,"updated":"2014-08-06 22:41:00.000000000","message":"Ditto","commit_id":"003c6d118c925c5ed7a81df555143d5632162b3b"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"2727521aa0f5f84b5569baacdd565a1b88830f6f","unresolved":false,"context_lines":[{"line_number":37,"context_line":"}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"create \u003d {"},{"line_number":40,"context_line":"    \u0027type\u0027: \u0027object\u0027, \u0027properties\u0027: {"},{"line_number":41,"context_line":"        \u0027pool\u0027: patch_pool[\u0027properties\u0027][\u0027pool\u0027],"},{"line_number":42,"context_line":"        \u0027capabilities\u0027: patch_capabilities[\u0027properties\u0027][\u0027capabilities\u0027]"},{"line_number":43,"context_line":"    },"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_ca0e4c3d","line":40,"updated":"2014-08-06 22:41:00.000000000","message":"Ditto","commit_id":"003c6d118c925c5ed7a81df555143d5632162b3b"},{"author":{"_account_id":7498,"name":"Malini Kamalambal","email":"malini.kamalambal@rackspace.com","username":"malini-pk"},"change_message_id":"116e6c5f05f67fde02afafc7042b49b35fc9e1fc","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"create \u003d {"},{"line_number":40,"context_line":"    \u0027type\u0027: \u0027object\u0027, \u0027properties\u0027: {"},{"line_number":41,"context_line":"        \u0027pool\u0027: patch_pool[\u0027properties\u0027][\u0027pool\u0027],"},{"line_number":42,"context_line":"        \u0027capabilities\u0027: patch_capabilities[\u0027properties\u0027][\u0027capabilities\u0027]"},{"line_number":43,"context_line":"    },"},{"line_number":44,"context_line":"    # NOTE(flaper87): capabilities need not be present. Storage drivers"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_917e436c","line":41,"updated":"2014-08-07 01:11:40.000000000","message":"Since this ultimately boils down to \u0027pool\u0027 : {\u0027type\u0027: \u0027string\u0027}, it will be better to just use that directly - makes the schema more readable.","commit_id":"003c6d118c925c5ed7a81df555143d5632162b3b"},{"author":{"_account_id":7498,"name":"Malini Kamalambal","email":"malini.kamalambal@rackspace.com","username":"malini-pk"},"change_message_id":"116e6c5f05f67fde02afafc7042b49b35fc9e1fc","unresolved":false,"context_lines":[{"line_number":39,"context_line":"create \u003d {"},{"line_number":40,"context_line":"    \u0027type\u0027: \u0027object\u0027, \u0027properties\u0027: {"},{"line_number":41,"context_line":"        \u0027pool\u0027: patch_pool[\u0027properties\u0027][\u0027pool\u0027],"},{"line_number":42,"context_line":"        \u0027capabilities\u0027: patch_capabilities[\u0027properties\u0027][\u0027capabilities\u0027]"},{"line_number":43,"context_line":"    },"},{"line_number":44,"context_line":"    # NOTE(flaper87): capabilities need not be present. Storage drivers"},{"line_number":45,"context_line":"    # must provide reasonable defaults."}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_119233a0","line":42,"updated":"2014-08-07 01:11:40.000000000","message":"same here.","commit_id":"003c6d118c925c5ed7a81df555143d5632162b3b"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"632dc212b3f64bbeb74381ba4810c866e083195a","unresolved":false,"context_lines":[{"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":""},{"line_number":16,"context_line":"\"\"\"pools: JSON schema for marconi-queues flavors resources.\"\"\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# NOTE(flaper87): capabilities can be anything. These will be unique to"},{"line_number":19,"context_line":"# each storage driver, so we don\u0027t perform any further validation at"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_c6ff39a9","line":16,"updated":"2014-08-26 10:43:06.000000000","message":"copy-paste issue?\n\nI think it should be \"\"\"flavors: JSON schema for zaqar-queues flavors resources.\"\"\" Please poke me if I missed anything.","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"}],"zaqar/queues/storage/mongodb/flavors.py":[{"author":{"_account_id":10777,"name":"Nataliia Uvarova","email":"grafinya.uvarova@gmail.com","username":"AAzza"},"change_message_id":"e25b4967337de10cacd11a65b04b24d041141f14","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            query[\u0027n\u0027] \u003d {\u0027$gt\u0027: marker}"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        cursor \u003d self._col.find(query, fields\u003d_field_spec(detailed),"},{"line_number":61,"context_line":"                                limit\u003dlimit).sort(\u0027_id\u0027, 1)"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        normalizer \u003d functools.partial(_normalize, detailed\u003ddetailed)"},{"line_number":64,"context_line":"        return utils.HookedCursor(cursor, normalizer)"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_ba6cbf6c","line":61,"updated":"2014-08-08 15:47:54.000000000","message":"Q: cannot understand how this sort works with filter above. We do filter that flavors has `greater` name for listing and do sort by _id. As far as I can see, names are not generated in some consistent way, so they are greater for newly created flavors, or I missing something?","commit_id":"003c6d118c925c5ed7a81df555143d5632162b3b"},{"author":{"_account_id":10777,"name":"Nataliia Uvarova","email":"grafinya.uvarova@gmail.com","username":"AAzza"},"change_message_id":"4f9edb2a720453e42b9504ba5c279ac32f71692d","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            query[\u0027n\u0027] \u003d {\u0027$gt\u0027: marker}"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        cursor \u003d self._col.find(query, fields\u003d_field_spec(detailed),"},{"line_number":61,"context_line":"                                limit\u003dlimit).sort(\u0027_id\u0027, 1)"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        normalizer \u003d functools.partial(_normalize, detailed\u003ddetailed)"},{"line_number":64,"context_line":"        return utils.HookedCursor(cursor, normalizer)"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_57c84a4d","line":61,"updated":"2014-08-13 09:03:38.000000000","message":"BUG: I\u0027ve seen you tried to change sort from (_id, 1) to (n, 1), that caused listing test to fail. I think the problem is not only with code, but also with test.\n\nTest creates flavors with names \u00271\u0027, \u00272\u0027, .., \u002710\u0027 and tests that listing returns them in the same order.\n\nThe sorting order is confused there. There are two options.\n\n1. if sorting is by order of creation:\nthen test is right, and the filter should be by {\u0027_id\u0027: {\u0027gt\u0027: marker} or similar (will not talk now about how to construct this filter for now).  Why current code is wrong? Suppose we added flavors in reverse alphabetical order: \u0027C\u0027, \u0027B\u0027, \u0027A\u0027. The filter by name with marker \u0027B\u0027, will filter out the \u0027A\u0027 and the result will be empty list, which is obviously wrong.\n\n\n2. The sorting order is by name:\nthen the test is wrong, because sorting order of these flavors are \u00271\u0027, \u002710\u0027, \u00272\u0027, ..\u00279\u0027. Then filters should by name and sorting is also by name.","commit_id":"06ff4d955b2dca6e72782d4885450f6457c3305c"}],"zaqar/queues/transport/wsgi/v1_1/flavors.py":[{"author":{"_account_id":10777,"name":"Nataliia Uvarova","email":"grafinya.uvarova@gmail.com","username":"AAzza"},"change_message_id":"b76dcd71b1945e1a12dec65dd98fb3218281c1f1","unresolved":false,"context_lines":[{"line_number":37,"context_line":"        self._ctrl \u003d flavors_controller"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def on_get(self, request, response, project_id):"},{"line_number":40,"context_line":"        \"\"\"Returns a flavor listing as objects embedded in an array:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"        ["},{"line_number":43,"context_line":"            {\"href\": \"\", \"capabilities\": {}, \"pool\": \"\"},"}],"source_content_type":"text/x-python","patch_set":14,"id":"1abeadc6_b7c14056","line":40,"updated":"2014-08-20 14:47:48.000000000","message":"this comment is not true. the method returns {\u0027flavors\u0027: [...]}","commit_id":"2d4eceb8c573b20eefbe086bdfec5413c92e8e68"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"632dc212b3f64bbeb74381ba4810c866e083195a","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        :returns: HTTP | [200, 204]"},{"line_number":48,"context_line":"        \"\"\""},{"line_number":49,"context_line":"        LOG.debug(u\u0027LIST flavors for project_id\u0027)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        store \u003d {}"},{"line_number":52,"context_line":"        request.get_param(\u0027marker\u0027, store\u003dstore)"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_a6acfd8d","line":49,"updated":"2014-08-26 10:43:06.000000000","message":"(nit): How about log the project id to facilitate debug?","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"6cb416afc7691c86f14a1d72cf4b47def64ecd65","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        :returns: HTTP | [200, 204]"},{"line_number":48,"context_line":"        \"\"\""},{"line_number":49,"context_line":"        LOG.debug(u\u0027LIST flavors for project_id\u0027)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        store \u003d {}"},{"line_number":52,"context_line":"        request.get_param(\u0027marker\u0027, store\u003dstore)"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_3c739ab2","line":49,"in_reply_to":"1abeadc6_a6acfd8d","updated":"2014-08-26 10:56:38.000000000","message":"Done","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"632dc212b3f64bbeb74381ba4810c866e083195a","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"class Resource(object):"},{"line_number":71,"context_line":"    \"\"\"A handler for individual pool."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    :param flavors_controller: means to interact with storage"},{"line_number":74,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_86f46188","line":71,"updated":"2014-08-26 10:43:06.000000000","message":"copy-paste issue, pool?","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"6cb416afc7691c86f14a1d72cf4b47def64ecd65","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"class Resource(object):"},{"line_number":71,"context_line":"    \"\"\"A handler for individual pool."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    :param flavors_controller: means to interact with storage"},{"line_number":74,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_1c6edec9","line":71,"in_reply_to":"1abeadc6_86f46188","updated":"2014-08-26 10:56:38.000000000","message":"Done","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"632dc212b3f64bbeb74381ba4810c866e083195a","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        A capabilities object may also be provided."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        :returns: HTTP | [201, 204]"},{"line_number":120,"context_line":"        \"\"\""},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        # NOTE(flaper87): Verify pool exists."}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_81d9ab85","line":119,"updated":"2014-08-26 10:43:06.000000000","message":"Q: What\u0027s the scenario to get 204 status?","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"6cb416afc7691c86f14a1d72cf4b47def64ecd65","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"        A capabilities object may also be provided."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        :returns: HTTP | [201, 204]"},{"line_number":120,"context_line":"        \"\"\""},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        # NOTE(flaper87): Verify pool exists."}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_fc784291","line":119,"in_reply_to":"1abeadc6_81d9ab85","updated":"2014-08-26 10:56:38.000000000","message":"Done","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"9e4706e7a35ab25ba3ce71a58df3c4ea6450baf5","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        :returns: HTTP | [201]"},{"line_number":120,"context_line":"        \"\"\""},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        # NOTE(flaper87): Verify pool exists."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        LOG.debug(u\u0027PUT flavor - name: %s\u0027, flavor)"},{"line_number":125,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"1abeadc6_dc62a615","line":122,"updated":"2014-08-26 11:14:31.000000000","message":"Q: is it a TODO comments? Where is the verification code?","commit_id":"c9d142ba4ab4d3f1c6b87518ce4ad3ec0d63a712"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        ]"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        :returns: HTTP | [200, 204]"},{"line_number":48,"context_line":"        \"\"\""},{"line_number":49,"context_line":"        LOG.debug(u\u0027LIST flavors for project_id %s\u0027 % project_id)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        store \u003d {}"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_e4cd0888","line":48,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: Add a blank line to keep Sphinx happy","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        {\"pool\": \"\", capabilities: {...}}"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        :returns: HTTP | [200, 404]"},{"line_number":91,"context_line":"        \"\"\""},{"line_number":92,"context_line":"        LOG.debug(u\u0027GET flavor - name: %s\u0027, flavor)"},{"line_number":93,"context_line":"        data \u003d None"},{"line_number":94,"context_line":"        detailed \u003d request.get_param_as_bool(\u0027detailed\u0027) or False"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_a4b4f0f2","line":91,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: Add a blank line to keep Sphinx happy","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":135,"context_line":"    def on_delete(self, request, response, project_id, flavor):"},{"line_number":136,"context_line":"        \"\"\"Deregisters a flavor."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        :returns: HTTP | 204"},{"line_number":139,"context_line":"        \"\"\""},{"line_number":140,"context_line":"        LOG.debug(u\u0027DELETE flavor - name: %s\u0027, flavor)"},{"line_number":141,"context_line":"        self._ctrl.delete(flavor, project\u003dproject_id)"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_44febcaf","line":138,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: 204 \u003d\u003e [204]","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":136,"context_line":"        \"\"\"Deregisters a flavor."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        :returns: HTTP | 204"},{"line_number":139,"context_line":"        \"\"\""},{"line_number":140,"context_line":"        LOG.debug(u\u0027DELETE flavor - name: %s\u0027, flavor)"},{"line_number":141,"context_line":"        self._ctrl.delete(flavor, project\u003dproject_id)"},{"line_number":142,"context_line":"        response.status \u003d falcon.HTTP_204"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_e4e6e815","line":139,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: Add a blank line to keep Sphinx happy","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":151,"context_line":"        jsonschema. Appropriate errors are returned in each case for"},{"line_number":152,"context_line":"        badly formatted input."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"        :returns: HTTP | 200,400"},{"line_number":155,"context_line":"        \"\"\""},{"line_number":156,"context_line":"        LOG.debug(u\u0027PATCH flavor - name: %s\u0027, flavor)"},{"line_number":157,"context_line":"        data \u003d wsgi_utils.load(request)"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_e41fc807","line":154,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: 200, 400 \u003d\u003e [200, 400]","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":152,"context_line":"        badly formatted input."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"        :returns: HTTP | 200,400"},{"line_number":155,"context_line":"        \"\"\""},{"line_number":156,"context_line":"        LOG.debug(u\u0027PATCH flavor - name: %s\u0027, flavor)"},{"line_number":157,"context_line":"        data \u003d wsgi_utils.load(request)"},{"line_number":158,"context_line":""}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_4415dce3","line":155,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: Add a blank line to keep Sphinx happy","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"}],"zaqar/tests/queues/transport/wsgi/v1_1/test_flavors.py":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"632dc212b3f64bbeb74381ba4810c866e083195a","unresolved":false,"context_lines":[{"line_number":139,"context_line":"        self.assertEqual(self.srmock.status, falcon.HTTP_404)"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    def test_get_nonexisting_raises_404(self):"},{"line_number":142,"context_line":"        self.simulate_get(self.url_prefix + \u0027/pools/nonexisting\u0027)"},{"line_number":143,"context_line":"        self.assertEqual(self.srmock.status, falcon.HTTP_404)"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    def _flavor_expect(self, flavor, xhref, xpool):"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_c11643f1","line":142,"updated":"2014-08-26 10:43:06.000000000","message":"I think it should be \u0027/flavors/nonexisting\u0027","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"6cb416afc7691c86f14a1d72cf4b47def64ecd65","unresolved":false,"context_lines":[{"line_number":139,"context_line":"        self.assertEqual(self.srmock.status, falcon.HTTP_404)"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    def test_get_nonexisting_raises_404(self):"},{"line_number":142,"context_line":"        self.simulate_get(self.url_prefix + \u0027/pools/nonexisting\u0027)"},{"line_number":143,"context_line":"        self.assertEqual(self.srmock.status, falcon.HTTP_404)"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    def _flavor_expect(self, flavor, xhref, xpool):"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_3caabad4","line":142,"in_reply_to":"1abeadc6_c11643f1","updated":"2014-08-26 10:56:38.000000000","message":"O.o Good Catch","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"632dc212b3f64bbeb74381ba4810c866e083195a","unresolved":false,"context_lines":[{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def _listing_test(self, count\u003d10, limit\u003d10,"},{"line_number":215,"context_line":"                      marker\u003dNone, detailed\u003dFalse):"},{"line_number":216,"context_line":"        # NOTE(cpp-cabrera): delete initial pool - it will interfere"},{"line_number":217,"context_line":"        # with listing tests"},{"line_number":218,"context_line":"        self.simulate_delete(self.flavor)"},{"line_number":219,"context_line":"        query \u003d \u0027?limit\u003d{0}\u0026detailed\u003d{1}\u0027.format(limit, detailed)"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_21b457f1","line":216,"updated":"2014-08-26 10:43:06.000000000","message":"delete initial flavor?","commit_id":"49c2570aa50c9f0104124dd6cd921ab817babbc4"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    :type capabilities: dict"},{"line_number":37,"context_line":"    :returns: (name, uri, capabilities)"},{"line_number":38,"context_line":"    :rtype: see above"},{"line_number":39,"context_line":"    \"\"\""},{"line_number":40,"context_line":"    doc \u003d {\u0027pool\u0027: pool, \u0027capabilities\u0027: capabilities}"},{"line_number":41,"context_line":"    path \u003d test.url_prefix + \u0027/flavors/\u0027 + name"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_e4942846","line":39,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: Add a blank line to keep Sphinx happy","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    :type count: int"},{"line_number":61,"context_line":"    :returns: (paths, pool, capabilities)"},{"line_number":62,"context_line":"    :rtype: ([six.text_type], [six.text_type], [dict])"},{"line_number":63,"context_line":"    \"\"\""},{"line_number":64,"context_line":"    base \u003d test.url_prefix + \u0027/flavors/\u0027"},{"line_number":65,"context_line":"    args \u003d sorted([(base + str(i), {str(i): i}) for i in range(count)],"},{"line_number":66,"context_line":"                  key\u003dlambda tup: tup[1])"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_0490444d","line":63,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: Add a blank line to keep Sphinx happy","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"bf50b3e18d6a45035f0933e4780e383db5871191","unresolved":false,"context_lines":[{"line_number":120,"context_line":"        self.assertEqual(self.srmock.status, falcon.HTTP_400)"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    def test_put_existing_overwrites(self):"},{"line_number":123,"context_line":"        # NOTE(cabrera): setUp creates default pool"},{"line_number":124,"context_line":"        expect \u003d self.doc"},{"line_number":125,"context_line":"        self.simulate_put(self.flavor,"},{"line_number":126,"context_line":"                          body\u003djsonutils.dumps(expect))"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_84929449","line":123,"updated":"2014-08-26 13:15:42.000000000","message":"NIT: pool \u003d\u003e flavor","commit_id":"e43d3693201cd840c9c2f400a5cb1a63d833f392"}]}
