LP2012402 Authoritative APIs are optional; disabled by default user/berick/lp2012402-authoritative-optional
authorBill Erickson <berickxx@gmail.com>
Tue, 21 Mar 2023 15:27:25 +0000 (11:27 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 21 Mar 2023 15:27:28 +0000 (11:27 -0400)
commitc0dfbd717d900f99ff7011bad7b5b958561bea0f
tree1ba265d90ed55b8357d3453144f3685fd1840f46
parentce70500b020cd6799377f6eb16a3f7a28a691a05
LP2012402 Authoritative APIs are optional; disabled by default

Adds a new setting to opensrf.xml called 'uses_pooled_read_replica_dbs'
which controls whether Evergreen enables support for "authoritative" API
calls.

When disabled, the ".authoritative" API variant is simply a clone of the
non-authoritative version.  Similarly, the Angular PCRUD service will
avoid making transaction begin/rollback calls when the 'authoritative'
PCRUD option is passed locally.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/examples/opensrf.xml.example
Open-ILS/src/eg2/src/app/core/pcrud.service.ts
Open-ILS/src/eg2/src/app/resolver.service.ts
Open-ILS/src/perlmods/lib/OpenILS/Application.pm
docs/RELEASE_NOTES_NEXT/Administration/authoritative.adoc [new file with mode: 0644]