Skip to content

Commit

Permalink
Add globus example for multiple endpoints (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oglopf authored Mar 13, 2024
1 parent fdd550a commit 0e37688
Showing 1 changed file with 13 additions and 1 deletion.
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

0 comments on commit 0e37688

Please sign in to comment.