)]}'
{"monasca/v2/reference/alarms.py":[{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"f9c140f06b92bec3233b1b1b99f9d64d6f3ef516","unresolved":false,"context_lines":[{"line_number":294,"context_line":""},{"line_number":295,"context_line":"        json_msg \u003d helpers.read_http_resource(req)"},{"line_number":296,"context_line":"        if \u0027state\u0027 in json_msg:"},{"line_number":297,"context_line":"            state \u003d json_msg[\u0027state\u0027]"},{"line_number":298,"context_line":"            return state"},{"line_number":299,"context_line":"        else:"},{"line_number":300,"context_line":"            raise falcon.HTTPBadRequest(\u0027Bad request\u0027, \u0027Missing state\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_93049bc7","line":297,"updated":"2014-11-19 16:48:37.000000000","message":"Somewhere the state needs to be validated that it is one of the possible values, otherwise the database is going to reject the update and cause a SQL exception","commit_id":"ff3b41b4a9912fb49933f824cd654dd0e27b1355"}]}
