Merge "Remove deprecated parameters for RateLimitingMiddleware"

This commit is contained in:
Zuul 2022-08-01 09:04:24 +00:00 committed by Gerrit Code Review
commit 35066808de
2 changed files with 7 additions and 16 deletions

View File

@ -159,16 +159,6 @@
# metadata handling from api class.
# Defaults to false
#
# [*ratelimits*]
# (optional) A string that is a semicolon-separated list of 5-tuples.
# See http://docs.openstack.org/trunk/config-reference/content/configuring-compute-API.html
# Example: '(POST, "*", .*, 10, MINUTE);(POST, "*/servers", ^/servers, 50, DAY);(PUT, "*", .*, 10, MINUTE)'
# Defaults to undef
#
# [*ratelimits_factory*]
# (optional) The rate limiting factory to use
# Defaults to undef
#
# [*validate*]
# (optional) Whether to validate the service is working after any service refreshes
# Defaults to undef
@ -221,8 +211,6 @@ class nova::api(
$list_records_by_skipping_down_cells = $::os_service_default,
# DEPRECATED PARAMETER
$nova_metadata_wsgi_enabled = false,
$ratelimits = undef,
$ratelimits_factory = undef,
$validate = undef,
$validation_options = undef,
$use_forwarded_for = undef,
@ -239,10 +227,6 @@ class nova::api(
warning('Running nova metadata api via evenlet is deprecated and will be removed in Stein release.')
}
if $ratelimits != undef {
warning('The nova::api::ratelimits parameter has been deprecated and has no effect')
}
if $validate != undef {
warning('The nova::api::validate parameter has been deprecated and has no effect')
}

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
The following parameters of the ``nova::api`` class have been removed.
- ``ratelimits``
- ``ratelimits_factory``