GET /v2.0/tokens/{token_id}/endpoints response does not match spec

Bug #933555 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Dolph Mathews

Bug Description

"Get token endpoints" ...

  GET /tokens/{token_id}/endpoints

... returns ...

  {"token": {"serviceCatalog": [...]}}

... instead of ...

  {"endpoints": [...]}

... as the spec suggests.

Relevant WADL, see "listEndpointsForToken": https://github.com/openstack/keystone/blob/milestone-proposed/keystone/content/admin/identity-admin.wadl

Relevant XSD, see "EndpointList": https://github.com/openstack/keystone/blob/milestone-proposed/keystone/content/common/xsd/endpoints.xsd

JSON sample: https://github.com/openstack/keystone/blob/milestone-proposed/keystone/content/common/samples/endpoints.json

XML sample: https://github.com/openstack/keystone/blob/milestone-proposed/keystone/content/common/samples/endpoints.xml

Tags: redux
Dolph Mathews (dolph)
Changed in keystone:
assignee: nobody → Dolph Mathews (dolph)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/4406

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/4406
Committed: http://github.com/openstack/keystone/commit/510061e0807d17234d533a83579074f7d0a42a77
Submitter: Jenkins
Branch: master

commit 510061e0807d17234d533a83579074f7d0a42a77
Author: Dolph Mathews <email address hidden>
Date: Wed Feb 22 13:46:46 2012 -0600

    Removing broken & redundant code (bug 933555)

    Change-Id: I6618487885bcb930a28373bc86d07c537f7a1fe1

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-4 → 2012.1
Dolph Mathews (dolph)
summary: - GET /tokens/{token_id}/endpoints response does not match spec
+ GET /v2.0/tokens/{token_id}/endpoints response does not match spec
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.