diff --git a/scripts/openondemand/README.md b/scripts/openondemand/README.md new file mode 100644 index 0000000..da3bbe2 --- /dev/null +++ b/scripts/openondemand/README.md @@ -0,0 +1,3 @@ +This directory contains external tool manifest files for the integration with Open OnDemand, which is orchestrated with an app called [OnDemand Loop](https://github.com/IQSS/ondemand-loop), which is [described](https://github.com/IQSS/dataverse/pull/11769) in the guides. + +Unlike most external tools that launch you right into the tool, this one sends you to a landing page to explain additional requirements (such as being on the VPN) before you continue. We have [created](https://github.com/IQSS/ondemand-loop/issues/334) and [deployed](https://github.com/IQSS/dataverse.harvard.edu/issues/390) a dedicated landing page for the demo server and expect a different one for production (with more Harvard Dataverse branding). diff --git a/scripts/openondemand/dataverse-manifest-demo.json b/scripts/openondemand/dataverse-manifest-demo.json new file mode 100644 index 0000000..58cadab --- /dev/null +++ b/scripts/openondemand/dataverse-manifest-demo.json @@ -0,0 +1,18 @@ +{ + "displayName": "Explore in Open OnDemand", + "description": "Download dataset files into Open OnDemand and publish back to Dataverse", + "toolName": "ondemand_loop_dataset_tool", + "scope": "dataset", + "types": ["explore"], + "toolUrl": "https://hmdc.github.io/fasrc-ondemand-loop/dv_external_tools/demo_landing.html", + "httpMethod": "GET", + "toolParameters": { + "queryParameters": [ + {"dataverse_url": "{siteUrl}"}, + {"dataset_id": "{datasetPid}"}, + {"version": "{datasetVersion}"}, + {"locale": "{localeCode}"}, + {"env_cannon_prod": "{localeCode}"} + ] + } +}