Skip to content

Commit

Permalink
add samples for external sources
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Mar 9, 2021
1 parent 474a885 commit 81abcf4
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/galaxy/config/sample/file_sources_conf.yml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- type: dropbox
id: dropbox1
label: Dropbox files (configure access in user preferences)
doc: Your Dropbox files - configure an access token via the user preferences
accessToken: ${user.preferences['dropbox|access_token']}

- type: webdav
id: owncloud1
label: OwnCloud
doc: External OwnCloud files (configure access in user preferences)
url: ${user.preferences['owncloud|url']}
root: ${user.preferences['owncloud|root']}
login: ${user.preferences['owncloud|username']}
password: ${user.preferences['owncloud|password']}
30 changes: 30 additions & 0 deletions lib/galaxy/config/sample/user_preferences_extra_conf.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,33 @@ preferences:
- [English, en]
- [French, fr]
- [Japanese, ja]

# Used in file_sources_conf.yml
dropbox:
description: Your Dropbox account
inputs:
- name: access_token
label: Dropbox access token
type: password
required: False

# Used in file_sources_conf.yml
owncloud:
description: Your External OwnCloud account
inputs:
- name: url
label: Server Domain (e.g. https://myowncloud.org)
type: text
required: False
- name: root
label: Server Path (should end with /remote.php/webdav, e.g. /a/sub/path/remote.php/webdav)
type: text
required: False
- name: username
label: Username
type: text
required: False
- name: password
label: Password
type: password
required: False

0 comments on commit 81abcf4

Please sign in to comment.