Drop query parameter 'id' from identity mapping
Keystone API does not respect any query parameters such as 'id'
when listing mappings [1],[2].
[1] 0155ae8741/keystone/api/os_federation.py (L267)
[2] https://docs.openstack.org/api-ref/identity/v3-ext/index.html?expanded=list-mappings-detail#list-mappings
Change-Id: Ie1d0bc69da65861215b13fcb5499d7f982a25282
This commit is contained in:
@@ -27,9 +27,7 @@ class Mapping(resource.Resource):
|
||||
create_method = 'PUT'
|
||||
commit_method = 'PATCH'
|
||||
|
||||
_query_mapping = resource.QueryParameters(
|
||||
'id',
|
||||
)
|
||||
_query_mapping = resource.QueryParameters()
|
||||
|
||||
# Properties
|
||||
#: The rules of this mapping. *Type: list*
|
||||
|
||||
@@ -38,7 +38,6 @@ class TestMapping(base.TestCase):
|
||||
|
||||
self.assertDictEqual(
|
||||
{
|
||||
'id': 'id',
|
||||
'limit': 'limit',
|
||||
'marker': 'marker',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user