Skip to content

Commit d296a8f

Browse files
committed
Revert "ApiDiscovery: Discovery apis provided by PluggableServices as well"
This reverts commit 1b9e5c3. Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
1 parent 1b9e5c3 commit d296a8f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ protected ApiDiscoveryServiceImpl() {
6767
//TODO: Fix and use PluggableService to get the classes
6868
Set<Class<?>> cmdClasses = ReflectUtil.getClassesWithAnnotation(APICommand.class,
6969
new String[]{"org.apache.cloudstack.api", "com.cloud.api"});
70-
for(PluggableService service: _services)
71-
cmdClasses.addAll(service.getCommands());
7270
cacheResponseMap(cmdClasses);
7371
long endTime = System.nanoTime();
7472
s_logger.info("Api Discovery Service: Annotation, docstrings, api relation graph processed in " + (endTime - startTime) / 1000000.0 + " ms");

0 commit comments

Comments
 (0)