airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r1481172 - in /airavata/trunk/modules/registry: airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/ airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ airavata-jpa...
Date Fri, 10 May 2013 20:11:06 GMT
Author: chathuri
Date: Fri May 10 20:11:06 2013
New Revision: 1481172

URL: http://svn.apache.org/r1481172
Log:
updating execution error table

Modified:
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Execution_Error.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExecutionErrorResource.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql
    airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql
    airavata/trunk/modules/registry/airavata-registry-test/src/test/resources/data-derby.sql

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Execution_Error.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Execution_Error.java?rev=1481172&r1=1481171&r2=1481172&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Execution_Error.java
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Execution_Error.java
Fri May 10 20:11:06 2013
@@ -37,6 +37,7 @@ public class Execution_Error {
     private String error_reporter;
     private String error_location;
     private String action_taken;
+    private int error_reference;
 
     @ManyToOne()
     @JoinColumn(name = "experiment_ID")
@@ -175,4 +176,12 @@ public class Execution_Error {
     public void setAction_taken(String action_taken) {
         this.action_taken = action_taken;
     }
+
+    public int getError_reference() {
+        return error_reference;
+    }
+
+    public void setError_reference(int error_reference) {
+        this.error_reference = error_reference;
+    }
 }

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExecutionErrorResource.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExecutionErrorResource.java?rev=1481172&r1=1481171&r2=1481172&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExecutionErrorResource.java
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExecutionErrorResource.java
Fri May 10 20:11:06 2013
@@ -28,6 +28,7 @@ public class ExecutionErrorResource exte
     private String errorReporter;
     private String errorLocation;
     private String actionTaken;
+    private int errorReference;
 
     @Override
     public Resource create(ResourceType type) {
@@ -179,4 +180,12 @@ public class ExecutionErrorResource exte
     public void setActionTaken(String actionTaken) {
         this.actionTaken = actionTaken;
     }
+
+    public int getErrorReference() {
+        return errorReference;
+    }
+
+    public void setErrorReference(int errorReference) {
+        this.errorReference = errorReference;
+    }
 }

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java?rev=1481172&r1=1481171&r2=1481172&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
Fri May 10 20:11:06 2013
@@ -562,6 +562,7 @@ public class Utils {
         executionErrorResource.setErrorReporter(o.getError_reporter());
         executionErrorResource.setErrorLocation(o.getError_location());
         executionErrorResource.setActionTaken(o.getAction_taken());
+        executionErrorResource.setErrorReference(o.getError_reference());
         return executionErrorResource;
     }
 

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql?rev=1481172&r1=1481171&r2=1481172&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-derby.sql
Fri May 10 20:11:06 2013
@@ -233,6 +233,7 @@ CREATE TABLE Execution_Error
        error_reporter varchar(255),
        error_location varchar(255),
        action_taken varchar(255),
+       error_reference INTEGER,
        PRIMARY KEY(error_id),
        FOREIGN KEY (workflow_instanceID) REFERENCES Workflow_Data(workflow_instanceID) ON
DELETE CASCADE,
        FOREIGN KEY (experiment_ID) REFERENCES Experiment_Data(experiment_ID) ON DELETE CASCADE

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql?rev=1481172&r1=1481171&r2=1481172&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/data-mysql.sql
Fri May 10 20:11:06 2013
@@ -231,6 +231,7 @@ CREATE TABLE Execution_Error
        error_reporter varchar(255),
        error_location varchar(255),
        action_taken varchar(255),
+       error_reference INTEGER,
        PRIMARY KEY(error_id),
        FOREIGN KEY (workflow_instanceID) REFERENCES Workflow_Data(workflow_instanceID) ON
DELETE CASCADE,
        FOREIGN KEY (experiment_ID) REFERENCES Experiment_Data(experiment_ID) ON DELETE CASCADE

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql?rev=1481172&r1=1481171&r2=1481172&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql
Fri May 10 20:11:06 2013
@@ -233,6 +233,7 @@ CREATE TABLE Execution_Error
        error_reporter varchar(255),
        error_location varchar(255),
        action_taken varchar(255),
+       error_reference INTEGER,
        PRIMARY KEY(error_id),
        FOREIGN KEY (workflow_instanceID) REFERENCES Workflow_Data(workflow_instanceID) ON
DELETE CASCADE,
        FOREIGN KEY (experiment_ID) REFERENCES Experiment_Data(experiment_ID) ON DELETE CASCADE

Modified: airavata/trunk/modules/registry/airavata-registry-test/src/test/resources/data-derby.sql
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-registry-test/src/test/resources/data-derby.sql?rev=1481172&r1=1481171&r2=1481172&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-registry-test/src/test/resources/data-derby.sql
(original)
+++ airavata/trunk/modules/registry/airavata-registry-test/src/test/resources/data-derby.sql
Fri May 10 20:11:06 2013
@@ -233,6 +233,7 @@ CREATE TABLE Execution_Error
        error_reporter varchar(255),
        error_location varchar(255),
        action_taken varchar(255),
+       error_reference INTEGER,
        PRIMARY KEY(error_id),
        FOREIGN KEY (workflow_instanceID) REFERENCES Workflow_Data(workflow_instanceID) ON
DELETE CASCADE,
        FOREIGN KEY (experiment_ID) REFERENCES Experiment_Data(experiment_ID) ON DELETE CASCADE



Mime
View raw message