)]}'
{"oslo_messaging/notify/_impl_unix_socket.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"357e8696e2b5791f895aab18ee20e5eb4f607bfb","unresolved":true,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"class UnixSocketDriver(notifier.Driver):"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    \"Publish notifications via Python logging infrastructure.\""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    # NOTE(dhellmann): For backwards-compatibility with configurations"},{"line_number":41,"context_line":"    # that may have modified the settings for this logger using a"},{"line_number":42,"context_line":"    # configuration file, we keep the name"},{"line_number":43,"context_line":"    # \u0027oslo.messaging.notification\u0027 even though the package is now"},{"line_number":44,"context_line":"    # \u0027oslo_messaging\u0027."},{"line_number":45,"context_line":"    LOGGER_BASE \u003d \u0027oslo.messaging.notification\u0027"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def notify(self, ctxt, message, priority, retry):"},{"line_number":48,"context_line":"        logger \u003d logging.getLogger(\u0027%s.%s\u0027 % (self.LOGGER_BASE,"},{"line_number":49,"context_line":"                                              message[\u0027event_type\u0027]))"},{"line_number":50,"context_line":"        method \u003d getattr(logger, priority.lower(), None)"},{"line_number":51,"context_line":"        if method:"},{"line_number":52,"context_line":"            method(jsonutils.dumps(strutils.mask_dict_password(message)))"},{"line_number":53,"context_line":"        else:"},{"line_number":54,"context_line":"            warnings.warn(\u0027Unable to log message as notify cannot find a \u0027"},{"line_number":55,"context_line":"                          \u0027logger with the priority specified \u0027"},{"line_number":56,"context_line":"                          \u0027%s\u0027 % priority.lower())"}],"source_content_type":"text/x-python","patch_set":1,"id":"08462fb3_641f6f39","line":56,"range":{"start_line":38,"start_character":0,"end_line":56,"end_character":50},"updated":"2022-05-16 11:34:39.000000000","message":"you can ignore this i just copy pased the log driver as a refernce point. so this will likely all change.","commit_id":"7394da0210ab95f304fd46eb2365b59d976be9d2"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"b517f395705643c97712cc68d0642774025e5be7","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"class UnixSocketDriver(notifier.Driver):"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    \"Publish notifications via Python logging infrastructure.\""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    # NOTE(dhellmann): For backwards-compatibility with configurations"},{"line_number":41,"context_line":"    # that may have modified the settings for this logger using a"},{"line_number":42,"context_line":"    # configuration file, we keep the name"},{"line_number":43,"context_line":"    # \u0027oslo.messaging.notification\u0027 even though the package is now"},{"line_number":44,"context_line":"    # \u0027oslo_messaging\u0027."},{"line_number":45,"context_line":"    LOGGER_BASE \u003d \u0027oslo.messaging.notification\u0027"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def notify(self, ctxt, message, priority, retry):"},{"line_number":48,"context_line":"        logger \u003d logging.getLogger(\u0027%s.%s\u0027 % (self.LOGGER_BASE,"},{"line_number":49,"context_line":"                                              message[\u0027event_type\u0027]))"},{"line_number":50,"context_line":"        method \u003d getattr(logger, priority.lower(), None)"},{"line_number":51,"context_line":"        if method:"},{"line_number":52,"context_line":"            method(jsonutils.dumps(strutils.mask_dict_password(message)))"},{"line_number":53,"context_line":"        else:"},{"line_number":54,"context_line":"            warnings.warn(\u0027Unable to log message as notify cannot find a \u0027"},{"line_number":55,"context_line":"                          \u0027logger with the priority specified \u0027"},{"line_number":56,"context_line":"                          \u0027%s\u0027 % priority.lower())"}],"source_content_type":"text/x-python","patch_set":1,"id":"f9961871_d851566f","line":56,"range":{"start_line":38,"start_character":0,"end_line":56,"end_character":50},"in_reply_to":"08462fb3_641f6f39","updated":"2022-05-16 14:03:18.000000000","message":"Ack","commit_id":"7394da0210ab95f304fd46eb2365b59d976be9d2"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"e30282e09031fb82a31e0e75679d707eefb6f190","unresolved":true,"context_lines":[{"line_number":59,"context_line":"        # next we create and store a reference to the raw socket"},{"line_number":60,"context_line":"        self.sock \u003d socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)"},{"line_number":61,"context_line":"        # and bind it to the socket path"},{"line_number":62,"context_line":"        self.sock.bind(socket_path)"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def notify(self, ctxt, message, priority, retry):"},{"line_number":65,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f1658b1_e6b5df3e","line":62,"updated":"2022-05-16 16:38:00.000000000","message":"this appreantly is raising an excption\n\ni need to see why it might be a permission issue or simialr but im usign a tempdir fixture to create the locaiton where we create the socket in the tests so im not sure why this is raising a filenotfound error.","commit_id":"6ee6450cc69dcd9aec37a73ad56f55884d355660"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a1cdd4133fdfa18c554725afb16d026ac2571a54","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        # next we create and store a reference to the raw socket"},{"line_number":60,"context_line":"        self.sock \u003d socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)"},{"line_number":61,"context_line":"        # and bind it to the socket path"},{"line_number":62,"context_line":"        self.sock.bind(socket_path)"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    def notify(self, ctxt, message, priority, retry):"},{"line_number":65,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"d0cecb68_ef564c48","line":62,"in_reply_to":"5f1658b1_e6b5df3e","updated":"2022-05-16 20:49:06.000000000","message":"Done","commit_id":"6ee6450cc69dcd9aec37a73ad56f55884d355660"}],"oslo_messaging/tests/functional/notify/test_unix_socket.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"933bb5c064efd77c7b89cee1efa3018bcc162f1c","unresolved":true,"context_lines":[{"line_number":45,"context_line":"        # NOTE(sean-k-mooney) driver is a MultiStrOpt so we need to wrap it"},{"line_number":46,"context_line":"        # into a list."},{"line_number":47,"context_line":"        self.socket_path \u003d os.path.join("},{"line_number":48,"context_line":"            self.temp_dir, \u0027oslo_messaging\u0027, \u0027notifications.sock\u0027"},{"line_number":49,"context_line":"        )"},{"line_number":50,"context_line":"        self.config("},{"line_number":51,"context_line":"            group\u003d\u0027oslo_messaging_notifications\u0027, driver\u003d[DRIVER_NAME],"}],"source_content_type":"text/x-python","patch_set":2,"id":"377e9cf0_e1fb1464","line":48,"range":{"start_line":48,"start_character":27,"end_line":48,"end_character":44},"updated":"2022-05-16 16:56:27.000000000","message":"this is why it was failing\n\nnothing creates that folder","commit_id":"6ee6450cc69dcd9aec37a73ad56f55884d355660"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a1cdd4133fdfa18c554725afb16d026ac2571a54","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        # NOTE(sean-k-mooney) driver is a MultiStrOpt so we need to wrap it"},{"line_number":46,"context_line":"        # into a list."},{"line_number":47,"context_line":"        self.socket_path \u003d os.path.join("},{"line_number":48,"context_line":"            self.temp_dir, \u0027oslo_messaging\u0027, \u0027notifications.sock\u0027"},{"line_number":49,"context_line":"        )"},{"line_number":50,"context_line":"        self.config("},{"line_number":51,"context_line":"            group\u003d\u0027oslo_messaging_notifications\u0027, driver\u003d[DRIVER_NAME],"}],"source_content_type":"text/x-python","patch_set":2,"id":"6c2d9740_eef822a2","line":48,"range":{"start_line":48,"start_character":27,"end_line":48,"end_character":44},"in_reply_to":"377e9cf0_e1fb1464","updated":"2022-05-16 20:49:06.000000000","message":"Done","commit_id":"6ee6450cc69dcd9aec37a73ad56f55884d355660"}]}
