mirror of https://github.com/apache/cloudstack.git
DescribeSecurityGroup: Use String instead of Long for RuleId
RevokeSecurityGroupIngress: Match the response name that CloudBridge uses with that provided by Cloudstack
This commit is contained in:
parent
51d3eda79e
commit
c130768b94
|
|
@ -31,7 +31,7 @@ import com.cloud.user.Account;
|
|||
public class RevokeSecurityGroupIngressCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(RevokeSecurityGroupIngressCmd.class.getName());
|
||||
|
||||
private static final String s_name = "revokesecuritygroupingress";
|
||||
private static final String s_name = "revokesecuritygroupingressresponse";
|
||||
|
||||
// ///////////////////////////////////////////////////
|
||||
// ////////////// API parameters /////////////////////
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import com.google.gson.annotations.SerializedName;
|
|||
public class CloudStackIngressRule {
|
||||
|
||||
@SerializedName(ApiConstants.RULE_ID)
|
||||
private Long ruleId;
|
||||
private String ruleId;
|
||||
|
||||
@SerializedName(ApiConstants.PROTOCOL)
|
||||
private String protocol;
|
||||
|
|
@ -49,7 +49,7 @@ public class CloudStackIngressRule {
|
|||
public CloudStackIngressRule() {
|
||||
}
|
||||
|
||||
public Long getRuleId() {
|
||||
public String getRuleId() {
|
||||
return ruleId;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public class CloudStackSecurityGroupIngress {
|
|||
@SerializedName(ApiConstants.PROTOCOL)
|
||||
private String protocol;
|
||||
@SerializedName(ApiConstants.RULE_ID)
|
||||
private Long ruleId;
|
||||
private String ruleId;
|
||||
@SerializedName(ApiConstants.SECURITY_GROUP_NAME)
|
||||
private String securityGroupName;
|
||||
@SerializedName(ApiConstants.START_PORT)
|
||||
|
|
@ -102,7 +102,7 @@ public class CloudStackSecurityGroupIngress {
|
|||
/**
|
||||
* @return the ruleId
|
||||
*/
|
||||
public Long getRuleId() {
|
||||
public String getRuleId() {
|
||||
return ruleId;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue