← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1755056] [NEW] role assignment query filter names inconsistent

 

Public bug reported:

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.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1755056

Title:
  role assignment query filter names inconsistent

Status in OpenStack Identity (keystone):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1755056/+subscriptions