]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Migrate to Oslo DB code
authorRoman Podolyaka <rpodolyaka@mirantis.com>
Thu, 23 May 2013 14:55:10 +0000 (17:55 +0300)
committerRoman Podolyaka <rpodolyaka@mirantis.com>
Wed, 29 May 2013 07:59:42 +0000 (10:59 +0300)
commit7055b7826527c1af9792a748ace55686c34a3915
tree05f5fe37a1e439f75a3059a3965475a23cba1823
parent77a77456af6944a3bf6eb4e3b75b7094d8b54391
Migrate to Oslo DB code

 - engine and session handling code is reused
 - integrity errors caused by duplicating entries
   are handled properly
 - the base class for models is mostly reused
   (the only exception is SoftDeleteMixin, which
    requires changes to existing DB schema; this
    will be implemented in BP db-unique-keys)
 - use common exceptions handling code

Blueprint: db-session-cleanup

Change-Id: I7f5eb53daddc57066af9c73caa633b37a2afd9c2
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/db/sqlalchemy/migration.py
cinder/db/sqlalchemy/models.py
cinder/db/sqlalchemy/session.py [deleted file]
cinder/exception.py
cinder/flags.py
cinder/tests/__init__.py
cinder/tests/fake_flags.py
cinder/tests/test_volume_types.py
cinder/volume/volume_types.py