Skip to content

Commit 3df5571

Browse files
author
Alex Huang
committed
Resolved merge conflicts
1 parent de2bd96 commit 3df5571

8 files changed

Lines changed: 438 additions & 2152 deletions

File tree

‎client/tomcatconf/applicationContext.xml.in‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,9 @@
709709
<property name="Planners" value="#{deploymentPlanners.Adapters}" />
710710
</bean>
711711

712-
<bean id="storageManagerImpl" class="com.cloud.storage.StorageManagerImpl">
712+
<bean id="storageManagerImpl" class="com.cloud.storage.StorageManagerImpl"/>
713+
714+
<bean id="volumeOrchestrator" class="org.apache.cloudstack.engine.orchestration.VolumeOrchestrator">
713715
<property name="StoragePoolAllocators" value="#{storagePoolAllocators.Adapters}" />
714716
</bean>
715717

@@ -852,8 +854,7 @@
852854
<bean id="domainManagerImpl" class="com.cloud.user.DomainManagerImpl" />
853855
<bean id="downloadMonitorImpl" class="com.cloud.storage.download.DownloadMonitorImpl" />
854856
<bean id="lBHealthCheckManagerImpl" class="com.cloud.network.lb.LBHealthCheckManagerImpl" />
855-
856-
<bean id="volumeManagerImpl" class="com.cloud.storage.VolumeManagerImpl" />
857+
<bean id="volumeApiServiceImpl" class="com.cloud.storage.VolumeApiServiceImpl"/>
857858
<bean id="ApplicationLoadBalancerService" class="org.apache.cloudstack.network.lb.ApplicationLoadBalancerManagerImpl" />
858859
<bean id="InternalLoadBalancerVMManager" class="org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl" />
859860

‎engine/api/src/org/apache/cloudstack/engine/orchestration/service/VolumeOrchestrationService.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@
4343
import com.cloud.vm.VirtualMachine;
4444
import com.cloud.vm.VirtualMachineProfile;
4545

46+
/**
47+
* VolumeOrchestrationService is a PURE orchestration service on CloudStack
48+
* volumes. It does not understand resource limits, ACL, action events, or
49+
* anything that has to do with the self-service portion of CloudStack. Its
50+
* job is to carry out any orchestration needed among the physical components
51+
* to provision volumes.
52+
*/
4653
public interface VolumeOrchestrationService {
4754
VolumeInfo moveVolume(VolumeInfo volume, long destPoolDcId, Long destPoolPodId, Long destPoolClusterId, HypervisorType dataDiskHyperType) throws ConcurrentOperationException;
4855

‎engine/orchestration/pom.xml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
<artifactId>cloud-engine-api</artifactId>
3434
<version>${project.version}</version>
3535
</dependency>
36+
<dependency>
37+
<groupId>org.apache.cloudstack</groupId>
38+
<artifactId>cloud-engine-schema</artifactId>
39+
<version>${project.version}</version>
40+
</dependency>
3641
<dependency>
3742
<groupId>org.apache.cloudstack</groupId>
3843
<artifactId>cloud-framework-ipc</artifactId>

0 commit comments

Comments
 (0)