Replace sqlite with sqlalchemy

We used to have an sqlite driver and we kept it as the default value for
our storage drivers to keep backwards compatibility. It is now time to
move forward and use sqlalchemy instead.

Note that the entry points in setup.cfg are kept because we need them to
load the proper driver from pools based on the connection uri scheme.

Change-Id: I527c6ab15cc36e69d49a57a916ebc1296f73e3ce
This commit is contained in:
Flavio Percoco 2014-11-20 23:49:09 +01:00 committed by Flavio Percoco
parent 38a4cbab00
commit ea4ce05a0f
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
<th colspan="2">[drivers]</th>
</tr>
<tr>
<td>storage = sqlite</td>
<td>storage = sqlalchemy</td>
<td>(StrOpt) Storage driver to use.</td>
</tr>
<tr>

View File

@ -57,7 +57,7 @@ _GENERAL_OPTIONS = (
_DRIVER_OPTIONS = (
cfg.StrOpt('transport', default='wsgi',
help='Transport driver to use.'),
cfg.StrOpt('storage', default='sqlite',
cfg.StrOpt('storage', default='sqlalchemy',
help='Storage driver to use.'),
)

View File

@ -28,7 +28,7 @@ from zaqar.queues.storage import utils
LOG = log.getLogger(__name__)
_CATALOG_OPTIONS = (
cfg.StrOpt('storage', default='sqlite',
cfg.StrOpt('storage', default='sqlalchemy',
help='Catalog storage driver.'),
)