rero / rero-ils

Integrated Library System flavour of Invenio by RERO+.
http://ils.test.rero.ch
GNU Affero General Public License v3.0
73 stars 25 forks source link

Synchro MEF / RERO-ILS #2849

Closed PascalRepond closed 1 year ago

PascalRepond commented 2 years ago

User story

As a librarian, I want the updated, merged or deleted IdRef/GND entities to be automatically reported and corrected in the RERO ILS document.

Acceptance criteria

Updated IdRef/GND records should be updated in MEF and RERO ILS.

Tasks

Specifications

GND spec: https://www.dnb.de/EN/Professionell/Metadatendienste/Datenbezug/GND\_Aenderungsdienst/gndAenderungsdienst\_node.html

IdRef spec: cf. comment below

/!\ The sync mechanism should also update RERO ILS data on the base of updated MEF record and MEF RERO RAMEAU records (when integrated into MEF). Use case: birth and death dates have been added in IdRef, then the MEF record is updated, then the RERO ILS data should be updated also.

pronguen commented 2 years ago

Info OAI-PMH IdRef

10 PPN de notices en statut deleted : 137395078 07807259X 142995436 034651012 067178278 203822552 203752791 194138526 087881470 203825837

Le serveur OAI fournit la notice mais le leader contient la lettre "d" en position https://www.idref.fr/OAI/oai.jsp?verb=GetRecord&metadataPrefix=marc-xml&identifier=oai:IdRefOAIServer.fr:137395078

Soit une notice#1 027630501 fusionnée dans une notice#2 026357313 1) https://www.idref.fr/OAI/oai.jsp?verb=GetRecord&metadataPrefix=marc-xml&identifier=oai:IdRefOAIServer.fr:027630501 la notice 1 a donc le statut d (deleted) dans le leader

2) https://www.idref.fr/OAI/oai.jsp?verb=GetRecord&metadataPrefix=marc-xml&identifier=oai:IdRefOAIServer.fr:026357313 la notice 2 est mise à jour et contient une zone 035 $a qui indique le PPN de la notice1 en $a et $9 sudoc c'est le $9 sudoc qui indique q"'il s'agit d'une notice fusionnée

Synchro via API non OAI

http://documentation.abes.fr/aideidrefdeveloppeur/index.html#synchroniser