airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [2/2] airavata git commit: changing the derby script
Date Thu, 23 Mar 2017 21:00:37 GMT
changing the derby script


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

Branch: refs/heads/develop
Commit: 9d419449707279aa186a094379ce2d8122801dbd
Parents: bfc3a84
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Thu Mar 23 17:00:32 2017 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Thu Mar 23 17:00:32 2017 -0400

----------------------------------------------------------------------
 .../airavata/sharing/registry/db/entities/EntityEntity.java    | 6 +++---
 .../src/main/resources/sharing-registry-derby.sql              | 2 +-
 .../src/main/resources/sharing-registry-mysql.sql              | 2 +-
 .../org/apache/airavata/sharing/registry/models/Entity.java    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/9d419449/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/entities/EntityEntity.java
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/entities/EntityEntity.java
b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/entities/EntityEntity.java
index 199870c..9452f78 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/entities/EntityEntity.java
+++ b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/entities/EntityEntity.java
@@ -41,7 +41,7 @@ public class EntityEntity {
     private ByteBuffer binaryData;
     private String fullText;
     private Long originalEntityCreationTime;
-    private int sharedCount;
+    private Long sharedCount;
     private Long createdTime;
     private Long updatedTime;
 
@@ -147,11 +147,11 @@ public class EntityEntity {
 
     @Basic
     @Column(name = "SHARED_COUNT")
-    public int getSharedCount() {
+    public Long getSharedCount() {
         return sharedCount;
     }
 
-    public void setSharedCount(int sharedCount) {
+    public void setSharedCount(Long sharedCount) {
         this.sharedCount = sharedCount;
     }
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/9d419449/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-derby.sql
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-derby.sql
b/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-derby.sql
index 4a71a99..6233896 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-derby.sql
+++ b/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-derby.sql
@@ -101,7 +101,7 @@ CREATE TABLE ENTITY (
   DESCRIPTION VARCHAR(255),
   BINARY_DATA BLOB,
   FULL_TEXT VARCHAR(255),
-  SHARED_COUNT INT DEFAULT 0,
+  SHARED_COUNT BIGINT DEFAULT 0,
   ORIGINAL_ENTITY_CREATION_TIME BIGINT NOT NULL,
   CREATED_TIME BIGINT NOT NULL,
   UPDATED_TIME BIGINT NOT NULL,

http://git-wip-us.apache.org/repos/asf/airavata/blob/9d419449/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-mysql.sql
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-mysql.sql
b/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-mysql.sql
index ad5f435..ed4112c 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-mysql.sql
+++ b/modules/sharing-registry/sharing-registry-server/src/main/resources/sharing-registry-mysql.sql
@@ -101,7 +101,7 @@ CREATE TABLE ENTITY (
   DESCRIPTION VARCHAR(255),
   BINARY_DATA BLOB,
   FULL_TEXT TEXT,
-  SHARED_COUNT INT(4) DEFAULT 0,
+  SHARED_COUNT BIGINT DEFAULT 0,
   ORIGINAL_ENTITY_CREATION_TIME BIGINT NOT NULL,
   CREATED_TIME BIGINT NOT NULL,
   UPDATED_TIME BIGINT NOT NULL,

http://git-wip-us.apache.org/repos/asf/airavata/blob/9d419449/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java
b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java
index a937c09..d04a89e 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java
@@ -51,7 +51,7 @@ import org.slf4j.LoggerFactory;
  * <li>updatedTime : Will be set by the system</li>
  * 
  */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2017-03-23")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
 public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>, java.io.Serializable,
Cloneable, Comparable<Entity> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Entity");
 


Mime
View raw message