mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
api_refactor: move admin level domain apis to admin pkg
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
c3853677c5
commit
ab4fac54e5
@ -57,7 +57,7 @@ import org.apache.cloudstack.api.user.zone.command.ListZonesByCmd;
|
||||
import org.apache.cloudstack.api.admin.systemvm.command.RebootSystemVmCmd;
|
||||
import org.apache.cloudstack.api.user.ssh.command.RegisterSSHKeyPairCmd;
|
||||
import org.apache.cloudstack.api.admin.systemvm.command.StopSystemVmCmd;
|
||||
import com.cloud.api.commands.UpdateDomainCmd;
|
||||
import org.apache.cloudstack.api.admin.domain.command.UpdateDomainCmd;
|
||||
import org.apache.cloudstack.api.user.iso.command.UpdateIsoCmd;
|
||||
import org.apache.cloudstack.api.user.vmgroup.command.UpdateVMGroupCmd;
|
||||
import org.apache.cloudstack.api.admin.systemvm.command.UpgradeSystemVMCmd;
|
||||
|
||||
@ -18,8 +18,8 @@ package com.cloud.user;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.cloud.api.commands.ListDomainChildrenCmd;
|
||||
import com.cloud.api.commands.ListDomainsCmd;
|
||||
import org.apache.cloudstack.api.admin.domain.command.ListDomainChildrenCmd;
|
||||
import org.apache.cloudstack.api.admin.domain.command.ListDomainsCmd;
|
||||
import com.cloud.domain.Domain;
|
||||
import com.cloud.exception.PermissionDeniedException;
|
||||
import com.cloud.utils.Pair;
|
||||
|
||||
@ -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.domain.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.domain.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.domain.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.domain.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.domain.command;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@ -39,11 +39,11 @@ enableUser=org.apache.cloudstack.api.admin.user.command.EnableUserCmd;7
|
||||
getUser=org.apache.cloudstack.api.admin.user.command.GetUserCmd;1
|
||||
|
||||
#### Domain commands
|
||||
createDomain=com.cloud.api.commands.CreateDomainCmd;1
|
||||
updateDomain=com.cloud.api.commands.UpdateDomainCmd;1
|
||||
deleteDomain=com.cloud.api.commands.DeleteDomainCmd;1
|
||||
listDomains=com.cloud.api.commands.ListDomainsCmd;7
|
||||
listDomainChildren=com.cloud.api.commands.ListDomainChildrenCmd;7
|
||||
createDomain=org.apache.cloudstack.api.admin.domain.command.CreateDomainCmd;1
|
||||
updateDomain=org.apache.cloudstack.api.admin.domain.command.UpdateDomainCmd;1
|
||||
deleteDomain=org.apache.cloudstack.api.admin.domain.command.DeleteDomainCmd;1
|
||||
listDomains=org.apache.cloudstack.api.admin.domain.command.ListDomainsCmd;7
|
||||
listDomainChildren=org.apache.cloudstack.api.admin.domain.command.ListDomainChildrenCmd;7
|
||||
|
||||
####Cloud Identifier commands
|
||||
getCloudIdentifier=org.apache.cloudstack.api.user.resource.command.GetCloudIdentifierCmd;15
|
||||
|
||||
@ -90,7 +90,7 @@ import org.apache.cloudstack.api.admin.systemvm.command.ListSystemVMsCmd;
|
||||
import com.cloud.api.commands.ListVlanIpRangesCmd;
|
||||
import org.apache.cloudstack.api.admin.systemvm.command.RebootSystemVmCmd;
|
||||
import org.apache.cloudstack.api.admin.systemvm.command.StopSystemVmCmd;
|
||||
import com.cloud.api.commands.UpdateDomainCmd;
|
||||
import org.apache.cloudstack.api.admin.domain.command.UpdateDomainCmd;
|
||||
import org.apache.cloudstack.api.admin.host.command.UpdateHostPasswordCmd;
|
||||
import org.apache.cloudstack.api.user.iso.command.UpdateIsoCmd;
|
||||
import com.cloud.api.commands.UpdateTemplateOrIsoCmd;
|
||||
|
||||
@ -24,10 +24,10 @@ import java.util.Set;
|
||||
import javax.ejb.Local;
|
||||
import javax.naming.ConfigurationException;
|
||||
|
||||
import org.apache.cloudstack.api.admin.domain.command.ListDomainChildrenCmd;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import com.cloud.api.commands.ListDomainChildrenCmd;
|
||||
import com.cloud.api.commands.ListDomainsCmd;
|
||||
import org.apache.cloudstack.api.admin.domain.command.ListDomainsCmd;
|
||||
import com.cloud.configuration.ResourceLimit;
|
||||
import com.cloud.configuration.dao.ResourceCountDao;
|
||||
import com.cloud.domain.Domain;
|
||||
|
||||
@ -23,8 +23,8 @@ import java.util.Set;
|
||||
import javax.ejb.Local;
|
||||
import javax.naming.ConfigurationException;
|
||||
|
||||
import com.cloud.api.commands.ListDomainChildrenCmd;
|
||||
import com.cloud.api.commands.ListDomainsCmd;
|
||||
import org.apache.cloudstack.api.admin.domain.command.ListDomainChildrenCmd;
|
||||
import org.apache.cloudstack.api.admin.domain.command.ListDomainsCmd;
|
||||
import com.cloud.domain.Domain;
|
||||
import com.cloud.domain.DomainVO;
|
||||
import com.cloud.exception.PermissionDeniedException;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user