Add base for DB API

Add DB API layer:
*) create, drop table methods
*) DB API interface layer
*) DB API sqlalchemy implementation

Add DB Models layer:
*) Base Model
*) Create Drop Table by models

Add common oslo wrappers to add 2 new class:
1) TestCase - with DB Fixture
2) NoDBTestCase - without DB Fixture

Add base exceptions
This commit is contained in:
Boris Pavlovic
2013-08-27 22:56:09 +04:00
parent e87f67176e
commit 902ef9ac4a
2 changed files with 7 additions and 2 deletions

View File

@@ -1,9 +1,13 @@
Babel>=0.9.6
eventlet>=0.9.17
netaddr>=0.7.6
iso8601>=0.1.4
oslo.config
paramiko>=1.8.0
pbr>=0.5.21,<1.0
psutil
SQLAlchemy>=0.7.8,<0.7.99
sh
six
six
-f http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a3.tar.gz#egg=oslo.config-1.2.0a3
oslo.config>=1.2.0a3

View File

@@ -25,6 +25,7 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
downloadcache = ~/cache/pip
[flake8]
ignore = H302
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools