CLOUDSTACK-3428

UCS:API: We need listUCSManager API to lists all UCS managers registered with CloudStack

fix entityType in api command
This commit is contained in:
frank 2013-07-19 17:46:27 -07:00
parent 24fc147ee8
commit 56fad86920

View File

@ -36,6 +36,7 @@ import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.ListResponse;
import org.apache.cloudstack.api.response.UcsManagerResponse;
import org.apache.cloudstack.api.response.ZoneResponse;
import org.apache.log4j.Logger;
import com.cloud.exception.ConcurrentOperationException;
@ -50,7 +51,7 @@ import com.cloud.user.Account;
public class ListUcsManagerCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListUcsManagerCmd.class);
@Parameter(name=ApiConstants.ZONE_ID, type=CommandType.LONG, description="the zone id", required=true)
@Parameter(name=ApiConstants.ZONE_ID, type=CommandType.UUID, description="the zone id", entityType=ZoneResponse.class, required=true)
private Long zoneId;
@Inject