issues
search
OpenKnowledgeMaps
/
Headstart
A framework for creating web-based knowledge maps
https://openknowledgemaps.org/
MIT License
197
stars
42
forks
source link
Database migration
#739
Closed
chreman
closed
1 year ago
chreman
commented
1 year ago
What's new
Persistence.php is now an interface
Changes to SQLitePersistence so that it can function as an interface to on-disk SQLite database
Addition of PostgresPersistence.PHP which is an interface for the persistence API
Introduction of DispatchingPersistence which is a wrapper for SQLite and PostgresPersistence and mediates which one is used
Introduction of shift_read_percentage parameter in config_local.ini which controls percentage of reads that are directed to new postgres database
Changes to PHP endpoints to utilize DispatchingPersistence according to the shift_read_percentage parameter
Changes in Python API in persistence.py to allow for multiple hosts in a primary/standby configuration
Updates and cleanup in Python API to align with data structures and expected returns in the PHP endpoints
Addition of PHP tests and a dockerised end-to-end test
What's new