← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1126048] Re: Keystone v3 api has some duplicate url apis

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1126048

Title:
  Keystone v3 api has some duplicate url apis

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  The current api spec contains both:

  GET /domains/{domain_id}/users

  as well as

  GET /users.....with query filter, e.g.:
  GET /users?domain_id="my domain"

  The same is true for projects.

  We should just support the method of using a query filter if the
  attribute is a first class attribute on the entity in question.  This
  would mean we should remove:

  GET /domains/{domain_id}/users
  GET /domains/{domain_id}/projects

  but keep, for instance:

  GET /users/{user_id}/projects
  .....since the result of this call could not obtained by searching the project entities for user_id, i.e.
  GEt /projects?user_id="my user"
  ....does not give you what you want.

  We should fix this before Grizzly, otherwise we'll be supporting
  duplicate calls for a long time.

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