)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"637f86415465a703f314135843a334544f13e3d3","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"List all resources or metrics from the same project."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Related-Bug: 1521895"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Id043de23580edc173c8bf5d6d377561bdd4169d3"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7a740942_720790ca","line":11,"updated":"2015-12-07 13:06:04.000000000","message":"this should be closes-bug unless there is more work to be done?","commit_id":"84eb5cb3eda5b9ae0d6ae18aa747003e9bc629ec"}],"gnocchi/indexer/sqlalchemy.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"dc99f67b28a1e3ec744a37374cd0044ced30ff02","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        for attr in kwargs:"},{"line_number":229,"context_line":"            q \u003d q.filter(getattr(Metric, attr) \u003d\u003d kwargs[attr])"},{"line_number":230,"context_line":"        if user_id or project_id:"},{"line_number":231,"context_line":"            q \u003d q.join(Resource,"},{"line_number":232,"context_line":"                       Resource.id \u003d\u003d Metric.resource_id)"},{"line_number":233,"context_line":"        if user_id is not None:"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a740942_35fb24c3","line":230,"updated":"2015-12-11 16:18:34.000000000","message":"i think this is duplicating what is already done by details part below. might want to just make it all one condition.","commit_id":"7fb6cc01d27f5cbd0641a7396f38932f055c7481"}],"gnocchi/rest/__init__.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"dc99f67b28a1e3ec744a37374cd0044ced30ff02","unresolved":false,"context_lines":[{"line_number":612,"context_line":"            enforce(\"list all metric\", {})"},{"line_number":613,"context_line":"        except webob.exc.HTTPForbidden:"},{"line_number":614,"context_line":"            enforce(\"list metric\", {})"},{"line_number":615,"context_line":"            user_id, project_id \u003d get_user_and_project()"},{"line_number":616,"context_line":"            provided_user_id \u003d kwargs.get(\u0027user_id\u0027)"},{"line_number":617,"context_line":"            provided_project_id \u003d kwargs.get(\u0027project_id\u0027)"},{"line_number":618,"context_line":"            if ((provided_user_id and user_id !\u003d provided_user_id)"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a740942_204d203e","line":615,"updated":"2015-12-11 16:18:34.000000000","message":"user_id stuff isn\u0027t needed.","commit_id":"7fb6cc01d27f5cbd0641a7396f38932f055c7481"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"dc99f67b28a1e3ec744a37374cd0044ced30ff02","unresolved":false,"context_lines":[{"line_number":1135,"context_line":"                \"resource_type\": self._resource_type,"},{"line_number":1136,"context_line":"            })"},{"line_number":1137,"context_line":"            user, project \u003d get_user_and_project()"},{"line_number":1138,"context_line":"            if attr_filter:"},{"line_number":1139,"context_line":"                attr_filter \u003d {\"and\": ["},{"line_number":1140,"context_line":"                    {\"\u003d\": {\"created_by_user_id\": user}},"},{"line_number":1141,"context_line":"                    {\"\u003d\": {\"created_by_project_id\": project}},"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a740942_0067c4b7","line":1138,"updated":"2015-12-11 16:18:34.000000000","message":"do these need to change?","commit_id":"7fb6cc01d27f5cbd0641a7396f38932f055c7481"},{"author":{"_account_id":16701,"name":"zhanghanqun","email":"klercc37@gmail.com","username":"heha"},"change_message_id":"d46ad8dd7a76411d992a33a8c3a3b7dd704c4229","unresolved":false,"context_lines":[{"line_number":1135,"context_line":"                \"resource_type\": self._resource_type,"},{"line_number":1136,"context_line":"            })"},{"line_number":1137,"context_line":"            user, project \u003d get_user_and_project()"},{"line_number":1138,"context_line":"            if attr_filter:"},{"line_number":1139,"context_line":"                attr_filter \u003d {\"and\": ["},{"line_number":1140,"context_line":"                    {\"\u003d\": {\"created_by_user_id\": user}},"},{"line_number":1141,"context_line":"                    {\"\u003d\": {\"created_by_project_id\": project}},"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a7e1126_03037910","line":1138,"in_reply_to":"7a740942_0067c4b7","updated":"2015-12-18 04:26:40.000000000","message":"I think it doesn\u0027t need to change.Because it list the resource created by the the operator.","commit_id":"7fb6cc01d27f5cbd0641a7396f38932f055c7481"}]}
