This is the part of the more comprehensive split of
assignments, which rationalizes both the backend and controllers.
In order to make this change easier for reviewers, it is divided
into a number of smaller patches.
Previous patches:
- Move role management into its own manager and drivers
(see: https://review.openstack.org/#/c/144239/)
- Fix incorrect doc strings for grant driver methods
(see: https://review.openstack.org/#/c/144403/)
- Make controllers call the new, split out, role manager
(see: https://review.openstack.org/#/c/144494/)
- Make unit tests call the new, split out, role manager
(see: https://review.openstack.org/#/c/144548/)
- Refactor the assignment manager and drivers, enabling
projects/domains to be split out
(see: https://review.openstack.org/#/c/144650/)
- Fix incorrect comment about circular dependency between
assignment and identity
(see: https://review.openstack.org/#/c/144850/)
This patch moves the now logically separated project and domain
functionality into their own manager/backend (called resource).
Future patches will:
- Remove unused pointer to assignment in identity driver
- Update the controllers to call the new resource manager
- Update the tests to call the new resource manager
- Split the assignment controller, giving projects/domains
their own controller
Partially implements: bp pluggable-assignments
Change-Id: I0ff1c2fa30237734d0a25d03dad5be03eb166367