incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [7/50] [abbrv] git commit: api: Fix correct annotation value in template cmds for template id
Date Sat, 26 Jan 2013 16:21:39 GMT
api: Fix correct annotation value in template cmds for template id

Signed-off-by: Rohit Yadav <bhaisaab@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/ec0c6b00
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ec0c6b00
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ec0c6b00

Branch: refs/heads/marvin-refactor-phase1
Commit: ec0c6b00b4a663af08527990bb019c239fcb2816
Parents: 9e91584
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Jan 23 16:00:39 2013 -0800
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Wed Jan 23 16:00:39 2013 -0800

----------------------------------------------------------------------
 .../command/user/template/DeleteTemplateCmd.java   |    4 ++--
 .../command/user/template/ExtractTemplateCmd.java  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ec0c6b00/api/src/org/apache/cloudstack/api/command/user/template/DeleteTemplateCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/template/DeleteTemplateCmd.java
b/api/src/org/apache/cloudstack/api/command/user/template/DeleteTemplateCmd.java
index 8ee3041..12359bf 100644
--- a/api/src/org/apache/cloudstack/api/command/user/template/DeleteTemplateCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/template/DeleteTemplateCmd.java
@@ -17,7 +17,7 @@
 package org.apache.cloudstack.api.command.user.template;
 
 import org.apache.cloudstack.api.*;
-import org.apache.cloudstack.api.response.UserVmResponse;
+import org.apache.cloudstack.api.response.TemplateResponse;
 import org.apache.cloudstack.api.response.ZoneResponse;
 import org.apache.log4j.Logger;
 
@@ -38,7 +38,7 @@ public class DeleteTemplateCmd extends BaseAsyncCmd {
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
 
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = UserVmResponse.class,
+    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = TemplateResponse.class,
             required=true, description="the ID of the template")
     private Long id;
 

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ec0c6b00/api/src/org/apache/cloudstack/api/command/user/template/ExtractTemplateCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/template/ExtractTemplateCmd.java
b/api/src/org/apache/cloudstack/api/command/user/template/ExtractTemplateCmd.java
index 54f3e37..8b4e809 100644
--- a/api/src/org/apache/cloudstack/api/command/user/template/ExtractTemplateCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/template/ExtractTemplateCmd.java
@@ -17,7 +17,7 @@
 package org.apache.cloudstack.api.command.user.template;
 
 import org.apache.cloudstack.api.*;
-import org.apache.cloudstack.api.response.UserVmResponse;
+import org.apache.cloudstack.api.response.TemplateResponse;
 import org.apache.cloudstack.api.response.ZoneResponse;
 import org.apache.log4j.Logger;
 
@@ -40,7 +40,7 @@ public class ExtractTemplateCmd extends BaseAsyncCmd {
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
 
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = UserVmResponse.class,
+    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = TemplateResponse.class,
             required=true, description="the ID of the template")
     private Long id;
 


Mime
View raw message