airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1557218 - in /airavata/trunk/modules/registry/registry-api: pom.xml src/main/java/org/apache/airavata/registry/api/JobRequest.java
Date Fri, 10 Jan 2014 18:43:26 GMT
Author: lahiru
Date: Fri Jan 10 18:43:26 2014
New Revision: 1557218

URL: http://svn.apache.org/r1557218
Log:
changing the JobRequest object with more parameters to that.

Modified:
    airavata/trunk/modules/registry/registry-api/pom.xml
    airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/JobRequest.java

Modified: airavata/trunk/modules/registry/registry-api/pom.xml
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/registry-api/pom.xml?rev=1557218&r1=1557217&r2=1557218&view=diff
==============================================================================
--- airavata/trunk/modules/registry/registry-api/pom.xml (original)
+++ airavata/trunk/modules/registry/registry-api/pom.xml Fri Jan 10 18:43:26 2014
@@ -43,6 +43,11 @@
             <artifactId>airavata-common-utils</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.airavata</groupId>
+            <artifactId>airavata-workflow-execution-context</artifactId>
+            <version>${project.version}</version>
+        </dependency>
         <!--dependency>
 			<groupId>org.json</groupId>
 			<artifactId>json</artifactId>

Modified: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/JobRequest.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/JobRequest.java?rev=1557218&r1=1557217&r2=1557218&view=diff
==============================================================================
--- airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/JobRequest.java
(original)
+++ airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/JobRequest.java
Fri Jan 10 18:43:26 2014
@@ -23,6 +23,7 @@ package org.apache.airavata.registry.api
 import org.apache.airavata.commons.gfac.type.ApplicationDescription;
 import org.apache.airavata.commons.gfac.type.HostDescription;
 import org.apache.airavata.commons.gfac.type.ServiceDescription;
+import org.apache.airavata.schemas.wec.ContextHeaderDocument;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -33,7 +34,9 @@ public class JobRequest {
 
     private String userName;
 
-    private String experimentID;
+    private String systemExperimentID;
+
+    private String userExperimentID;
 
     private HostDescription hostDescription;
 
@@ -45,6 +48,8 @@ public class JobRequest {
 
     private Map<String,Object> outputParameters;
 
+    private ContextHeaderDocument.ContextHeader contextHeader;
+
     public Map<String, Object> getInputParameters() {
         return inputParameters;
     }
@@ -93,11 +98,27 @@ public class JobRequest {
         this.userName = userName;
     }
 
-    public String getExperimentID() {
-        return experimentID;
+    public String getSystemExperimentID() {
+        return systemExperimentID;
+    }
+
+    public void setSystemExperimentID(String systemExperimentID) {
+        this.systemExperimentID = systemExperimentID;
+    }
+
+    public String getUserExperimentID() {
+        return userExperimentID;
+    }
+
+    public void setUserExperimentID(String userExperimentID) {
+        this.userExperimentID = userExperimentID;
+    }
+
+    public ContextHeaderDocument.ContextHeader getContextHeader() {
+        return contextHeader;
     }
 
-    public void setExperimentID(String experimentID) {
-        this.experimentID = experimentID;
+    public void setContextHeader(ContextHeaderDocument.ContextHeader contextHeader) {
+        this.contextHeader = contextHeader;
     }
 }



Mime
View raw message