Bug 485730

Summary: API Enhancement - add system.listActivationKeys
Product: [Community] Spacewalk Reporter: Brad Buckingham <bbuckingham>
Component: APIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:10:26 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: 456553    

Description Brad Buckingham 2009-02-16 16:12:26 UTC
Description of problem:

Add an API to enable a user to list the activation keys that were used to register a given system.

Version-Release number of selected component (if applicable):


How reproducible:
Always.  There is no API that provides this capability.

Steps to Reproduce:
1. view the API docs for the 'system' handler... 
2.
3.
  
Actual results:
n/a

Expected results:

expect to see an API such as 
system.listActivationKeys(String sessionKey, int systemId) that returns a list of activation keys (string) used during the registration of the system.

Comment 1 Brad Buckingham 2009-02-16 16:19:36 UTC
git commit: 2b8dbac4bd23e5aed0cac88f969c0a754f8b64fb

Method: listActivationKeys
Description:
List the activation keys the system was registered with. An empty list will be returned if an activation key was not used during registration.

Parameters:

    * string sessionKey
    * int serverId

Returns:

    * array:
          o string - key

Comment 2 Jesus M. Rodriguez 2009-04-14 14:13:08 UTC
Spacewalk 0.5 released.

Comment 3 Miroslav Suchý 2009-09-17 07:10:26 UTC
Spacewalk 0.5 has been released for long time ago.