Description of problem: There are 2 defatults that are not correctly handled by rest api resource paging. 1. GET /resource/ Actual results: according to docs it should return 20 resources as default pagesize, but it returns more Expected results: Docs should be fixed (I guess there is a typo and it should be 200) 2. GET /resource/?ps=5 Actual results: api still returns more resources, using ps=5&page=0 solves the issue, thus page default=0 is not used Expected results: api should return 5 resources and expect page=0 Version-Release number of selected component (if applicable): JON 3.2.0.ER5 How reproducible: always
in master commit 400a95123fe9c57e6668bdf5003ef621b7050b73 Author: Libor Zoubek <lzoubek> Date: Wed Jul 9 14:28:35 2014 +0200 Bug 1029996 - Resource paging does not correctly respect defaults Default page index set to 0
Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993