Add domain information to context

Registered by Francisco Demontiê dos Santos Junior on 2013-11-18

Add support for upcoming "domain" concept in Keystone V3 API in both logging and context. This information is required by some new features in Nova, for example. The idea is to create new attributes in the RequestContext class in Oslo first to store information about domain. Once the code is in Oslo we can make the changes in the specific projects.

The information about domain that Keystone V3 API returns in the request header is present in three variables: X_DOMAIN_ID, X_PROJECT_DOMAIN_ID and X_USER_DOMAIN_ID.

Blueprint information

Status:
Complete
Approver:
Doug Hellmann
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
Francisco Demontiê dos Santos Junior
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Francisco Demontiê dos Santos Junior on 2013-11-18
Completed by
Francisco Demontiê dos Santos Junior on 2013-12-02

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-domain-info-to-context,n,z

Addressed by: https://review.openstack.org/55938
    Adding domain to context and log

(?)

Work Items