Skip to content

Commit 918bc74

Browse files
committed
fix compile
1 parent 143fbc3 commit 918bc74

7 files changed

Lines changed: 8 additions & 9 deletions

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
<bean id="BAREMETAL" class="org.apache.cloudstack.storage.image.format.BAREMETAL" />
3838

3939
<bean id="hypervisorHelperImpl" class="org.apache.cloudstack.storage.helper.HypervisorHelperImpl" />
40-
<bean id="vmSnapshotHelper" class="org.apache.cloudstack.storage.vmsnapshot.VMSnapshotHelperImpl" />
40+
41+
<bean id="VMSnapshotHelperImpl"
42+
class="org.apache.cloudstack.storage.helper.VMSnapshotHelperImpl" />
4143

4244
<bean id="objectInDataStoreManagerImpl"
4345
class="org.apache.cloudstack.storage.datastore.ObjectInDataStoreManagerImpl" />

engine/storage/snapshot/resources/META-INF/cloudstack/storage/spring-engine-storage-snapshot-storage-context.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,4 @@
3333
<bean id="DefaultVMSnapshotStrategy"
3434
class="org.apache.cloudstack.storage.vmsnapshot.DefaultVMSnapshotStrategy" />
3535

36-
<bean id="VMSnapshotHelperImpl"
37-
class="org.apache.cloudstack.storage.vmsnapshot.VMSnapshotHelperImpl" />
3836
</beans>

engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.apache.cloudstack.engine.subsystem.api.storage.StrategyPriority;
2828
import org.apache.cloudstack.engine.subsystem.api.storage.VMSnapshotStrategy;
2929
import org.apache.cloudstack.framework.config.dao.ConfigurationDao;
30-
import org.apache.cloudstack.storage.snapshot.VMSnapshotHelper;
3130
import org.apache.cloudstack.storage.to.VolumeObjectTO;
3231
import org.apache.log4j.Logger;
3332

engine/storage/snapshot/test/src/VMSnapshotStrategyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.apache.cloudstack.framework.config.dao.ConfigurationDao;
3030
import org.apache.cloudstack.storage.to.VolumeObjectTO;
3131
import org.apache.cloudstack.storage.vmsnapshot.DefaultVMSnapshotStrategy;
32-
import org.apache.cloudstack.storage.snapshot.VMSnapshotHelper;
32+
import org.apache.cloudstack.storage.vmsnapshot.VMSnapshotHelper;
3333
import org.apache.cloudstack.test.utils.SpringUtils;
3434
import org.junit.Before;
3535
import org.junit.Test;

engine/storage/src/org/apache/cloudstack/storage/helper/HypervisorHelperImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import org.apache.cloudstack.storage.command.ForgetObjectCmd;
3131
import org.apache.cloudstack.storage.command.IntroduceObjectAnswer;
3232
import org.apache.cloudstack.storage.command.IntroduceObjectCmd;
33-
import org.apache.cloudstack.storage.snapshot.VMSnapshotHelper;
33+
import org.apache.cloudstack.storage.vmsnapshot.VMSnapshotHelper;
3434
import org.apache.cloudstack.storage.to.VolumeObjectTO;
3535
import org.apache.log4j.Logger;
3636

engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/VMSnapshotHelperImpl.java renamed to engine/storage/src/org/apache/cloudstack/storage/helper/VMSnapshotHelperImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
package org.apache.cloudstack.storage.vmsnapshot;
19+
package org.apache.cloudstack.storage.helper;
2020

2121
import java.util.ArrayList;
2222
import java.util.HashMap;
@@ -29,8 +29,8 @@
2929
import org.apache.cloudstack.engine.subsystem.api.storage.VolumeInfo;
3030
import org.apache.cloudstack.storage.datastore.db.PrimaryDataStoreDao;
3131
import org.apache.cloudstack.storage.datastore.db.StoragePoolVO;
32-
import org.apache.cloudstack.storage.snapshot.VMSnapshotHelper;
3332
import org.apache.cloudstack.storage.to.VolumeObjectTO;
33+
import org.apache.cloudstack.storage.vmsnapshot.VMSnapshotHelper;
3434

3535
import com.cloud.agent.api.VMSnapshotTO;
3636
import com.cloud.exception.InvalidParameterValueException;

engine/storage/src/org/apache/cloudstack/storage/snapshot/VMSnapshotHelper.java renamed to engine/storage/src/org/apache/cloudstack/storage/vmsnapshot/VMSnapshotHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
package org.apache.cloudstack.storage.snapshot;
19+
package org.apache.cloudstack.storage.vmsnapshot;
2020

2121
import java.util.List;
2222

0 commit comments

Comments
 (0)