diff options
author | anupmarathe <anup.marathe@amdocs.com> | 2017-08-23 11:10:27 +0530 |
---|---|---|
committer | anupmarathe <anup.marathe@amdocs.com> | 2017-08-24 12:55:21 +0530 |
commit | bba3151adcc8337697a09475cb268c93f27d6748 (patch) | |
tree | d2b56c76aaa200f914b20b0eff401b0bf3d237bb /common/src/main/java/org/openecomp | |
parent | bf69de1b2bb800fe59125746a7aa0ada0c8bd258 (diff) |
Fix to pass transaction id to AAI
When SO is calling AAI REST API in groovy code, it is always passing new
X-TransactionID. As per EELF logging guidelines, this id is used for
tracking transaction across components. This fix checks if there is
already an existing transaction id in MDC, if yes then pass same. If not
found, then create one and set in MDC for use in next API calls in same
transaction.
Change-Id: If6e33b77d9615f4887e1c1fc367de4268eecc340
Issue-ID: SO-78
Signed-off-by: anupmarathe <anup.marathe@amdocs.com>
Diffstat (limited to 'common/src/main/java/org/openecomp')
0 files changed, 0 insertions, 0 deletions