]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/container.pm
LP#1832897: business logic for carousels
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 12 Jun 2019 21:58:21 +0000 (17:58 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Wed, 4 Sep 2019 02:32:34 +0000 (19:32 -0700)
commitb191a45d7c3c6ed7556f32def7f218f758b571c1
tree5e6b6d59c2309eee33e3a5a2182fa23ef079a55e
parente7100d944520f8037dba6274e891783fbadaff63
LP#1832897: business logic for carousels

This patch adds various methods in open-ils.actor and open-ils.storage
to manipulate carousels. It also adds a server-side script,
refresh_carousels.srfsh, and an example crontab entry.

The new methods are:

* open-ils.actor.carousel.retrieve_by_org
* open-ils.actor.carousel.retrieve_manual_by_staff
* open-ils.actor.carousel.refresh
* open-ils.actor.carousel.create.from_bucket
* open-ils.storage.container.refresh_from_carousel
* open-ils.storage.carousel.refresh_all

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/examples/crontab.example
Open-ILS/src/Makefile.am
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Carousel.pm [new file with mode: 0644]
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/container.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/container.pm
Open-ILS/src/support-scripts/refresh_carousels.srfsh [new file with mode: 0644]