api_refactor: move admin level domain apis to admin pkg

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-12-06 10:44:40 -08:00
parent c3853677c5
commit ab4fac54e5
11 changed files with 18 additions and 18 deletions

View File

@ -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.admin.systemvm.command.RebootSystemVmCmd;
import org.apache.cloudstack.api.user.ssh.command.RegisterSSHKeyPairCmd; import org.apache.cloudstack.api.user.ssh.command.RegisterSSHKeyPairCmd;
import org.apache.cloudstack.api.admin.systemvm.command.StopSystemVmCmd; 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.iso.command.UpdateIsoCmd;
import org.apache.cloudstack.api.user.vmgroup.command.UpdateVMGroupCmd; import org.apache.cloudstack.api.user.vmgroup.command.UpdateVMGroupCmd;
import org.apache.cloudstack.api.admin.systemvm.command.UpgradeSystemVMCmd; import org.apache.cloudstack.api.admin.systemvm.command.UpgradeSystemVMCmd;

View File

@ -18,8 +18,8 @@ package com.cloud.user;
import java.util.List; import java.util.List;
import com.cloud.api.commands.ListDomainChildrenCmd; import org.apache.cloudstack.api.admin.domain.command.ListDomainChildrenCmd;
import com.cloud.api.commands.ListDomainsCmd; import org.apache.cloudstack.api.admin.domain.command.ListDomainsCmd;
import com.cloud.domain.Domain; import com.cloud.domain.Domain;
import com.cloud.exception.PermissionDeniedException; import com.cloud.exception.PermissionDeniedException;
import com.cloud.utils.Pair; import com.cloud.utils.Pair;

View File

@ -14,7 +14,7 @@
// KIND, either express or implied. See the License for the // KIND, either express or implied. See the License for the
// specific language governing permissions and limitations // specific language governing permissions and limitations
// under the License. // under the License.
package com.cloud.api.commands; package org.apache.cloudstack.api.admin.domain.command;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;

View File

@ -14,7 +14,7 @@
// KIND, either express or implied. See the License for the // KIND, either express or implied. See the License for the
// specific language governing permissions and limitations // specific language governing permissions and limitations
// under the License. // under the License.
package com.cloud.api.commands; package org.apache.cloudstack.api.admin.domain.command;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;

View File

@ -14,7 +14,7 @@
// KIND, either express or implied. See the License for the // KIND, either express or implied. See the License for the
// specific language governing permissions and limitations // specific language governing permissions and limitations
// under the License. // under the License.
package com.cloud.api.commands; package org.apache.cloudstack.api.admin.domain.command;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -14,7 +14,7 @@
// KIND, either express or implied. See the License for the // KIND, either express or implied. See the License for the
// specific language governing permissions and limitations // specific language governing permissions and limitations
// under the License. // under the License.
package com.cloud.api.commands; package org.apache.cloudstack.api.admin.domain.command;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -14,7 +14,7 @@
// KIND, either express or implied. See the License for the // KIND, either express or implied. See the License for the
// specific language governing permissions and limitations // specific language governing permissions and limitations
// under the License. // under the License.
package com.cloud.api.commands; package org.apache.cloudstack.api.admin.domain.command;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;

View File

@ -39,11 +39,11 @@ enableUser=org.apache.cloudstack.api.admin.user.command.EnableUserCmd;7
getUser=org.apache.cloudstack.api.admin.user.command.GetUserCmd;1 getUser=org.apache.cloudstack.api.admin.user.command.GetUserCmd;1
#### Domain commands #### Domain commands
createDomain=com.cloud.api.commands.CreateDomainCmd;1 createDomain=org.apache.cloudstack.api.admin.domain.command.CreateDomainCmd;1
updateDomain=com.cloud.api.commands.UpdateDomainCmd;1 updateDomain=org.apache.cloudstack.api.admin.domain.command.UpdateDomainCmd;1
deleteDomain=com.cloud.api.commands.DeleteDomainCmd;1 deleteDomain=org.apache.cloudstack.api.admin.domain.command.DeleteDomainCmd;1
listDomains=com.cloud.api.commands.ListDomainsCmd;7 listDomains=org.apache.cloudstack.api.admin.domain.command.ListDomainsCmd;7
listDomainChildren=com.cloud.api.commands.ListDomainChildrenCmd;7 listDomainChildren=org.apache.cloudstack.api.admin.domain.command.ListDomainChildrenCmd;7
####Cloud Identifier commands ####Cloud Identifier commands
getCloudIdentifier=org.apache.cloudstack.api.user.resource.command.GetCloudIdentifierCmd;15 getCloudIdentifier=org.apache.cloudstack.api.user.resource.command.GetCloudIdentifierCmd;15

View File

@ -90,7 +90,7 @@ import org.apache.cloudstack.api.admin.systemvm.command.ListSystemVMsCmd;
import com.cloud.api.commands.ListVlanIpRangesCmd; import com.cloud.api.commands.ListVlanIpRangesCmd;
import org.apache.cloudstack.api.admin.systemvm.command.RebootSystemVmCmd; import org.apache.cloudstack.api.admin.systemvm.command.RebootSystemVmCmd;
import org.apache.cloudstack.api.admin.systemvm.command.StopSystemVmCmd; 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.admin.host.command.UpdateHostPasswordCmd;
import org.apache.cloudstack.api.user.iso.command.UpdateIsoCmd; import org.apache.cloudstack.api.user.iso.command.UpdateIsoCmd;
import com.cloud.api.commands.UpdateTemplateOrIsoCmd; import com.cloud.api.commands.UpdateTemplateOrIsoCmd;

View File

@ -24,10 +24,10 @@ import java.util.Set;
import javax.ejb.Local; import javax.ejb.Local;
import javax.naming.ConfigurationException; import javax.naming.ConfigurationException;
import org.apache.cloudstack.api.admin.domain.command.ListDomainChildrenCmd;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import com.cloud.api.commands.ListDomainChildrenCmd; import org.apache.cloudstack.api.admin.domain.command.ListDomainsCmd;
import com.cloud.api.commands.ListDomainsCmd;
import com.cloud.configuration.ResourceLimit; import com.cloud.configuration.ResourceLimit;
import com.cloud.configuration.dao.ResourceCountDao; import com.cloud.configuration.dao.ResourceCountDao;
import com.cloud.domain.Domain; import com.cloud.domain.Domain;

View File

@ -23,8 +23,8 @@ import java.util.Set;
import javax.ejb.Local; import javax.ejb.Local;
import javax.naming.ConfigurationException; import javax.naming.ConfigurationException;
import com.cloud.api.commands.ListDomainChildrenCmd; import org.apache.cloudstack.api.admin.domain.command.ListDomainChildrenCmd;
import com.cloud.api.commands.ListDomainsCmd; import org.apache.cloudstack.api.admin.domain.command.ListDomainsCmd;
import com.cloud.domain.Domain; import com.cloud.domain.Domain;
import com.cloud.domain.DomainVO; import com.cloud.domain.DomainVO;
import com.cloud.exception.PermissionDeniedException; import com.cloud.exception.PermissionDeniedException;