cloudstack/plugins
Rohit Yadav 2c04dad529 ApiDiscovery: New plugin to help discover apis on mgmt server
- Introduces api/discovery plugin that helps discover apis on the mgmt server
- It's a pluggable service, therefore has it's own api-discovery_commands.properties
  where the discovery api, listApi can be blacklisted (by removing it), or it's
  role mask can be changed
- By default its response has all the apis
- Changes in other parts of the code to make it work, viz. components.xml, pom.xml,
  and in ApiServer where it is used as an adapter to get apiname, cmd mappings

The ApiDiscoveryService interface is a contract that the implementing class will
provide:

1. A means to get all the apis as a list of response, plugin is free to implement
   the response class, as long as it extends on the BaseResponse:

    ListResponse<? extends BaseResponse> listApis();

2. Provides a map of apiname as the key and cmd class as the value:

    Map<String, Class<?>> getApiNameCmdClassMapping();

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-08 18:54:29 -08:00
..
acl/static-role-based api: Refactor move acl to org.apache.cloudstack 2013-01-06 15:30:58 -08:00
api/discovery ApiDiscovery: New plugin to help discover apis on mgmt server 2013-01-08 18:54:29 -08:00
deployment-planners Start removing the old ant build files 2012-12-07 15:58:56 +01:00
file-systems/netapp api: Annotate all remaining cmd classes with APICommand name field 2012-12-28 01:28:47 -08:00
host-allocators/random Start removing the old ant build files 2012-12-07 15:58:56 +01:00
hypervisors Merge branch 'master' into api_refactoring 2013-01-07 17:28:57 -08:00
network-elements api: Refactor move acl to org.apache.cloudstack 2013-01-06 15:30:58 -08:00
storage-allocators/random Start removing the old ant build files 2012-12-07 15:58:56 +01:00
user-authenticators Merge branch 'master' into test-merge-api 2012-12-23 13:54:46 -08:00
pom.xml ApiDiscovery: New plugin to help discover apis on mgmt server 2013-01-08 18:54:29 -08:00