Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add globus example for multiple endpoints #951

Merged
merged 3 commits into from
Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion source/reference/files/ondemand-d-ymls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -818,9 +818,21 @@ Configuration Properties
.. _globus_endpoints:
.. describe:: globus_endpoints (Array<Object>, null)

Add a Globus button to the file browser that opens the current directory
Add a Globus button to the file browser. The button opens the current directory
in the Globus transfer web app.

In the example with multiple endpoints, suppose you use the local file browser to look at your local file system.
If you were to navigate to your local ``/home`` and then click the Globus button, you would
see a new tab open with the endpoint associated to that local path in the Globus interface.

If you then go back to the localfile browser and navigate to ``/project`` and then click the Globus button,
you would now see the endpoint associated with that local ``/project`` directory open in the Globus interface
in a new tab.

The gist here is you *navigate to the desired directory using the local filebrowser* then
click the Globus button to show the corresponding endpoint in the Globus interface
which opens in a new tab.

Note that ``endpoint_path`` is the path that Globus will initialize to
and is very likely to be ``/`` regardless of the actual storage path.

Expand Down
Loading