commit ce8d9fd39dac16b9b53a9c1192613d3b93ffd9ee
Author: John Vrbanac <email address hidden>
Date: Fri Feb 20 23:46:12 2015 -0600
Fixing unable to retrieve req id bug
Properly returning the id if it was provided on the request. If not,
generate an id in the format expected by openstack services
and clients.
Context:
The original code in BaseContextMiddleware was copied from Glance
at the beginning of the project, but it has never worked because
we don't build our requests and responses like Glance does. As
a result, the old code has been logging a "Unabled to retrieve request
id from context" warning for every response. This change properly
retrieves the id (if there), or generates one if needed.
Reviewed: https:/ /review. openstack. org/158034 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=ce8d9fd39da c16b9b53a9c1192 613d3b93ffd9ee
Committed: https:/
Submitter: Jenkins
Branch: master
commit ce8d9fd39dac16b 9b53a9c1192613d 3b93ffd9ee
Author: John Vrbanac <email address hidden>
Date: Fri Feb 20 23:46:12 2015 -0600
Fixing unable to retrieve req id bug
Properly returning the id if it was provided on the request. If not,
generate an id in the format expected by openstack services
and clients.
Context: leware was copied from Glance
The original code in BaseContextMidd
at the beginning of the project, but it has never worked because
we don't build our requests and responses like Glance does. As
a result, the old code has been logging a "Unabled to retrieve request
id from context" warning for every response. This change properly
retrieves the id (if there), or generates one if needed.
Closes-Bug: 1424221 3f33968144d098b edbfc462e7a
Change-Id: I7e22474775de3c