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:
Jakob Meng
2022-09-20 14:13:18 +02:00
parent 44089c11d6
commit 2ec7d7462f
2 changed files with 1 additions and 4 deletions

View File

@@ -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*

View File

@@ -38,7 +38,6 @@ class TestMapping(base.TestCase):
self.assertDictEqual(
{
'id': 'id',
'limit': 'limit',
'marker': 'marker',
},