You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ya...@apache.org on 2012/07/23 23:57:40 UTC
[9/13] git commit: CS-15471: Fix wrong type of updating customer
gateway lifetime
CS-15471: Fix wrong type of updating customer gateway lifetime
Also fixes one typo.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/4b0515f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/4b0515f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/4b0515f8
Branch: refs/heads/vpc
Commit: 4b0515f8e503938cb221006cdc2382cbebb0deb2
Parents: 0dec6ea
Author: Sheng Yang <sh...@citrix.com>
Authored: Fri Jul 6 11:10:43 2012 -0700
Committer: Sheng Yang <sh...@citrix.com>
Committed: Mon Jul 23 14:36:10 2012 -0700
----------------------------------------------------------------------
.../cloud/api/commands/ListVpnConnectionsCmd.java | 2 +-
.../api/commands/UpdateVpnCustomerGatewayCmd.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/4b0515f8/api/src/com/cloud/api/commands/ListVpnConnectionsCmd.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/api/commands/ListVpnConnectionsCmd.java b/api/src/com/cloud/api/commands/ListVpnConnectionsCmd.java
index 96cc061..32769bf 100644
--- a/api/src/com/cloud/api/commands/ListVpnConnectionsCmd.java
+++ b/api/src/com/cloud/api/commands/ListVpnConnectionsCmd.java
@@ -32,7 +32,7 @@ import com.cloud.network.Site2SiteVpnConnection;
@Implementation(description="Lists site to site vpn connection gateways", responseObject=Site2SiteVpnConnectionResponse.class)
public class ListVpnConnectionsCmd extends BaseListProjectAndAccountResourcesCmd {
- public static final Logger s_logger = Logger.getLogger (ListVpnCustomerGatewaysCmd.class.getName());
+ public static final Logger s_logger = Logger.getLogger (ListVpnConnectionsCmd.class.getName());
private static final String s_name = "listvpnconnectionsresponse";
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/4b0515f8/api/src/com/cloud/api/commands/UpdateVpnCustomerGatewayCmd.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/api/commands/UpdateVpnCustomerGatewayCmd.java b/api/src/com/cloud/api/commands/UpdateVpnCustomerGatewayCmd.java
index ac57665..691108e 100644
--- a/api/src/com/cloud/api/commands/UpdateVpnCustomerGatewayCmd.java
+++ b/api/src/com/cloud/api/commands/UpdateVpnCustomerGatewayCmd.java
@@ -61,7 +61,7 @@ public class UpdateVpnCustomerGatewayCmd extends BaseAsyncCmd {
@Parameter(name=ApiConstants.ESP_POLICY, type=CommandType.STRING, required=true, description="ESP policy of the customer gateway")
private String espPolicy;
- @Parameter(name=ApiConstants.LIFETIME, type=CommandType.STRING, required=false, description="Lifetime of vpn connection to the customer gateway, in seconds")
+ @Parameter(name=ApiConstants.LIFETIME, type=CommandType.LONG, required=false, description="Lifetime of vpn connection to the customer gateway, in seconds")
private Long lifetime;
/////////////////////////////////////////////////////