[Koha-devel] Add Koha API Route to Proxy to Backend Service

dcook at prosentient.com.au dcook at prosentient.com.au
Thu Jul 9 13:49:59 CEST 2020


Hi all,

 

I was chatting with lmstrand on IRC, and we both came up with separate
features where we'd essentially want Koha to proxy our HTTP requests  to the
Koha API endpoint to a backend service running on the Koha server.

 

What do people think about using the Koha HTTP API that way?

 

Or would it just make more sense to run up Kong (or another API gateway) on
the Koha server, and use it to proxy HTTP requests to backend services
running on the Koha server? I think in both our cases Koha is itself only
tangentially related. (lmstrand's is a SIP2 client daemon available over
HTTPS, while mine is a OAI-PMH harvester daemon available over HTTPS)

 

The advantage of using the Koha API is that it keeps everything together.
The disadvantage is that we might not want to use Koha to proxy requests?

 

The advantage of Kong is that it keeps a separation of concerns, Kong has a
tonne of plugins that make working with APIs a great experience. The
disadvantage is that it's yet another dependency. 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200709/20b7cf61/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200709/20b7cf61/attachment.sig>


More information about the Koha-devel mailing list