Enable sorting and pagination by default
Now that we have a decent api test coverage for those features, as well as a way to detect the features via REST API, we should be safe and thrilled to enable them by default in all installations. Depends-On: I0aaaa037a8ad52060a68dd75c0a1accc6add238e Depends-On: I5e68f471a641a34100aba31cb2c4a815c7220014 Depends-On: I648851b48d0481c97054e1280b60a119b42dfd38 Depends-On: Ic04cd125dd715ae0694fbf24d8193abe3151ffd1 Depends-On: Ib3709d15fd87b93285dadf78cce73ee37e8898e2 Depends-On: Ie3a66d2a7c05143df3da1c56c8e8a5308d4bae91 DocImpact Update configuration documentation to cover new defaults. UpgradeImpact To retain the original default behaviour, set allow_sorting and allow_pagination to False. Closes-Bug: #1566514 Change-Id: I3820bec029b3895913b034b718116c95b4942ed0
This commit is contained in:
parent
5e0878f476
commit
9733cc2552
@ -53,9 +53,9 @@ core_opts = [
|
||||
"removed in the Ocata release.")),
|
||||
cfg.BoolOpt('allow_bulk', default=True,
|
||||
help=_("Allow the usage of the bulk API")),
|
||||
cfg.BoolOpt('allow_pagination', default=False,
|
||||
cfg.BoolOpt('allow_pagination', default=True,
|
||||
help=_("Allow the usage of the pagination")),
|
||||
cfg.BoolOpt('allow_sorting', default=False,
|
||||
cfg.BoolOpt('allow_sorting', default=True,
|
||||
help=_("Allow the usage of the sorting")),
|
||||
cfg.StrOpt('pagination_max_limit', default="-1",
|
||||
help=_("The maximum number of items returned in a single "
|
||||
|
@ -63,8 +63,6 @@ case $VENV in
|
||||
# NOTE(ihrachys): note the order of hook post-* sections is significant: [quotas] hook should
|
||||
# go before other hooks modifying [DEFAULT]. See LP#1583214 for details.
|
||||
load_conf_hook quotas
|
||||
load_conf_hook sorting
|
||||
load_conf_hook pagination
|
||||
load_rc_hook qos
|
||||
load_rc_hook trunk
|
||||
load_conf_hook osprofiler
|
||||
|
@ -1,9 +0,0 @@
|
||||
[[post-extra|$TEMPEST_CONFIG]]
|
||||
|
||||
[neutron_plugin_options]
|
||||
validate_pagination = True
|
||||
|
||||
[[post-config|$NEUTRON_CONF]]
|
||||
|
||||
[DEFAULT]
|
||||
allow_pagination=True
|
@ -1,9 +0,0 @@
|
||||
[[post-extra|$TEMPEST_CONFIG]]
|
||||
|
||||
[neutron_plugin_options]
|
||||
validate_sorting = True
|
||||
|
||||
[[post-config|$NEUTRON_CONF]]
|
||||
|
||||
[DEFAULT]
|
||||
allow_sorting=True
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
upgrade:
|
||||
- API sorting and pagination features are now enabled by default.
|
Loading…
Reference in New Issue
Block a user