airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1386627 - in /incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main: java/org/apache/airavata/persistance/registry/jpa/model/ resources/
Date Mon, 17 Sep 2012 14:28:51 GMT
Author: lahiru
Date: Mon Sep 17 14:28:50 2012
New Revision: 1386627

URL: http://svn.apache.org/viewvc?rev=1386627&view=rev
Log:
applying patch from Chathuri for AIRAVATA-575

Modified:
    incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow.java
    incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow.java
    incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql
    incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql

Modified: incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow.java?rev=1386627&r1=1386626&r2=1386627&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow.java
(original)
+++ incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow.java
Mon Sep 17 14:28:50 2012
@@ -39,6 +39,8 @@ public class Published_Workflow {
 
     private String version;
     private Date published_date;
+
+    @Lob
     private String workflow_content;
     private String path;
 

Modified: incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow.java?rev=1386627&r1=1386626&r2=1386627&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow.java
(original)
+++ incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow.java
Mon Sep 17 14:28:50 2012
@@ -43,6 +43,8 @@ public class User_Workflow {
 
     private String path;
     private Date last_updated_date;
+
+    @Lob
     private String workflow_graph;
 
     public String getTemplate_name() {

Modified: incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql?rev=1386627&r1=1386626&r2=1386627&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql
(original)
+++ incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql
Mon Sep 17 14:28:50 2012
@@ -71,7 +71,7 @@ create table Published_Workflow
        version varchar(255),
        published_date TIMESTAMP DEFAULT '0000-00-00 00:00:00',
        path varchar (255),
-       workflow_content varchar(2000),
+       workflow_content BLOB,
        PRIMARY KEY(gateway_name, publish_workflow_name),
        FOREIGN KEY (gateway_name) REFERENCES Gateway(gateway_name) ON DELETE CASCADE,
        FOREIGN KEY (created_user) REFERENCES Users(user_name) ON DELETE CASCADE
@@ -85,7 +85,7 @@ create table User_Workflow
        template_name varchar(255),
        last_updated_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP ,
        path varchar (255),
-       workflow_graph varchar(2000),
+       workflow_graph BLOB,
        PRIMARY KEY(gateway_name, owner, template_name),
        FOREIGN KEY (gateway_name) REFERENCES Gateway(gateway_name) ON DELETE CASCADE,
        FOREIGN KEY (owner) REFERENCES Users(user_name) ON DELETE CASCADE

Modified: incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql?rev=1386627&r1=1386626&r2=1386627&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql
(original)
+++ incubator/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql
Mon Sep 17 14:28:50 2012
@@ -69,7 +69,7 @@ create table Published_Workflow
        version varchar(255),
        published_date TIMESTAMP DEFAULT '0000-00-00 00:00:00',
        path varchar (255),
-       workflow_content varchar(2000),
+       workflow_content BLOB,
        PRIMARY KEY(gateway_name, publish_workflow_name),
        FOREIGN KEY (gateway_name) REFERENCES Gateway(gateway_name) ON DELETE CASCADE,
        FOREIGN KEY (created_user) REFERENCES Users(user_name) ON DELETE CASCADE
@@ -83,7 +83,7 @@ create table User_Workflow
        template_name varchar(255),
        last_updated_date TIMESTAMP DEFAULT now() on update now(),
        path varchar (255),
-       workflow_graph varchar(2000),
+       workflow_graph BLOB,
        PRIMARY KEY(gateway_name, owner, template_name),
        FOREIGN KEY (gateway_name) REFERENCES Gateway(gateway_name) ON DELETE CASCADE,
        FOREIGN KEY (owner) REFERENCES Users(user_name) ON DELETE CASCADE



Mime
View raw message