airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject [13/51] [abbrv] airavata git commit: parse taskDag string and create taskList
Date Tue, 03 Nov 2015 19:47:38 GMT
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/master
Commit: ae19d7c2ef69f1e3e2a5130b44324394a6c40756
Parents: 9e3d84b
Author: Shameera Rathnayaka <shameerainfo@gmail.com>
Authored: Mon Oct 19 12:07:42 2015 -0400
Committer: Shameera Rathnayaka <shameerainfo@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);
     }
+
 }


Mime
View raw message