]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Pass serializer to oslo.messaging Notifier
authorIhar Hrachyshka <ihrachys@redhat.com>
Fri, 20 Jun 2014 11:29:06 +0000 (13:29 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Fri, 20 Jun 2014 12:58:28 +0000 (14:58 +0200)
commit48e9c8b79bea9c9a65ceb1c24528a89db6d313d2
treed080e3278d05d89a93feca733c64a0cd9011ed5d
parent343b5d347afac2d7770428ee14fe5302595059b5
Pass serializer to oslo.messaging Notifier

oslo.messaging has a workaround [1] that requires context to be
transformed to pure dict before passing into amqpdriver.

Renamed serializer class to reflect its broader usage.

Updated FakeNotifier to expect serializer and other keyword arguments
supported by oslo.messaging Notifier class.

[1]: oslo/messaging/_drivers/amqpdriver.py#L337

blueprint oslo-messaging

Closes-Bug: #1332412
Change-Id: I7e7658d03639afae7bf6d3ad71445cb5b6459c09
neutron/common/rpc.py
neutron/tests/fake_notifier.py