#274 Paging support for REST methods that return a collection
Closed: migrated by dmoluguw. Opened by edewata.

All REST methods that return a collection of entries (e.g. search or list methods) should support paging.

Ideally paging should be done with VLV or paged search results, but they have some limitations. A simpler way to do paging is to perform the search on the server without any limits, but only return the entries of the page requested by the client, and discard the rest. This solution is not efficient, but it is easier to implement and would work reasonably well as long as the number of entries is not too big.

Some of the services such as user, user cert, group, and group member already support simple paging. Other services currently use size/time limits, they need to be modified to support paging.


Further investigation should be done to determine whether it's still necessary to use VLV (which is now deprecated) or whether it can be replaced with other ways (e.g. SimplePagedResults).

See also: http://www.freeipa.org/page/V3/Directory_Browsing.

Metadata Update from @edewata:
- Issue assigned to edewata
- Issue set to the milestone: UNTRIAGED

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/845

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata Update from @dmoluguw:
- Issue close_status updated to: migrated
- Issue status updated to: Closed (was: Open)

Metadata