Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop

This commit is contained in:
Konstantinos Triantafyllou 2024-02-22 15:12:40 +02:00
commit e71aa35b98
2 changed files with 10 additions and 5 deletions

View File

@ -269,11 +269,16 @@ export class BulkClaimComponent {
} }
}, },
err => { err => {
//console.log(err); // console.log(err);
BulkClaimComponent.handleError("Error getting crossref by DOIs: " + id, err); BulkClaimComponent.handleError("Error getting crossref by DOIs: " + id, err);
this.notFoundIds.push(id);
this.notFoundIdsRow.push(row); if(err.status == 404) {
this.endOfFetching(); this.searchInDatacite(id, accessMode, date, row);
} else {
this.notFoundIds.push(id);
this.notFoundIdsRow.push(row);
this.endOfFetching();
}
} }
)); ));
} }

View File

@ -6,7 +6,7 @@ export let common: EnvProperties = {
useNewStatistisTool: true, useNewStatistisTool: true,
openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=", openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=",
searchCrossrefAPIURL: "https://api.crossref.org/works", searchCrossrefAPIURL: "https://api.crossref.org/works",
searchDataciteAPIURL: "https://api.datacite.org/works", searchDataciteAPIURL: "https://api.datacite.org/dois",
searchOrcidURL: "https://pub.orcid.org/v2.1/", searchOrcidURL: "https://pub.orcid.org/v2.1/",
orcidURL: "https://orcid.org/", orcidURL: "https://orcid.org/",
orcidAPIURL: "https://services.openaire.eu/uoa-orcid-service/", orcidAPIURL: "https://services.openaire.eu/uoa-orcid-service/",