Bug 217739

Summary: RHN API Enhancements -- listActiveSystems
Product: Red Hat Satellite 5 Reporter: Issue Tracker <tao>
Component: APIAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Brandon Perkins <bperkins>
Severity: medium Docs Contact:
Priority: medium    
Version: 410Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sat510 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-02 21:01:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 248642    
Attachments:
Description Flags
Python script to exercise API call "listActiveSystems" none

Description Issue Tracker 2006-11-29 18:13:46 UTC
Escalated to Bugzilla from IssueTracker

Comment 5 John Matthews 2007-11-16 19:08:49 UTC
Created attachment 261661 [details]
Python script to exercise API call "listActiveSystems"

Test script to show "listActiveSystems" is functioning

Comment 6 John Matthews 2007-11-19 21:46:47 UTC
Fixed in svn, commit #133951, #133964

Comment 7 Brandon Perkins 2007-12-19 06:01:48 UTC
Fails QA for one (potentially two) reasons:

Problem 1: server name key in return is "Name" but the docs say "name".

Problem 2: last_checkin is a string (in both the return and the docs), but
wouldn't it make more sense to be a date?  Like the get* and schedule*
methods... seems odd to have a perfectly good date datatype cast into a string
to put the parsing effort on the client/customer.

Comment 8 John Matthews 2007-12-19 16:38:53 UTC
svn revision: 135037

Updated last_checkin to return a Date object and fixed case problem with "name".

Example output:
last_checkin =  20071219T15:46:48
        name =  rlx-0-24.rhndev.redhat.com
        id =    1000010001


Comment 9 Brandon Perkins 2008-01-05 04:14:57 UTC
Fails QA.  The name thing is fixed.  The last_checkin now returns a date,
however, the docs are now wrong:

https://rlx-3-14.rhndev.redhat.com/rhn/apidoc/system/SystemHandler.jsp#listActiveSystems

string "last_checkin" - last time server successfully checked in with Red Hat
Network.

should be:

date "last_checkin" - last time server successfully checked in with Red Hat Network.


Comment 10 John Matthews 2008-01-07 17:07:35 UTC
svn rev: 135286
Documentation update:
dateTime.iso8601 "last_checkin" - last time server successfully checked in


Comment 11 Brandon Perkins 2008-01-14 07:22:26 UTC
Verified.

Comment 12 Brandon Perkins 2008-03-25 16:40:28 UTC
Release Pending.

Comment 13 Brandon Perkins 2008-04-02 21:01:21 UTC
API call Enhancements for 5.1 Sat GA so Closed for Current Release.