This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/staging by this push:
     new 27eb512  Unique ids for completing tasks
27eb512 is described below

commit 27eb5129e76dd8d0be7992a8c6b099314d1f5b7e
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Wed Apr 3 02:13:10 2019 -0400

    Unique ids for completing tasks
---
 .../org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
 
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
index cb71ef5..78a4cb3 100644
--- 
a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
+++ 
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PostWorkflowManager.java
@@ -251,7 +251,7 @@ public class PostWorkflowManager extends WorkflowManager {
         completingTask.setGatewayId(experimentModel.getGatewayId());
         completingTask.setExperimentId(experimentModel.getExperimentId());
         completingTask.setProcessId(processModel.getProcessId());
-        completingTask.setTaskId("Completing-Task");
+        completingTask.setTaskId("Completing-Task-" + 
UUID.randomUUID().toString() +"-");
         completingTask.setForceRunTask(forceRun);
         completingTask.setSkipTaskStatusPublish(true);
         if (allTasks.size() > 0) {

Reply via email to