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/11/26 21:12:57 UTC
[airavata] branch master updated: Adding new gateway tenant and
gateway for DDStudio
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 11929a9 Adding new gateway tenant and gateway for DDStudio
11929a9 is described below
commit 11929a9e7069032f2a412494ba3d0f6e24246244
Author: Eroma Abeysinghe <er...@gmail.com>
AuthorDate: Mon Nov 26 16:12:49 2018 -0500
Adding new gateway tenant and gateway for DDStudio
---
.../scigap/production/pga_config/ddstudio/vars.yml | 66 ++++++++++++++++++++++
.../production/pga_config/ddstudio/vault.yml | 18 ++++++
2 files changed, 84 insertions(+)
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/ddstudio/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/ddstudio/vars.yml
new file mode 100644
index 0000000..6811f95
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/ddstudio/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: "ddstudio.scigao.org"
+#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: "DDStudio 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: "ddstudio"
+# 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 AAAAB3NzaC1yc2EAAAADAQABAAABAQCSqYzuDDUNK3uX4AG7sg9diKERh716i0lA5RfbvfUhm+hVmyJ1P+0/OLZqwrwqzd9+1v/U08GAhys/qeOD2+x0ujgyKtY+5cjk3Td01sVTEmcXJPYhhWyAOrhhUAVAL51Zh7u2Zd/0RWf3iG0fuPPQQaBCIEY3wApwuqsLVk9G0plMtZgzXPGLgK9Ou8xJ8806yGx92nc1b1grmgkYugv5SQTe2lhmrXI/WUnfuoweadNzU0uSwwL6AaZa9grCAV1YVnGq6IX+Euwpx/P1pSRNWkoNHkm8fpkz/6dqq5YFxgr3QN0JQU5OSbbwWTWQcXr1kWNx+yS4qCtDc42EHsf3"
+
+## 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: "searchingsra-gateway-theme"
+#portal_theme_repo: "https://github.com/SciGaP/gsu-gateway-theme"
+portal_title: "DDStudio Gateway"
+...
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/ddstudio/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/ddstudio/vault.yml
new file mode 100644
index 0000000..ac639bd
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/ddstudio/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