Deprecated impl_qpid
As per discussions, this patch marks the qpid driver as deprecated. The removal release has been set to M. DocImpact Change-Id: I81f667e0f440ae4e0a7226800a5f99809fc6dce2
This commit is contained in:

committed by
Flavio Percoco

parent
c9021c2116
commit
10c39d5df4
@@ -19,6 +19,7 @@ import logging
|
|||||||
import os
|
import os
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
|
import warnings
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
@@ -766,10 +767,17 @@ class Connection(object):
|
|||||||
class QpidDriver(amqpdriver.AMQPDriverBase):
|
class QpidDriver(amqpdriver.AMQPDriverBase):
|
||||||
"""qpidd Driver
|
"""qpidd Driver
|
||||||
|
|
||||||
|
.. deprecated:: 1.16 (Liberty)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, conf, url,
|
def __init__(self, conf, url,
|
||||||
default_exchange=None, allowed_remote_exmods=None):
|
default_exchange=None, allowed_remote_exmods=None):
|
||||||
|
|
||||||
|
warnings.warn(_('The Qpid driver has been deprecated. '
|
||||||
|
'The driver is planned to be removed during the `M` '
|
||||||
|
'development cycle.'),
|
||||||
|
DeprecationWarning, stacklevel=2)
|
||||||
|
|
||||||
opt_group = cfg.OptGroup(name='oslo_messaging_qpid',
|
opt_group = cfg.OptGroup(name='oslo_messaging_qpid',
|
||||||
title='QPID driver options')
|
title='QPID driver options')
|
||||||
conf.register_group(opt_group)
|
conf.register_group(opt_group)
|
||||||
|
Reference in New Issue
Block a user