keystone/releasenotes/notes/bug-1594482-52a5dd1d8477b694.yaml
Roxana Gherle 6a9a9f002f /services?name=<name> API fails when using list_limit
When using list_limit configuration option in Default section of
keystone.conf, the /services?name=<service_name> API fails to find
the service if list_limit value is smaller than the total number
of services and the searched service is not among the first
'list_limit' services. The API should first filter by name and
only afterwards truncate the result list.

Also, this patch fixes setting the 'truncated' attribute of the
driver's hint.limit object when truncating the list outside of
driver_hints.truncated decorator, problem exposed by fixing the
problem described in the first paragraph.

Closes-Bug: #1594482
Change-Id: I832f542c3cb0faf94a1e5bce5a894f7f4d26a8de
2016-06-21 14:22:19 -07:00

9 lines
357 B
YAML

---
fixes:
- >
[`bug 1594482 <https://bugs.launchpad.net/keystone/+bug/1594482>`_]
When using list_limit config option, the GET /services?name={service_name}
API was first truncating the list and afterwards filtering by name.
The API was fixed to first filter by name and only afterwards truncate the
result list to the desired limit.