)]}'
{"barbican/api/controllers/consumers.py":[{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"81aca4598654e6c783860dc0f12d86599a583a8a","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    @index.when(method\u003d\u0027GET\u0027, template\u003d\u0027json\u0027)"},{"line_number":89,"context_line":"    @controllers.handle_exceptions(u._(\u0027ContainerConsumers(s) retrieval\u0027))"},{"line_number":90,"context_line":"    @controllers.enforce_rbac(\u0027consumers:get\u0027)"},{"line_number":91,"context_line":"    def on_get(self, external_project_id, **kw):"},{"line_number":92,"context_line":"        LOG.debug(\u0027Start consumers on_get \u0027"},{"line_number":93,"context_line":"                  \u0027for container-ID %s:\u0027, self.container_id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_1f9ecf63","line":90,"updated":"2015-10-12 01:23:44.000000000","message":"**kwargs","commit_id":"32819d4ae7bb202f4e263e52d206f40b622e66e7"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"6bb72780bc918208df2268476dcddcf8b532041b","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    @index.when(method\u003d\u0027GET\u0027, template\u003d\u0027json\u0027)"},{"line_number":89,"context_line":"    @controllers.handle_exceptions(u._(\u0027ContainerConsumers(s) retrieval\u0027))"},{"line_number":90,"context_line":"    @controllers.enforce_rbac(\u0027consumers:get\u0027)"},{"line_number":91,"context_line":"    def on_get(self, external_project_id, **kw):"},{"line_number":92,"context_line":"        LOG.debug(\u0027Start consumers on_get \u0027"},{"line_number":93,"context_line":"                  \u0027for container-ID %s:\u0027, self.container_id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_70f7f08c","line":90,"in_reply_to":"7a2fa921_1f9ecf63","updated":"2015-10-12 06:25:50.000000000","message":"Well, this doesn\u0027t seem to be part of this CR","commit_id":"32819d4ae7bb202f4e263e52d206f40b622e66e7"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"81aca4598654e6c783860dc0f12d86599a583a8a","unresolved":false,"context_lines":[{"line_number":133,"context_line":"    def on_post(self, external_project_id, **kwargs):"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        project \u003d res.get_or_create_project(external_project_id)"},{"line_number":136,"context_line":"        data \u003d api.load_body(pecan.request, validator\u003dself.validator)"},{"line_number":137,"context_line":"        LOG.debug(\u0027Start on_post...%s\u0027, data)"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_1fc7af65","line":136,"updated":"2015-10-12 01:23:44.000000000","message":"See 168.","commit_id":"32819d4ae7bb202f4e263e52d206f40b622e66e7"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"81aca4598654e6c783860dc0f12d86599a583a8a","unresolved":false,"context_lines":[{"line_number":165,"context_line":"    @controllers.enforce_content_types([\u0027application/json\u0027])"},{"line_number":166,"context_line":"    def on_delete(self, external_project_id, **kwargs):"},{"line_number":167,"context_line":"        data \u003d api.load_body(pecan.request, validator\u003dself.validator)"},{"line_number":168,"context_line":"        LOG.debug(\u0027Start on_delete...%s\u0027, data)"},{"line_number":169,"context_line":"        consumer \u003d self.consumer_repo.get_by_values("},{"line_number":170,"context_line":"            self.container_id,"},{"line_number":171,"context_line":"            data[\"name\"],"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_7fe34306","line":168,"updated":"2015-10-12 01:23:44.000000000","message":"Maybe state that its for consumers:\n\"LOG.debug(\u0027Start consumers on_delete...%s\u0027, data)\"","commit_id":"32819d4ae7bb202f4e263e52d206f40b622e66e7"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"6bb72780bc918208df2268476dcddcf8b532041b","unresolved":false,"context_lines":[{"line_number":165,"context_line":"    @controllers.enforce_content_types([\u0027application/json\u0027])"},{"line_number":166,"context_line":"    def on_delete(self, external_project_id, **kwargs):"},{"line_number":167,"context_line":"        data \u003d api.load_body(pecan.request, validator\u003dself.validator)"},{"line_number":168,"context_line":"        LOG.debug(\u0027Start on_delete...%s\u0027, data)"},{"line_number":169,"context_line":"        consumer \u003d self.consumer_repo.get_by_values("},{"line_number":170,"context_line":"            self.container_id,"},{"line_number":171,"context_line":"            data[\"name\"],"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_f010e0ad","line":168,"in_reply_to":"7a2fa921_7fe34306","updated":"2015-10-12 06:25:50.000000000","message":"We should probably be using this for guidelines http://specs.openstack.org/openstack/openstack-specs/specs/log-guidelines.html","commit_id":"32819d4ae7bb202f4e263e52d206f40b622e66e7"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"33aac4a871e0d40d467805f918077fda8345f44b","unresolved":false,"context_lines":[{"line_number":165,"context_line":"    @controllers.enforce_content_types([\u0027application/json\u0027])"},{"line_number":166,"context_line":"    def on_delete(self, external_project_id, **kwargs):"},{"line_number":167,"context_line":"        data \u003d api.load_body(pecan.request, validator\u003dself.validator)"},{"line_number":168,"context_line":"        LOG.debug(\u0027Start on_delete...%s\u0027, data)"},{"line_number":169,"context_line":"        consumer \u003d self.consumer_repo.get_by_values("},{"line_number":170,"context_line":"            self.container_id,"},{"line_number":171,"context_line":"            data[\"name\"],"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a2fa921_6181414d","line":168,"in_reply_to":"7a2fa921_f010e0ad","updated":"2015-10-12 23:41:52.000000000","message":"You both raise good points.  My goal here was to make delete look more like post, etc.  Just data doesn\u0027t cut it.  @jaosorior that\u0027s definitely something we should look at.  For now I\u0027m just looking to improve the usefulness of the log msg (since I found this while debugging an issue and found it utterly useless).  I do agree that we should follow the guidelines, but I also don\u0027t want this one to stick out like a sore thumb.","commit_id":"32819d4ae7bb202f4e263e52d206f40b622e66e7"}]}
