From 96c5c93f64c894c127436711ec824fcf72c96d97 Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Thu, 28 Jan 2016 13:46:43 +0900 Subject: [PATCH] Add release notes for return-request-id-to-caller Co-authored-by: Ankit Agrawal Change-Id: I5e66448036cfcb5367a6ab7af27eb765f6a2c456 Implements: blueprint return-request-id-to-caller --- ...request-id-to-caller-52c5423794b33f8b.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 releasenotes/notes/return-request-id-to-caller-52c5423794b33f8b.yaml diff --git a/releasenotes/notes/return-request-id-to-caller-52c5423794b33f8b.yaml b/releasenotes/notes/return-request-id-to-caller-52c5423794b33f8b.yaml new file mode 100644 index 000000000..e390c1629 --- /dev/null +++ b/releasenotes/notes/return-request-id-to-caller-52c5423794b33f8b.yaml @@ -0,0 +1,26 @@ +--- +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.