ed149bae81

Generating the payload of a notificatiton might be expensive due to database access. This expensive step is unnecessary if the notification driver is set to noop because it means that the generated payload will not be sent. This patch makes it possible for the user of the notifier to check if the notifier will emit any notification before the payload is generated. Cinder already implemented similar behavior in I77f655d3ef90088ce71304da5d4ea7b543991e90 and nova also plans to do it in I3e6741d59df49e1e58409314008c2ed609fdedc1 Change-Id: Ib992f5c20fef85224fb00823e1d8d9c6cff19bec
Team and repository tags
Oslo Messaging Library
The Oslo messaging API supports RPC and notifications over a number of different messaging transports.
- License: Apache License, Version 2.0
- Documentation: http://docs.openstack.org/developer/oslo.messaging
- Source: http://git.openstack.org/cgit/openstack/oslo.messaging
- Bugs: http://bugs.launchpad.net/oslo.messaging
Description
Languages
Python
99.8%
Shell
0.2%