airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata] branch staging updated: Removing user email fetch logic in Groovy map builder
Date Fri, 12 Jul 2019 14:07:00 GMT
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 99e241d  Removing user email fetch logic in Groovy map builder
99e241d is described below

commit 99e241dfd3f059dd1089048150698a7acf194b13
Author: Dimuthu Wannipurage <dimuthu.upeksha2@gmail.com>
AuthorDate: Fri Jul 12 10:06:46 2019 -0400

    Removing user email fetch logic in Groovy map builder
---
 .../helix/impl/task/submission/config/GroovyMapBuilder.java       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java
index d849ba4..deb3a1f 100644
--- a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java
+++ b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java
@@ -80,10 +80,10 @@ public class GroovyMapBuilder {
         mapData.setTaskId(taskContext.getTaskId());
         mapData.setExperimentDataDir(taskContext.getProcessModel().getExperimentDataDir());
 
-        List<String> emails = taskContext.getUserProfile().getEmails();
-        if (emails != null && emails.size() > 0) {
-            mapData.setGatewayUserEmail(emails.get(0));
-        }
+        //List<String> emails = taskContext.getUserProfile().getEmails();
+        //if (emails != null && emails.size() > 0) {
+        //    mapData.setGatewayUserEmail(emails.get(0));
+        //}
 
         List<String> inputValues = getProcessInputValues(taskContext.getProcessModel().getProcessInputs(),
true);
         inputValues.addAll(getProcessOutputValues(taskContext.getProcessModel().getProcessOutputs(),
true));


Mime
View raw message