oslo.messaging/tests
Mehdi Abaakouk 9f58e2c3fe Implements notification listener and dispatcher
This patch allows to quickly create a listener to receive
notification messages.

Example of the api:

class Endpoint(object):
    def warn(self, ctxt, publisher_id, event_type, payload):
        do_something(payload)

target = messaging.Target(topic='notifications', exchange='cinder')
listener = notify.get_notification_listener(transport, [target],
                                            [Endpoint()],
                                            executor,
                                            serializer)

Implements blueprint notification-subscriber-server

Change-Id: I434bc487c382a2048670df726d9bebd640150bb9
2014-02-14 16:06:26 +01:00
..
__init__.py Remove copyright from empty files 2014-01-04 10:33:58 +08:00
test_exception_serialization.py Merge "Minor Python 3 fixes" 2014-01-08 18:37:39 +00:00
test_expected_exceptions.py Update ExpectedException handling 2014-02-05 09:32:42 -08:00
test_notifier.py Use stevedore's make_test_instance 2014-01-27 19:23:18 -05:00
test_notifier_logger.py Removes use of timeutils.set_time_override 2014-01-13 08:00:36 +08:00
test_notify_dispatcher.py Implements notification listener and dispatcher 2014-02-14 16:06:26 +01:00
test_notify_listener.py Implements notification listener and dispatcher 2014-02-14 16:06:26 +01:00
test_opts.py Expose an entry point to list all config options 2014-01-27 11:24:52 +00:00
test_pool.py Replace assertEquals with assertEqual 2013-10-23 16:23:01 +08:00
test_rabbit.py Implements notification listener and dispatcher 2014-02-14 16:06:26 +01:00
test_rpc_client.py Remove check_for_lock support in RPCClient 2013-08-26 09:31:12 +01:00
test_rpc_dispatcher.py Make the dispatcher responsible to listen() 2014-01-30 13:40:42 +01:00
test_rpc_server.py Make the dispatcher responsible to listen() 2014-01-30 13:40:42 +01:00
test_target.py Replace assertEquals with assertEqual 2013-10-23 16:23:01 +08:00
test_transport.py python3: Switch to mox3 instead of mox 2014-01-16 14:31:01 +01:00
test_urls.py Add transport aliases 2013-12-06 19:18:18 +00:00
test_utils.py Fix test case name typo 2014-01-27 10:39:20 +00:00
utils.py Replace dict.iteritems() with six.iteritems() 2013-12-20 23:43:35 +01:00