cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [1/2] git commit: updated refs/heads/4.3 to eb56c4d
Date Tue, 03 Dec 2013 21:05:31 GMT
Updated Branches:
  refs/heads/4.3 b5527e1f1 -> eb56c4d86


Fix snapshot details dao


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/77227960
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/77227960
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/77227960

Branch: refs/heads/4.3
Commit: 77227960cfe941e66c0a1eea871a9aba5d289462
Parents: b5527e1
Author: edison su <sudison@gmail.com>
Authored: Tue Dec 3 13:01:51 2013 -0800
Committer: edison su <sudison@gmail.com>
Committed: Tue Dec 3 13:05:03 2013 -0800

----------------------------------------------------------------------
 .../core/spring-engine-schema-core-daos-context.xml    |  1 +
 .../src/com/cloud/storage/dao/SnapshotDetailsVO.java   | 13 +++++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/77227960/engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
----------------------------------------------------------------------
diff --git a/engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
b/engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
index dfab28c..ced0c52 100644
--- a/engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
+++ b/engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
@@ -251,6 +251,7 @@
   <bean id="site2SiteVpnConnectionDaoImpl" class="com.cloud.network.dao.Site2SiteVpnConnectionDaoImpl"
/>
   <bean id="site2SiteVpnGatewayDaoImpl" class="com.cloud.network.dao.Site2SiteVpnGatewayDaoImpl"
/>
   <bean id="snapshotDaoImpl" class="com.cloud.storage.dao.SnapshotDaoImpl" />
+  <bean id="snapshotDetailsDaoImpl" class="com.cloud.storage.dao.SnapshotDetailsDaoImpl"
/>
   <bean id="snapshotPolicyDaoImpl" class="com.cloud.storage.dao.SnapshotPolicyDaoImpl"
/>
   <bean id="snapshotScheduleDaoImpl" class="com.cloud.storage.dao.SnapshotScheduleDaoImpl"
/>
   <bean id="sslCertDao" class="com.cloud.network.dao.SslCertDaoImpl" />

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/77227960/engine/schema/src/com/cloud/storage/dao/SnapshotDetailsVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/storage/dao/SnapshotDetailsVO.java b/engine/schema/src/com/cloud/storage/dao/SnapshotDetailsVO.java
index 5406749..5b91c82 100644
--- a/engine/schema/src/com/cloud/storage/dao/SnapshotDetailsVO.java
+++ b/engine/schema/src/com/cloud/storage/dao/SnapshotDetailsVO.java
@@ -18,9 +18,14 @@
  */
 package com.cloud.storage.dao;
 
-import org.apache.cloudstack.api.ResourceDetail;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Table;
 
-import javax.persistence.*;
+import org.apache.cloudstack.api.ResourceDetail;
 
 @Entity
 @Table(name = "snapshot_details")
@@ -39,6 +44,10 @@ public class SnapshotDetailsVO implements ResourceDetail {
     @Column(name = "value")
     String value;
 
+    public SnapshotDetailsVO() {
+
+    }
+
     public SnapshotDetailsVO(Long resourceId, String name, String value) {
         this.resourceId = resourceId;
         this.name = name;


Mime
View raw message