Reviewed: https://review.openstack.org/462967 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=600c7247bc38c017c673b330a1d227331ca55f91 Submitter: Jenkins Branch: master
commit 600c7247bc38c017c673b330a1d227331ca55f91 Author: jeremy.zhang <[email protected]> Date: Fri May 19 10:16:03 2017 +0800 Fix response body of getting role inference rule The response body of getting role inference rule api lacks a 'links' object, comparing with the api-ref [1]. This patch is to add the 'links' object to make the response body consistent with the api-ref. [1] https://developer.openstack.org/api-ref/identity/v3/index.html#get-role-inference-rule Closes-Bug: 1691048 Change-Id: I31ddb4addce22cde68bfa2ff8ffd18386fd44136 ** 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/1691048 Title: [api-ref] a 'links' object is not found in response body of getting role inference api Status in OpenStack Identity (keystone): Fix Released Bug description: The content of keystone/api-ref/source/v3/samples/admin/get-role- inferences-response.json is as below: { "role_inference": { "prior_role": { "id": "7ceab6192ea34a548cc71b24f72e762c", "links": { "self": "http://example.com/identity/v3/roles/7ceab6192ea34a548cc71b24f72e762c" }, "name": "prior role name" }, "implies": { "id": "97e2f5d38bc94842bc3da818c16762ed", "links": { "self": "http://example.com/identity/v3/roles/97e2f5d38bc94842bc3da818c16762ed" }, "name": "implied role name" } }, "links": { "self": "http://example.com/identity/v3/roles/7ceab6192ea34a548cc71b24f72e762c/implies/97e2f5d38bc94842bc3da818c16762ed" } } The response body of get role inference api can reference http://paste.openstack.org/show/609448/. Here we can find that a 'links' object cannot be found, and it maybe a bug in keystone source code or api documentation. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1691048/+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

