LP#1832897: business logic for carousels
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 12 Jun 2019 21:58:21 +0000 (17:58 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 29 Aug 2019 14:36:00 +0000 (10:36 -0400)
commitf47475a296f7c423eb9e26de33306905a114b5f4
tree9290af7991027b1e08c23189a98bed95cd4810de
parent123dc17a7a4a6a38ff4795ea605ab2b915c55f42
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>
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]