mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
api_refactor: move storagepool api to admin pkg
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
163fe7b8c3
commit
cc386b791b
@ -49,7 +49,7 @@ import org.apache.cloudstack.api.user.guest.command.ListGuestOsCategoriesCmd;
|
||||
import org.apache.cloudstack.api.user.iso.command.ListIsosCmd;
|
||||
import com.cloud.api.commands.ListPodsByCmd;
|
||||
import org.apache.cloudstack.api.user.ssh.command.ListSSHKeyPairsCmd;
|
||||
import com.cloud.api.commands.ListStoragePoolsCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.ListStoragePoolsCmd;
|
||||
import org.apache.cloudstack.api.admin.systemvm.command.ListSystemVMsCmd;
|
||||
import org.apache.cloudstack.api.user.vmgroup.command.ListVMGroupsCmd;
|
||||
import com.cloud.api.commands.ListVlanIpRangesCmd;
|
||||
|
||||
@ -19,12 +19,12 @@ package com.cloud.storage;
|
||||
import java.net.UnknownHostException;
|
||||
import java.util.List;
|
||||
|
||||
import com.cloud.api.commands.CancelPrimaryStorageMaintenanceCmd;
|
||||
import com.cloud.api.commands.CreateStoragePoolCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.CancelPrimaryStorageMaintenanceCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.CreateStoragePoolCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.UpdateStoragePoolCmd;
|
||||
import org.apache.cloudstack.api.user.volume.command.CreateVolumeCmd;
|
||||
import com.cloud.api.commands.DeletePoolCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.DeletePoolCmd;
|
||||
import org.apache.cloudstack.api.user.volume.command.ListVolumesCmd;
|
||||
import com.cloud.api.commands.UpdateStoragePoolCmd;
|
||||
import org.apache.cloudstack.api.user.volume.command.UploadVolumeCmd;
|
||||
import com.cloud.exception.ConcurrentOperationException;
|
||||
import com.cloud.exception.InsufficientCapacityException;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
package com.cloud.api.commands;
|
||||
package org.apache.cloudstack.api.admin.storagepool.command;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
package com.cloud.api.commands;
|
||||
package org.apache.cloudstack.api.admin.storagepool.command;
|
||||
|
||||
import java.net.UnknownHostException;
|
||||
import java.util.Map;
|
||||
@ -14,7 +14,7 @@
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
package com.cloud.api.commands;
|
||||
package org.apache.cloudstack.api.admin.storagepool.command;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
package com.cloud.api.commands;
|
||||
package org.apache.cloudstack.api.admin.storagepool.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -14,7 +14,7 @@
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
package com.cloud.api.commands;
|
||||
package org.apache.cloudstack.api.admin.storagepool.command;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
package com.cloud.api.commands;
|
||||
package org.apache.cloudstack.api.admin.storagepool.command;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -264,13 +264,13 @@ queryAsyncJobResult=org.apache.cloudstack.api.user.job.command.QueryAsyncJobResu
|
||||
listAsyncJobs=org.apache.cloudstack.api.user.job.command.ListAsyncJobsCmd;15
|
||||
|
||||
#### storage pools commands
|
||||
listStoragePools=com.cloud.api.commands.ListStoragePoolsCmd;3
|
||||
createStoragePool=com.cloud.api.commands.CreateStoragePoolCmd;1
|
||||
updateStoragePool=com.cloud.api.commands.UpdateStoragePoolCmd;1
|
||||
deleteStoragePool=com.cloud.api.commands.DeletePoolCmd;1
|
||||
listStoragePools=org.apache.cloudstack.api.admin.storagepool.command.ListStoragePoolsCmd;3
|
||||
createStoragePool=org.apache.cloudstack.api.admin.storagepool.command.CreateStoragePoolCmd;1
|
||||
updateStoragePool=org.apache.cloudstack.api.admin.storagepool.command.UpdateStoragePoolCmd;1
|
||||
deleteStoragePool=org.apache.cloudstack.api.admin.storagepool.command.DeletePoolCmd;1
|
||||
listClusters=com.cloud.api.commands.ListClustersCmd;3
|
||||
enableStorageMaintenance=com.cloud.api.commands.PreparePrimaryStorageForMaintenanceCmd;1
|
||||
cancelStorageMaintenance=com.cloud.api.commands.CancelPrimaryStorageMaintenanceCmd;1
|
||||
enableStorageMaintenance=org.apache.cloudstack.api.admin.storagepool.command.PreparePrimaryStorageForMaintenanceCmd;1
|
||||
cancelStorageMaintenance=org.apache.cloudstack.api.admin.storagepool.command.CancelPrimaryStorageMaintenanceCmd;1
|
||||
|
||||
#### security group commands
|
||||
createSecurityGroup=org.apache.cloudstack.api.user.securitygroup.command.CreateSecurityGroupCmd;15
|
||||
|
||||
@ -84,7 +84,7 @@ import org.apache.cloudstack.api.admin.host.command.ListHostsCmd;
|
||||
import com.cloud.api.commands.ListPodsByCmd;
|
||||
import org.apache.cloudstack.api.user.address.command.ListPublicIpAddressesCmd;
|
||||
import org.apache.cloudstack.api.user.ssh.command.ListSSHKeyPairsCmd;
|
||||
import com.cloud.api.commands.ListStoragePoolsCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.ListStoragePoolsCmd;
|
||||
import org.apache.cloudstack.api.admin.systemvm.command.ListSystemVMsCmd;
|
||||
import com.cloud.api.commands.ListVlanIpRangesCmd;
|
||||
import org.apache.cloudstack.api.user.datacenter.command.ListZonesByCmd;
|
||||
|
||||
@ -72,11 +72,11 @@ import com.cloud.agent.api.to.VolumeTO;
|
||||
import com.cloud.agent.manager.Commands;
|
||||
import com.cloud.alert.AlertManager;
|
||||
import com.cloud.api.ApiDBUtils;
|
||||
import com.cloud.api.commands.CancelPrimaryStorageMaintenanceCmd;
|
||||
import com.cloud.api.commands.CreateStoragePoolCmd;
|
||||
import com.cloud.api.commands.DeletePoolCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.CancelPrimaryStorageMaintenanceCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.CreateStoragePoolCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.DeletePoolCmd;
|
||||
import org.apache.cloudstack.api.user.volume.command.ListVolumesCmd;
|
||||
import com.cloud.api.commands.UpdateStoragePoolCmd;
|
||||
import org.apache.cloudstack.api.admin.storagepool.command.UpdateStoragePoolCmd;
|
||||
import org.apache.cloudstack.api.user.volume.command.UploadVolumeCmd;
|
||||
import com.cloud.async.AsyncJobManager;
|
||||
import com.cloud.capacity.Capacity;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user