)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"d1763e78a869aee271f1dcf2257f4f077e4c172d","unresolved":false,"context_lines":[{"line_number":15,"context_line":"This patch will automatically adapt by eventuals changes"},{"line_number":16,"context_line":"introducing \"un-scoped\" contexts."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Closes-bug: #1505456"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I6952f5c85cd7fb0263789f768d23de3fe80b8183"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a2fa921_7017c954","line":18,"updated":"2015-10-12 23:08:57.000000000","message":"This bug no. is not valid.","commit_id":"494a18b42e17aa17b39f3b8df3b9573c4b9d5794"},{"author":{"_account_id":14611,"name":"dasm","display_name":"dasm","email":"dsmigiel@redhat.com","username":"dasm"},"change_message_id":"53eef906c0e2271dff2829c08ad81f12f240f99c","unresolved":false,"context_lines":[{"line_number":12,"context_line":"framework where every Neutron API call undergoes authZ checks"},{"line_number":13,"context_line":"in the same pecan hook."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This patch will automatically adapt by eventuals changes"},{"line_number":16,"context_line":"introducing \"un-scoped\" contexts."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Closes-bug: #1505406"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"da85f559_60a5a945","line":15,"updated":"2015-11-15 19:05:02.000000000","message":"typo: s/eventuals/eventual","commit_id":"b20ae9980f4fdb444c71545c706ea396560c8c51"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"bcf5e3a7a6e4d2e636dc3448e19d6e1fb77fa1d2","unresolved":false,"context_lines":[{"line_number":12,"context_line":"framework where every Neutron API call undergoes authZ checks"},{"line_number":13,"context_line":"in the same pecan hook."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This patch will automatically adapt by eventuals changes"},{"line_number":16,"context_line":"introducing \"un-scoped\" contexts."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Closes-bug: #1505406"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"ba8a016a_4e0f68e1","line":15,"in_reply_to":"da85f559_60a5a945","updated":"2015-11-23 19:04:04.000000000","message":"Done","commit_id":"b20ae9980f4fdb444c71545c706ea396560c8c51"}],"neutron/db/quota/driver.py":[{"author":{"_account_id":14605,"name":"vikram.choudhary","email":"vikschw@gmail.com","username":"vikram.choudhary"},"change_message_id":"d159ea5c89b6c29a3a81ae5b6cf81fc079cc6778","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        :param context: The request context, for access checks."},{"line_number":42,"context_line":"        :param resources: A dictionary of the registered resource keys."},{"line_number":43,"context_line":"        :param tenant_id: The ID of the tenant to return quotas for."},{"line_number":44,"context_line":"        :return dict: from resource name to dict of name and limit"},{"line_number":45,"context_line":"        \"\"\""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        # init with defaults"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a26ad4f_0d7037db","line":44,"updated":"2015-11-03 00:41:35.000000000","message":"IMO it would be better to say about the default retval behaviour over here.","commit_id":"b20ae9980f4fdb444c71545c706ea396560c8c51"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"bcf5e3a7a6e4d2e636dc3448e19d6e1fb77fa1d2","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        :param context: The request context, for access checks."},{"line_number":42,"context_line":"        :param resources: A dictionary of the registered resource keys."},{"line_number":43,"context_line":"        :param tenant_id: The ID of the tenant to return quotas for."},{"line_number":44,"context_line":"        :return dict: from resource name to dict of name and limit"},{"line_number":45,"context_line":"        \"\"\""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        # init with defaults"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba8a016a_8e5eb0e7","line":44,"in_reply_to":"1a26ad4f_0d7037db","updated":"2015-11-23 19:04:04.000000000","message":"Done","commit_id":"b20ae9980f4fdb444c71545c706ea396560c8c51"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"f026159440ec18810f74c40ad432e30826697a3e","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    @staticmethod"},{"line_number":36,"context_line":"    def get_tenant_quotas(context, resources, tenant_id):"},{"line_number":37,"context_line":"        \"\"\"Given a list of resources, retrieve the quotas for the given"},{"line_number":38,"context_line":"        tenant. If no limits are found the specified tenant, the operation"},{"line_number":39,"context_line":"        returns the default limits."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        :param context: The request context, for access checks."}],"source_content_type":"text/x-python","patch_set":7,"id":"9a8ffd7b_3ce35335","line":38,"updated":"2015-11-25 14:50:20.000000000","message":"found the  \u003d\u003e found for the","commit_id":"5f83a559251ed49feab961524bf6494e4d1488e8"}],"neutron/tests/unit/db/quota/test_driver.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"5a76f20a1c5493edbe8abc8c4ce46483fb65c5c2","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    def test_get_tenant_quotas(self):"},{"line_number":78,"context_line":"        user_ctx \u003d context.Context(user_id\u003dPROJECT, tenant_id\u003dPROJECT)"},{"line_number":79,"context_line":"        self.plugin.update_quota_limit(self.context, PROJECT, RESOURCE, 2)"},{"line_number":80,"context_line":"        self.assertTrue(self.plugin.get_tenant_quotas(user_ctx, {}, PROJECT))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    def test_get_tenant_quotas_different_tenant(self):"},{"line_number":83,"context_line":"        user_ctx \u003d context.Context(user_id\u003dPROJECT,"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a2fa921_ab02d2b2","line":80,"updated":"2015-10-12 23:21:38.000000000","message":"wouldn\u0027t assertEqual better?","commit_id":"7eb019d63642bccd06613f85eab569289882b085"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"c9adea666b6abd2103e63b6ee80b5759c501c82a","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    def test_get_tenant_quotas(self):"},{"line_number":78,"context_line":"        user_ctx \u003d context.Context(user_id\u003dPROJECT, tenant_id\u003dPROJECT)"},{"line_number":79,"context_line":"        self.plugin.update_quota_limit(self.context, PROJECT, RESOURCE, 2)"},{"line_number":80,"context_line":"        self.assertTrue(self.plugin.get_tenant_quotas(user_ctx, {}, PROJECT))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    def test_get_tenant_quotas_different_tenant(self):"},{"line_number":83,"context_line":"        user_ctx \u003d context.Context(user_id\u003dPROJECT,"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a2ca52d_0cb0d4dc","line":80,"in_reply_to":"7a2fa921_a680c78c","updated":"2015-10-13 16:38:27.000000000","message":"as you wish","commit_id":"7eb019d63642bccd06613f85eab569289882b085"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"34e57442be8adf3ee4f97d3037284a88698908d8","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    def test_get_tenant_quotas(self):"},{"line_number":78,"context_line":"        user_ctx \u003d context.Context(user_id\u003dPROJECT, tenant_id\u003dPROJECT)"},{"line_number":79,"context_line":"        self.plugin.update_quota_limit(self.context, PROJECT, RESOURCE, 2)"},{"line_number":80,"context_line":"        self.assertTrue(self.plugin.get_tenant_quotas(user_ctx, {}, PROJECT))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    def test_get_tenant_quotas_different_tenant(self):"},{"line_number":83,"context_line":"        user_ctx \u003d context.Context(user_id\u003dPROJECT,"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a2fa921_a680c78c","line":80,"in_reply_to":"7a2fa921_ab02d2b2","updated":"2015-10-13 00:39:31.000000000","message":"I agree. get_tenant_quotas returns dict and assertTrue should be given boolean type. Otherwise, when error happens here, the error log dosen\u0027t help developer.","commit_id":"7eb019d63642bccd06613f85eab569289882b085"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"34e57442be8adf3ee4f97d3037284a88698908d8","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        user_ctx \u003d context.Context(user_id\u003dPROJECT,"},{"line_number":84,"context_line":"                                   tenant_id\u003d\u0027another_project\u0027)"},{"line_number":85,"context_line":"        self.plugin.update_quota_limit(self.context, PROJECT, RESOURCE, 2)"},{"line_number":86,"context_line":"        self.assertFalse(self.plugin.get_tenant_quotas(user_ctx, {}, PROJECT))"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    def test_get_all_quotas(self):"},{"line_number":89,"context_line":"        project_1 \u003d \u0027prj_test_1\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a2fa921_4648d387","line":86,"updated":"2015-10-13 00:39:31.000000000","message":"ditto","commit_id":"7eb019d63642bccd06613f85eab569289882b085"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"e6a5a371195724416734509cc51d567f50661f14","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        self.assertEqual(4, quotas[RESOURCE])"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    def test_get_tenant_quotas(self):"},{"line_number":78,"context_line":"        user_ctx \u003d context.Context(user_id\u003dPROJECT, tenant_id\u003dPROJECT)"},{"line_number":79,"context_line":"        self.plugin.update_quota_limit(self.context, PROJECT, RESOURCE, 2)"},{"line_number":80,"context_line":"        quotas \u003d self.plugin.get_tenant_quotas(self.context, {}, PROJECT)"},{"line_number":81,"context_line":"        self.assertEqual(2, quotas[RESOURCE])"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a2ca52d_5f88a7e7","line":78,"updated":"2015-10-13 20:27:15.000000000","message":"unused var causing pep8 complaint","commit_id":"dbc1a4ff81b27af9278cff0a4536200f7b37cf1d"}]}
