Need way to choose which region to get a url_for

Bug #1231171 reported by Rob Raymond
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Rob Raymond

Bug Description

Much of the api code in horizon uses base.url_for to find a service in the service catalog. Currently url_for uses the region stored on the session but sometimes some horizon code knows what region it needs to talk to. (One use case could be heat would want to allow composition of services from multiple endpoints.)

url_for should allow override of region when choosing an endpoint.

Changed in horizon:
assignee: nobody → Rob Raymond (rob-raymond)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
status: New → In Progress
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/48361
Committed: http://github.com/openstack/horizon/commit/2cdd0bb20e9dbf217627462d49ffb9ac1bf829ab
Submitter: Jenkins
Branch: master

commit 2cdd0bb20e9dbf217627462d49ffb9ac1bf829ab
Author: Rob Raymond <email address hidden>
Date: Wed Sep 25 16:42:04 2013 -0600

    Allow region override for url_for

    If region is passed in to url_for use that, otherwise continue
    to use the region from the user's session.

    Fixes bug #1231171

    Change-Id: Ia7d2a4f12a3c0d4d45bb918255184d1736f5bddf

Changed in horizon:
status: In Progress → Fix Committed
Kieran Spear (kspear)
Changed in horizon:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-1 → 2014.1
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.