mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Fixed API xml doc generation
This commit is contained in:
parent
f95d845360
commit
7dce8412e4
@ -6,7 +6,7 @@ import com.cloud.exception.InvalidParameterValueException;
|
||||
|
||||
public abstract class BaseListCmd extends BaseCmd {
|
||||
|
||||
private static final Long MAX_PAGESIZE = _configService.getDefaultPageSize();
|
||||
private static Long MAX_PAGESIZE = 500L;
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
/////////// BaseList API parameters /////////////////
|
||||
@ -38,6 +38,11 @@ public abstract class BaseListCmd extends BaseCmd {
|
||||
return pageSize;
|
||||
}
|
||||
|
||||
|
||||
static void configure() {
|
||||
MAX_PAGESIZE = _configService.getDefaultPageSize();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getEntityOwnerId() {
|
||||
//no owner is needed for list command
|
||||
|
||||
@ -161,6 +161,7 @@ public class ApiServer implements HttpRequestHandler {
|
||||
public void init(String[] apiConfig) {
|
||||
try {
|
||||
BaseCmd.setComponents(new ApiResponseHelper());
|
||||
BaseListCmd.configure();
|
||||
_apiCommands = new Properties();
|
||||
Properties preProcessedCommands = new Properties();
|
||||
if (apiConfig != null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user