cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-1210) Make all pluggable services return list of api cmd classes
Date Fri, 08 Feb 2013 09:25:12 GMT
Rohit Yadav created CLOUDSTACK-1210:

             Summary: Make all pluggable services return list of api cmd classes
                 Key: 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.2.0

In ApiServer, ApiDiscovery and in apidoc generator, we're using reflections to go through
all classes under package namespace org.apache.cloudstack and 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:

View raw message