Use common code from Oslo for work with database
There is common code for work with database in Oslo. It contains work around session, SQLAchemy engines, wrappers, etc.
We can use this code instead of Keystone implementation.
So we should:
1) Sync common code for work with database from Oslo
2) Use Oslo code instead of current project implementation.
- work with sqlalchemy session and engines
- use sqlalchemy migration utils, to make work with migrations more clear
This will close:
- https:/
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Medium
- Drafter:
- Viktor Serhieiev
- Direction:
- Needs approval
- Assignee:
- Ilya Pekelny
- Definition:
- New
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Viktor Serhieiev
- Completed by
- Morgan Fainberg
Related branches
Related bugs
Sprints
Whiteboard
(morganfainberg): We're completely over to using oslo.db at this point in Keystone. I'm going to mark this as implemented. (Oct 20, 2014)
Gerrit topic: https:/
Addressed by: https:/
Add common code from Oslo for work with database
Addressed by: https:/
Use common Oslo code for work with database
Addressed by: https:/
Use common db model class from Oslo
Addressed by: https:/
Allow delete user or group at same time as role
Addressed by: https:/
Use oslo.db sessions
Addressed by: https:/
Enhance tests for delete_grant no user/group
Addressed by: https:/
Synchronize Keystone with oslo migration.py
Addressed by: https:/
Sync openstack.
Addressed by: https:/
Sync db.sqlalchemy from oslo-incubator
Gerrit topic: https:/
Addressed by: https:/
Remove sql.Base.
Addressed by: https:/
Move sql.Base.
Addressed by: https:/
Remove sql.Base
Addressed by: https:/
Synchronized with oslo db and db.sqlalchemy
Addressed by: https:/
Merge db.sqlalchemy from oslo-incubator af5f710
Addressed by: https:/
Don't mask the filter built-in
Addressed by: https:/
Move filter_query out of sql.Base
Addressed by: https:/
Cleanup sql.Base.
Addressed by: https:/
Remove unused and misspelled argument
Addressed by: https:/
`find_
Addressed by: https:/
Correct `find_migrate_repo` usage
Addressed by: https:/
Synchronization with oslo migration.py (constant)
Addressed by: https:/
Correct error class in find_migrate_repo
Addressed by: https:/
Extension absence handling
Addressed by: https:/
Remove common.
Addressed by: https:/
WIP: Sync with solo.db
Work Items
Work items:
Sync common code for work with database from Oslo: DONE
Work with sqlalchemy session and engines: DONE
Use sqlalchemy migration utils, to make work with migrations more clear: TODO
Dependency tree
* Blueprints in grey have been implemented.