[Koha-bugs] [Bug 25905] REST API: create endpoint for importing OAI-PMH records from external OAI-PMH clients

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 6 10:36:37 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25905

--- Comment #8 from David Cook <dcook at prosentient.com.au> ---
Annnd I just had another thought for this which could make it more robust. 

At the moment, I'm planning on doing a synchronous import. However, when we
have RabbitMQ, it would be cool to have the API just stage the import, and let
a background worker do the actual import work.

In this scenario, a person could have the API endpoint actually return a
transaction ID, which could be used to poll Koha for status on the import. That
said, polling is better for human-machine interactions, rather than
machine-machine interactions. And it wouldn't make sense for a
harvester/downloader to wait for the transaction to complete anyway.

Maybe I just shouldn't worry about it for now...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list