)]}'
{"marconi/queues/transport/wsgi/v1_0/messages.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"20168c1363a6a28b69f293a6b51d387cf428d64d","unresolved":false,"context_lines":[{"line_number":213,"context_line":"        else:"},{"line_number":214,"context_line":"            response \u003d self._get_by_id(req.path, project_id, queue_name, ids)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        if not self.queue_controller.exists(queue_name, project\u003dproject_id):"},{"line_number":217,"context_line":"            resp.status \u003d falcon.HTTP_404"},{"line_number":218,"context_line":"            return"},{"line_number":219,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_a3409957","line":216,"updated":"2014-05-27 08:03:53.000000000","message":"IIRC, for claims, this check happens in the storage layer. This is something we should probably discuss a bit and agree on.\n\nThis checks are part of the API and the storage layer should be able to succeed on every request. That is, if the API layer does not enforce the existence of the queue, the storage layer should be able to succeed on every operation regardless the queue is there or not.\n\nIn other words, the storage layer shouldn\u0027t be enforcing rules but just treating data. The downside of this is that, in some cases, we will end up doing more queries/operations than we need. \n\nAs far as this rules enforcement thing goes, I don\u0027t think we need to change anything in v1.0 but we\u0027ll probably want to make v1.1 more consistent.\n\nDoes the above make sense?","commit_id":"1f4a92ecb6807e01ac142d0590e9f52577ed129c"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"b804b6377667db3144e8c8caddfe20ddd68e52f0","unresolved":false,"context_lines":[{"line_number":213,"context_line":"        else:"},{"line_number":214,"context_line":"            response \u003d self._get_by_id(req.path, project_id, queue_name, ids)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        if not self.queue_controller.exists(queue_name, project\u003dproject_id):"},{"line_number":217,"context_line":"            resp.status \u003d falcon.HTTP_404"},{"line_number":218,"context_line":"            return"},{"line_number":219,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_cf4dad74","line":216,"in_reply_to":"3ae8d1ca_a3409957","updated":"2014-05-27 21:57:52.000000000","message":"It makes total sense yeah. I\u0027m not sure what do you mean with \u0027making v1.1 more consistent\u0027 though.","commit_id":"1f4a92ecb6807e01ac142d0590e9f52577ed129c"}],"marconi/tests/queues/transport/wsgi/test_messages.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"20168c1363a6a28b69f293a6b51d387cf428d64d","unresolved":false,"context_lines":[{"line_number":206,"context_line":"                          self.project_id,"},{"line_number":207,"context_line":"                          headers\u003d{\u0027Client-ID\u0027:"},{"line_number":208,"context_line":"                                   \u0027dfcd3238-425c-11e3-8a80-28cfe91478b9\u0027})"},{"line_number":209,"context_line":"        if (self.url_prefix \u003d\u003d \u0027v1\u0027):"},{"line_number":210,"context_line":"            self.assertEqual(self.srmock.status, falcon.HTTP_404)"},{"line_number":211,"context_line":"        elif (self.url_prefix \u003d\u003d \u0027v1.1\u0027):"},{"line_number":212,"context_line":"            self.assertEqual(self.srmock.status, falcon.HTTP_204)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_e350e160","line":209,"updated":"2014-05-27 08:03:53.000000000","message":"nit: parentheses not needed here.","commit_id":"1f4a92ecb6807e01ac142d0590e9f52577ed129c"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"b804b6377667db3144e8c8caddfe20ddd68e52f0","unresolved":false,"context_lines":[{"line_number":206,"context_line":"                          self.project_id,"},{"line_number":207,"context_line":"                          headers\u003d{\u0027Client-ID\u0027:"},{"line_number":208,"context_line":"                                   \u0027dfcd3238-425c-11e3-8a80-28cfe91478b9\u0027})"},{"line_number":209,"context_line":"        if (self.url_prefix \u003d\u003d \u0027v1\u0027):"},{"line_number":210,"context_line":"            self.assertEqual(self.srmock.status, falcon.HTTP_404)"},{"line_number":211,"context_line":"        elif (self.url_prefix \u003d\u003d \u0027v1.1\u0027):"},{"line_number":212,"context_line":"            self.assertEqual(self.srmock.status, falcon.HTTP_204)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_2fab71d9","line":209,"in_reply_to":"3ae8d1ca_e350e160","updated":"2014-05-27 21:57:52.000000000","message":"whoops","commit_id":"1f4a92ecb6807e01ac142d0590e9f52577ed129c"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"20168c1363a6a28b69f293a6b51d387cf428d64d","unresolved":false,"context_lines":[{"line_number":208,"context_line":"                                   \u0027dfcd3238-425c-11e3-8a80-28cfe91478b9\u0027})"},{"line_number":209,"context_line":"        if (self.url_prefix \u003d\u003d \u0027v1\u0027):"},{"line_number":210,"context_line":"            self.assertEqual(self.srmock.status, falcon.HTTP_404)"},{"line_number":211,"context_line":"        elif (self.url_prefix \u003d\u003d \u0027v1.1\u0027):"},{"line_number":212,"context_line":"            self.assertEqual(self.srmock.status, falcon.HTTP_204)"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    @ddt.data(\u0027\u0027, \u00270xdeadbeef\u0027, \u0027550893e0-2b6e-11e3-835a-5cf9dd72369\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_034eadc1","line":211,"updated":"2014-05-27 08:03:53.000000000","message":"ditto","commit_id":"1f4a92ecb6807e01ac142d0590e9f52577ed129c"}]}
