mirror of https://github.com/apache/cloudstack.git
Spring fails to inject the class itself which is a pluggable service. A
minor issue, but the listApis won't list the "listApis" API itself. So, we manually addAll getCommands() from the class to the cmdClass (the list of cmd classes) Signed-off-by: Chip Childers <chip.childers@gmail.com>
This commit is contained in:
parent
ae9aef2bc8
commit
8071bb7fec
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue