)]}'
{"networking_odl/journal/full_sync.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"f1705184093767d2383506dabd900d6463c3cfd8","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"def _sync_resources(context, object_type, handler):"},{"line_number":143,"context_line":"    resources \u003d handler(context, object_type)"},{"line_number":144,"context_line":"    for resource in resources:"},{"line_number":145,"context_line":"        if hasattr(handler.driver, \u0027journal_processor\u0027):"},{"line_number":146,"context_line":"            resource \u003d getattr(handler.driver,"},{"line_number":147,"context_line":"                               \u0027journal_processor\u0027)(object_type, resource)"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        journal.record(context, object_type, resource[\u0027id\u0027],"},{"line_number":150,"context_line":"                       odl_const.ODL_CREATE, resource)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f2577a7_283cdbc6","line":147,"range":{"start_line":143,"start_character":0,"end_line":147,"end_character":74},"updated":"2017-09-12 15:17:32.000000000","message":"handler is already plugin specific.\nSo l2gw plugin can register its own handler to do this specific logic.\nSo special method like jorunal_processor isn\u0027t needed.","commit_id":"00a9933ec38f625c9da25b6be7d162b5e7121001"}],"networking_odl/l2gateway/driver_v2.py":[{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"13adb542ceccab7272f664bc7549bb507177b194","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        super(OpenDaylightL2gwDriver, self).__init__(service_plugin, validator)"},{"line_number":50,"context_line":"        self.service_plugin \u003d service_plugin"},{"line_number":51,"context_line":"        self.journal \u003d journal.OpenDaylightJournalThread()"},{"line_number":52,"context_line":"        full_sync.register(constants.L2GW, L2GW_RESOURCES)"},{"line_number":53,"context_line":"        LOG.info(\"ODL: Started OpenDaylight L2Gateway V2 driver\")"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @classmethod"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f2577a7_6afa9c75","line":52,"range":{"start_line":52,"start_character":8,"end_line":52,"end_character":58},"updated":"2017-09-14 08:58:02.000000000","message":"if you don\u0027t register `get_resources` then the default will be used, not this...","commit_id":"336cda4e16e6d3af276c09b7b46fd7ebda28b59f"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"41c1b9119748f451753ed80386e80399d680281d","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        if resource_type \u003d\u003d odl_const.ODL_L2GATEWAY_CONNECTION:"},{"line_number":61,"context_line":"            for index, resource in enumerate(resources):"},{"line_number":62,"context_line":"                resources[index] \u003d cls._update_gateway_id(resource)"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        return resources"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"5f2577a7_3ac96f25","line":62,"range":{"start_line":62,"start_character":35,"end_line":62,"end_character":38},"updated":"2017-09-15 00:53:07.000000000","message":"OpenDaylightL2gwDriver._update_gateway_id()\nthen, this method can be staticmethod.","commit_id":"d30c16afc2f630669d1f4565f3916835cf0329c4"}]}
