cloudstack/client
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
..
WEB-INF CLOUDSTACK-646: Cleaning up Citrix/eula/CloudPlatform references 2012-12-16 20:39:03 -08:00
bindir License header update for the client folder 2012-08-01 13:49:10 -04:00
distro debian: Update locations where to search for Java under Ubuntu and Debian 2012-09-11 15:22:17 +02:00
tomcatconf ApiDiscovery: New plugin to help discover apis on mgmt server 2013-01-08 18:54:29 -08:00
cloudstack-ui.launch client: Re-add missing license header in client/cloudstack-ui.launch 2012-12-23 02:47:27 -08:00
pom.xml ApiDiscovery: New plugin to help discover apis on mgmt server 2013-01-08 18:54:29 -08:00