The controller is responsible for listing user projects based on role
assignments and would build a hints objects and pass it to the
assignment manager. This is a common pattern used across keystone's
APIs. But, the assignment API never actually passed the hints objects
to the backend implementation.
This commit removes the hints from being passed to the manager for
list_projects_for_user and list_domains_for_user because those
APIs never use the hints object. This should allow us to implement
caching to speed up those calls later.
Reviewed: https:/ /review. openstack. org/491921 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=9fccd38d1b1 77664c64bbf987a 8c31d06d7cfc60
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9fccd38d1b17766 4c64bbf987a8c31 d06d7cfc60
Author: Lance Bragstad <email address hidden>
Date: Tue Aug 8 20:37:10 2017 +0000
Remove unused hints from assignment APIs
The controller is responsible for listing user projects based on role
assignments and would build a hints objects and pass it to the
assignment manager. This is a common pattern used across keystone's
APIs. But, the assignment API never actually passed the hints objects
to the backend implementation.
This commit removes the hints from being passed to the manager for projects_ for_user and list_domains_ for_user because those
list_
APIs never use the hints object. This should allow us to implement
caching to speed up those calls later.
Change-Id: I9b1c8c30ca6a78 dd6e78add7de278 e467ceea046
Related-Bug: 1700852