[Pulp-dev] Pagination in Pulp

Jeremy Audet jaudet at redhat.com
Tue Jun 26 14:29:09 UTC 2018


FYI, Pulp Smash integrates closely with Pulp's current pagination behaviour:

   - The page_handler
   <http://pulp-smash.readthedocs.io/en/latest/api/pulp_smash.api.html#pulp_smash.api.page_handler>
   response handler walks through pages of results and collects them into a
   single list. It's used extensively.
   - The pagination test case
   <http://pulp-smash.readthedocs.io/en/latest/api/pulp_smash.tests.pulp3.file.api_v3.test_pagination.html>
   "assumes that Pulp returns 100 elements in each page of results. This is
   configurable, but the current default set by all known Pulp installers."

If pagination behaviour is changed, then this will break a significant
number of tests. Also, introducing breaking changes into a fundamental
aspect of Pulp's API during beta would be unfortunate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20180626/b4d39e3e/attachment.htm>


More information about the Pulp-dev mailing list