Skip to content

Commit 200f89d

Browse files
committed
api: UUID entity type should be for Long fields, fix regression from a22403e
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent dae57c1 commit 200f89d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

api/src/org/apache/cloudstack/api/command/admin/storage/CreateStoragePoolCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class CreateStoragePoolCmd extends BaseCmd {
7272
required=true, description="the Zone ID for the storage pool")
7373
private Long zoneId;
7474

75-
@Parameter(name=ApiConstants.PROVIDER, type=CommandType.UUID,
75+
@Parameter(name=ApiConstants.PROVIDER, type=CommandType.STRING,
7676
required=false, description="the storage provider uuid")
7777
private String storageProviderUuid;
7878

api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public class RegisterIsoCmd extends BaseCmd {
8989
description="Register iso for the project")
9090
private Long projectId;
9191

92-
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.UUID,
92+
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.STRING,
9393
description="Image store uuid")
9494
private String imageStoreUuid;
9595

api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public class RegisterTemplateCmd extends BaseCmd {
111111
description="Register template for the project")
112112
private Long projectId;
113113

114-
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.UUID,
114+
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.STRING,
115115
description="Image store uuid")
116116
private String imageStoreUuid;
117117

api/src/org/apache/cloudstack/api/command/user/volume/UploadVolumeCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class UploadVolumeCmd extends BaseAsyncCmd {
6868
@Parameter(name=ApiConstants.CHECKSUM, type=CommandType.STRING, description="the MD5 checksum value of this volume")
6969
private String checksum;
7070

71-
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.UUID,
71+
@Parameter(name=ApiConstants.IMAGE_STORE_UUID, type=CommandType.STRING,
7272
description="Image store uuid")
7373
private String imageStoreUuid;
7474

0 commit comments

Comments
 (0)