Merge "Enable sorting and pagination by default"
This commit is contained in:
commit
c2b220ee3d
@ -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