mirror of https://github.com/apache/cloudstack.git
api_refactor: refactor for autoscale apis
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
2121fbd469
commit
dd5a36fcd2
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
@ -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;
|
||||
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue