Skip to content

Commit

Permalink
cleanup old irods-based user datasets workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
aurreco-uga committed Nov 13, 2024
1 parent ea721e0 commit f8240ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 64 deletions.
6 changes: 0 additions & 6 deletions Model/lib/conifer/roles/conifer/vars/ClinEpi/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,3 @@ modelconfig_oauthClientSecret: "{{ lookup('csvfile',
}}"
modelconfig_changePasswordUrl: "{{ modelconfig_oauthUrl }}/assets/eupathdb-changePassword.html?returnUrl={{ '{{' }}returnUrl}}&suggestedUsername={{ '{{' }}suggestedUsername}}"

modelconfig_userDatasetStoreConfig: >
<userDatasetStore implementation="org.gusdb.wdk.model.user.dataset.filesys.FilesysUserDatasetStore">
<property name="rootPath">/var/www/Common/workspaces/users</property>
<typeHandler type="ISA" version="0.0"
implementation="org.apidb.apicommon.model.userdataset.ISASimpleTypeHandler"/>
</userDatasetStore>
Original file line number Diff line number Diff line change
Expand Up @@ -85,64 +85,6 @@ community_env_map:
b_prefix: static-content.veupathdb.org/
default: qa.static-content.veupathdb.org/

workspace_env_map:
b_prefix:
host: irods.eupathdb.org
login: wrkspuser
password: "{{ lookup('euparc',
'attr=password xpath=workspaces/irods[@user=\"{}\"]'.format('wrkspuser')
)
}}"
resource: ebrcResc
rootPath: /ebrc/workspaces/users
zone: ebrc
port: 1247
w_prefix:
host: irods.eupathdb.org
login: wrkspuser
password: "{{ lookup('euparc',
'attr=password xpath=workspaces/irods[@user=\"{}\"]'.format('wrkspuser')
)
}}"
resource: ebrcResc
rootPath: /ebrc/workspaces/users
zone: ebrc
port: 1247
default:
host: irods.qa.eupathdb.org
login: qawrkspuser
password: "{{ lookup('euparc',
'attr=password xpath=workspaces/irods[@user=\"{}\"]'.format('qawrkspuser')
)
}}"
resource: ebrcResc
rootPath: /ebrc/workspaces/users
zone: ebrc
port: 1247

workspace_env: "{{ workspace_env_map[prefix]|default(workspace_env_map['default']) }}"

modelconfig_userDatasetStoreConfig_irods_host: "{{ workspace_env['host'] }}"
modelconfig_userDatasetStoreConfig_irods_login: "{{ workspace_env['login'] }}"
modelconfig_userDatasetStoreConfig_irods_password: "{{ workspace_env['password'] }}"
modelconfig_userDatasetStoreConfig_irods_resource: "{{ workspace_env['resource'] }}"
modelconfig_userDatasetStoreConfig_irods_rootPath: "{{ workspace_env['rootPath'] }}"
modelconfig_userDatasetStoreConfig_irods_zone: "{{ workspace_env['zone'] }}"
modelconfig_userDatasetStoreConfig_irods_port: "{{ workspace_env['port'] }}"

# The IrodsUserDatasetStore implementation is needed to connect to IRODS and list user datasets in WDK sites.
modelconfig_userDatasetStoreConfig: >
<userDatasetStore implementation="org.gusdb.wdk.model.user.dataset.irods.IrodsUserDatasetStore">
<property name="login">{{ modelconfig_userDatasetStoreConfig_irods_login }}</property>
<property name="password">{{ modelconfig_userDatasetStoreConfig_irods_password }}</property>
<property name="host">{{ modelconfig_userDatasetStoreConfig_irods_host }}</property>
<property name="port">{{ modelconfig_userDatasetStoreConfig_irods_port }}</property>
<property name="resource">{{ modelconfig_userDatasetStoreConfig_irods_resource }}</property>
<property name="zone">{{ modelconfig_userDatasetStoreConfig_irods_zone }}</property>
<property name="rootPath">{{ modelconfig_userDatasetStoreConfig_irods_rootPath }}</property>
<typeHandler type="ISA" version="0.0" implementation="org.apidb.apicommon.model.userdataset.ISASimpleTypeHandler"/>
</userDatasetStore>
eda:
# Disable full screen apps for w sites, until they pass qa
enableFullScreenApps: "{{ 'false' if prefix == 'w_prefix' else 'true' }}"

0 comments on commit f8240ce

Please sign in to comment.