96c5c93f64
Co-authored-by: Ankit Agrawal <ankit11.agrawal@nttdata.com> Change-Id: I5e66448036cfcb5367a6ab7af27eb765f6a2c456 Implements: blueprint return-request-id-to-caller
27 lines
1.3 KiB
YAML
27 lines
1.3 KiB
YAML
---
|
|
prelude: >
|
|
Methods in manager classes and resource classes return wrapper classes
|
|
that wrap values returned originally.
|
|
For example, a wrapper class for list, a wrapper class for dict,
|
|
a wrapper class for str and so on.
|
|
The wrapper classes have a 'request_ids' property for request IDs
|
|
returned from Nova (nova-api). So the caller can get the
|
|
Nova's request IDs, then output them to logs with its own request ID.
|
|
The function to output them to the logs will be implemented
|
|
in other projects (cinder, heat, etc.).
|
|
features:
|
|
- Methods in manager classes and resource classes return wrapper classes
|
|
that wrap values returned originally.
|
|
For example, a wrapper class for list, a wrapper class for dict,
|
|
a wrapper class for str and so on.
|
|
The wrapper classes have a 'request_ids' property for request IDs
|
|
returned from Nova (nova-api). So the caller can get the
|
|
Nova's request IDs, then output them to logs with its own request ID.
|
|
The function to output them to the logs will be implemented
|
|
in other projects (cinder, heat, etc.).
|
|
upgrade:
|
|
- In case that methods return a response object and body originally and
|
|
body is None, the methods return the wrapper class for tuple as 'body'
|
|
instead of the wrapper class for None.
|
|
The wrapper class for None has not been added.
|