cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [9/35] git commit: refs/heads/ui-multiple-nics - plugins: Add it's to cmdClass in ApiDiscovery, spring fails to self inject
Date Wed, 13 Mar 2013 17:13:57 GMT
plugins: Add it's to cmdClass in ApiDiscovery, spring fails to self inject

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


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

Branch: refs/heads/ui-multiple-nics
Commit: 9bcfaffc3195f29997790fa9386d814c1de05b37
Parents: da89946
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Tue Mar 12 14:43:11 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Tue Mar 12 14:44:10 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9bcfaffc/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 293a1a4..b371488 100755
--- a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
+++ b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
@@ -73,6 +73,7 @@ public class ApiDiscoveryServiceImpl implements ApiDiscoveryService {
                 s_logger.debug(String.format("getting api commands of service: %s", service.getClass().getName()));
                 cmdClasses.addAll(service.getCommands());
             }
+            cmdClasses.addAll(this.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