airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramin...@apache.org
Subject svn commit: r1557860 - in /airavata/trunk/modules/registry/airavata-jpa-registry/src/main: java/org/apache/airavata/persistance/registry/jpa/model/OrchestratorData.java resources/META-INF/persistence.xml
Date Mon, 13 Jan 2014 21:41:05 GMT
Author: raminder
Date: Mon Jan 13 21:41:04 2014
New Revision: 1557860

URL: http://svn.apache.org/r1557860
Log:
added unit test for orchestrator data persistence

Modified:
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/OrchestratorData.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/META-INF/persistence.xml

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/OrchestratorData.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/OrchestratorData.java?rev=1557860&r1=1557859&r2=1557860&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/OrchestratorData.java
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/OrchestratorData.java
Mon Jan 13 21:41:04 2014
@@ -1,11 +1,14 @@
 package org.apache.airavata.persistance.registry.jpa.model;
 
 import javax.persistence.Entity;
+import javax.persistence.Id;
 
 @Entity
 public class OrchestratorData {
-	private String orchestratorId;
+	
+	@Id
 	private String experimentId;
+	private String orchestratorId;
 	private String user;
 	private String status;
 	private String state;

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/META-INF/persistence.xml?rev=1557860&r1=1557859&r2=1557860&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/META-INF/persistence.xml
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/META-INF/persistence.xml
Mon Jan 13 21:41:04 2014
@@ -42,6 +42,7 @@
 		<class>org.apache.airavata.persistance.registry.jpa.model.Execution_Error</class>
 		<class>org.apache.airavata.persistance.registry.jpa.model.GFac_Job_Data</class>
 		<class>org.apache.airavata.persistance.registry.jpa.model.GFac_Job_Status</class>
+		<class>org.apache.airavata.persistance.registry.jpa.model.OrchestratorData</class>
         <!--properties>
             <property name="openjpa.ConnectionURL"
                       value="jdbc:mysql://localhost:3306/persitant_data" />



Mime
View raw message