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/08/15 03:58:20 UTC

[airavata] branch master updated: Adding the new gateway ampgateway

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 f5a051d  Adding the new gateway ampgateway
f5a051d is described below

commit f5a051d5be1a61fdb7de1df23044b3805c129a66
Author: Eroma Abeysinghe <er...@gmail.com>
AuthorDate: Tue Aug 14 23:58:13 2018 -0400

    Adding the new gateway ampgateway
---
 .../production/pga_config/ampgateway/vars.yml      | 65 ++++++++++++++++++++++
 .../production/pga_config/ampgateway/vault.yml     | 18 ++++++
 2 files changed, 83 insertions(+)

diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/ampgateway/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/ampgateway/vars.yml
new file mode 100644
index 0000000..c79551d
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/ampgateway/vars.yml
@@ -0,0 +1,65 @@
+#
+#
+# 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: "ampgateway.scigap.org"
+vhost_ssl: false
+# TODO: have Ansible manage these files as well
+#ssl_certificate_file: "/etc/letsencrypt/live/gemr.scigap.org/cert.pem"
+#ssl_certificate_chain_file: "/etc/letsencrypt/live/gemr.scigap.org/fullchain.pem"
+#ssl_certificate_key_file: "/etc/letsencrypt/live/gemr.scigap.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: "Atomic and Molecular Physics and Optics Gateway"
+    oauth_grant_type: "password"
+#  - name: "University Account" #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: "https://{{ vhost_servername }}/callback-url"
+
+gateway_id: "amp"
+# relative to document root dir
+experiment_data_dir: "{{ user_data_dir }}/{{ gateway_id }}"
+gateway_data_store_resource_id: "gf4.ucs.indiana.edu_61552681-96f0-462a-a36c-a62a010bffc6"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCAfFAdLrGC/om63ipx9RhuzcGnMlVQkKsuy5NtUgK7I4OdTJ1Ck1H/ARBwiWNQy08GO2HETfM7StCROwW+tlZ6n+THBkbei4G8q6xV6UXlC3BJxuDlwkxnyOFSYEt8Qd2g8IC/X0qo9/m5Ea9Z5axzTk+n2OZlV87DrLheV+OVhgf+yYGVo9egTZ7Kg/TV/Hl1xeU5JgRcPPrLrWYn8vEQo7xT5boS3X9y2o7FgNTdUf5K10ZJ37RWcLQpzZ+7zEKs/P/I/QU+BUhxRRfnEf/4e4L3OFE36SQ4DSFmu3lKU4BcQQb3A6SfQGC1PwQdD5y9MUkpit4hMCSJLjVBTN3H"
+
+## Portal related variables
+super_admin_portal: "false"
+admin_emails: "['sgrc-iu-group@iu.edu']"
+portal_email_username: "pga.airavata@gmail.com"
+portal_email_password: "{{ vault_portal_email_password }}"
+#portal_theme: "gsu-gateway-theme"
+#portal_theme_repo: "https://github.com/SciGaP/gsu-gateway-theme"
+portal_title: "Atomic and Molecular Physics and Optics Gateway"
+...
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/ampgateway/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/ampgateway/vault.yml
new file mode 100644
index 0000000..5402ab4
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/ampgateway/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+30313366393261363736616665633361663834386531363130303065373731326162373230333434
+3139663962623065653238363063313962616162376530660a663963366638643733353436386364
+64646330326336666130346337333564383730613039333233333537663230653930353031653539
+3039306638363465620a303765326131346163356639303439336661613130373566356431326565
+62353339633861383965323464643062613463313461626661366533656664653762326435306562
+62356266386366613162346466353532646361613863393339333934373662333437303635643738
+32383639346362303930383763613364386137303632303264636238666564653838373035313332
+30323265616165666637333831663631633763343161383538353237633736386238373039356331
+61316266623165373638633835616163303435303764313138653437626533313364646433663631
+36616530633761356466376134336533636334343566636539663834623932373436313965633463
+33353332613232363061303237623637373230616336633531643633323339353230333532316565
+61653234613164373036366232623937383266616463313966643232656137366161613535343732
+34306238336562303939323636373233636130316534313238376434663635323030383337306533
+37646466653235636631363734323638306163326262396531343334353937626466666432616234
+34333937643264356164633761303035313336393233636633356565646563633333666639646632
+38353864656464633639313863666338616264333133366331306636303863623731663632646362
+3838