airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: fixing compilation issues
Date Mon, 19 Oct 2015 14:51:44 GMT
Repository: airavata
Updated Branches:
  refs/heads/orchestratorTaskBreakdown 41b37009b -> 9a99ad425


fixing compilation issues


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

Branch: refs/heads/orchestratorTaskBreakdown
Commit: 9a99ad4257dccb389a809d2a0cacdcba97c12824
Parents: 41b3700
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Mon Oct 19 10:51:33 2015 -0400
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Mon Oct 19 10:51:33 2015 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/experiment/catalog/JobResourceTest.java   | 3 ++-
 .../org/apache/airavata/experiment/catalog/TaskResourceTest.java  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/9a99ad42/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/JobResourceTest.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/JobResourceTest.java
b/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/JobResourceTest.java
index ede0278..4ff3165 100644
--- a/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/JobResourceTest.java
+++ b/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/JobResourceTest.java
@@ -19,6 +19,7 @@
 
 package org.apache.airavata.experiment.catalog;
 
+import org.apache.airavata.model.task.DataStageType;
 import org.apache.airavata.model.task.DataStagingTaskModel;
 import org.apache.airavata.model.task.TaskTypes;
 import org.apache.airavata.registry.core.experiment.catalog.ResourceType;
@@ -70,7 +71,7 @@ public class JobResourceTest extends AbstractResourceTest{
         taskResource.setParentProcessId(processId);
         taskResource.setTaskType(TaskTypes.DATA_STAGING.toString());
         taskResource.setTaskDetail("task detail");
-        taskResource.setSubTaskModel(new DataStagingTaskModel("source","destination").toString().getBytes());
+        taskResource.setSubTaskModel(new DataStagingTaskModel("source","destination", DataStageType.INPUT).toString().getBytes());
         taskResource.save();
 
         jobResource = (JobResource)processResource.create(ResourceType.JOB);

http://git-wip-us.apache.org/repos/asf/airavata/blob/9a99ad42/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/TaskResourceTest.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/TaskResourceTest.java
b/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/TaskResourceTest.java
index 5821a06..6e0e955 100644
--- a/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/TaskResourceTest.java
+++ b/modules/registry/registry-core/src/test/java/org/apache/airavata/experiment/catalog/TaskResourceTest.java
@@ -19,6 +19,7 @@
 
 package org.apache.airavata.experiment.catalog;
 
+import org.apache.airavata.model.task.DataStageType;
 import org.apache.airavata.model.task.DataStagingTaskModel;
 import org.apache.airavata.model.task.TaskTypes;
 import org.apache.airavata.registry.core.experiment.catalog.ResourceType;
@@ -67,7 +68,7 @@ public class TaskResourceTest extends AbstractResourceTest{
         taskResource.setParentProcessId(processId);
         taskResource.setTaskType(TaskTypes.DATA_STAGING.toString());
         taskResource.setTaskDetail("task detail");
-        taskResource.setSubTaskModel(new DataStagingTaskModel("source","destination").toString().getBytes());
+        taskResource.setSubTaskModel(new DataStagingTaskModel("source","destination", DataStageType.INPUT).toString().getBytes());
         taskResource.save();
     }
 	


Mime
View raw message