LP#1514085 Vandelay in-database session tracking
authorBill Erickson <berickxx@gmail.com>
Thu, 28 Jun 2018 16:38:57 +0000 (12:38 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 23 Aug 2018 18:06:31 +0000 (14:06 -0400)
commit167ed3dd8ca4fbe88af655bcb5517357ef54ba74
tree520a2a9e7f3ebcc49f52985a47456e8b7c086b44
parent6afaf84691f593c8a48e528c4f54ef7f991a8a22
LP#1514085 Vandelay in-database session tracking

Adds a new DB table vandelay.session_tracker for monitoring progress on
Vandelay enqueue and import sessions.

Enqueue and import APIs get a new option to exit early, returning the
newly created tracker object, so the caller can monitor the tracker
instead of listening to streamed responses, which are not supported in
browser client Dojo interfaces.

Teach the existing Dojo Vandelay UI to exit early on enqueu & export and
to poll for tracker data in lieu of waiting for streamed progress data.

On user merge / purge, trackers are migrated to the destination user.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
Open-ILS/src/sql/Pg/012.schema.vandelay.sql
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.vandelay-state-tracking.sql [new file with mode: 0644]
Open-ILS/web/js/ui/default/vandelay/vandelay.js