Remove old oslo.messaging transport aliases
Those are remnants from the oslo-incubator times. Also, oslo.messaging deprecated [1] transport aliases since 5.2.0+ that is the minimal version supported for stable/newton. The patch that bumped the minimal version for Designate landed 3 months+ ago, so we can proceed ripping those aliases from the code base. [1] I314cefa5fb1803fa7e21e3e34300e5ced31bba89 Change-Id: I46142df6ecae24eb4e7b6892b946ef131ae66bc7 Closes-Bug: #1424728
This commit is contained in:
parent
1a6bcdad99
commit
f4721a3eee
|
@ -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