Deprecate username/password config options in favor of TRANSPORT_URL
The transport_url configuration value provides the username and password, making the AMQP 1.0 driver's configuration instances of username and password redundant. Change-Id: If87d3efe616847625c5ab1329c61f1ad4c421a16 Closes-Bug: #1663721
This commit is contained in:
parent
2ee6a2a480
commit
878d9583d9
@ -80,12 +80,18 @@ amqp1_opts = [
|
||||
cfg.StrOpt('username',
|
||||
default='',
|
||||
deprecated_group='amqp1',
|
||||
deprecated_for_removal=True,
|
||||
deprecated_reason='Should use configuration option '
|
||||
'transport_url to provide the username.',
|
||||
help='User name for message broker authentication'),
|
||||
|
||||
cfg.StrOpt('password',
|
||||
default='',
|
||||
deprecated_group='amqp1',
|
||||
secret=True,
|
||||
deprecated_for_removal=True,
|
||||
deprecated_reason='Should use configuration option '
|
||||
'transport_url to provide the password.',
|
||||
help='Password for message broker authentication'),
|
||||
|
||||
# Network connection failure retry options
|
||||
|
Loading…
x
Reference in New Issue
Block a user