From 54dd9dd105bb978681498ba5a232b6e9b992e87d Mon Sep 17 00:00:00 2001 From: Travis Ravert Date: Wed, 13 Mar 2024 08:42:14 -0700 Subject: [PATCH 1/3] Add globus example for multiple endpoints --- source/reference/files/ondemand-d-ymls.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/source/reference/files/ondemand-d-ymls.rst b/source/reference/files/ondemand-d-ymls.rst index 755d19066..3c27ccd1e 100644 --- a/source/reference/files/ondemand-d-ymls.rst +++ b/source/reference/files/ondemand-d-ymls.rst @@ -818,7 +818,7 @@ Configuration Properties .. _globus_endpoints: .. describe:: globus_endpoints (Array, 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. Note that ``endpoint_path`` is the path that Globus will initialize to @@ -851,6 +851,16 @@ Configuration Properties endpoint: "9f1fe759-xxxx-xxxx-xxxx-xxxxxxxxxxxx" endpoint_path: "/project" + In this example with multiple endpoints, suppose you use the file browser to look at your file system. + If you were to select the ``/home`` path to see the contents and then click the Globus button, you would + see the endpoint associated with ``path: "/home"`` in the Globus interface. + + If you then go back to the OOD file browser and select the ``/project`` path and then click the Globus button, + you would now see the endpoint associated with the ``path: "/project"`` endpoint in the Globus interface. + + The gist here is you *select the path on the filesystem in the file browser app first* then + click the Globus button to show the corresponding endpoint in the Globus interface in a newly opened tab. + Example When pathnames differ between the filesystem and endpoint. From c3a5360adca5a6fca15b8634221285ccd594a09e Mon Sep 17 00:00:00 2001 From: Travis Ravert Date: Wed, 13 Mar 2024 10:21:26 -0700 Subject: [PATCH 2/3] Move explanation up --- source/reference/files/ondemand-d-ymls.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source/reference/files/ondemand-d-ymls.rst b/source/reference/files/ondemand-d-ymls.rst index 3c27ccd1e..171dc421b 100644 --- a/source/reference/files/ondemand-d-ymls.rst +++ b/source/reference/files/ondemand-d-ymls.rst @@ -821,6 +821,16 @@ Configuration Properties 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 file browser to look at your file system. + If you were to select the ``/home`` path to see the contents and then click the Globus button, you would + see the endpoint associated with ``path: "/home"`` in the Globus interface. + + If you then go back to the OOD file browser and select the ``/project`` path and then click the Globus button, + you would now see the endpoint associated with the ``path: "/project"`` endpoint in the Globus interface. + + The gist here is you *select the path on the filesystem in the file browser app first* then + click the Globus button to show the corresponding endpoint in the Globus interface in a newly opened 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. @@ -851,16 +861,6 @@ Configuration Properties endpoint: "9f1fe759-xxxx-xxxx-xxxx-xxxxxxxxxxxx" endpoint_path: "/project" - In this example with multiple endpoints, suppose you use the file browser to look at your file system. - If you were to select the ``/home`` path to see the contents and then click the Globus button, you would - see the endpoint associated with ``path: "/home"`` in the Globus interface. - - If you then go back to the OOD file browser and select the ``/project`` path and then click the Globus button, - you would now see the endpoint associated with the ``path: "/project"`` endpoint in the Globus interface. - - The gist here is you *select the path on the filesystem in the file browser app first* then - click the Globus button to show the corresponding endpoint in the Globus interface in a newly opened tab. - Example When pathnames differ between the filesystem and endpoint. From e6e28c59616284aadc5bf1788fb9858ebe3112fd Mon Sep 17 00:00:00 2001 From: Travis Ravert Date: Wed, 13 Mar 2024 10:29:45 -0700 Subject: [PATCH 3/3] Try to use local wording --- source/reference/files/ondemand-d-ymls.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/source/reference/files/ondemand-d-ymls.rst b/source/reference/files/ondemand-d-ymls.rst index 171dc421b..b9e3f1087 100644 --- a/source/reference/files/ondemand-d-ymls.rst +++ b/source/reference/files/ondemand-d-ymls.rst @@ -821,15 +821,17 @@ Configuration Properties 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 file browser to look at your file system. - If you were to select the ``/home`` path to see the contents and then click the Globus button, you would - see the endpoint associated with ``path: "/home"`` in the Globus interface. + 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 OOD file browser and select the ``/project`` path and then click the Globus button, - you would now see the endpoint associated with the ``path: "/project"`` endpoint 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 *select the path on the filesystem in the file browser app first* then - click the Globus button to show the corresponding endpoint in the Globus interface in a newly opened 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.