-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#88 enable data curation tool in demo mode pending javascript rewrite
- Loading branch information
1 parent
ae2b453
commit 865960a
Showing
4 changed files
with
54 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"displayName": "Data Curation Tool", | ||
"description": "Data Curation Tool for curation of variables", | ||
"type": "configure", | ||
"toolUrl": "https://scholarsportal.github.io/Dataverse-Data-Curation-Tool/", | ||
"toolParameters": { | ||
"queryParameters": [ | ||
{ | ||
"dfId": "{fileId}" | ||
}, | ||
{ | ||
"siteUrl": "{siteUrl}" | ||
}, | ||
{ | ||
"key": "{apiToken}" | ||
}, | ||
{ | ||
"fileMetadataId" : "{fileMetadataId}" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
--- | ||
|
||
- name: enable wholetale externaltool | ||
- name: enable data curation tool | ||
uri: | ||
url: http://localhost:8080/api/admin/externalTools | ||
method: POST | ||
headers: | ||
headers: | ||
Content-type: "application/json" | ||
body_format: json | ||
body: "{{ lookup('file', 'wholetale.json') }}" | ||
when: dataverse.wholetale.enabled == true | ||
body: "{{ lookup('file', 'DataCuration.json') }}" | ||
when: dataverse.externaltools.datacurationtool.enabled == true | ||
|
||
- name: enable data explorer on demand | ||
- name: enable data explorer | ||
uri: | ||
url: http://localhost:8080/api/admin/externalTools | ||
method: POST | ||
headers: | ||
Content-type: "application/json" | ||
body_format: json | ||
body: "{{ lookup('file', 'dataExplorer.json') }}" | ||
when: dataverse.dataexplorer.enabled == true | ||
when: dataverse.externaltools.dataexplorer.enabled == true | ||
|
||
- name: enable wholetale | ||
uri: | ||
url: http://localhost:8080/api/admin/externalTools | ||
method: POST | ||
headers: | ||
Content-type: "application/json" | ||
body_format: json | ||
body: "{{ lookup('file', 'wholetale.json') }}" | ||
when: dataverse.externaltools.wholetale.enabled == true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters