mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
api: UUID entity type should be for Long fields, fix regression from a22403ed
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
dae57c1ab2
commit
200f89d801
@ -72,7 +72,7 @@ public class CreateStoragePoolCmd extends BaseCmd {
|
||||
required=true, description="the Zone ID for the storage pool")
|
||||
private Long zoneId;
|
||||
|
||||
@Parameter(name=ApiConstants.PROVIDER, type=CommandType.UUID,
|
||||
@Parameter(name=ApiConstants.PROVIDER, type=CommandType.STRING,
|
||||
required=false, description="the storage provider uuid")
|
||||
private String storageProviderUuid;
|
||||
|
||||
|
||||
@ -89,7 +89,7 @@ public class RegisterIsoCmd extends BaseCmd {
|
||||
description="Register iso for the project")
|
||||
private Long projectId;
|
||||
|
||||
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.UUID,
|
||||
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.STRING,
|
||||
description="Image store uuid")
|
||||
private String imageStoreUuid;
|
||||
|
||||
|
||||
@ -111,7 +111,7 @@ public class RegisterTemplateCmd extends BaseCmd {
|
||||
description="Register template for the project")
|
||||
private Long projectId;
|
||||
|
||||
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.UUID,
|
||||
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.STRING,
|
||||
description="Image store uuid")
|
||||
private String imageStoreUuid;
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ public class UploadVolumeCmd extends BaseAsyncCmd {
|
||||
@Parameter(name=ApiConstants.CHECKSUM, type=CommandType.STRING, description="the MD5 checksum value of this volume")
|
||||
private String checksum;
|
||||
|
||||
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.UUID,
|
||||
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.STRING,
|
||||
description="Image store uuid")
|
||||
private String imageStoreUuid;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user