cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prachida...@apache.org
Subject [44/50] [abbrv] git commit: updated refs/heads/rbac to 9e92197
Date Tue, 04 Feb 2014 23:39:28 GMT
generateAlert API: set max value of "description" parameter to match correspondig field's length
in VO object


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/15828018
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/15828018
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/15828018

Branch: refs/heads/rbac
Commit: 158280181d61f463be32e2376159c868deafb511
Parents: 48361d8
Author: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Authored: Thu Jan 30 16:40:52 2014 -0800
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Fri Jan 31 09:21:55 2014 -0800

----------------------------------------------------------------------
 .../cloudstack/api/command/admin/alert/GenerateAlertCmd.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/15828018/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java b/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java
index 620c5ed..3eaa053 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java
@@ -48,7 +48,7 @@ public class GenerateAlertCmd extends BaseAsyncCmd {
     @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "Name of
the alert", required = true)
     private String name;
 
-    @Parameter(name = ApiConstants.DESCRIPTION, type = CommandType.STRING, description =
"Alert description", required = true)
+    @Parameter(name = ApiConstants.DESCRIPTION, type = CommandType.STRING, description =
"Alert description", required = true, length = 999)
     private String description;
 
     @Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class,
description = "Zone id for which alert is generated")


Mime
View raw message