adding comments
authorscnakandala <supun.nakandala@gmail.com>
Tue, 27 Jun 2017 16:47:28 +0000 (12:47 -0400)
committerscnakandala <supun.nakandala@gmail.com>
Tue, 27 Jun 2017 16:47:28 +0000 (12:47 -0400)
helix-playground/src/main/java/edu/iu/helix/airavata/tasks/ssh/SSHTask.java

index 281a185..4e72ade 100644 (file)
@@ -37,6 +37,15 @@ public class SSHTask implements Task {
 
     @Override
     public TaskResult run() {
+// Todo Should be stored before the DAG execution start
+//        byte[] input = SerializationUtils.serialize(yourList);
+//        curator.create()
+//                .creatingParentContainersIfNeeded()
+//                .forPath(path, input);
+
+// Todo Deserialize the TaskContext from data store.
+//        byte[] output = curator.getData().forPath(path);
+//        List<String> newList = (List<String>)SerializationUtils.deserialize(output);
         return null;
     }