You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sh...@apache.org on 2015/10/19 18:07:57 UTC
airavata git commit: parse taskDag string and create taskList
Repository: airavata
Updated Branches:
refs/heads/orchestratorTaskBreakdown 9e3d84be8 -> ae19d7c2e
parse taskDag string and create taskList
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/ae19d7c2
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/ae19d7c2
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/ae19d7c2
Branch: refs/heads/orchestratorTaskBreakdown
Commit: ae19d7c2ef69f1e3e2a5130b44324394a6c40756
Parents: 9e3d84b
Author: Shameera Rathnayaka <sh...@gmail.com>
Authored: Mon Oct 19 12:07:42 2015 -0400
Committer: Shameera Rathnayaka <sh...@gmail.com>
Committed: Mon Oct 19 12:07:42 2015 -0400
----------------------------------------------------------------------
.../src/main/java/org/apache/airavata/gfac/core/GFacUtils.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/ae19d7c2/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
index d135eec..320f58f 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
@@ -966,7 +966,8 @@ public class GFacUtils {
public static List<String> parseTaskDag(String taskDag) {
// TODO - parse taskDag and create taskId list
- List<String> taskIds = new ArrayList<>();
- return taskIds;
+ String[] tasks = taskDag.split(",");
+ return Arrays.asList(tasks);
}
+
}