Remove context parameter from manager

Bug #1194938 reported by Adam Young on 2013-06-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Adam Young

Bug Description

keystone/common/ strips the context object out of the calls to the manage. This parameter is unused. The only justification for it is to do logging, which will instead be done via a combination of policy and the currentl logging infrastructure, which means it does not need a context object on which to operate. The EMPTY_CONTEXT code is all over the place, and should be removed.

Dolph Mathews (dolph) on 2013-06-26
Changed in keystone:
importance: Low → Wishlist
Dolph Mathews (dolph) on 2013-06-26
Changed in keystone:
assignee: Adam Young (ayoung) → Dolph Mathews (dolph)
status: New → Triaged

Fix proposed to branch: master

Changed in keystone:
status: Triaged → In Progress
Changed in keystone:
assignee: Dolph Mathews (dolph) → Adam Young (ayoung)

Submitter: Jenkins
Branch: master

commit 911c3156563c4e33bff3b4652b30c744f8b12de6
Author: Dolph Mathews <email address hidden>
Date: Thu Jun 27 10:35:39 2013 -0500

    Stop passing context to managers (bug 1194938)

    We don't have a use case for passing the request context to the manager
    layer, so this patch removes a bunch of cruft.

    Change-Id: Ic6435782c4c9f32e38c7800172645cc1af23ea09

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-07-17
Changed in keystone:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in keystone:
milestone: havana-2 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers