Updated Branches: refs/heads/4.2 1da9f8ee4 -> a84e0af65
CLOUDSTACK-4850 [UCS] using template instead of cloning profile Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a84e0af6 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a84e0af6 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a84e0af6 Branch: refs/heads/4.2 Commit: a84e0af651054fa481f57a510fe549632103d79b Parents: 1da9f8e Author: Frank.Zhang <frank.zh...@citrix.com> Authored: Mon Oct 14 11:55:14 2013 -0700 Committer: Frank.Zhang <frank.zh...@citrix.com> Committed: Mon Oct 14 11:55:14 2013 -0700 ---------------------------------------------------------------------- .../org/apache/cloudstack/api/RefreshUcsBladesCmd.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a84e0af6/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/RefreshUcsBladesCmd.java ---------------------------------------------------------------------- diff --git a/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/RefreshUcsBladesCmd.java b/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/RefreshUcsBladesCmd.java index b7249d1..dae4ec1 100644 --- a/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/RefreshUcsBladesCmd.java +++ b/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/RefreshUcsBladesCmd.java @@ -19,7 +19,7 @@ import javax.inject.Inject; * To change this template use File | Settings | File Templates. */ @APICommand(name="refreshUcsBlades", description="refresh ucs blades to sync with UCS manager", responseObject=UcsBladeResponse.class) -public class RefreshUcsBladesCmd extends BaseAsyncCmd { +public class RefreshUcsBladesCmd extends BaseListCmd { private static Logger s_logger = Logger.getLogger(RefreshUcsBladesCmd.class); @Inject @@ -37,16 +37,6 @@ public class RefreshUcsBladesCmd extends BaseAsyncCmd { } @Override - public String getEventType() { - return EventTypes.EVENT_UCS_REFRESH_BLADES; - } - - @Override - public String getEventDescription() { - return "refresh ucs blades status to sync with UCS manager"; - } - - @Override public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException, ResourceAllocationException, NetworkRuleConflictException { try { ListResponse<UcsBladeResponse> response = mgr.refreshBlades(ucsManagerId);