Migrate to oslo.context

Bug #1401054 reported by Ihar Hrachyshka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Ihar Hrachyshka

Bug Description

A new oslo library graduated: oslo.context. We should migrate to use its RequestContext.

Documentation: http://docs.openstack.org/developer/oslo.context/api/context.html

Changed in neutron:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

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

Reviewed: https://review.openstack.org/141144
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=089e60a68b313c1f7077f010964ac27141425517
Submitter: Jenkins
Branch: master

commit 089e60a68b313c1f7077f010964ac27141425517
Author: Ihar Hrachyshka <email address hidden>
Date: Thu Dec 11 20:36:48 2014 +0100

    Migrate to oslo.context

    That's just a matter of adding requirements.txt entry, fixing imports,
    and dropping the corresponding oslo-incubator module from the tree.

    While at it, made all imports to import the module into 'oslo_context' and
    not just 'context', so that we don't override the module locally in
    multiple methods that receive their context arguments with the same
    name, making the library inaccessible from inside those methods.

    Change-Id: Ie62af970b3b7f225de453e56c01abc4b12af8f5e
    Closes-Bug: #1401054

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