)]}'
{"openstack_dashboard/api/ceilometer.py":[{"author":{"_account_id":7187,"name":"Janet Yu","email":"jwy@cs.stanford.edu","username":"jwy"},"change_message_id":"0a1ef039a808a37a6bbd22f6c4498851c544e735","unresolved":false,"context_lines":[{"line_number":1339,"context_line":"        if start_time:"},{"line_number":1340,"context_line":"            param +\u003d {\u0027field\u0027: \u0027start_timestamp\u0027, \u0027value\u0027: start_time}"},{"line_number":1341,"context_line":"            if end_time and end_time \u003e start_time:"},{"line_number":1342,"context_line":"                param +\u003d {\u0027field\u0027: \u0027end_timestamp\u0027, \u0027value\u0027: end_time}"},{"line_number":1343,"context_line":"        events \u003d self.client.events.list(param)"},{"line_number":1344,"context_line":"        traits \u003d []"},{"line_number":1345,"context_line":"        for event in events:"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_f27cdab6","line":1342,"updated":"2015-08-19 23:26:20.000000000","message":"Should there be a warning or some message if end_time was \u003c\u003d start_time?","commit_id":"049de66df6f028aae0dfdeaab8f4d815b6ded6e9"},{"author":{"_account_id":8984,"name":"George Peristerakis","email":"gperiste@redhat.com","username":"peristeri"},"change_message_id":"22e208d2bb502b47efd21952efbae82189fe794e","unresolved":false,"context_lines":[{"line_number":1339,"context_line":"        if start_time:"},{"line_number":1340,"context_line":"            param +\u003d {\u0027field\u0027: \u0027start_timestamp\u0027, \u0027value\u0027: start_time}"},{"line_number":1341,"context_line":"            if end_time and end_time \u003e start_time:"},{"line_number":1342,"context_line":"                param +\u003d {\u0027field\u0027: \u0027end_timestamp\u0027, \u0027value\u0027: end_time}"},{"line_number":1343,"context_line":"        events \u003d self.client.events.list(param)"},{"line_number":1344,"context_line":"        traits \u003d []"},{"line_number":1345,"context_line":"        for event in events:"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_1d0ef38b","line":1342,"in_reply_to":"fa1b9901_f27cdab6","updated":"2015-08-21 07:54:34.000000000","message":"There\u0027s the possibility that the task is still in progress, and might actually put a value of -1 for end time.\n\nTherefore if the end_time exists and is greater the start_time then include the end time in the display.","commit_id":"049de66df6f028aae0dfdeaab8f4d815b6ded6e9"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"3c766153a9ae9afdef9ef97a04a581ad39292fa7","unresolved":false,"context_lines":[{"line_number":1346,"context_line":"            tmp \u003d {}"},{"line_number":1347,"context_line":"            tmp[\u0027id\u0027] \u003d event.message_id"},{"line_number":1348,"context_line":"            tmp[\u0027event_type\u0027] \u003d event.event_type"},{"line_number":1349,"context_line":"            tmp[\u0027timestamp\u0027] \u003d event.raw.get(\u0027timestamp\u0027)"},{"line_number":1350,"context_line":"            tmp[\u0027message\u0027] \u003d event.raw.get(\u0027payload\u0027, {}).get(\u0027message\u0027)"},{"line_number":1351,"context_line":"            tmp[\u0027priority\u0027] \u003d event.raw.get(\u0027priority\u0027)"},{"line_number":1352,"context_line":"            Events.collect_traits(event, tmp)"}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_ea9f4e4e","line":1349,"updated":"2015-08-27 18:31:47.000000000","message":"this should be event.generated","commit_id":"baab89e7bbb8e0c475953344c294438868d42eb7"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"3c766153a9ae9afdef9ef97a04a581ad39292fa7","unresolved":false,"context_lines":[{"line_number":1348,"context_line":"            tmp[\u0027event_type\u0027] \u003d event.event_type"},{"line_number":1349,"context_line":"            tmp[\u0027timestamp\u0027] \u003d event.raw.get(\u0027timestamp\u0027)"},{"line_number":1350,"context_line":"            tmp[\u0027message\u0027] \u003d event.raw.get(\u0027payload\u0027, {}).get(\u0027message\u0027)"},{"line_number":1351,"context_line":"            tmp[\u0027priority\u0027] \u003d event.raw.get(\u0027priority\u0027)"},{"line_number":1352,"context_line":"            Events.collect_traits(event, tmp)"},{"line_number":1353,"context_line":"            Events.find_error_message(event, tmp)"},{"line_number":1354,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_4a051a78","line":1351,"updated":"2015-08-27 18:31:47.000000000","message":"if you plan on using this, they should really be indexed. the content in raw is not indexed so is not efficient for querying","commit_id":"baab89e7bbb8e0c475953344c294438868d42eb7"},{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"416d1657ec2b9df3054ce04c92d18ead9a836d23","unresolved":false,"context_lines":[{"line_number":1338,"context_line":"        if raw_output:"},{"line_number":1339,"context_line":"            return events"},{"line_number":1340,"context_line":""},{"line_number":1341,"context_line":"        return [Events.clean_event(e) for e in events]"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba8a016a_fcee8020","line":1341,"updated":"2015-11-20 09:10:26.000000000","message":"classmethod make more sense, cls.clean_event(e)","commit_id":"82250a52a4a2d0ccc1e8f491c97001ba5fe9fc8d"}],"openstack_dashboard/dashboards/admin/instances/tables.py":[{"author":{"_account_id":7187,"name":"Janet Yu","email":"jwy@cs.stanford.edu","username":"jwy"},"change_message_id":"0a1ef039a808a37a6bbd22f6c4498851c544e735","unresolved":false,"context_lines":[{"line_number":204,"context_line":"        verbose_name \u003d _(\u0027Event Details\u0027)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def get_object_id(self, datum):"},{"line_number":207,"context_line":"        return datum.get(\u0027id\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_f2713a45","line":207,"updated":"2015-08-19 23:26:20.000000000","message":"Is it possible here for get() to return None? The object must have a unique id or the table\u0027s rows might not be displayed correctly. I\u0027ve run into this in the past when I was using an attribute from the object that wasn\u0027t unique across the objects, as the id. The values for the other columns in the row would get cached from the first object with that id and then those cached values were used for all other rows with the same id.","commit_id":"049de66df6f028aae0dfdeaab8f4d815b6ded6e9"},{"author":{"_account_id":7187,"name":"Janet Yu","email":"jwy@cs.stanford.edu","username":"jwy"},"change_message_id":"64bf0e26850186918c208fdce79bb089385cf1eb","unresolved":false,"context_lines":[{"line_number":204,"context_line":"        verbose_name \u003d _(\u0027Event Details\u0027)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def get_object_id(self, datum):"},{"line_number":207,"context_line":"        return datum.get(\u0027id\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_f2616ca9","line":207,"in_reply_to":"fa1b9901_dd007b36","updated":"2015-08-25 02:09:14.000000000","message":"I don\u0027t know if there are any cases where \u0027id\u0027 would be missing, but I was asking since get() is typically used when the key being looked up might not exist. You might want to use datum[\u0027id\u0027] instead if you want an exception thrown when \u0027id\u0027 is missing. Then you\u0027ll know when there is a problem with the data.","commit_id":"049de66df6f028aae0dfdeaab8f4d815b6ded6e9"},{"author":{"_account_id":8984,"name":"George Peristerakis","email":"gperiste@redhat.com","username":"peristeri"},"change_message_id":"5e083da3c574438055af098f961c47558d4a2a7c","unresolved":false,"context_lines":[{"line_number":204,"context_line":"        verbose_name \u003d _(\u0027Event Details\u0027)"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"    def get_object_id(self, datum):"},{"line_number":207,"context_line":"        return datum.get(\u0027id\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_dd007b36","line":207,"in_reply_to":"fa1b9901_f2713a45","updated":"2015-08-21 07:59:02.000000000","message":"Do you have a link to the code where that might happen? The events are in fact unique and identified by the id.","commit_id":"049de66df6f028aae0dfdeaab8f4d815b6ded6e9"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"3c766153a9ae9afdef9ef97a04a581ad39292fa7","unresolved":false,"context_lines":[{"line_number":192,"context_line":"class EventTable(tables.DataTable):"},{"line_number":193,"context_line":"    host \u003d tables.Column(\u0027host\u0027, verbose_name\u003d_(\u0027Host server\u0027))"},{"line_number":194,"context_line":"    request_id \u003d tables.Column(\u0027request_id\u0027, verbose_name\u003d_(\u0027Request ID\u0027))"},{"line_number":195,"context_line":"    timestamp \u003d tables.Column(\u0027timestamp\u0027, verbose_name\u003d_(\u0027Time Stamp\u0027),"},{"line_number":196,"context_line":"                              filters\u003d[filters.parse_isotime])"},{"line_number":197,"context_line":"    event_type \u003d tables.Column(\u0027event_type\u0027, verbose_name\u003d_(\u0027Type\u0027))"},{"line_number":198,"context_line":"    service \u003d tables.Column(\u0027service\u0027, verbose_name\u003d_(\u0027Service\u0027))"}],"source_content_type":"text/x-python","patch_set":7,"id":"da20952f_6a09fedc","line":195,"updated":"2015-08-27 18:31:47.000000000","message":"i think Timestamp is one word.","commit_id":"baab89e7bbb8e0c475953344c294438868d42eb7"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"8bcdc9c20aea62bfe44342224799934beb0036fe","unresolved":false,"context_lines":[{"line_number":191,"context_line":""},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"class EventTable(tables.DataTable):"},{"line_number":194,"context_line":"    host \u003d tables.Column(\u0027host\u0027, verbose_name\u003d_(\u0027Host server\u0027))"},{"line_number":195,"context_line":"    request_id \u003d tables.Column(\u0027request_id\u0027, verbose_name\u003d_(\u0027Request ID\u0027))"},{"line_number":196,"context_line":"    resource_id \u003d tables.Column(\u0027resource_id\u0027, verbose_name\u003d_(\u0027Resource ID\u0027))"},{"line_number":197,"context_line":"    timestamp \u003d tables.Column(\u0027timestamp\u0027, verbose_name\u003d_(\u0027Timestamp\u0027),"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba8a016a_ead1cb30","line":194,"updated":"2015-11-20 12:15:08.000000000","message":"nit: Host Server","commit_id":"82250a52a4a2d0ccc1e8f491c97001ba5fe9fc8d"},{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"416d1657ec2b9df3054ce04c92d18ead9a836d23","unresolved":false,"context_lines":[{"line_number":205,"context_line":"        name \u003d \u0027event\u0027"},{"line_number":206,"context_line":"        verbose_name \u003d _(\u0027Event Details\u0027)"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"    def get_object_id(self, datum):"},{"line_number":209,"context_line":"        return datum[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba8a016a_5cc78c95","line":208,"updated":"2015-11-20 09:10:26.000000000","message":"do we need override the method?","commit_id":"82250a52a4a2d0ccc1e8f491c97001ba5fe9fc8d"}],"openstack_dashboard/dashboards/admin/instances/tabs.py":[{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"7f470666e491b9ec36eedc4bce6bfe82dc24aae1","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"class AdminAuditTab(tabs.AuditTab):"},{"line_number":23,"context_line":"    permissions \u003d (\u0027openstack.roles.admin\u0027,)"},{"line_number":24,"context_line":"    template_name \u003d \"admin/instances/_detail_audit.html\""},{"line_number":25,"context_line":"    table_classes \u003d (AuditTable, EventTable)"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"7af24918_1c9131f1","line":23,"updated":"2016-03-04 16:44:47.000000000","message":"seems like we\u0027re missing a ceilometer service check here but I don\u0027t think that tabs support that sort of check. But this tab should not be displayed if ceilometer is not available. At minimum a is_service_available check is required somewhere.","commit_id":"2a9681d4c5bbc4d678c02ac31bbac29c3abc66bb"}],"openstack_dashboard/dashboards/admin/instances/templates/instances/_detail_audit.html":[{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"bb6c7e0fd5e619410df7d22a0eb14b5bc8ebfbd0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% load i18n %}"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"\u003cdiv class\u003d\"row-fluid\"\u003e"},{"line_number":4,"context_line":"  \u003cdiv class\u003d\"span12\"\u003e"}],"source_content_type":"text/html","patch_set":7,"id":"da20952f_a7592d37","line":1,"updated":"2015-08-30 19:48:54.000000000","message":"This is Bootstrap 2.  You will need to convert this to Bootstrap 3.  For Specifics: http://www.bootply.com/bootstrap-3-migration-guide","commit_id":"baab89e7bbb8e0c475953344c294438868d42eb7"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"bb6c7e0fd5e619410df7d22a0eb14b5bc8ebfbd0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% load i18n %}"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"\u003cdiv class\u003d\"row-fluid\"\u003e"},{"line_number":4,"context_line":"  \u003cdiv class\u003d\"span12\"\u003e"},{"line_number":5,"context_line":"    {{ audit_table.render }}"},{"line_number":6,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":7,"id":"da20952f_0749f95f","line":3,"updated":"2015-08-30 19:48:54.000000000","message":".row-fluid is now just .row","commit_id":"baab89e7bbb8e0c475953344c294438868d42eb7"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"bb6c7e0fd5e619410df7d22a0eb14b5bc8ebfbd0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% load i18n %}"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"\u003cdiv class\u003d\"row-fluid\"\u003e"},{"line_number":4,"context_line":"  \u003cdiv class\u003d\"span12\"\u003e"},{"line_number":5,"context_line":"    {{ audit_table.render }}"},{"line_number":6,"context_line":"  \u003c/div\u003e"},{"line_number":7,"context_line":"  \u003cdiv class\u003d\"span12\"\u003e"}],"source_content_type":"text/html","patch_set":7,"id":"da20952f_875429fe","line":4,"updated":"2015-08-30 19:48:54.000000000","message":"Basically, span12 will likely change to col-sm-12 OR col-md-12 --\u003e depending on how you want it to function on smaller screens.","commit_id":"baab89e7bbb8e0c475953344c294438868d42eb7"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"bb6c7e0fd5e619410df7d22a0eb14b5bc8ebfbd0","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  \u003cdiv class\u003d\"span12\"\u003e"},{"line_number":5,"context_line":"    {{ audit_table.render }}"},{"line_number":6,"context_line":"  \u003c/div\u003e"},{"line_number":7,"context_line":"  \u003cdiv class\u003d\"span12\"\u003e"},{"line_number":8,"context_line":"    {{ event_table.render }}"},{"line_number":9,"context_line":"  \u003c/div\u003e"},{"line_number":10,"context_line":"\u003c/div\u003e"}],"source_content_type":"text/html","patch_set":7,"id":"da20952f_27467d4f","line":7,"updated":"2015-08-30 19:48:54.000000000","message":"Ditto.","commit_id":"baab89e7bbb8e0c475953344c294438868d42eb7"}],"openstack_dashboard/dashboards/project/instances/audit_tables.py":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"f62b6b80951474853357f89c9bb75816872cd113","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"class EventDetails(tables.DataTable):"},{"line_number":68,"context_line":"    host \u003d tables.Column(\u0027host\u0027, verbose_name\u003d_(\u0027Host server\u0027))"},{"line_number":69,"context_line":"    request_id \u003d tables.Column(\u0027request_id\u0027, verbose_name\u003d_(\u0027Request ID\u0027))"},{"line_number":70,"context_line":"    timestamp \u003d tables.Column(\u0027timestamp\u0027, verbose_name\u003d_(\u0027Time Stamp\u0027))"},{"line_number":71,"context_line":"    event_type \u003d tables.Column(\u0027event_type\u0027, verbose_name\u003d_(\u0027Type\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"3afb71cf_31801c46","line":68,"updated":"2015-06-08 23:08:05.000000000","message":"I think host is considered to be admin only. This should only be visible based on appropriate permissions.","commit_id":"c6cf396ceee00956ab0a991265f5191e604bc8ff"},{"author":{"_account_id":7187,"name":"Janet Yu","email":"jwy@cs.stanford.edu","username":"jwy"},"change_message_id":"0a1ef039a808a37a6bbd22f6c4498851c544e735","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from horizon.utils import filters"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"class MoreInfo(tables.LinkAction):"},{"line_number":24,"context_line":"    name \u003d \"MoreInfo\""},{"line_number":25,"context_line":"    verbose_name \u003d _(\"Event Details\")"},{"line_number":26,"context_line":"    url \u003d \"horizon:project:instances:event_details\""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_b232e25d","line":23,"updated":"2015-08-19 23:26:20.000000000","message":"Where is this being used? Is row_actions missing from AuditTable?","commit_id":"049de66df6f028aae0dfdeaab8f4d815b6ded6e9"}],"openstack_dashboard/dashboards/project/instances/tabs.py":[{"author":{"_account_id":7187,"name":"Janet Yu","email":"jwy@cs.stanford.edu","username":"jwy"},"change_message_id":"0a1ef039a808a37a6bbd22f6c4498851c544e735","unresolved":false,"context_lines":[{"line_number":90,"context_line":"class AuditTab(tabs.TableTab):"},{"line_number":91,"context_line":"    name \u003d _(\"Action Log\")"},{"line_number":92,"context_line":"    slug \u003d \"audit\""},{"line_number":93,"context_line":"    table_classes \u003d (a_tables.AuditTable, )"},{"line_number":94,"context_line":"    template_name \u003d \"project/instances/_detail_audit.html\""},{"line_number":95,"context_line":"    preload \u003d False"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa1b9901_b2e422e1","line":93,"updated":"2015-08-19 23:26:20.000000000","message":"Remove unnecessary whitespace change.","commit_id":"049de66df6f028aae0dfdeaab8f4d815b6ded6e9"}]}
