[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohit Yadav updated CLOUDSTACK-1210:
------------------------------------

    Fix Version/s:     (was: 4.2.0)
                   4.1.0
    
> Make all pluggable services return list of api cmd classes
> ----------------------------------------------------------
>
>                 Key: CLOUDSTACK-1210
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1210
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>    Affects Versions: 4.1.0
>            Reporter: Rohit Yadav
>             Fix For: 4.1.0
>
>
> In ApiServer, ApiDiscovery and in apidoc generator, we're using reflections 
> to go through all classes under package namespace org.apache.cloudstack and 
> com.cloud and process those with APICommand annotation. This is the method we 
> use to get info about apis. This is ambiguous, as a plugin or component may 
> want to only expose certain no. of api.
> As part of api_refactoring, Rohit Yadav fixed the method getCommands() for 
> most plugins so they return a list of api cmd classes and only through them 
> commands should be processed.
> The issue is to fix any leftover plugin, fix mgmt server class's 
> getCommands() to return list of all these 300 apis and get rid of the 
> reflections code which does the trick now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to