role assignment query filter names inconsistent

Bug #1755056 reported by Adrian Turjak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
In Progress
Low
sonu

Bug Description

The role assignment list API has filters in the style of "user.id" rather than "user_id". This is odd since every other API in Keystone appears to be with "_", including some of the other filters on role assignment itself.
https://developer.openstack.org/api-ref/identity/v3/#id595

The SDK incorrectly made the assumption that this was consistent and has been fixed now to map correctly to the expected server side filter names:
https://review.openstack.org/#/c/550700/

But ideally we should be adding the "_" versions as well so that the APIs are consistent and make it a rule to keep using "_" rather than "." for future APIs.

Changed in keystone:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
wangxiyuan (wangxiyuan) wrote :

It will be an API impact change. need micro version support first.

Revision history for this message
Adrian Turjak (adriant-y) wrote :

How? We'd add the new ones, and keep the old ones. Additive changes should be fine.

Revision history for this message
wangxiyuan (wangxiyuan) wrote :

yeah. that's a way to keep backward compatibility.

sonu (sonu-bhumca11)
Changed in keystone:
assignee: nobody → sonu (sonu-bhumca11)
sonu (sonu-bhumca11)
Changed in keystone:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstacksdk 0.18.0

This issue was fixed in the openstack/openstacksdk 0.18.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.