← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1336258] [NEW] Section 'links' misplaced in OS-FEDERATION identity API

 

Public bug reported:

It was discovered that section 'links' is misplaced in  HTTP responses
in mapping's  examples in OD-FEDERATION Identity  API docs:
https://github.com/openstack/identity-api/blob/master/v3/src/markdown
/identity-api-v3-os-federation-ext.md

For instance Response to Mapping's PUT operations is depicted as:

Status: 201 Created

{
    "links": {
        "self": "http://identity:35357/v3/OS-FEDERATION/mappings/ACME";
    },
    "mapping": {
        "id": "ACME",
        "rules": [
            {
                "local": [
                    {
                        "group": {
                            "id": "0cd5e9"
                        }
                    }
                ],
                "remote": [
                    {
                        "type": "orgPersonType",
                        "not_any_of": [
                            "Contractor",
                            "Guest"
                        ]
                    }
                ]
            }
        ]
    }
}


whereas 'links' section should be inside 'mappings' section.

** Affects: keystone
     Importance: Undecided
     Assignee: Marek Denis (marek-denis)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Marek Denis (marek-denis)

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

Title:
  Section 'links' misplaced in OS-FEDERATION identity API

Status in OpenStack Identity (Keystone):
  New

Bug description:
  It was discovered that section 'links' is misplaced in  HTTP responses
  in mapping's  examples in OD-FEDERATION Identity  API docs:
  https://github.com/openstack/identity-api/blob/master/v3/src/markdown
  /identity-api-v3-os-federation-ext.md

  For instance Response to Mapping's PUT operations is depicted as:

  Status: 201 Created

  {
      "links": {
          "self": "http://identity:35357/v3/OS-FEDERATION/mappings/ACME";
      },
      "mapping": {
          "id": "ACME",
          "rules": [
              {
                  "local": [
                      {
                          "group": {
                              "id": "0cd5e9"
                          }
                      }
                  ],
                  "remote": [
                      {
                          "type": "orgPersonType",
                          "not_any_of": [
                              "Contractor",
                              "Guest"
                          ]
                      }
                  ]
              }
          ]
      }
  }

  
  whereas 'links' section should be inside 'mappings' section.

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


Follow ups

References