api_refactor: refactor for autoscale apis

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-12-04 11:42:07 -08:00
parent 2121fbd469
commit dd5a36fcd2
5 changed files with 6 additions and 6 deletions

View File

@ -18,11 +18,11 @@ package com.cloud.network.as;
import java.util.List;
import org.apache.cloudstack.api.admin.autoscale.command.CreateCounterCmd;
import org.apache.cloudstack.api.user.autoscale.command.CreateAutoScalePolicyCmd;
import org.apache.cloudstack.api.user.autoscale.command.CreateAutoScaleVmGroupCmd;
import org.apache.cloudstack.api.user.autoscale.command.CreateAutoScaleVmProfileCmd;
import org.apache.cloudstack.api.user.autoscale.command.*;
import com.cloud.api.commands.CreateCounterCmd;
import org.apache.cloudstack.api.user.autoscale.command.ListAutoScalePoliciesCmd;
import org.apache.cloudstack.api.user.autoscale.command.ListConditionsCmd;
import org.apache.cloudstack.api.user.autoscale.command.UpdateAutoScaleVmGroupCmd;

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
package com.cloud.api.commands;
package org.apache.cloudstack.api.admin.autoscale.command;
import org.apache.log4j.Logger;

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
package com.cloud.api.commands;
package org.apache.cloudstack.api.admin.autoscale.command;
import org.apache.log4j.Logger;

View File

@ -154,12 +154,12 @@ listLoadBalancerRuleInstances=org.apache.cloudstack.api.user.lb.command.ListLoad
updateLoadBalancerRule=org.apache.cloudstack.api.user.lb.command.UpdateLoadBalancerRuleCmd;15
#### autoscale commands
createCounter = com.cloud.api.commands.CreateCounterCmd;1
createCounter = org.apache.cloudstack.api.admin.autoscale.command.CreateCounterCmd;1
createCondition = org.apache.cloudstack.api.user.autoscale.command.CreateConditionCmd;15
createAutoScalePolicy=org.apache.cloudstack.api.user.autoscale.command.CreateAutoScalePolicyCmd;15
createAutoScaleVmProfile=org.apache.cloudstack.api.user.autoscale.command.CreateAutoScaleVmProfileCmd;15
createAutoScaleVmGroup=org.apache.cloudstack.api.user.autoscale.command.CreateAutoScaleVmGroupCmd;15
deleteCounter = com.cloud.api.commands.DeleteCounterCmd;1
deleteCounter = org.apache.cloudstack.api.admin.autoscale.command.DeleteCounterCmd;1
deleteCondition = org.apache.cloudstack.api.user.autoscale.command.DeleteConditionCmd;15
deleteAutoScalePolicy=org.apache.cloudstack.api.user.autoscale.command.DeleteAutoScalePolicyCmd;15
deleteAutoScaleVmProfile=org.apache.cloudstack.api.user.autoscale.command.DeleteAutoScaleVmProfileCmd;15

View File

@ -37,7 +37,7 @@ import org.apache.cloudstack.api.user.autoscale.command.CreateAutoScalePolicyCmd
import org.apache.cloudstack.api.user.autoscale.command.CreateAutoScaleVmGroupCmd;
import org.apache.cloudstack.api.user.autoscale.command.CreateAutoScaleVmProfileCmd;
import org.apache.cloudstack.api.user.autoscale.command.CreateConditionCmd;
import com.cloud.api.commands.CreateCounterCmd;
import org.apache.cloudstack.api.admin.autoscale.command.CreateCounterCmd;
import org.apache.cloudstack.api.user.vm.command.DeployVMCmd;
import org.apache.cloudstack.api.user.autoscale.command.ListAutoScalePoliciesCmd;
import org.apache.cloudstack.api.user.autoscale.command.ListAutoScaleVmGroupsCmd;