)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"3a487fbb7a4c947bc07d82123f81a49b6d15d989","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Mehdi Abaakouk \u003cmehdi.abaakouk@enovance.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2013-09-18 11:15:28 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Allow to change only the alarm state"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change add a new endpoint to the alarm API to change only the state"},{"line_number":10,"context_line":"of an alarm. And change the evaluator base to use this new endpoint."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"AAAAS3%2F%2F1rk%3D","line":7,"updated":"2013-09-18 13:22:32.000000000","message":"Provide new API endpoint for alarm state","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"f654150849d3ba2c9e0900855b26cbee15e2081f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Mehdi Abaakouk \u003cmehdi.abaakouk@enovance.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2013-09-18 11:15:28 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Allow to change only the alarm state"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change add a new endpoint to the alarm API to change only the state"},{"line_number":10,"context_line":"of an alarm. And change the evaluator base to use this new endpoint."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"AAAAS3%2F%2F0zM%3D","line":7,"in_reply_to":"AAAAS3%2F%2F1rk%3D","updated":"2013-09-18 16:43:32.000000000","message":"Done","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"3a487fbb7a4c947bc07d82123f81a49b6d15d989","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Allow to change only the alarm state"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change add a new endpoint to the alarm API to change only the state"},{"line_number":10,"context_line":"of an alarm. And change the evaluator base to use this new endpoint."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Implements blueprint alarming-logical-combination"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"AAAAS3%2F%2F1r4%3D","line":9,"updated":"2013-09-18 13:22:32.000000000","message":"s/This change/This patch/","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"f654150849d3ba2c9e0900855b26cbee15e2081f","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Allow to change only the alarm state"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change add a new endpoint to the alarm API to change only the state"},{"line_number":10,"context_line":"of an alarm. And change the evaluator base to use this new endpoint."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Implements blueprint alarming-logical-combination"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"AAAAS3%2F%2F0zI%3D","line":9,"in_reply_to":"AAAAS3%2F%2F1r4%3D","updated":"2013-09-18 16:43:32.000000000","message":"Done","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"3a487fbb7a4c947bc07d82123f81a49b6d15d989","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Allow to change only the alarm state"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change add a new endpoint to the alarm API to change only the state"},{"line_number":10,"context_line":"of an alarm. And change the evaluator base to use this new endpoint."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Implements blueprint alarming-logical-combination"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"AAAAS3%2F%2F1r0%3D","line":10,"updated":"2013-09-18 13:22:32.000000000","message":"s/And change/And modifies/","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"f654150849d3ba2c9e0900855b26cbee15e2081f","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Allow to change only the alarm state"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change add a new endpoint to the alarm API to change only the state"},{"line_number":10,"context_line":"of an alarm. And change the evaluator base to use this new endpoint."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Implements blueprint alarming-logical-combination"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"AAAAS3%2F%2F0zE%3D","line":10,"in_reply_to":"AAAAS3%2F%2F1r0%3D","updated":"2013-09-18 16:43:32.000000000","message":"Done","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"}],"ceilometer/api/controllers/v2.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"ac39496650b70403cb467c8b4596d48535cf5e23","unresolved":false,"context_lines":[{"line_number":1304,"context_line":"    @wsme_pecan.wsexpose(None, body\u003dwtypes.text, status_code\u003d204)"},{"line_number":1305,"context_line":"    def state(self, state):"},{"line_number":1306,"context_line":"        \"\"\"Set the state of this alarm.\"\"\""},{"line_number":1307,"context_line":"        if state not in [\"ok\", \"alarm\", \"insufficient data\"]:"},{"line_number":1308,"context_line":"            error \u003d _(\"state invalid\")"},{"line_number":1309,"context_line":"            pecan.response.translatable_error \u003d error"},{"line_number":1310,"context_line":"            raise wsme.exc.ClientSideError(error)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2F9XI%3D","line":1307,"updated":"2013-09-16 15:30:56.000000000","message":"This seems like the same set of value in the enum. It would be better to use the values from it.","commit_id":"22ac4779459197aa7a3dc6e89536f605d0b992d0"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"e4f22666435d5d69d2c3337f7df3c165bcf9e4c4","unresolved":false,"context_lines":[{"line_number":1304,"context_line":"    @wsme_pecan.wsexpose(None, body\u003dwtypes.text, status_code\u003d204)"},{"line_number":1305,"context_line":"    def state(self, state):"},{"line_number":1306,"context_line":"        \"\"\"Set the state of this alarm.\"\"\""},{"line_number":1307,"context_line":"        if state not in [\"ok\", \"alarm\", \"insufficient data\"]:"},{"line_number":1308,"context_line":"            error \u003d _(\"state invalid\")"},{"line_number":1309,"context_line":"            pecan.response.translatable_error \u003d error"},{"line_number":1310,"context_line":"            raise wsme.exc.ClientSideError(error)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAS3%2F%2F6g8%3D","line":1307,"in_reply_to":"AAAAS3%2F%2F9XI%3D","updated":"2013-09-17 09:55:56.000000000","message":"Done","commit_id":"22ac4779459197aa7a3dc6e89536f605d0b992d0"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"3a487fbb7a4c947bc07d82123f81a49b6d15d989","unresolved":false,"context_lines":[{"line_number":1176,"context_line":""},{"line_number":1177,"context_line":"    _custom_actions \u003d {"},{"line_number":1178,"context_line":"        \u0027history\u0027: [\u0027GET\u0027],"},{"line_number":1179,"context_line":"        \u0027state\u0027: [\u0027PUT\u0027],"},{"line_number":1180,"context_line":"    }"},{"line_number":1181,"context_line":""},{"line_number":1182,"context_line":"    def __init__(self, alarm_id):"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAS3%2F%2F1pY%3D","line":1179,"updated":"2013-09-18 13:22:32.000000000","message":"Should we allow GETs on the state endpoint also?\n\nThis would give the combination evaluator a more lightweight API to retrieve alarm state only (without pulling down the entire alarm representation).","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"f654150849d3ba2c9e0900855b26cbee15e2081f","unresolved":false,"context_lines":[{"line_number":1176,"context_line":""},{"line_number":1177,"context_line":"    _custom_actions \u003d {"},{"line_number":1178,"context_line":"        \u0027history\u0027: [\u0027GET\u0027],"},{"line_number":1179,"context_line":"        \u0027state\u0027: [\u0027PUT\u0027],"},{"line_number":1180,"context_line":"    }"},{"line_number":1181,"context_line":""},{"line_number":1182,"context_line":"    def __init__(self, alarm_id):"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAS3%2F%2F0y0%3D","line":1179,"in_reply_to":"AAAAS3%2F%2F1pY%3D","updated":"2013-09-18 16:43:32.000000000","message":"Done","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"3a487fbb7a4c947bc07d82123f81a49b6d15d989","unresolved":false,"context_lines":[{"line_number":1300,"context_line":"                for ac in conn.get_alarm_changes(self._id, auth_project,"},{"line_number":1301,"context_line":"                                                 **kwargs)]"},{"line_number":1302,"context_line":""},{"line_number":1303,"context_line":"    @wsme_pecan.wsexpose(None, body\u003dwtypes.text, status_code\u003d204)"},{"line_number":1304,"context_line":"    def state(self, state):"},{"line_number":1305,"context_line":"        \"\"\"Set the state of this alarm.\"\"\""},{"line_number":1306,"context_line":"        if state not in state_kind:"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAS3%2F%2F1pM%3D","line":1303,"updated":"2013-09-18 13:22:32.000000000","message":"Would need to drop the 204 status if you follow my suggestion to allow GET also (and provide an appropriate return value).","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"f654150849d3ba2c9e0900855b26cbee15e2081f","unresolved":false,"context_lines":[{"line_number":1300,"context_line":"                for ac in conn.get_alarm_changes(self._id, auth_project,"},{"line_number":1301,"context_line":"                                                 **kwargs)]"},{"line_number":1302,"context_line":""},{"line_number":1303,"context_line":"    @wsme_pecan.wsexpose(None, body\u003dwtypes.text, status_code\u003d204)"},{"line_number":1304,"context_line":"    def state(self, state):"},{"line_number":1305,"context_line":"        \"\"\"Set the state of this alarm.\"\"\""},{"line_number":1306,"context_line":"        if state not in state_kind:"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAS3%2F%2F0yw%3D","line":1303,"in_reply_to":"AAAAS3%2F%2F1pM%3D","updated":"2013-09-18 16:43:32.000000000","message":"Done","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"3a487fbb7a4c947bc07d82123f81a49b6d15d989","unresolved":false,"context_lines":[{"line_number":1303,"context_line":"    @wsme_pecan.wsexpose(None, body\u003dwtypes.text, status_code\u003d204)"},{"line_number":1304,"context_line":"    def state(self, state):"},{"line_number":1305,"context_line":"        \"\"\"Set the state of this alarm.\"\"\""},{"line_number":1306,"context_line":"        if state not in state_kind:"},{"line_number":1307,"context_line":"            error \u003d _(\"state invalid\")"},{"line_number":1308,"context_line":"            pecan.response.translatable_error \u003d error"},{"line_number":1309,"context_line":"            raise wsme.exc.ClientSideError(error)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAS3%2F%2F1oQ%3D","line":1306,"updated":"2013-09-18 13:22:32.000000000","message":"Could this check be driven from one of those validate methods, in the same style as the validate for full alarms?","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"f654150849d3ba2c9e0900855b26cbee15e2081f","unresolved":false,"context_lines":[{"line_number":1303,"context_line":"    @wsme_pecan.wsexpose(None, body\u003dwtypes.text, status_code\u003d204)"},{"line_number":1304,"context_line":"    def state(self, state):"},{"line_number":1305,"context_line":"        \"\"\"Set the state of this alarm.\"\"\""},{"line_number":1306,"context_line":"        if state not in state_kind:"},{"line_number":1307,"context_line":"            error \u003d _(\"state invalid\")"},{"line_number":1308,"context_line":"            pecan.response.translatable_error \u003d error"},{"line_number":1309,"context_line":"            raise wsme.exc.ClientSideError(error)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAS3%2F%2F0zU%3D","line":1306,"in_reply_to":"AAAAS3%2F%2F1oQ%3D","updated":"2013-09-18 16:43:32.000000000","message":"This is a wsme bug with wsme.types.Enum,I have opened this: https://bugs.launchpad.net/wsme/+bug/1227229","commit_id":"4f523a7d2321aff3b391fc1e357a7dd98034d84c"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"c1ba5928f27959e39c43b8e4dac3fb44e656634c","unresolved":false,"context_lines":[{"line_number":1308,"context_line":"        change \u003d {\u0027state\u0027: state}"},{"line_number":1309,"context_line":"        self._record_change(change, now, on_behalf_of\u003dalarm.project_id,"},{"line_number":1310,"context_line":"                            type\u003dstorage.models.AlarmChange.STATE_TRANSITION)"},{"line_number":1311,"context_line":"        return Alarm.from_db_model(alarm)"},{"line_number":1312,"context_line":""},{"line_number":1313,"context_line":"    @wsme_pecan.wsexpose(wtypes.text)"},{"line_number":1314,"context_line":"    def get_state(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"AAAAS3%2F%2Fwhs%3D","line":1311,"updated":"2013-09-19 20:17:56.000000000","message":"Hmmm, why is the entire alarm representation returned here? Why not just the state?\n\nSeems a bit asymmetric with the GET, slightly defeating the purpose of a lighter weight API for mutating the state only.","commit_id":"14046d16732ea3e77d6e9a4a7fe069acfb86a993"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"cb7d77dcf1f87683124b246b48728b922d91f58d","unresolved":false,"context_lines":[{"line_number":1308,"context_line":"        change \u003d {\u0027state\u0027: state}"},{"line_number":1309,"context_line":"        self._record_change(change, now, on_behalf_of\u003dalarm.project_id,"},{"line_number":1310,"context_line":"                            type\u003dstorage.models.AlarmChange.STATE_TRANSITION)"},{"line_number":1311,"context_line":"        return Alarm.from_db_model(alarm)"},{"line_number":1312,"context_line":""},{"line_number":1313,"context_line":"    @wsme_pecan.wsexpose(wtypes.text)"},{"line_number":1314,"context_line":"    def get_state(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"AAAAS3%2F%2Fvgs%3D","line":1311,"in_reply_to":"AAAAS3%2F%2Fwhs%3D","updated":"2013-09-20 06:20:53.000000000","message":"You have right, I don\u0027t know why I do that...\nFixed","commit_id":"14046d16732ea3e77d6e9a4a7fe069acfb86a993"}]}
