Listing groups roles performance

Bug #1369137 reported by Rodrigo Duarte
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Rodrigo Duarte

Bug Description

In UpdateProjectGroupsAction, is done a call to every group in a project to get their roles: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/projects/workflows.py#L313. With Identity V3 API, it's possible to get this information using a single API call: GET v3/role_assignments?scope.project.id=<project_id>

This issue is similar to bug #1278920.

Changed in horizon:
assignee: nobody → Rodrigo Duarte (rodrigodsousa)
status: New → In Progress
summary: - LIsting groups roles performance
+ Listing groups roles performance
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/121410

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/121410
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4a155e1b2b52428c0358dbc265a69f6284440d98
Submitter: Jenkins
Branch: master

commit 4a155e1b2b52428c0358dbc265a69f6284440d98
Author: Rodrigo Duarte Sousa <email address hidden>
Date: Sun Sep 14 11:52:16 2014 -0300

    Improve list groups roles performance

    Uses GET v3/role_assignments?scope.project.id=<project_id>
    to fetch groups roles in a given project, instead of doing
    an individual call for every known group.

    Closes-Bug: 1369137
    Change-Id: Ie64dfddc0d8cbb4f22f3ee3b19c248ca6973e96c

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → kilo-1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-1 → 2015.1.0
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.