Skip to content

Add external tool for Open OnDemand to Harvard Dataverse and add banner #392

@pdurbin

Description

@pdurbin

We want to add a dataset-level tool that says "Explore in OpenOnDemand" to Harvard Dataverse, similar to how we added it to demo:

I believe this is the manifest we should use for Harvard Dataverse (the only difference from demo is the toolUrl, which is for a prod-specific landing page):

curl --location 'http://localhost:8080/api/admin/externalTools' \
--header 'Content-Type: application/json' \
--data '{
  "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/landing.html",
  "httpMethod": "GET",
  "toolParameters": {
    "queryParameters": [
      {"dataverse_url": "{siteUrl}"},
      {"dataset_id": "{datasetPid}"},
      {"version": "{datasetVersion}"},
      {"locale": "{localeCode}"},
      {"env_cannon_prod": "{localeCode}"}
    ]
  }
}'

Once we've added it to Harvard Dataverse, let's capture it in a PR similar to #391 but this time for prod instead of demo.

For the banner, @sbarbosadataverse and @cmbz approved the following text:

"Integration with Harvard's Open OnDemand installation has been enabled. This allows Harvard affiliates with a FASRC account who are on the FASRC VPN use this HPC (high performance computing) integration."

Metadata

Metadata

Labels

Size: 3A percentage of a sprint.

Type

No type

Projects

Status

On Hold ⌛

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions