slub / ocrd_manager

frontend for ocrd_controller and adapter towards ocrd_kitodo
MIT License
11 stars 3 forks source link

add alternative callback mechanism besides ActiveMQ #64

Closed bertsky closed 4 months ago

bertsky commented 1 year ago

To run asynchronously, we currently rely on ActiveMQ exclusively. It is well integrated with Kitodo.Production, but may not be first choice for other use cases (like DFG Viewer / OCR-on-demand). So perhaps allowing to pass a simple HTTP URL to be POSTed on termination to would be most versatile?

(This could apply to both the SSH interface and the additional HTTP interface in #63.)

bertsky commented 1 year ago

We also need this to get asynchronous behaviour with process_mets at all. (Currently, unless both ACTIVEMQ and TASK_ID are set, the scripts will run synchronously.)

bertsky commented 4 months ago

Fixed in #66.