Skip to content

Commit 96a97bf

Browse files
authored
Merge pull request #391 from IQSS/390-ood-demo
add Open OnDemand external tool manifest for demo
2 parents 1b71dc8 + 9c941ed commit 96a97bf

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

scripts/openondemand/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
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.
2+
3+
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).
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"displayName": "Explore in Open OnDemand",
3+
"description": "Download dataset files into Open OnDemand and publish back to Dataverse",
4+
"toolName": "ondemand_loop_dataset_tool",
5+
"scope": "dataset",
6+
"types": ["explore"],
7+
"toolUrl": "https://hmdc.github.io/fasrc-ondemand-loop/dv_external_tools/demo_landing.html",
8+
"httpMethod": "GET",
9+
"toolParameters": {
10+
"queryParameters": [
11+
{"dataverse_url": "{siteUrl}"},
12+
{"dataset_id": "{datasetPid}"},
13+
{"version": "{datasetVersion}"},
14+
{"locale": "{localeCode}"},
15+
{"env_cannon_prod": "{localeCode}"}
16+
]
17+
}
18+
}

0 commit comments

Comments
 (0)