[airavata] branch staging updated: Search SRA beta Django portal

2019-09-12 Thread eroma
This is an automated email from the ASF dual-hosted git repository.

eroma 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 dd6bdc0  Search SRA beta Django portal
dd6bdc0 is described below

commit dd6bdc02f08f48657388e2d6edbf1d0872fd2847
Author: Eroma Abeysinghe 
AuthorDate: Thu Sep 12 10:41:22 2019 -0400

Search SRA beta Django portal
---
 .../scigap/staging/host_vars/searchsra/vars.yml| 49 ++
 .../scigap/staging/host_vars/searchsra/vault.yml   | 15 +++
 2 files changed, 64 insertions(+)

diff --git 
a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml 
b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
new file mode 100644
index 000..b4a2a9b
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
@@ -0,0 +1,49 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+---
+vhost_servername: "searchsra.scigap.org"
+vhost_ssl: True
+ssl_certificate_file: "/etc/letsencrypt/live/pearc19.scigap.org/cert.pem"
+ssl_certificate_chain_file: 
"/etc/letsencrypt/live/pearc19.scigap.org/fullchain.pem"
+ssl_certificate_key_file: 
"/etc/letsencrypt/live/pearc19.scigap.org/privkey.pem"
+
+## Keycloak related variables
+tenant_domain: "searchsra"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+
+auth_options:
+  password:
+name: "SEARCH-SRA"
+  external:
+- name: "existing institution credentials"
+  idp_alias: "cilogon"
+  logo: "images/cilogon-logo-24x24-b.png"
+
+gateway_id: "searchsra"
+experiment_data_dir: "{{ user_data_dir }}/searchsra"
+#gateway_data_store_ssh_public_key: "ssh-rsa 
B3NzaC1yc2EDAQABAAABAQCKSwBdz4ZKPTfcBci2wb3N49ybgcSL9JfpEBrs/REoF4UGiPe6MchmZumBMzAJl1fpgp4INYrlZqIcHjTdVm/Ok5YxixvaYUJyYqSnvVYfDzyHG0LB323PSaMc79Kyp1IReViSHg7bdd/AYSBs8hD5qc+VuYWDr9+bSL1OMzb5tVTJScoes4Ro1bJhsHn6WVA1QJKWnZj8B2mKKWBlPNl/ZU8F6fYzpPkKbCEI0DiNQUoETfqOVbvKVaG633ade3lewiYB3977aXS6iLYk3b1U89gNLDuduZkZij04NolD1fD4GoiCL/ougYFyTabfQUZwNjg3kjdFEWPiPFktikk5"
+django_hidden_airavata_apps: "[]"
+
+admin_emails: "[('SGRC', 'sgrc-iu-gr...@iu.edu'), ('Marcus Christie', 
'machr...@iu.edu'), ('Eroma Abeysinghe', 'eabey...@iu.edu')]"
+portal_title: "Search-SRA Portal"
+
+...
diff --git 
a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vault.yml 
b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vault.yml
new file mode 100644
index 000..52fbe80
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vault.yml
@@ -0,0 +1,15 @@
+$ANSIBLE_VAULT;1.1;AES256
+33366335303335313561313662383638316638613061353631386132303032653664646438356133
+6263346137643161386130313562393461316435346561660a663338643331333530346432393363
+63336564306531306230376535306362363861623838336131663630346433643530326462393762
+6638616165316536630a643062383637653136643165643330386236366439353439386239376466
+3930393038623762623661636364386136633833613430626664313865333462353038666161
+61316263613730623437386333613435306134396137353332383535323939633137623637353937
+31393437396232393531633133616236303936303637306464313137383539643064336634303262
+39383433326433373735646461346137346632386562663439613366646530633463643339373165
+65323538663035613966303566353363653961363335613834353931663130356263326637326533
+36383031323936336536336262316162363063303064623633363264323962323033623537626164
+62663238383332393935626264356238613534633537356365383231373733653562363336313831
+63633937633163336534636366356338393234643239393137346436366137323134643833356663
+62313764363462336131373432313464363335636332323862343739663865643031393634346438
+3464656363616364323535373637363762313130393030306134



[airavata] branch staging updated: Search SRA beta Django portal

2019-09-12 Thread eroma
This is an automated email from the ASF dual-hosted git repository.

eroma 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 4bc05c0  Search SRA beta Django portal
4bc05c0 is described below

commit 4bc05c07ac30e16cc1f7e33e397fa974de2377c3
Author: Eroma Abeysinghe 
AuthorDate: Thu Sep 12 10:42:47 2019 -0400

Search SRA beta Django portal
---
 dev-tools/ansible/inventories/scigap/staging/hosts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-tools/ansible/inventories/scigap/staging/hosts 
b/dev-tools/ansible/inventories/scigap/staging/hosts
index 7dc797e..afc91e1 100644
--- a/dev-tools/ansible/inventories/scigap/staging/hosts
+++ b/dev-tools/ansible/inventories/scigap/staging/hosts
@@ -27,6 +27,7 @@ ultrascan ansible_host=156.56.104.18
 testdrive ansible_host=156.56.104.18
 pearc19 ansible_host=156.56.104.18
 dreg ansible_host=156.56.104.18
+searchsra ansible_host=156.56.104.18
 
 # Using the same keycloak as production
 #[keycloak]



[airavata] branch staging updated: Search SRA beta Django portal

2019-09-12 Thread eroma
This is an automated email from the ASF dual-hosted git repository.

eroma 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 ba9dea7  Search SRA beta Django portal
ba9dea7 is described below

commit ba9dea7fa0e6fdf3550a34a5181831b70af8d501
Author: Eroma Abeysinghe 
AuthorDate: Thu Sep 12 10:44:16 2019 -0400

Search SRA beta Django portal
---
 .../scigap/staging/host_vars/searchsra/vault.yml   | 28 +++---
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git 
a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vault.yml 
b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vault.yml
index 52fbe80..cb6817f 100644
--- a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vault.yml
+++ b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vault.yml
@@ -1,15 +1,15 @@
 $ANSIBLE_VAULT;1.1;AES256
-33366335303335313561313662383638316638613061353631386132303032653664646438356133
-6263346137643161386130313562393461316435346561660a663338643331333530346432393363
-63336564306531306230376535306362363861623838336131663630346433643530326462393762
-6638616165316536630a643062383637653136643165643330386236366439353439386239376466
-3930393038623762623661636364386136633833613430626664313865333462353038666161
-61316263613730623437386333613435306134396137353332383535323939633137623637353937
-31393437396232393531633133616236303936303637306464313137383539643064336634303262
-39383433326433373735646461346137346632386562663439613366646530633463643339373165
-65323538663035613966303566353363653961363335613834353931663130356263326637326533
-36383031323936336536336262316162363063303064623633363264323962323033623537626164
-62663238383332393935626264356238613534633537356365383231373733653562363336313831
-63633937633163336534636366356338393234643239393137346436366137323134643833356663
-62313764363462336131373432313464363335636332323862343739663865643031393634346438
-3464656363616364323535373637363762313130393030306134
+63663463393332303564333935383531353436376534313235396239666338373130396237333765
+6139373662643532373538626636623331643435373465660a393432336635393138343561323661
+6164303033383932323838356537623334333239303434323261303031326630653636626563
+3366383139396532370a643961363861653030623839303138323135313662303661643664313239
+33663731343237643230303130353739343164386233626636643833393432333562663930353738
+3931386366326164376534363937626461666432633962386437383362303133343663636133
+3962326430636262396565636234346235336465633165323937313530623137646462623632
+64636161373462613331666130376637633864333134373439633939343036326463383534626165
+61333036633066313433646230313261656239393065663736363866616638356433623263323437
+633835353461376438306238303862303537363764383561663436646639346365343035
+62396637393062323136323830306538393735343666353832376365346535306632626366653336
+34363135313532373639366632663835306337633237376633663561636566316664306130373134
+36373330336339613564376638376661333162333664663861616663326632653865353131613236
+3561316363646263656564626563666366383666316236363538



[airavata] branch staging updated: Added SSL certificates in to the gateway portal domain

2019-09-12 Thread eroma
This is an automated email from the ASF dual-hosted git repository.

eroma 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 be506d3  Added SSL certificates in to the gateway portal domain
be506d3 is described below

commit be506d3fc39a74ffb2b4a2604041532ec0214cb1
Author: Eroma Abeysinghe 
AuthorDate: Thu Sep 12 10:50:34 2019 -0400

Added SSL certificates in to the gateway portal domain
---
 .../ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml 
b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
index b4a2a9b..a2768dd 100644
--- a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
@@ -21,9 +21,9 @@
 ---
 vhost_servername: "searchsra.scigap.org"
 vhost_ssl: True
-ssl_certificate_file: "/etc/letsencrypt/live/pearc19.scigap.org/cert.pem"
-ssl_certificate_chain_file: 
"/etc/letsencrypt/live/pearc19.scigap.org/fullchain.pem"
-ssl_certificate_key_file: 
"/etc/letsencrypt/live/pearc19.scigap.org/privkey.pem"
+ssl_certificate_file: "/etc/letsencrypt/live/searchsra.scigap.org/cert.pem"
+ssl_certificate_chain_file: 
"/etc/letsencrypt/live/searchsra.scigap.org/fullchain.pem"
+ssl_certificate_key_file: 
"/etc/letsencrypt/live/searchsra.scigap.org/privkey.pem"
 
 ## Keycloak related variables
 tenant_domain: "searchsra"



[airavata] branch staging updated: Changed the gateway domain

2019-09-12 Thread eroma
This is an automated email from the ASF dual-hosted git repository.

eroma 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 b99d30c  Changed the gateway domain
b99d30c is described below

commit b99d30ca99edcd8d97e2ae448289b9580f282c34
Author: Eroma Abeysinghe 
AuthorDate: Thu Sep 12 12:34:57 2019 -0400

Changed the gateway domain
---
 .../inventories/scigap/staging/host_vars/searchsra/vars.yml   | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml 
b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
index a2768dd..c56013b 100644
--- a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
@@ -19,11 +19,11 @@
 #
 
 ---
-vhost_servername: "searchsra.scigap.org"
+vhost_servername: "beta.searchsra.scigap.org"
 vhost_ssl: True
-ssl_certificate_file: "/etc/letsencrypt/live/searchsra.scigap.org/cert.pem"
-ssl_certificate_chain_file: 
"/etc/letsencrypt/live/searchsra.scigap.org/fullchain.pem"
-ssl_certificate_key_file: 
"/etc/letsencrypt/live/searchsra.scigap.org/privkey.pem"
+ssl_certificate_file: 
"/etc/letsencrypt/live/beta.searchsra.scigap.org/cert.pem"
+ssl_certificate_chain_file: 
"/etc/letsencrypt/live/beta.searchsra.scigap.org/fullchain.pem"
+ssl_certificate_key_file: 
"/etc/letsencrypt/live/beta.searchsra.scigap.org/privkey.pem"
 
 ## Keycloak related variables
 tenant_domain: "searchsra"



[airavata] branch staging updated: Added gateway SSH key

2019-09-12 Thread eroma
This is an automated email from the ASF dual-hosted git repository.

eroma 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 1b6789c  Added gateway SSH key
1b6789c is described below

commit 1b6789c4f0a19a5a8199a398258241425ac61c93
Author: Eroma Abeysinghe 
AuthorDate: Thu Sep 12 13:19:39 2019 -0400

Added gateway SSH key
---
 .../ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml 
b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
index c56013b..0a1944c 100644
--- a/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/staging/host_vars/searchsra/vars.yml
@@ -40,7 +40,7 @@ auth_options:
 
 gateway_id: "searchsra"
 experiment_data_dir: "{{ user_data_dir }}/searchsra"
-#gateway_data_store_ssh_public_key: "ssh-rsa 
B3NzaC1yc2EDAQABAAABAQCKSwBdz4ZKPTfcBci2wb3N49ybgcSL9JfpEBrs/REoF4UGiPe6MchmZumBMzAJl1fpgp4INYrlZqIcHjTdVm/Ok5YxixvaYUJyYqSnvVYfDzyHG0LB323PSaMc79Kyp1IReViSHg7bdd/AYSBs8hD5qc+VuYWDr9+bSL1OMzb5tVTJScoes4Ro1bJhsHn6WVA1QJKWnZj8B2mKKWBlPNl/ZU8F6fYzpPkKbCEI0DiNQUoETfqOVbvKVaG633ade3lewiYB3977aXS6iLYk3b1U89gNLDuduZkZij04NolD1fD4GoiCL/ougYFyTabfQUZwNjg3kjdFEWPiPFktikk5"
+gateway_data_store_ssh_public_key: "ssh-rsa 
B3NzaC1yc2EDAQABAAABAQCBqS31Ucj6HB2QaLI0+XORTnvxRPDI6niuZjBAq0nQ3D7HoPohLVNVsqA7a9hksGL9w79PVyugmzGwIPbmnOLHwccO1Pmu5Yc4vg91gH9MMlNy9ZzhmzFwEfir8oefb0MjjPFTBdskL8jMmwebO0hwSWxv96R5Ir/kx/+vGo//XhDh5/4e1DLMJDpVc1A2w+HeNoRQNlgQFqWKZDFRzWVaciRbilueW7Yjxxd9oe2/XLDT7MMs3HBPXsfwMWW5QY3oCUy3AVsxnJWsvSPHpD7dbAB2guHal0j0xrudUwZa8ZLN9He89/EBU6XSQs3Uhb9QBUweosEa7TAIPP5GpRC1"
 django_hidden_airavata_apps: "[]"
 
 admin_emails: "[('SGRC', 'sgrc-iu-gr...@iu.edu'), ('Marcus Christie', 
'machr...@iu.edu'), ('Eroma Abeysinghe', 'eabey...@iu.edu')]"



[airavata] branch staging updated: Increased the input file size in seagrid PGA

2019-09-12 Thread eroma
This is an automated email from the ASF dual-hosted git repository.

eroma 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 6624228  Increased the input file size in seagrid PGA
6624228 is described below

commit 6624228664eae2e2050b9a2eeebf92abd332e29e
Author: Eroma Abeysinghe 
AuthorDate: Thu Sep 12 13:44:32 2019 -0400

Increased the input file size in seagrid PGA
---
 .../ansible/inventories/scigap/staging/pga_config/seagrid/vars.yml  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/dev-tools/ansible/inventories/scigap/staging/pga_config/seagrid/vars.yml 
b/dev-tools/ansible/inventories/scigap/staging/pga_config/seagrid/vars.yml
index 5f303fa..7ede075 100644
--- a/dev-tools/ansible/inventories/scigap/staging/pga_config/seagrid/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/staging/pga_config/seagrid/vars.yml
@@ -31,6 +31,8 @@ ssl_certificate_file: 
"/etc/letsencrypt/live/staging.seagrid.org/cert.pem"
 ssl_certificate_chain_file: 
"/etc/letsencrypt/live/staging.seagrid.org/fullchain.pem"
 ssl_certificate_key_file: 
"/etc/letsencrypt/live/staging.seagrid.org/privkey.pem"
 
+php_upload_max_filesize: "5000M"
+php_post_max_size: "5500M"
 
 ## Keycloak related variables
 tenant_domain: "{{ gateway_id }}"



[airavata] branch staging updated: Added django_file_upload_max_file_size_mb Ansible config

2019-09-12 Thread machristie
This is an automated email from the ASF dual-hosted git repository.

machristie 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 4c69480  Added django_file_upload_max_file_size_mb Ansible config
4c69480 is described below

commit 4c6948040507fc169cf07abc42fc8552f053e8cd
Author: Marcus Christie 
AuthorDate: Thu Sep 12 13:55:37 2019 -0400

Added django_file_upload_max_file_size_mb Ansible config
---
 dev-tools/ansible/roles/django/defaults/main.yml  | 1 +
 dev-tools/ansible/roles/django/templates/settings_local.py.j2 | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/dev-tools/ansible/roles/django/defaults/main.yml 
b/dev-tools/ansible/roles/django/defaults/main.yml
index a2727f7..32a9b6d 100644
--- a/dev-tools/ansible/roles/django/defaults/main.yml
+++ b/dev-tools/ansible/roles/django/defaults/main.yml
@@ -44,6 +44,7 @@ django_extra_settings: {}
 django_database_name: "django_{{ gateway_id }}"
 django_hidden_airavata_apps: "[]"
 django_tus_data_dir: "{{user_data_dir}}/tus-temp-dir"
+django_file_upload_max_file_size_mb: 64
 
 django_wsgi_processes: 2
 
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 166206f..1cf52eb 100644
--- a/dev-tools/ansible/roles/django/templates/settings_local.py.j2
+++ b/dev-tools/ansible/roles/django/templates/settings_local.py.j2
@@ -145,6 +145,8 @@ TUS_ENDPOINT = "{{ django_tus_endpoint }}"
 TUS_DATA_DIR = "{{ django_tus_data_dir }}"
 {% endif %}
 
+FILE_UPLOAD_MAX_FILE_SIZE = {{ django_file_upload_max_file_size_mb }} * 1024 * 
1024
+
 # Extra settings
 {% for extra_setting in django_extra_settings.items() | list %}
 {{ extra_setting[0] }} = '{{ extra_setting[1] }}'