• openstack's avatar
    Add return-request-id-to-caller function(v3/contrib) · e7621bdd
    openstack authored
    Added return-request-id-to-caller function tovresources and resource
    managers in the following files.
    
    * keystoneclient/v3/contrib/simple_cert.py
    * keystoneclient/v3/contrib/endpoint_policy.py
    * keystoneclient/v3/contrib/oauth1/access_tokens.py
    * keystoneclient/v3/contrib/oauth1/request_tokens.py
    
    Adding request-id to below V3 contrib API's is covered in base patch
    [1] but this patch is specifically for V3 API's so covered their test
    cases in this patch.
    
    * keystoneclient/v3/contrib/endpoint_filter.py
    * keystoneclient/v3/contrib/federation/identity_providers.py
    * keystoneclient/v3/contrib/federation/mappings.py
    * keystoneclient/v3/contrib/federation/protocols.py
    * keystoneclient/v3/contrib/federation/service_providers.py
    
    The methods in the resource class and resource manager return
    a 'base.Response' class that has 'request_ids' property.
    The caller can get request ids of the callee via that property.
    
    [1] https://review.openstack.org/#/c/329913
    
    Change-Id: I5f90c31020e0dd672a160c7b587f41ba8f2b596c
    Co-authored-by: default avatarDinesh Bhor <dinesh.bhor@nttdata.com>
    Co-authored-by: default avatarAnkit Agrawal <ankit11.agrawal@nttdata.com>
    Co-authored-by: default avatarNeha Alhat <neha.alhat@nttdata.com>
    Implements: blueprint return-request-id-to-caller
    e7621bdd
access_tokens.py 1.96 KB