← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1691048] [NEW] [api-ref] a 'links' object is not found in response body of getting role inference api

 

Public bug reported:

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 api documentation.

** Affects: keystone
     Importance: Undecided
     Assignee: Jeremy Zhang (jeremy.zhang)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Jeremy Zhang (jeremy.zhang)

-- 
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):
  New

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 api documentation.

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


Follow ups