Skip to content

Commit 776fb38

Browse files
authored
Merge pull request #5 from GlobalDataverseCommunityConsortium/10316_cvoc_http_headers_QA_changes
10316 cvoc http headers qa changes
2 parents b4a9a76 + fa4a03c commit 776fb38

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

doc/sphinx-guides/source/admin/metadatacustomization.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,9 @@ In general, the external vocabulary support mechanism may be a better choice for
579579
The specifics of the user interface for entering/selecting a vocabulary term and how that term is then displayed are managed by third-party Javascripts. The initial Javascripts that have been created provide auto-completion, displaying a list of choices that match what the user has typed so far, but other interfaces, such as displaying a tree of options for a hierarchical vocabulary, are possible.
580580
Similarly, existing scripts do relatively simple things for displaying a term - showing the term's name in the appropriate language and providing a link to an external URL with more information, but more sophisticated displays are possible.
581581

582-
Scripts supporting use of vocabularies from services supporting the SKOMOS protocol (see https://skosmos.org) and retrieving ORCIDs (from https://orcid.org) are available https://github.com/gdcc/dataverse-external-vocab-support. (Custom scripts can also be used and community members are encouraged to share new scripts through the dataverse-external-vocab-support repository.)
582+
Scripts supporting use of vocabularies from services supporting the SKOMOS protocol (see https://skosmos.org), retrieving ORCIDs (from https://orcid.org), and using ROR (https://ror.org/) are available https://github.com/gdcc/dataverse-external-vocab-support. (Custom scripts can also be used and community members are encouraged to share new scripts through the dataverse-external-vocab-support repository.)
583583

584-
Configuration involves specifying which fields are to be mapped, whether free-text entries are allowed, which vocabulary(ies) should be used, what languages those vocabulary(ies) are available in, and several service protocol and service instance specific parameters.
584+
Configuration involves specifying which fields are to be mapped, whether free-text entries are allowed, which vocabulary(ies) should be used, what languages those vocabulary(ies) are available in, and several service protocol and service instance specific parameters, including the ability to send HTTP headers on calls to the service.
585585
These are all defined in the :ref:`:CVocConf <:CVocConf>` setting as a JSON array. Details about the required elements as well as example JSON arrays are available at https://github.com/gdcc/dataverse-external-vocab-support, along with an example metadata block that can be used for testing.
586586
The scripts required can be hosted locally or retrieved dynamically from https://gdcc.github.io/ (similar to how dataverse-previewers work).
587587

src/test/java/edu/harvard/iq/dataverse/api/SearchIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ public void testNestedSubtree() {
862862
Response publishDataset = UtilIT.publishDatasetViaNativeApi(datasetPid, "major", apiToken);
863863
publishDataset.then().assertThat()
864864
.statusCode(OK.getStatusCode());
865-
865+
UtilIT.sleepForReindex(datasetPid, apiToken, 5);
866866
Response searchPublishedSubtreeWDS = UtilIT.search(searchPart, apiToken, "&subtree="+dataverseAlias);
867867
searchPublishedSubtreeWDS.prettyPrint();
868868
searchPublishedSubtreeWDS.then().assertThat()

0 commit comments

Comments
 (0)