href variables for federation controller are inconsistent

Bug #1420125 reported by Steve Martinelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Jamie Lennox

Bug Description

For the most part, the href variables seen in JSON home requests for federation resources are consistent, https://github.com/openstack/keystone/blob/master/keystone/contrib/federation/routers.py they are usually idp_id, sp_id, protocol_id and mapping_id.

Except for the following block:

  path=self._construct_url('identity_providers/{identity_provider}/'
                                      'protocols/{protocol}/auth'),

Where 'identity_provider' and 'protocol' are used instead of 'idp_id' and 'protocol_id'

Changed in keystone:
assignee: nobody → Steve Martinelli (stevemar)
status: New → In Progress
Changed in keystone:
assignee: Steve Martinelli (stevemar) → nobody
status: In Progress → Confirmed
importance: Undecided → Low
Matthieu Huin (mhu-s)
Changed in keystone:
assignee: nobody → Matthieu Huin (mhu-s)
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/157821

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by Steve Martinelli (<email address hidden>) on branch: master
Review: https://review.openstack.org/154321
Reason: meh

Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

This cannot be fixed with the API contract we have. This will change the public interfaces. We cannot make changes to the public interfaces in this regard.

Marking as "wont fix"

Changed in keystone:
status: In Progress → Won't Fix
Revision history for this message
Dolph Mathews (dolph) wrote :

I might be overlooking what you and Brant are referring to, but the proposed change does not seem to break any API contract.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by David Stanek (<email address hidden>) on branch: master
Review: https://review.openstack.org/157821
Reason: The bug was marked as Won't Fix

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/248312

Changed in keystone:
assignee: Matthieu Huin (mhu-s) → Jamie Lennox (jamielennox)
status: Won't Fix → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/248312
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=4f6cc67941f76eb7bcd079515b765b7d9b7e66ab
Submitter: Jenkins
Branch: master

commit 4f6cc67941f76eb7bcd079515b765b7d9b7e66ab
Author: Jamie Lennox <email address hidden>
Date: Sat Nov 21 11:55:09 2015 +1100

    Use idp_id and protocol_id in jsonhome

    These are inconsistent with the rest of the federation routes. Note that
    this doesn't change a public interface, it changes the path variables
    names that exist within a jsonhome document which should only be
    referenced within the same href_vars element and some internal variable
    names.

    Change-Id: I36d41e95d745bd98d36c3442bd4aa4faa91cab72
    Closes-Bug: #1420125

Changed in keystone:
status: In Progress → Fix Committed
Changed in keystone:
milestone: none → mitaka-1
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/keystone 9.0.0.0b1

This issue was fixed in the openstack/keystone 9.0.0.0b1 development milestone.

Changed in keystone:
status: Fix Committed → Fix Released
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.