Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Glance currently uses a custom notifier and it has been maintaining it for a long time. In a hope of reducing duplicated code and improving cross-project contributions, this patch replaces the old notifier with the one, recently developed, in oslo.messaging. The oslo.messaging project is a port of the old oslo-rpc code to a standalone, more stable and improved project. It brings all the benefits that oslo-rpc would've brought as well as an easier way to integrate with other projects. This patch also: - Reduces the code shipped along with Glance since all the code copied from oslo-incubator related to the notifier is not needed anymore. - Improves the stability of existing, broker based, notifications. - Brings HA support. - Keeps backward compatibility by translating the old `notifier_strategy` into oslo.messaging drivers. Changes to the code: - It is now necessary to pass the request context to the notification call. - Notifier package is no longer necessary. A notifier module was added instead. - New, notifier related, configurations were added. - A lot of code was removed Since there's still not an official release, requirements.txt points to the latest tarball created. A release for oslo.messaging is planned for Icehouse. docImpact Implements bp oslo-messaging Change-Id: I8cd84772bc5867e06b2a50ed7e15b9e86f0b94ad
- Loading branch information
Showing
20 changed files
with
78 additions
and
1,469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.