commit 9262bb8dcbbfd1b71c3180c2293827a494d4ed6f
Author: Dave Chen <email address hidden>
Date: Thu Nov 26 05:39:59 2015 +0800
Ensure endpoints returned is filtered correctly
Conflicts:
keystone/catalog/controllers.py
keystone/catalog/core.py
keystone/contrib/endpoint_filter/backends/catalog_sql.py
This patch move some logic to manager layer, so that endpoints
filtered by endpoint_group project association will be included
in catalog when issue a project scoped token and using
`endpoint_filter.sql` as catalog's backend driver.
This make sure that call `list_endpoints_for_project` API has
the same endpoints with that in catalog returned for project
scoped token.
The difference between this cherry pick and the patch on the master
branch is massive since the endpoint filter extension has been
consolidated with keystone catalog on master branch, all the change
made in the keystone catalog should be made in keystone endpoint filter
extension instead.
Closes-Bug: #1516469
(cherry picked from commit f86448a3113fc594e78d3d9410f44c1f64a9ad58)
Reviewed: https:/ /review. openstack. org/256101 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=9262bb8dcbb fd1b71c3180c229 3827a494d4ed6f
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 9262bb8dcbbfd1b 71c3180c2293827 a494d4ed6f
Author: Dave Chen <email address hidden>
Date: Thu Nov 26 05:39:59 2015 +0800
Ensure endpoints returned is filtered correctly
Conflicts: catalog/ controllers. py catalog/ core.py contrib/ endpoint_ filter/ backends/ catalog_ sql.py filter. sql` as catalog's backend driver.
keystone/
keystone/
keystone/
This patch move some logic to manager layer, so that endpoints
filtered by endpoint_group project association will be included
in catalog when issue a project scoped token and using
`endpoint_
This make sure that call `list_endpoints _for_project` API has
the same endpoints with that in catalog returned for project
scoped token.
The difference between this cherry pick and the patch on the master
branch is massive since the endpoint filter extension has been
consolidated with keystone catalog on master branch, all the change
made in the keystone catalog should be made in keystone endpoint filter
extension instead.
Closes-Bug: #1516469 4e78d3d9410f44c 1f64a9ad58)
(cherry picked from commit f86448a3113fc59
Change-Id: I56f4eb6fc52465 0677b627295dd43 38d55164c39