You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2013/02/22 15:01:11 UTC
[45/58] [abbrv] git commit: refs/heads/qemu-img - api: UUID entity
type should be for Long fields, fix regression from a22403ed
api: UUID entity type should be for Long fields, fix regression from a22403ed
Signed-off-by: Rohit Yadav <bh...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/200f89d8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/200f89d8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/200f89d8
Branch: refs/heads/qemu-img
Commit: 200f89d8015257fad020a00718f58f735fa91ceb
Parents: dae57c1
Author: Rohit Yadav <bh...@apache.org>
Authored: Fri Feb 22 11:37:49 2013 +0530
Committer: Rohit Yadav <bh...@apache.org>
Committed: Fri Feb 22 11:37:49 2013 +0530
----------------------------------------------------------------------
.../admin/storage/CreateStoragePoolCmd.java | 2 +-
.../api/command/user/iso/RegisterIsoCmd.java | 2 +-
.../command/user/template/RegisterTemplateCmd.java | 2 +-
.../api/command/user/volume/UploadVolumeCmd.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/200f89d8/api/src/org/apache/cloudstack/api/command/admin/storage/CreateStoragePoolCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/storage/CreateStoragePoolCmd.java b/api/src/org/apache/cloudstack/api/command/admin/storage/CreateStoragePoolCmd.java
index cae5888..da9d346 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/storage/CreateStoragePoolCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/storage/CreateStoragePoolCmd.java
@@ -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;
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/200f89d8/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java b/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java
index 5bc4d6e..284d553 100644
--- a/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java
@@ -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;
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/200f89d8/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java b/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
index ed71967..c9da0c2 100644
--- a/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
@@ -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;
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/200f89d8/api/src/org/apache/cloudstack/api/command/user/volume/UploadVolumeCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/volume/UploadVolumeCmd.java b/api/src/org/apache/cloudstack/api/command/user/volume/UploadVolumeCmd.java
index 94c3d38..3b00ba0 100644
--- a/api/src/org/apache/cloudstack/api/command/user/volume/UploadVolumeCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/volume/UploadVolumeCmd.java
@@ -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;