Reviewed: https://review.openstack.org/300195 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=248f0278f9420fe19238fc5a45eedb2f81d6bfae Submitter: Jenkins Branch: master
commit 248f0278f9420fe19238fc5a45eedb2f81d6bfae Author: Colleen Murphy <[email protected]> Date: Thu Mar 31 13:22:17 2016 -0700 Add 'links' to implied roles response The API spec claims that a GET request for implied roles will provide a link back to itself in the response[1]. This patch makes it actually do that. [1] http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#list-implied-roles-for-role Closes-bug: #1564129 Change-Id: I43571cc8d759922a4d9107cadba590cf14d25b20 ** Changed in: keystone Status: In Progress => Fix Released -- 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/1564129 Title: Implied Roles responses lack 'links' pointing back to the API call that generated them Status in OpenStack Identity (keystone): Fix Released Bug description: For instance: http https://poc.example.com:35357/v3/role_inferences/ "X-Auth-Token:d6b832b25b5f4eafa53ebd8399d41b82" HTTP/1.1 200 OK Connection: Keep-Alive Content-Length: 371 Content-Type: application/json Date: Wed, 30 Mar 2016 22:22:47 GMT Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-7632b6fb-1ca2-4cf3-a9c4-b2d74627e282 { "role_inferences": [ { "implies": [ { "id": "edd42085d3ab472e9cf13b3cf3c362b6", "links": { "self": "https://poc.example.com:35357/v3/roles/edd42085d3ab472e9cf13b3cf3c362b6" }, "name": "Member" } ], "prior_role": { "id": "5a912666c3704c22a20d4c35f3068a88", "links": { "self": "https://poc.example.com:35357/v3/roles/5a912666c3704c22a20d4c35f3068a88" }, "name": "testing" } } ] } While there are 'links' on the individual roles there is not one on the response as a whole. This is the case with all of the Implied Roles responses. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1564129/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

