Bug 710162

Summary: XMLRPC API getApiNamespaceCallList documentation is incorrect
Product: [Community] Spacewalk Reporter: Marcelo Moreira de Mello <mmello>
Component: APIAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 1.5CC: mmello, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: spacewalk-java-1.6.16-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 710164 (view as bug list) Environment:
Last Closed: 2011-12-22 16:49:49 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: 710164, 723481    
Attachments:
Description Flags
apiNamespacesCallList.py reproducer none

Description Marcelo Moreira de Mello 2011-06-02 14:50:40 UTC
Description of problem:

XMLRPC API getApiNamespaceCallList documentation is incorrect. The documentation says that it returns list, but returns a dict. 

Method: getApiNamespaceCallList
Description:
Lists all available api calls for the specified namespace

Parameters:

    string sessionKey
    string namespace

Returns:

    array:
        struct - method_info
            string "name" - method name
            string "parameters" - method parameters
            string "exceptions" - method exceptions
            string "return" - method return type

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


How reproducible:
100%

Comment 1 Marcelo Moreira de Mello 2011-06-02 14:54:17 UTC
Created attachment 502563 [details]
apiNamespacesCallList.py reproducer

Hello, 

 As attach a reproducer in python. 


# python NamespaceCallList.py 
api.getApiNamespaceCallList API returns <type 'dict'>

Cheers, 
Marcelo Moreira de Mello

Comment 2 Jan Pazdziora (Red Hat) 2011-07-20 11:52:00 UTC
Aligning under space16.

Comment 3 Miroslav Suchý 2011-08-05 09:00:48 UTC
Fixed in spacewalk.git commit ddabb3cd72bc112dafec6b92daf429d06fd4c13f

Comment 4 Milan Zázrivec 2011-12-22 16:49:49 UTC
Spacewalk 1.6 has been released.