mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
deprecate storage provider in StroragePoolVO
This commit is contained in:
parent
c93918a896
commit
a2dab60236
@ -30,10 +30,8 @@ import javax.persistence.Temporal;
|
|||||||
import javax.persistence.TemporalType;
|
import javax.persistence.TemporalType;
|
||||||
import javax.persistence.Transient;
|
import javax.persistence.Transient;
|
||||||
|
|
||||||
import org.apache.cloudstack.api.Identity;
|
|
||||||
import com.cloud.storage.Storage.StoragePoolType;
|
import com.cloud.storage.Storage.StoragePoolType;
|
||||||
import com.cloud.utils.db.GenericDao;
|
import com.cloud.utils.db.GenericDao;
|
||||||
import org.apache.cloudstack.api.InternalIdentity;
|
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name="storage_pool")
|
@Table(name="storage_pool")
|
||||||
@ -79,10 +77,10 @@ public class StoragePoolVO implements StoragePool {
|
|||||||
@Enumerated(value=EnumType.STRING)
|
@Enumerated(value=EnumType.STRING)
|
||||||
private StoragePoolStatus status;
|
private StoragePoolStatus status;
|
||||||
|
|
||||||
@Column(name="storage_provider", updatable=true, nullable=false)
|
// @Column(name="storage_provider", updatable=true, nullable=false)
|
||||||
private String storageProvider;
|
private String storageProvider;
|
||||||
|
|
||||||
@Column(name="storage_type", nullable=false)
|
// @Column(name="storage_type", nullable=false)
|
||||||
private String storageType;
|
private String storageType;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -182,7 +182,9 @@
|
|||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<srcFiles>
|
<srcFiles>
|
||||||
|
<srcFile>${basedir}/target/db/create-schema-view.sql</srcFile>
|
||||||
<srcFile>${basedir}/target/db/templates.sql</srcFile>
|
<srcFile>${basedir}/target/db/templates.sql</srcFile>
|
||||||
|
<srcFile>${basedir}/target/db/create-index-fk.sql</srcFile>
|
||||||
<srcFile>${basedir}/target/db/cloudbridge_schema.sql</srcFile>
|
<srcFile>${basedir}/target/db/cloudbridge_schema.sql</srcFile>
|
||||||
<srcFile>${basedir}/target/db/cloudbridge_multipart.sql</srcFile>
|
<srcFile>${basedir}/target/db/cloudbridge_multipart.sql</srcFile>
|
||||||
<srcFile>${basedir}/target/db/cloudbridge_index.sql</srcFile>
|
<srcFile>${basedir}/target/db/cloudbridge_index.sql</srcFile>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user