We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Now that IQSS/dataverse#6059 has been merged, the develop branch requires that external tools have a "scope" of dataset or file, like this:
{ "displayName": "Fabulous File Tool", "description": "Fabulous Fun for Files!", "scope": "file", "type": "explore", "toolUrl": "https://fabulousfiletool.com", "contentType": "text/tab-separated-values", "toolParameters": { "queryParameters": [ { "fileid": "{fileId}" }, { "key": "{apiToken}" } ] } }
Otherwise, you'll get errors like this:
TASK [dataverse : enable wholetale externaltool] ******************************* fatal: [localhost]: FAILED! => {"changed": false, "connection": "close", "content": "{"status":"ERROR","message":"scope is required."}", "content_length": "49", "content_type": "application/json", "date": "Tue, 17 Sep 2019 21:01:35 GMT", "json": {"message": "scope is required.", "status": "ERROR"}, "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "server": "GlassFish Server Open Source Edition 4.1", "status": 400, "url": "http://localhost:8080/api/admin/externalTools", "x_powered_by": "Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition 4.1 Java/Oracle Corporation/1.8)"}
Pre-release docs are here: https://github.com/IQSS/dataverse/blob/cf4b864136ac1dc9b5e2793aea4a8428113d40c7/doc/sphinx-guides/source/api/external-tools.rst
The text was updated successfully, but these errors were encountered:
#103 scope externaltools
d28c851
IQSS#103 use main.cf template for rhel/centos8 for idempotence's sake
c41dfc0
donsizemore
No branches or pull requests
Now that IQSS/dataverse#6059 has been merged, the develop branch requires that external tools have a "scope" of dataset or file, like this:
Otherwise, you'll get errors like this:
TASK [dataverse : enable wholetale externaltool] *******************************
fatal: [localhost]: FAILED! => {"changed": false, "connection": "close", "content": "{"status":"ERROR","message":"scope is required."}", "content_length": "49", "content_type": "application/json", "date": "Tue, 17 Sep 2019 21:01:35 GMT", "json": {"message": "scope is required.", "status": "ERROR"}, "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "server": "GlassFish Server Open Source Edition 4.1", "status": 400, "url": "http://localhost:8080/api/admin/externalTools", "x_powered_by": "Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition 4.1 Java/Oracle Corporation/1.8)"}
Pre-release docs are here: https://github.com/IQSS/dataverse/blob/cf4b864136ac1dc9b5e2793aea4a8428113d40c7/doc/sphinx-guides/source/api/external-tools.rst
The text was updated successfully, but these errors were encountered: