manila/manila/tests/api
silvacarloss 8263f911be Fix pagination does not speed up queries bug
This patch modifies the database api layer to fix the pagination
slowness bug, which causes a delay while the administrator tries
to list shares using the `--limit` option.
This change was tested in a very busy environment with 800 shares.
Before the change, the operation took about 25 seconds to be
finished. Now, the operation takes about 3 seconds in the same
environment.

Change-Id: I89659452b0e033631f1318a2eabb7e120c9e5743
Closes-bug: #1795463
(cherry picked from commit 57edcbd1da)
(cherry picked from commit 462b0e7461)
(cherry picked from commit bad03feea9)
2019-10-18 23:22:33 +00:00
..
contrib Use ShareInstance model to access share properties 2017-05-30 13:12:48 +02:00
extensions Remove vim headers 2014-10-06 15:00:27 +02:00
middleware Fix UnicodeDecodeError when decode API input 2018-02-07 06:37:32 +00:00
openstack Fix API version inferred w/ un-versioned URLs 2019-03-18 12:10:23 +00:00
v1 Fix pagination does not speed up queries bug 2019-10-18 23:22:33 +00:00
v2 Fix pagination does not speed up queries bug 2019-10-18 23:22:33 +00:00
views Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
__init__.py pep8: Enable H303 and F403 2014-08-23 10:40:52 +02:00
common.py Remove vim headers 2014-10-06 15:00:27 +02:00
fakes.py Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
test_common.py Extend remove_version_from_href support 2019-03-17 20:55:34 +00:00
test_extensions.py Limit formatting routes when adding resources 2018-06-29 19:56:02 +00:00
test_middleware.py Added CORS support to Manila 2015-11-11 10:10:58 -08:00
test_versions.py Allow api_version_request.matches to accept a string or None 2018-06-25 12:45:39 +00:00
test_wsgi.py Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00