← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1564129] [NEW] Implied Roles responses lack 'links' pointing back to the API call that generated them

 

Public bug reported:

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
reponses.

** 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/1564129

Title:
  Implied Roles responses lack 'links' pointing back to the API call
  that generated them

Status in OpenStack Identity (keystone):
  New

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 reponses.

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


Follow ups