[
https://issues.apache.org/jira/browse/AIRAVATA-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Christie resolved AIRAVATA-2907.
---------------------------------------
Resolution: Fixed
> UI for setting a gateway's StoragePreference
> --------------------------------------------
>
> Key: AIRAVATA-2907
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2907
> Project: Airavata
> Issue Type: Improvement
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> Need a GatewayResourceProfile editor. Immediate need is to add storage
> preferences.
> h5. TODO
> * [x] load list of storage resources for picking to create a new storage
> preference
> * [x] only allow members of the Admins group to edit GatewayResourceProfile
> * [x] delete storage preference
> * [x] change backend to look for default key in GatewayResourceProfile (for
> storage preferences only)
> h5. Workaround
> Here's what I told Eroma for the workaround I did for SimCCS:
> {noformat}
> [4:56 PM] Marcus Christie: @eroma if you need to deploy more django gateways,
> you'll need to manually setup the STORAGE_PREFERENCE for each one.
> [4:56 PM] Marcus Christie: log into [email protected]
> [4:56 PM] Marcus Christie: mysql app_catalog
> [4:56 PM] Marcus Christie: What I ran for SimCCS:
> [4:56 PM] Marcus Christie: insert into STORAGE_PREFERENCE values ('simccs',
> 'pgadev.scigap.org_7ddf28fd-d503-4ff8-bbc5-3279a7c3b99e', NULL,
> '/var/www/portals/gateway-user-data/django-simccs', 'pga');
> [4:57 PM] Marcus Christie: This assumes also that 1) you set a default
> credential for the Group Resource Profile and 2) you copy that SSH public key
> into pga's .ssh/authorized_keys file
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)