You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/06/29 14:40:19 UTC

[1/2] airavata git commit: AIRAVATA-2419 Enable security in dev environment

Repository: airavata
Updated Branches:
  refs/heads/develop cb4565d98 -> de6fcb19c


AIRAVATA-2419 Enable security in dev environment


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/9792d279
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/9792d279
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/9792d279

Branch: refs/heads/develop
Commit: 9792d279c1d06f78a6530d5d9dba21b7a79d0d80
Parents: cb4565d
Author: Marcus Christie <ma...@apache.org>
Authored: Thu Jun 29 10:39:00 2017 -0400
Committer: Marcus Christie <ma...@apache.org>
Committed: Thu Jun 29 10:39:00 2017 -0400

----------------------------------------------------------------------
 .../ansible/inventories/scigap/develop/group_vars/all/vars.yml     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/9792d279/dev-tools/ansible/inventories/scigap/develop/group_vars/all/vars.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/develop/group_vars/all/vars.yml b/dev-tools/ansible/inventories/scigap/develop/group_vars/all/vars.yml
index 0087a1e..f84f7f3 100644
--- a/dev-tools/ansible/inventories/scigap/develop/group_vars/all/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/develop/group_vars/all/vars.yml
@@ -67,7 +67,7 @@ zookeeper_url: "{{ groups['zookeeper'][0] }}:{{ zookeeper_client_port }}"
 api_server_name: "apiserver-node0"
 api_server_host: "{{ groups['api-orch'][0] }}"
 api_server_port: "8930"
-api_secured: "false"
+api_secured: "true"
 tls_enable: "true"
 api_server_tls_port: "9930"
 enable_sharing: "true"


[2/2] airavata git commit: AIRAVATA-2419 Save admin credentials when migrating

Posted by ma...@apache.org.
AIRAVATA-2419 Save admin credentials when migrating

Testing revealed that the MigrationManager.java wasn't saving
credentials.


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/de6fcb19
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/de6fcb19
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/de6fcb19

Branch: refs/heads/develop
Commit: de6fcb19c509f37ff50590606fe08325266e583f
Parents: 9792d27
Author: Marcus Christie <ma...@apache.org>
Authored: Thu Jun 29 10:39:31 2017 -0400
Committer: Marcus Christie <ma...@apache.org>
Committed: Thu Jun 29 10:39:31 2017 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/airavata/MigrationManager.java         | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/de6fcb19/modules/user-profile-migration/src/main/java/org/apache/airavata/MigrationManager.java
----------------------------------------------------------------------
diff --git a/modules/user-profile-migration/src/main/java/org/apache/airavata/MigrationManager.java b/modules/user-profile-migration/src/main/java/org/apache/airavata/MigrationManager.java
index 68ad855..378da0a 100644
--- a/modules/user-profile-migration/src/main/java/org/apache/airavata/MigrationManager.java
+++ b/modules/user-profile-migration/src/main/java/org/apache/airavata/MigrationManager.java
@@ -287,6 +287,7 @@ public class MigrationManager {
         GatewayResourceProfile gatewayResourceProfile = airavataClient.getGatewayResourceProfile(authzToken, gatewayId);
         gatewayResourceProfile.setIdentityServerTenant(gatewayId);
         gatewayResourceProfile.setIdentityServerPwdCredToken(passwordToken);
+        airavataClient.updateGatewayResourceProfile(authzToken, gatewayId, gatewayResourceProfile);
         return true;
     }