Merge "Deprecate support for amqp1 driver"
This commit is contained in:
commit
6b1b5cb91c
|
@ -1,5 +1,6 @@
|
|||
# == Define: oslo::messaging::amqp
|
||||
#
|
||||
# DEPRECATED !!
|
||||
# Configure oslo_messaging_amqp options
|
||||
#
|
||||
# This resource configures Oslo messaging resources for an OpenStack service.
|
||||
|
|
|
@ -37,6 +37,10 @@ define oslo::messaging::default(
|
|||
$control_exchange = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
if $transport_url =~ 'amqp://.+' {
|
||||
warning('amqp1 driver support has been deprecated, because the driver is deprecated.')
|
||||
}
|
||||
|
||||
$default_options = {
|
||||
'DEFAULT/executor_thread_pool_size' => { value => $executor_thread_pool_size },
|
||||
'DEFAULT/rpc_response_timeout' => { value => $rpc_response_timeout },
|
||||
|
|
|
@ -33,6 +33,10 @@ define oslo::messaging::notifications(
|
|||
$topics = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
if $transport_url =~ 'amqp://.+' {
|
||||
warning('amqp1 driver support has been deprecated, because the driver is deprecated.')
|
||||
}
|
||||
|
||||
# When we have a string value for driver, we keep passing it as string
|
||||
# to reduce any chance of breaking things in a backwards incompatible way
|
||||
$driver_real = $driver ? {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
deprecations:
|
||||
- |
|
||||
Support for the amqp1 driver has been deprecated and will be removed in
|
||||
a future release.
|
Loading…
Reference in New Issue