Merge "Enable sorting and pagination by default"

This commit is contained in:
Jenkins 2016-08-04 19:25:36 +00:00 committed by Gerrit Code Review
commit c2b220ee3d
5 changed files with 5 additions and 22 deletions

View File

@ -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 "

View File

@ -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

View File

@ -1,9 +0,0 @@
[[post-extra|$TEMPEST_CONFIG]]
[neutron_plugin_options]
validate_pagination = True
[[post-config|$NEUTRON_CONF]]
[DEFAULT]
allow_pagination=True

View File

@ -1,9 +0,0 @@
[[post-extra|$TEMPEST_CONFIG]]
[neutron_plugin_options]
validate_sorting = True
[[post-config|$NEUTRON_CONF]]
[DEFAULT]
allow_sorting=True

View File

@ -0,0 +1,3 @@
---
upgrade:
- API sorting and pagination features are now enabled by default.