diff options
author | openstack <neha.alhat@nttdata.com> | 2018-12-13 09:08:25 +0000 |
---|---|---|
committer | openstack <neha.alhat@nttdata.com> | 2019-01-16 05:51:12 +0000 |
commit | 27eac4993d8120e892ceaa564eddb86c79a4b7c4 (patch) | |
tree | da521de679dbe9913c57de5527681c910b14d887 /releasenotes | |
parent | fee326e56a053592293ef724c7dd31dfa69acf5f (diff) | |
download | python-keystoneclient-27eac4993d8120e892ceaa564eddb86c79a4b7c4.tar.gz |
Add return-request-id-to-caller function(v3/contrib)
Added return-request-id-to-caller function to resources and resource
managers in the following files.
* keystoneclient/v3/projects.py
* keystoneclient/v3/registered_limits.py
* keystoneclient/v3/roles.py
* keystoneclient/v3/limits.py
* keystoneclient/v3/contrib/federation/saml.py
Also made changes in base.py for _put() method so that if
include_metadata is True, the response data should include request_id
instead of returning None as response.
Change-Id: Ifc0ec9a9d666cccfee3b08ac61596a3692307f23
Implements: blueprint return-request-id-to-caller
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/return-request-id-to-caller-97fa269ad626f8c1.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/releasenotes/notes/return-request-id-to-caller-97fa269ad626f8c1.yaml b/releasenotes/notes/return-request-id-to-caller-97fa269ad626f8c1.yaml index f1d4dbf..8ef4701 100644 --- a/releasenotes/notes/return-request-id-to-caller-97fa269ad626f8c1.yaml +++ b/releasenotes/notes/return-request-id-to-caller-97fa269ad626f8c1.yaml @@ -3,5 +3,11 @@ features: - > [`blueprint return-request-id-to-caller <https://blueprints.launchpad.net/python-keystoneclient/+spec/return-request-id-to-caller>`_] - Added support to return "x-openstack-request-id" header in request_ids attribute - for better tracing. + Instantiating client with ``include_metadata=True`` will cause manager response to return data + along with request_ids for better tracing. Refer [`using-api-v3 + <https://docs.openstack.org/python-keystoneclient/latest/using-api-v3.html#getting-metadata-responses>`_] + + + Added support to return "x-openstack-request-id" header in request_ids attribute if + ``include_metadata=True``. Also, for APIs which return response as None, client will return request_ids + as well if ``include_metadata`` is True.
\ No newline at end of file |