Skip to content

Commit aa72b76

Browse files
committed
CLOUDSTACK-669: put system vm work under new vmsync model
1 parent 96eeceb commit aa72b76

5 files changed

Lines changed: 497 additions & 479 deletions

File tree

engine/orchestration/resources/META-INF/cloudstack/core/spring-engine-orchestration-core-context.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,16 @@
2020
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2121
xmlns:context="http://www.springframework.org/schema/context"
2222
xmlns:aop="http://www.springframework.org/schema/aop"
23+
xmlns:util="http://www.springframework.org/schema/util"
24+
2325
xsi:schemaLocation="http://www.springframework.org/schema/beans
2426
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
25-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
27+
http://www.springframework.org/schema/aop
28+
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
2629
http://www.springframework.org/schema/context
27-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
30+
http://www.springframework.org/schema/context/spring-context-3.0.xsd
31+
http://www.springframework.org/schema/util
32+
http://www.springframework.org/schema/util/spring-util-3.0.xsd"
2833
>
2934

3035
<bean id="clusterBasedAgentLoadBalancerPlanner"
@@ -68,5 +73,10 @@
6873
<bean id="virtualMachineEntityImpl" class="org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl" />
6974

7075
<bean id="virtualMachinePowerStateSyncImpl" class="com.cloud.vm.VirtualMachinePowerStateSyncImpl" />
76+
<bean id= "vmWorkJobDispatcher" class="com.cloud.vm.VmWorkJobDispatcher">
77+
<property name="name">
78+
<util:constant static-field="com.cloud.vm.VmWorkJobDispatcher.VM_WORK_JOB_DISPATCHER"/>
79+
</property>
80+
</bean>
7181

7282
</beans>

0 commit comments

Comments
 (0)