diff options
author | Sean Dague <sean@dague.net> | 2017-05-23 07:37:10 -0400 |
---|---|---|
committer | Sean Dague <sean@dague.net> | 2017-05-23 12:48:41 -0400 |
commit | 0e3dbba0d9d373fbfa9e28897cd33377e2491d32 (patch) | |
tree | 82ba63d04c9522b04516a822ef01ff6048446dde /releasenotes | |
parent | 9b94bae73c1cf5549a69e7798d175119cc1aaa2e (diff) | |
download | oslo-middleware-0e3dbba0d9d373fbfa9e28897cd33377e2491d32.tar.gz |
Set global_request_id if passed in as X-OpenStack-Request-ID.
If an inbound header that validates against the regex ``req-$uuid`` is
passed in, we'll set it where oslo.context could later read it. This
creates a mechanism for parents to pass their request-id to children.
Change-Id: I5c5268e8680392395fbe04efe0124575ad8db468
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/global_request_id-a8ec7260fbd76444.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/releasenotes/notes/global_request_id-a8ec7260fbd76444.yaml b/releasenotes/notes/global_request_id-a8ec7260fbd76444.yaml new file mode 100644 index 0000000..335a76d --- /dev/null +++ b/releasenotes/notes/global_request_id-a8ec7260fbd76444.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + This adds support for ``global_request_id`` to the ``RequestId`` + middleware. An inbound header of ``X-OpenStack-Request-ID`` is + accepted as long as it is of the format ``req-$uuid``, and made + available to oslo.context. This will allow for cross project + request id tracking. |