cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kis...@apache.org
Subject git commit: Corrected response object in Traffic Monitor APIs Implementation annontation as TrafficMonitorResponse
Date Mon, 07 Jan 2013 07:02:58 GMT
Updated Branches:
  refs/heads/master c13f0199f -> 5502f4b20


Corrected response object in Traffic Monitor APIs Implementation annontation as TrafficMonitorResponse


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

Branch: refs/heads/master
Commit: 5502f4b20c9063f6272157c8facf8e5b63770061
Parents: c13f019
Author: Kishan Kavala <kishan@cloud.com>
Authored: Mon Jan 7 12:32:24 2013 +0530
Committer: Kishan Kavala <kishan@cloud.com>
Committed: Mon Jan 7 12:32:24 2013 +0530

----------------------------------------------------------------------
 .../cloud/api/commands/AddTrafficMonitorCmd.java   |    3 +--
 .../cloud/api/commands/ListTrafficMonitorsCmd.java |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/5502f4b2/server/src/com/cloud/api/commands/AddTrafficMonitorCmd.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/commands/AddTrafficMonitorCmd.java b/server/src/com/cloud/api/commands/AddTrafficMonitorCmd.java
index f253b37..df9df82 100644
--- a/server/src/com/cloud/api/commands/AddTrafficMonitorCmd.java
+++ b/server/src/com/cloud/api/commands/AddTrafficMonitorCmd.java
@@ -28,13 +28,12 @@ import com.cloud.exception.InvalidParameterValueException;
 import com.cloud.host.Host;
 import com.cloud.network.NetworkUsageManager;
 import com.cloud.server.ManagementService;
-import com.cloud.server.api.response.ExternalFirewallResponse;
 import com.cloud.server.api.response.TrafficMonitorResponse;
 import com.cloud.user.Account;
 import com.cloud.utils.component.ComponentLocator;
 import com.cloud.utils.exception.CloudRuntimeException;
 
-@Implementation(description="Adds Traffic Monitor Host for Direct Network Usage", responseObject
= ExternalFirewallResponse.class)
+@Implementation(description="Adds Traffic Monitor Host for Direct Network Usage", responseObject
= TrafficMonitorResponse.class)
 public class AddTrafficMonitorCmd extends BaseCmd {
 	public static final Logger s_logger = Logger.getLogger(AddTrafficMonitorCmd.class.getName());

 	private static final String s_name = "addtrafficmonitorresponse";	

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/5502f4b2/server/src/com/cloud/api/commands/ListTrafficMonitorsCmd.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/commands/ListTrafficMonitorsCmd.java b/server/src/com/cloud/api/commands/ListTrafficMonitorsCmd.java
index 78338d8..8dd0139 100644
--- a/server/src/com/cloud/api/commands/ListTrafficMonitorsCmd.java
+++ b/server/src/com/cloud/api/commands/ListTrafficMonitorsCmd.java
@@ -30,11 +30,10 @@ import com.cloud.api.response.ListResponse;
 import com.cloud.host.Host;
 import com.cloud.network.NetworkUsageManager;
 import com.cloud.server.ManagementService;
-import com.cloud.server.api.response.ExternalFirewallResponse;
 import com.cloud.server.api.response.TrafficMonitorResponse;
 import com.cloud.utils.component.ComponentLocator;
 
-@Implementation(description="List traffic monitor Hosts.", responseObject = ExternalFirewallResponse.class)
+@Implementation(description="List traffic monitor Hosts.", responseObject = TrafficMonitorResponse.class)
 public class ListTrafficMonitorsCmd extends BaseListCmd {
 	public static final Logger s_logger = Logger.getLogger(ListServiceOfferingsCmd.class.getName());
     private static final String s_name = "listtrafficmonitorsresponse";


Mime
View raw message