You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Min Chen (JIRA)" <ji...@apache.org> on 2014/05/23 01:59:02 UTC

[jira] [Commented] (CLOUDSTACK-6752) IAM command class separation caused ApiDoc warning of duplicated cmd class for the same api name

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006630#comment-14006630 ] 

Min Chen commented on CLOUDSTACK-6752:
--------------------------------------

Make sure that ApiDoc generator always pick the admin command class.

> IAM command class separation caused ApiDoc warning of duplicated cmd class for the same api name
> ------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6752
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6752
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Doc
>    Affects Versions: 4.4.0
>            Reporter: Min Chen
>            Assignee: Min Chen
>             Fix For: 4.4.0
>
>
> IAM separates some cmd classes into two classes, for example, listVMsCmd and listVMsCmdByAdmin to provide different response view for admin and normal user. This caused API doc generation throw such warning: "Warning, API Cmd class has non-unique apiname". For some command, if ApiDocXmlWriter pickes the user cmd class first, the API doc generated may miss some input parameters only existing in ***ByAdmin class. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)