Extract CommonDBMixin into a separate module
Bug #1340145 reported by
Eugene Nikanorov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Wishlist
|
Eugene Nikanorov |
Bug Description
Several service plugins are inheritig from CommonDBMixin which has a few utulity methods.
Right now CommonDBMixin resides in db_base_
In some cases it is undesirable and can lead to cycles in imports,
so CommonDBMixin needs to be extracted into a different module
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/105709 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=cbd89e75d34 c048c15c52dc828 b1df7443c540d6
Committed: https:/
Submitter: Jenkins
Branch: master
commit cbd89e75d34c048 c15c52dc828b1df 7443c540d6
Author: Eugene Nikanorov <email address hidden>
Date: Wed Jul 9 14:47:01 2014 +0400
Extract CommonDBMixin to a separate file
db_ base_plugin_ v2 imports too much modules that are not necessary
usually, so extract CommonDBMixin in different file.
Plus using db_base_plugin_v2 for some types of modules can lead to
cycles in imports, this refactoring should resolve the issue.
Closes-Bug: #1340145 5bc7598f805c56c 55fd4aca048
Change-Id: Idb027d7c5cee2d