airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch develop updated: AIRAVATA-3114 Hide dataparsers in most django portals
Date Mon, 15 Jul 2019 21:15:35 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/develop by this push:
     new 11a5ecc  AIRAVATA-3114 Hide dataparsers in most django portals
11a5ecc is described below

commit 11a5ecc73c7dd62020f48eae4c5f71f860c71dae
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Mon Jul 15 11:04:26 2019 -0400

    AIRAVATA-3114 Hide dataparsers in most django portals
---
 .../ansible/inventories/scigap/develop/group_vars/django/vars.yml      | 1 +
 .../ansible/inventories/scigap/develop/host_vars/interactwel/vars.yml  | 2 ++
 dev-tools/ansible/roles/django/templates/settings_local.py.j2          | 3 +++
 3 files changed, 6 insertions(+)

diff --git a/dev-tools/ansible/inventories/scigap/develop/group_vars/django/vars.yml b/dev-tools/ansible/inventories/scigap/develop/group_vars/django/vars.yml
index 59c810c..db56a72 100644
--- a/dev-tools/ansible/inventories/scigap/develop/group_vars/django/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/develop/group_vars/django/vars.yml
@@ -28,3 +28,4 @@ doc_root_dir: "/var/www/portals/django-{{gateway_id}}"
 admin_emails: "[('SGRC Group', 'sgrc-iu-group@iu.edu')]"
 django_error_emails: "[('Marcus Christie', 'machrist@iu.edu'), ('Eroma Abeysinghe', 'eabeysin@iu.edu')]"
 django_database_name: "django_{{ gateway_id }}"
+django_hidden_airavata_apps: "['django_airavata_dataparsers']"
diff --git a/dev-tools/ansible/inventories/scigap/develop/host_vars/interactwel/vars.yml b/dev-tools/ansible/inventories/scigap/develop/host_vars/interactwel/vars.yml
index 5e26870..43f2687 100644
--- a/dev-tools/ansible/inventories/scigap/develop/host_vars/interactwel/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/develop/host_vars/interactwel/vars.yml
@@ -42,6 +42,8 @@ auth_options:
 gateway_id: "interactwel"
 experiment_data_dir: "{{ user_data_dir }}/django-interactwel"
 gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCK+P6aQeRRIUcm2oocxfCyHO9Kl9npX+Fc5f7jaEFgN3SfyYjah69yxvhVAWguRgXIG9xuKvzXmoSeNT0Yk1NoBTFHAtSUDy0KqIXkp5XK2Ocv/W2fblCx8v46amiv5VZToq+YK+P+XfmyfjNEv9WXo9vtIfj2RQlVk3g+GIcCQgkiIxl4XEh7+AknahqWEkzlGeqTBHtwyRXbhuvLf6M4vNoUhxn4aY8DOcJPZF1jnWB+ZiTiNBXRA7Hx/L78RWoHTf50KOO3LQ+AD7727kdIYWM4wVgRzY8pac5bIJ7ncyp//2GiUzSoXSbLV2vZDMz9CM0Ovfpg6P6Q2j5inS0J"
+# Show the Data Parsers app option for Interactwel
+django_hidden_airavata_apps: "[]"
 
 portal_email_host: "smtp.gmail.com"
 portal_email_port: 587
diff --git a/dev-tools/ansible/roles/django/templates/settings_local.py.j2 b/dev-tools/ansible/roles/django/templates/settings_local.py.j2
index 1a29bbf..df5a290 100644
--- a/dev-tools/ansible/roles/django/templates/settings_local.py.j2
+++ b/dev-tools/ansible/roles/django/templates/settings_local.py.j2
@@ -130,6 +130,9 @@ PORTAL_TITLE = '{{ portal_title }}'
 # webpack_loader override to load from STATIC_ROOT
 WEBPACK_LOADER = webpack_loader_util.create_webpack_loader_config(STATIC_ROOT)
 
+# Hidden Airavata apps (not all gateways need all functionality)
+HIDDEN_AIRAVATA_APPS = {{ django_hidden_airavata_apps }}
+
 # Extra settings
 {% for extra_setting in django_extra_settings.items() | list %}
 {{ extra_setting[0] }} = '{{ extra_setting[1] }}'


Mime
View raw message