airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata] branch master updated: Temporarily freezing gateway user email fetching feature
Date Tue, 02 Jul 2019 16:59:31 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 8b214e6  Temporarily freezing gateway user email fetching feature
8b214e6 is described below

commit 8b214e64d35b3d7599eaad699c05e50c7d5abe02
Author: Dimuthu Wannipurage <dimuthu.upeksha2@gmail.com>
AuthorDate: Tue Jul 2 12:59:21 2019 -0400

    Temporarily freezing gateway user email fetching feature
---
 .../templates/participant/airavata-server.properties.j2           | 1 +
 .../helix/impl/task/submission/config/GroovyMapBuilder.java       | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-tools/ansible/roles/helix_setup/templates/participant/airavata-server.properties.j2
b/dev-tools/ansible/roles/helix_setup/templates/participant/airavata-server.properties.j2
index 517c1ec..1e5d46d 100644
--- a/dev-tools/ansible/roles/helix_setup/templates/participant/airavata-server.properties.j2
+++ b/dev-tools/ansible/roles/helix_setup/templates/participant/airavata-server.properties.j2
@@ -27,6 +27,7 @@ regserver.server.port={{ registry_port }}
 ###########################################################################
 credential.store.server.host={{ cred_store_server_host }}
 credential.store.server.port={{ cred_store_port }}
+security.manager.class=org.apache.airavata.service.security.KeyCloakSecurityManager
 
 ###########################################################################
 # Profile Server Configuration
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