You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by er...@apache.org on 2018/10/10 14:17:49 UTC

[airavata] branch master updated: Adding new gateway epw gateway

This is an automated email from the ASF dual-hosted git repository.

eroma 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 ffd2b6c  Adding new gateway epw gateway
     new ad3f5eb  Merge remote-tracking branch 'origin/master'
ffd2b6c is described below

commit ffd2b6c19d4e8bef884e2ce0ac3cb1ccefc5bc21
Author: Eroma Abeysinghe <er...@gmail.com>
AuthorDate: Wed Oct 10 09:58:38 2018 -0400

    Adding new gateway epw gateway
---
 .../production/pga_config/epwgateway/vars.yml      | 66 ++++++++++++++++++++++
 .../production/pga_config/epwgateway/vault.yml     | 18 ++++++
 2 files changed, 84 insertions(+)

diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/epwgateway/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/epwgateway/vars.yml
new file mode 100644
index 0000000..27463a1
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/epwgateway/vars.yml
@@ -0,0 +1,66 @@
+#
+#
+# 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.
+#
+
+---
+pga_repo: "https://github.com/apache/airavata-php-gateway.git"
+git_branch: "master"
+user: "pga"
+group: "pga"
+doc_root_dir: "/var/www/portals/{{ gateway_id }}"
+vhost_servername: "www.epw-gateway.cs.binghamton.edu"
+#vhost_serveralias: "sciencegateway.searchsra.org"
+vhost_ssl: false
+# TODO: have Ansible manage these files as well
+#ssl_certificate_file: "/etc/letsencrypt/live/www.searchsra.org/cert.pem"
+#ssl_certificate_chain_file: "/etc/letsencrypt/live/www.searchsra.org/fullchain.pem"
+#ssl_certificate_key_file: "/etc/letsencrypt/live/www.searchsra.org/privkey.pem"
+
+## Keycloak related variables
+tenant_domain: "{{ gateway_id }}"
+admin_username: "admin"
+admin_password: "{{ vault_admin_password }}"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+oidc_discovery_url: "https://iam.scigap.org/auth/realms/{{ tenant_domain }}/.well-known/openid-configuration"
+
+auth_options:
+  - name: "Electron-Phonon-Wannier (EPW) Gateway"
+    oauth_grant_type: "password"
+# - name: "CILogon"
+#    oauth_grant_type: "authorization_code"
+#   oauth_authorize_url_extra_params: "kc_idp_hint=cilogon"
+#   logo: "/assets/cilogon-logo-24x24-b.png"
+oauth_callback_url: "http://{{ vhost_servername }}/callback-url"
+
+gateway_id: "epw-gateway"
+# relative to document root dir
+experiment_data_dir: "{{ user_data_dir }}/searching-sra"
+gateway_data_store_resource_id: "gf4.ucs.indiana.edu_61552681-96f0-462a-a36c-a62a010bffc6"
+#gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCx981DispO1AnkOAwq1oJ3iaYUW6KT4jn4OPSrvIb1fJyjkNdBK8KQUTviBMgqLH9+FlIx/FYjN7sVLelGUmfOgguIWB4Ea2epAyvGFfrVeF83w5A4uILfrd5AJQuk0sZkNjnnGmmpx6z60IThaof2f14uD7JPcn5Kf0xnfmhJGIo2DYJRp8DYJ4Upd1ENu4p3CqylZGBFTx0ROe3hCNj28BxCY+kTgKTQJQHdwuHK9WxovQHdv2ZrN9GeSyIPUX8W1PpYKqM2i8xGaagPUamHON9TonHyuAdd84CagonwuaG54+jbFbB9uW/zhhnP5vNRxK8aSNIhszOucE2g8xzL"
+
+## Portal related variables
+super_admin_portal: "false"
+admin_emails: "['sgrc-iu-group@iu.edu','psaha4@binghamton.edu','grattih1@binghamton.edu','mgovinda@binghamton.edu']"
+portal_email_username: "pga.airavata@gmail.com"
+portal_email_password: "{{ vault_portal_email_password }}"
+#portal_theme: "searchingsra-gateway-theme"
+#portal_theme_repo: "https://github.com/SciGaP/gsu-gateway-theme"
+portal_title: "Electron-Phonon-Wannier (EPW) Gateway"
+...
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/epwgateway/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/epwgateway/vault.yml
new file mode 100644
index 0000000..ac639bd
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/epwgateway/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+64383735636136386439633130363232343062666231303362343932636562393266326538633937
+6232646261353362396166663232643236383237613430310a636363303835613561653265633261
+37383361376462653565346466303864366365383033396338303463666530646535666235643934
+6333626231646137390a633235356134326463373035353834616231613339356132383339643632
+32383939316663366262306562313035636262666366336235643935616566633633343462373435
+31366235373265346633356634363038343937396334336633616230356635346665343938363339
+62326132663730333030373431356563383061373432666539353032356134303763633035663866
+38646565336635303133646363613531643834323664656634323563373031666232326564353131
+34643565663733616338373939366263323139623531376162316434323936386562386336666438
+39333736333432333662393538313431613135353162393831336663366139616638336236336161
+32633566386431653239343030336331636636646466356234343439346463623037666235616234
+37333361633931363063386665316165386161383939633232376232373164316361663862373133
+32666363323730313139396330343930323430353365663261656134646333613966393731356463
+31343336626130393766303039323964623932646234386163633236666636383161343738613435
+35323138343634383638366130636364646463376564663231343133333530643737356133393135
+37636139386339373334333863663835666234316436373334336365376663386430633831383032
+3133