incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [17/51] [abbrv] git commit: refs/heads/ui-plugins - Revert "ApiDiscovery: Discovery apis provided by PluggableServices as well"
Date Thu, 07 Feb 2013 20:04:12 GMT
Revert "ApiDiscovery: Discovery apis provided by PluggableServices as well"

This reverts commit 1b9e5c3006b5b9ee6b301d65fc8d81675914c826.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d296a8fa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d296a8fa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d296a8fa

Branch: refs/heads/ui-plugins
Commit: d296a8fa65b35874cc1e8dea46d09bc7839d5fd5
Parents: 1b9e5c3
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Wed Feb 6 14:17:22 2013 +0100
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Wed Feb 6 14:17:22 2013 +0100

----------------------------------------------------------------------
 .../discovery/ApiDiscoveryServiceImpl.java         |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d296a8fa/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
----------------------------------------------------------------------
diff --git a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
index e3bc4d3..7689ba4 100644
--- a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
+++ b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
@@ -67,8 +67,6 @@ public class ApiDiscoveryServiceImpl implements ApiDiscoveryService {
             //TODO: Fix and use PluggableService to get the classes
             Set<Class<?>> cmdClasses = ReflectUtil.getClassesWithAnnotation(APICommand.class,
                     new String[]{"org.apache.cloudstack.api", "com.cloud.api"});
-            for(PluggableService service: _services)
-                cmdClasses.addAll(service.getCommands());
             cacheResponseMap(cmdClasses);
             long endTime = System.nanoTime();
             s_logger.info("Api Discovery Service: Annotation, docstrings, api relation graph
processed in " + (endTime - startTime) / 1000000.0 + " ms");


Mime
View raw message