)]}'
{"vitrage/datasources/alarm_transformer_base.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        event_type \u003d entity_event.get(DSProps.EVENT_TYPE, None)"},{"line_number":43,"context_line":"        if event_type is not None:"},{"line_number":44,"context_line":"            return AlarmProps.INACTIVE_STATE if \\"},{"line_number":45,"context_line":"                GraphAction.DELETE_ENTITY \u003d\u003d event_type else \\"},{"line_number":46,"context_line":"                AlarmProps.ACTIVE_STATE"},{"line_number":47,"context_line":"        else:"},{"line_number":48,"context_line":"            return AlarmProps.INACTIVE_STATE if \\"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_13e93ab7","line":45,"range":{"start_line":45,"start_character":16,"end_line":45,"end_character":55},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring DSProps.event_type to something closer to GraphAction. Perhaps event_action? or event_effect?","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"3cbdbc29a72577f992ed2fe05b944597ea48eb9f","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        event_type \u003d entity_event.get(DSProps.EVENT_TYPE, None)"},{"line_number":43,"context_line":"        if event_type is not None:"},{"line_number":44,"context_line":"            return AlarmProps.INACTIVE_STATE if \\"},{"line_number":45,"context_line":"                GraphAction.DELETE_ENTITY \u003d\u003d event_type else \\"},{"line_number":46,"context_line":"                AlarmProps.ACTIVE_STATE"},{"line_number":47,"context_line":"        else:"},{"line_number":48,"context_line":"            return AlarmProps.INACTIVE_STATE if \\"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_0e14ad4a","line":45,"range":{"start_line":45,"start_character":16,"end_line":45,"end_character":55},"in_reply_to":"5a74a57a_13e93ab7","updated":"2016-11-29 13:07:09.000000000","message":"event_type is not an action. \nIt is the event type of the datasource itself, like cinder.volume.create.start.\nHowever, here there is an abuse of this field - the driver writes DELETE_ENTITY as an event_type, in order to notify the transformer that the entity should be deleted. This code requires a refactoring and re-design of the driver-transformer relation, but it can\u0027t be fixed as part of this change","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/cinder/volume/transformer.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":"class CinderVolumeTransformer(ResourceTransformerBase):"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    # Event types which need to refer them differently"},{"line_number":41,"context_line":"    UPDATE_EVENT_TYPES \u003d {"},{"line_number":42,"context_line":"        \u0027volume.delete.end\u0027: GraphAction.DELETE_ENTITY,"},{"line_number":43,"context_line":"        \u0027volume.detach.start\u0027: GraphAction.DELETE_RELATIONSHIP,"},{"line_number":44,"context_line":"        \u0027volume.attach.end\u0027: GraphAction.UPDATE_RELATIONSHIP"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_f333de5f","line":41,"range":{"start_line":40,"start_character":4,"end_line":41,"end_character":23},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"},{"author":{"_account_id":19159,"name":"Ifat Afek","email":"ifat.afek@nokia.com","username":"ifat_afek"},"change_message_id":"3cbdbc29a72577f992ed2fe05b944597ea48eb9f","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":"class CinderVolumeTransformer(ResourceTransformerBase):"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    # Event types which need to refer them differently"},{"line_number":41,"context_line":"    UPDATE_EVENT_TYPES \u003d {"},{"line_number":42,"context_line":"        \u0027volume.delete.end\u0027: GraphAction.DELETE_ENTITY,"},{"line_number":43,"context_line":"        \u0027volume.detach.start\u0027: GraphAction.DELETE_RELATIONSHIP,"},{"line_number":44,"context_line":"        \u0027volume.attach.end\u0027: GraphAction.UPDATE_RELATIONSHIP"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_791c0d6a","line":41,"range":{"start_line":40,"start_character":4,"end_line":41,"end_character":23},"in_reply_to":"5a74a57a_f333de5f","updated":"2016-11-29 13:07:09.000000000","message":"+1","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/consistency/transformer.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class ConsistencyTransformer(ResourceTransformerBase):"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    # Event types which need to refer them differently"},{"line_number":27,"context_line":"    UPDATE_EVENT_TYPES \u003d {"},{"line_number":28,"context_line":"        GraphAction.DELETE_ENTITY: GraphAction.DELETE_ENTITY,"},{"line_number":29,"context_line":"        GraphAction.REMOVE_DELETED_ENTITY: GraphAction.REMOVE_DELETED_ENTITY"},{"line_number":30,"context_line":"    }"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_533d7229","line":27,"range":{"start_line":26,"start_character":3,"end_line":27,"end_character":26},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/driver_base.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        end_message \u003d {"},{"line_number":44,"context_line":"            DSProps.ENTITY_TYPE: entity_type,"},{"line_number":45,"context_line":"            DSProps.DATASOURCE_ACTION: DatasourceAction.INIT_SNAPSHOT,"},{"line_number":46,"context_line":"            DSProps.EVENT_TYPE: GraphAction.END_MESSAGE"},{"line_number":47,"context_line":"        }"},{"line_number":48,"context_line":"        return end_message"},{"line_number":49,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_d37ee2e2","line":46,"range":{"start_line":46,"start_character":20,"end_line":46,"end_character":30},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event type to graph Action or event action or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/heat/stack/transformer.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":40,"context_line":"        \u0027OS::Neutron::Port\u0027: NEUTRON_PORT_DATASOURCE"},{"line_number":41,"context_line":"    }"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    # Event types which need to refer them differently"},{"line_number":44,"context_line":"    UPDATE_EVENT_TYPES \u003d {"},{"line_number":45,"context_line":"        \u0027orchestration.stack.delete.end\u0027: GraphAction.DELETE_ENTITY,"},{"line_number":46,"context_line":"    }"},{"line_number":47,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_5352d267","line":44,"range":{"start_line":43,"start_character":3,"end_line":44,"end_character":26},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/neutron/network/driver.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    @staticmethod"},{"line_number":31,"context_line":"    def enrich_event(event, event_type):"},{"line_number":32,"context_line":"        event[DSProps.EVENT_TYPE] \u003d event_type"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"        return NetworkDriver.make_pickleable([event],"},{"line_number":35,"context_line":"                                             NEUTRON_NETWORK_DATASOURCE,"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_33de36dd","line":32,"range":{"start_line":32,"start_character":0,"end_line":32,"end_character":46},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event type to graph Action or event action or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/neutron/network/transformer.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        None: (\u0027id\u0027,)"},{"line_number":34,"context_line":"    }"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    # Event types which need to refer them differently"},{"line_number":37,"context_line":"    UPDATE_EVENT_TYPES \u003d {"},{"line_number":38,"context_line":"        \u0027network.delete.end\u0027: GraphAction.DELETE_ENTITY,"},{"line_number":39,"context_line":"    }"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_d3f34271","line":37,"range":{"start_line":36,"start_character":2,"end_line":37,"end_character":26},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/neutron/port/driver.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":22,"context_line":"class PortDriver(NeutronBase):"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    @staticmethod"},{"line_number":25,"context_line":"    def get_event_types():"},{"line_number":26,"context_line":"        return [\u0027port.create.end\u0027,"},{"line_number":27,"context_line":"                \u0027port.update.end\u0027,"},{"line_number":28,"context_line":"                \u0027port.delete.end\u0027]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_33055645","line":25,"range":{"start_line":25,"start_character":0,"end_line":25,"end_character":26},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"},{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":28,"context_line":"                \u0027port.delete.end\u0027]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    @staticmethod"},{"line_number":31,"context_line":"    def enrich_event(event, event_type):"},{"line_number":32,"context_line":"        event[DSProps.EVENT_TYPE] \u003d event_type"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"        return PortDriver.make_pickleable([event], NEUTRON_PORT_DATASOURCE,"},{"line_number":35,"context_line":"                                          DatasourceAction.UPDATE)[0]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_b397a6ea","line":32,"range":{"start_line":31,"start_character":2,"end_line":32,"end_character":46},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event type to graph Action or event action or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/neutron/port/transformer.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        None: (\u0027fixed_ips\u0027,)"},{"line_number":46,"context_line":"    }"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    # Event types which need to refer them differently"},{"line_number":49,"context_line":"    UPDATE_EVENT_TYPES \u003d {"},{"line_number":50,"context_line":"        \u0027port.delete.end\u0027: GraphAction.DELETE_ENTITY,"},{"line_number":51,"context_line":"    }"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_13a13a46","line":49,"range":{"start_line":48,"start_character":4,"end_line":49,"end_character":26},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/nova/instance/driver.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":35,"context_line":"            \u0027_info\u0027)"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    @staticmethod"},{"line_number":38,"context_line":"    def enrich_event(event, event_type):"},{"line_number":39,"context_line":"        event[DSProps.EVENT_TYPE] \u003d event_type"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        return InstanceDriver.make_pickleable([event],"},{"line_number":42,"context_line":"                                              NOVA_INSTANCE_DATASOURCE,"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_33b39699","line":39,"range":{"start_line":38,"start_character":3,"end_line":39,"end_character":46},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event type to graph Action or event action or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/nova/instance/transformer.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class InstanceTransformer(ResourceTransformerBase):"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    # Event types which need to refer them differently"},{"line_number":38,"context_line":"    UPDATE_EVENT_TYPES \u003d {"},{"line_number":39,"context_line":"        \u0027compute.instance.delete.end\u0027: GraphAction.DELETE_ENTITY,"},{"line_number":40,"context_line":"    }"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_f36bdeee","line":38,"range":{"start_line":37,"start_character":4,"end_line":38,"end_character":26},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/static/driver.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":24,"context_line":"        self.cache \u003d {}"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    @staticmethod"},{"line_number":27,"context_line":"    def get_event_types():"},{"line_number":28,"context_line":"        return []"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    @staticmethod"},{"line_number":31,"context_line":"    def enrich_event(event, event_type):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_9352aa33","line":28,"range":{"start_line":27,"start_character":3,"end_line":28,"end_character":17},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/static_physical/driver.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class StaticPhysicalDriver(DriverBase):"},{"line_number":26,"context_line":"    @staticmethod"},{"line_number":27,"context_line":"    def get_event_types():"},{"line_number":28,"context_line":"        return []"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    @staticmethod"},{"line_number":31,"context_line":"    def enrich_event(event, event_type):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_f3391ef3","line":28,"range":{"start_line":27,"start_character":3,"end_line":28,"end_character":17},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"},{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":28,"context_line":"        return []"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    @staticmethod"},{"line_number":31,"context_line":"    def enrich_event(event, event_type):"},{"line_number":32,"context_line":"        pass"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    ENTITIES_SECTION \u003d \u0027entities\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_3328f699","line":31,"range":{"start_line":31,"start_character":28,"end_line":31,"end_character":38},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event type to graph Action or event action or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"},{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":128,"context_line":"                    self._set_event_type(old_entity, GraphAction.DELETE_ENTITY)"},{"line_number":129,"context_line":"                    updates.append(old_entity.copy())"},{"line_number":130,"context_line":"                else:"},{"line_number":131,"context_line":"                    self._set_event_type(new_entity, GraphAction.UPDATE_ENTITY)"},{"line_number":132,"context_line":"                    updates.append(new_entity.copy())"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"    @staticmethod"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_9300ea03","line":131,"range":{"start_line":131,"start_character":25,"end_line":131,"end_character":40},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event type to graph action or event action or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/static_physical/transformer.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    RELATION_TYPE \u003d \u0027relation_type\u0027"},{"line_number":36,"context_line":"    RELATIONSHIPS_SECTION \u003d \u0027relationships\u0027"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    # Event types which need to refer them differently"},{"line_number":39,"context_line":"    UPDATE_EVENT_TYPES \u003d {"},{"line_number":40,"context_line":"        GraphAction.DELETE_ENTITY: GraphAction.DELETE_ENTITY"},{"line_number":41,"context_line":"    }"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_ce047516","line":39,"range":{"start_line":38,"start_character":3,"end_line":39,"end_character":26},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/transformer_base.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":254,"context_line":""},{"line_number":255,"context_line":"        ds_action \u003d entity_event[DSProps.DATASOURCE_ACTION]"},{"line_number":256,"context_line":"        is_snapshot_event \u003d ds_action \u003d\u003d DatasourceAction.INIT_SNAPSHOT"},{"line_number":257,"context_line":"        event_type \u003d entity_event.get(DSProps.EVENT_TYPE, None)"},{"line_number":258,"context_line":"        return is_snapshot_event and event_type \u003d\u003d GraphAction.END_MESSAGE"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    @staticmethod"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_ce79d594","line":257,"range":{"start_line":257,"start_character":0,"end_line":257,"end_character":63},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event type to graph Action or event action or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/datasources/zabbix/driver.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":186,"context_line":"                                            DatasourceAction.UPDATE)[0]"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    @staticmethod"},{"line_number":189,"context_line":"    def get_event_types():"},{"line_number":190,"context_line":"        return [\u0027zabbix.alarm.ok\u0027, \u0027zabbix.alarm.problem\u0027]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_8e999d7b","line":189,"range":{"start_line":189,"start_character":11,"end_line":189,"end_character":23},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event types to graph Actions or event actions or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}],"vitrage/evaluator/actions/action_executor.py":[{"author":{"_account_id":20667,"name":"Noam Bloom","email":"noam00bloom@gmail.com","username":"nbloom"},"change_message_id":"921e0109f4308b0ea3f8fcfbf3400c1d175411a3","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        event \u003d copy.deepcopy(params)"},{"line_number":98,"context_line":"        ActionExecutor._add_default_properties(event)"},{"line_number":99,"context_line":"        event[EVALUATOR_EVENT_TYPE] \u003d REMOVE_EDGE"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        self.event_queue.put(event)"},{"line_number":102,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_2ea6c9ad","line":99,"range":{"start_line":99,"start_character":14,"end_line":99,"end_character":34},"updated":"2016-11-29 12:54:26.000000000","message":"Consider refactoring event type to graph Action or event action or any other suitable name","commit_id":"9b52ee24cf94cffd72c3c623e7836b316c9c2f91"}]}
