Bug 1149766

Summary: Number of child resources retrieved using REST can't be modified using ps param and is always limited to 100
Product: [JBoss] JBoss Operations Network Reporter: Radim Hatlapatka <rhatlapa>
Component: RESTAssignee: Libor Zoubek <lzoubek>
Status: CLOSED CURRENTRELEASE QA Contact: Radim Hatlapatka <rhatlapa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: theute, tsegismo
Target Milestone: ER05   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 13:59:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radim Hatlapatka 2014-10-06 15:04:41 UTC
It is not possible to configure number of child resources send via REST using ps query param resulting to max limit of 100 resources.


There can be machine with too many resources (CPUs,...) which could prevent from retrieving desired resource using REST API (e.g. the managed server).

Comment 1 Libor Zoubek 2014-10-07 11:22:09 UTC
branch:  master
link:    https://github.com/rhq-project/rhq/commit/eb13d85bc
time:    2014-10-07 13:18:50 +0200
commit:  eb13d85bc4c071ccdb5401a730a45a43e9fff57a
author:  Libor Zoubek - lzoubek
message: Bug 1149766 - Number of child resources retrieved using REST can't be 
         modified using ps param and is always limited to 100

         Added suport for paging, default page size is now 20

Comment 2 Thomas Segismont 2014-10-09 15:57:26 UTC
Cherry-picked over to release/jon3.3.x

commit 0ea7bef080bbe00df66fcf5c2a57310eac5527a3
Author: Libor Zoubek <lzoubek>
Date:   Tue Oct 7 13:15:53 2014 +0200
    
    Added suport for paging, default page size is now 20
    
    (cherry picked from commit eb13d85bc4c071ccdb5401a730a45a43e9fff57a)
    Signed-off-by: Thomas Segismont <tsegismo>

Comment 3 Jared MORGAN 2014-10-13 03:48:22 UTC
This issue does not have any customer cases attached, and appears to be discovered in a development build. It does not result in a Known Issue, therefore it is excluded from the Release Notes.

Comment 5 Simeon Pinder 2014-10-21 20:24:15 UTC
Moving to ON_QA as available to test with the latest brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=394734

Comment 6 Radim Hatlapatka 2014-10-29 14:36:58 UTC
Verified with JON 3.3.0.ER5 that it works for child resources, nevertheless it doesn't work for platforms, I have created new BZ: BZ#1158516