LP#1514085 Vandelay in-database session tracking
authorBill Erickson <berickxx@gmail.com>
Thu, 28 Jun 2018 16:38:57 +0000 (12:38 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 4 Sep 2018 21:21:00 +0000 (17:21 -0400)
commit5da0ea080077816154cb5d3d9d7bb32932e996dd
tree0f81ee414aea529cc0503dd3db6c3778f20e0b41
parent1e6cbaca69712d708bf4e720e14ac78e1dc24ab6
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
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