Bug 1324737

Summary: [RFE] API call to get list of Systems Requiring Reboot
Product: Red Hat Satellite 5 Reporter: Kamudini Gazdikova <kshirsal>
Component: APIAssignee: Jiří Dostál <jdostal>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: medium Docs Contact:
Priority: medium    
Version: 570CC: adujicek, dyordano, gordon.stocks, jdostal, lhellebr, rdrazny, steve.foris, tkasparek, tlestach, xdmoon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-2.5.14-86-sat Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:08:27 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:
Bug Depends On:    
Bug Blocks: 1340444    

Comment 4 Ales Dujicek 2017-01-18 15:55:46 UTC
spacewalk-java-2.5.14-46.el6sat.noarch

there is wrong documentation

Method: listSuggestedReboot
Description:
list systems that require reboot

Parameters:

    string sessionKey

Returns:

    null 

listSuggestedReboot does not return null

otherwise it looks that it works, it returns the same list as webui shows

Comment 7 Lukáš Hellebrandt 2017-05-22 11:38:24 UTC
Maybe this is nitpicking but for the sake of consistency, description text in API help should start with capital letter and end with a dot, like everywhere else on that page:

s/list systems that require reboot/List systems that require reboot./

Comment 8 Tomáš Kašpárek 2017-05-23 11:24:09 UTC
spacewalk.git(master): f5f28f258f8464c9946dacad78083ad4b6dc7df2

Comment 11 Lukáš Hellebrandt 2017-05-30 09:25:10 UTC
Verified with spacewalk-java-2.5.14-88.

The API call returns the same set of systems as shown in WebUI. Text in API help is correct.