You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2014/06/30 19:19:50 UTC

git commit: updating workflownodedetails constructor

Repository: airavata
Updated Branches:
  refs/heads/master 98b738e91 -> 31c84b6fe


updating workflownodedetails constructor


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

Branch: refs/heads/master
Commit: 31c84b6feb81a2e16a88b0197746e59d6ed63fc5
Parents: 98b738e
Author: Saminda Wijeratne <sa...@gmail.com>
Authored: Mon Jun 30 13:19:38 2014 -0400
Committer: Saminda Wijeratne <sa...@gmail.com>
Committed: Mon Jun 30 13:19:38 2014 -0400

----------------------------------------------------------------------
 .../airavata/core/gfac/services/impl/LocalProviderTest.java      | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/31c84b6f/modules/gfac/gfac-local/src/test/java/org/apache/airavata/core/gfac/services/impl/LocalProviderTest.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-local/src/test/java/org/apache/airavata/core/gfac/services/impl/LocalProviderTest.java b/modules/gfac/gfac-local/src/test/java/org/apache/airavata/core/gfac/services/impl/LocalProviderTest.java
index a6f689f..818e4be 100644
--- a/modules/gfac/gfac-local/src/test/java/org/apache/airavata/core/gfac/services/impl/LocalProviderTest.java
+++ b/modules/gfac/gfac-local/src/test/java/org/apache/airavata/core/gfac/services/impl/LocalProviderTest.java
@@ -21,6 +21,7 @@
 package org.apache.airavata.core.gfac.services.impl;
 
 import com.google.common.eventbus.EventBus;
+
 import org.apache.airavata.commons.gfac.type.*;
 import org.apache.airavata.gfac.GFacConfiguration;
 import org.apache.airavata.gfac.GFacException;
@@ -31,6 +32,7 @@ import org.apache.airavata.gfac.core.notification.MonitorPublisher;
 import org.apache.airavata.gfac.core.provider.GFacProviderException;
 import org.apache.airavata.gfac.local.handler.LocalDirectorySetupHandler;
 import org.apache.airavata.gfac.local.provider.impl.LocalProvider;
+import org.apache.airavata.model.workspace.experiment.ExecutionUnit;
 import org.apache.airavata.model.workspace.experiment.Experiment;
 import org.apache.airavata.model.workspace.experiment.TaskDetails;
 import org.apache.airavata.model.workspace.experiment.WorkflowNodeDetails;
@@ -148,7 +150,7 @@ public class LocalProviderTest {
         jobExecutionContext.setExperiment(new Experiment("test123","project1","admin","testExp"));
         jobExecutionContext.setTaskData(new TaskDetails(jobExecutionContext.getExperimentID()));
         jobExecutionContext.setRegistry(new LoggingRegistryImpl());
-        jobExecutionContext.setWorkflowNodeDetails(new WorkflowNodeDetails(jobExecutionContext.getExperimentID(),"none"));
+        jobExecutionContext.setWorkflowNodeDetails(new WorkflowNodeDetails(jobExecutionContext.getExperimentID(),"none", ExecutionUnit.APPLICATION));
 
 
     }