)]}'
{"vitrage/api/controllers/v1/count.py":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"239dabd024aa05889998ac000f5bbe091b36c85c","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        except Exception:"},{"line_number":53,"context_line":"            LOG.exception(\u0027failed to get alarm count.\u0027)"},{"line_number":54,"context_line":"            abort(404, \u0027Failed to get alarm.\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_19c19980","line":54,"range":{"start_line":54,"start_character":38,"end_line":54,"end_character":43},"updated":"2018-06-14 08:36:25.000000000","message":"alarm count","commit_id":"bd461380db5e18008fdc869157d14997fc9dc71a"}],"vitrage/api/controllers/v1/resource.py":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"239dabd024aa05889998ac000f5bbe091b36c85c","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            return resources"},{"line_number":66,"context_line":"        except Exception:"},{"line_number":67,"context_line":"            LOG.exception(\u0027Failed to get resources.\u0027)"},{"line_number":68,"context_line":"            abort(404, \u0027Failed to get resources.\u0027)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    @pecan.expose(\u0027json\u0027)"},{"line_number":71,"context_line":"    def get(self, vitrage_id):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_595951fa","line":68,"range":{"start_line":68,"start_character":24,"end_line":68,"end_character":47},"updated":"2018-06-14 08:36:25.000000000","message":"Should be Failed to *list* resources? this is an internal method that is called from get_all","commit_id":"bd461380db5e18008fdc869157d14997fc9dc71a"}],"vitrage/api/controllers/v1/template.py":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"239dabd024aa05889998ac000f5bbe091b36c85c","unresolved":false,"context_lines":[{"line_number":147,"context_line":"            return json.loads(result_json)"},{"line_number":148,"context_line":"        except Exception:"},{"line_number":149,"context_line":"            LOG.exception(\u0027Failed to open template file(s).\u0027)"},{"line_number":150,"context_line":"            abort(404, \u0027Failed to open template file.\u0027)"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    @classmethod"},{"line_number":153,"context_line":"    def _add(cls, templates, template_type):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_390b35d5","line":150,"range":{"start_line":150,"start_character":23,"end_line":150,"end_character":54},"updated":"2018-06-14 08:36:25.000000000","message":"Is it the wanted error message? in all other places you just say that the API call failed","commit_id":"bd461380db5e18008fdc869157d14997fc9dc71a"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"239dabd024aa05889998ac000f5bbe091b36c85c","unresolved":false,"context_lines":[{"line_number":160,"context_line":"            return results"},{"line_number":161,"context_line":"        except Exception:"},{"line_number":162,"context_line":"            LOG.exception(\u0027Failed to add template file.\u0027)"},{"line_number":163,"context_line":"            abort(404, \u0027Failed to add template file.\u0027)"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    @staticmethod"},{"line_number":166,"context_line":"    def _db_template_to_dict(template):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_590e31e4","line":163,"range":{"start_line":163,"start_character":23,"end_line":163,"end_character":53},"updated":"2018-06-14 08:36:25.000000000","message":"Same here","commit_id":"bd461380db5e18008fdc869157d14997fc9dc71a"}],"vitrage/api/controllers/v1/webhook.py":[{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"239dabd024aa05889998ac000f5bbe091b36c85c","unresolved":false,"context_lines":[{"line_number":48,"context_line":"            return self._get_all(all_tenants)"},{"line_number":49,"context_line":"        except Exception:"},{"line_number":50,"context_line":"            LOG.exception(\u0027Failed to list webhooks.\u0027)"},{"line_number":51,"context_line":"            abort(404, \u0027Failed to list webhookes.\u0027)"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    @staticmethod"},{"line_number":54,"context_line":"    def _get_all(all_tenants):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_d91241fd","line":51,"range":{"start_line":51,"start_character":39,"end_line":51,"end_character":48},"updated":"2018-06-14 08:36:25.000000000","message":"webhooks (typo)","commit_id":"bd461380db5e18008fdc869157d14997fc9dc71a"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"239dabd024aa05889998ac000f5bbe091b36c85c","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        try:"},{"line_number":70,"context_line":"            return self._get(id)"},{"line_number":71,"context_line":"        except Exception:"},{"line_number":72,"context_line":"            LOG.exception(\u0027Failed to get webhooks.\u0027)"},{"line_number":73,"context_line":"            abort(404, \u0027Failed to get webhook.\u0027)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    @staticmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_79d3ed38","line":72,"range":{"start_line":72,"start_character":41,"end_line":72,"end_character":49},"updated":"2018-06-14 08:36:25.000000000","message":"webhook","commit_id":"bd461380db5e18008fdc869157d14997fc9dc71a"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"239dabd024aa05889998ac000f5bbe091b36c85c","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        try:"},{"line_number":93,"context_line":"            return self._post(**kwargs)"},{"line_number":94,"context_line":"        except Exception:"},{"line_number":95,"context_line":"            LOG.exception(\u0027Failed to add webhooks.\u0027)"},{"line_number":96,"context_line":"            abort(400, \u0027Failed to add webhook.\u0027)"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    @staticmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_39d9f554","line":95,"range":{"start_line":95,"start_character":41,"end_line":95,"end_character":49},"updated":"2018-06-14 08:36:25.000000000","message":"webhook","commit_id":"bd461380db5e18008fdc869157d14997fc9dc71a"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"ae967ca43ba4fc2767289b43c200f2a00902e6dd","unresolved":false,"context_lines":[{"line_number":70,"context_line":"            return self._get(id)"},{"line_number":71,"context_line":"        except Exception:"},{"line_number":72,"context_line":"            LOG.exception(\u0027Failed to get webhooks.\u0027)"},{"line_number":73,"context_line":"            abort(404, \u0027Failed to get webhooks.\u0027)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    @staticmethod"},{"line_number":76,"context_line":"    def _get(id):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_b92ae58d","line":73,"range":{"start_line":73,"start_character":38,"end_line":73,"end_character":46},"updated":"2018-06-14 08:54:57.000000000","message":"Should be a single webhook (also in the LOG.exception)","commit_id":"3004b472ae477d716c5dcb4d77145d7e793eeccb"}]}
