Skip to content

Commit

Permalink
Merge pull request #6810 from ORCID/RemoveRinggoldFromTypeahead
Browse files Browse the repository at this point in the history
Remove RINGGOLD from the orgs query
  • Loading branch information
amontenegro authored Jun 9, 2023
2 parents 10ae936 + b1650aa commit 41676c2
Show file tree
Hide file tree
Showing 48 changed files with 3 additions and 2,626 deletions.
2 changes: 1 addition & 1 deletion orcid-api-web/tutorial/affiliations.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Editing the affiliations sections of a record requires a 3 step OAuth token with

- **end-date** _(optional)_ The date the affiliation ended or will end

- **organization** _(required)_ Information about the organization the affiliation was with. A Ringgold, Grid, ROR, or Crossref Funder Registry organization identifier is required in 3.0+
- **organization** _(required)_ Information about the organization the affiliation was with. A ROR, or Crossref Funder Registry organization identifier is required in 3.0+

- **address** _(required)_ Information about the physical location of the organization the affiliation is with. A city and country are required (region is optional)

Expand Down
542 changes: 0 additions & 542 deletions orcid-core/src/main/java/org/orcid/core/cli/LoadRinggoldData.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public List<OrgDisambiguatedSolrDocument> getOrgs(String searchTerm, int firstRe
query.addOrUpdateSort("org-disambiguated-popularity", ORDER.desc);
}

query.addFilterQuery(String.format("(%s:(%s OR %s OR %s))", SolrConstants.ORG_DISAMBIGUATED_ID_SOURCE_TYPE, "ROR", "RINGGOLD", "FUNDREF"));
query.addFilterQuery(String.format("(%s:(%s OR %s))", SolrConstants.ORG_DISAMBIGUATED_ID_SOURCE_TYPE, "ROR", "FUNDREF"));
LOGGER.debug("SOLR Query: " + query.toQueryString());

try {
Expand Down
728 changes: 0 additions & 728 deletions orcid-core/src/test/java/org/orcid/core/cli/LoadRinggoldDataTest.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,7 @@ public static void main(String[] args) {
if(StringUtils.equalsIgnoreCase(loadData.orgType, FUNDREF_TYPE)) {
LOG.info("Loading orgs from Fundref");
loadData.orgLoadManager.loadOrg(loadData.fundrefOrgSource);
}
else if(StringUtils.equalsIgnoreCase(loadData.orgType, RINGGOLD_TYPE)) {
LOG.info("Loading orgs from Ringgold");
loadData.orgLoadManager.loadOrg(loadData.ringgoldOrgSource);
}
else { //default to ROR
} else { //default to ROR
LOG.info("Loading orgs from ROR");
loadData.orgLoadManager.loadOrg(loadData.rorOrgSource);
}
Expand Down
Loading

0 comments on commit 41676c2

Please sign in to comment.