mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Revert "ApiDiscovery: Discovery apis provided by PluggableServices as well"
This reverts commit 1b9e5c3006b5b9ee6b301d65fc8d81675914c826. Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
This commit is contained in:
parent
1b9e5c3006
commit
d296a8fa65
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user