Merge "Remove old oslo.messaging transport aliases"
This commit is contained in:
commit
183cde209d
|
@ -21,12 +21,6 @@ from kingbird.common import context
|
|||
TRANSPORT = None
|
||||
NOTIFIER = None
|
||||
|
||||
_ALIASES = {
|
||||
'kingbird.openstack.common.rpc.impl_kombu': 'rabbit',
|
||||
'kingbird.openstack.common.rpc.impl_qpid': 'qpid',
|
||||
'kingbird.openstack.common.rpc.impl_zmq': 'zmq',
|
||||
}
|
||||
|
||||
|
||||
class RequestContextSerializer(oslo_messaging.Serializer):
|
||||
def __init__(self, base):
|
||||
|
@ -71,7 +65,7 @@ def setup(url=None, optional=False):
|
|||
exmods = ['kingbird.common.exception']
|
||||
try:
|
||||
TRANSPORT = oslo_messaging.get_transport(
|
||||
cfg.CONF, url, allowed_remote_exmods=exmods, aliases=_ALIASES)
|
||||
cfg.CONF, url, allowed_remote_exmods=exmods)
|
||||
except oslo_messaging.InvalidTransportURL as e:
|
||||
TRANSPORT = None
|
||||
if not optional or e.url:
|
||||
|
|
Loading…
Reference in New Issue