From: Jonathan McDowell Date: Mon, 6 Jun 2016 20:54:42 +0000 (+0100) Subject: Properly isolate database backend configuration X-Git-Tag: onak-0.5.0~36 X-Git-Url: http://the.earth.li/gitweb/?a=commitdiff_plain;ds=sidebyside;h=2458360e75aa46091f60c16e041c07bffe2edefb;hp=2458360e75aa46091f60c16e041c07bffe2edefb;p=onak.git Properly isolate database backend configuration While database backends have had private context for some time they've all been using the same configuration details from the global config structure. Create a new DB specific config structure and initialise a single instance from the config file. Also modify the DB backend initialise functions to take this config structure as a parameter. This will allow in the future for multiple different backends (whether the same type or different) to be included at the same time. ---