CCSDK propagation of RequestID & PartnrName to AAI 69/9669/2
authorvaibhav.jain1 <vaibhav.jain1@amdocs.com>
Thu, 31 Aug 2017 11:46:54 +0000 (17:16 +0530)
committervaibhav.jain1 <vaibhav.jain1@amdocs.com>
Wed, 6 Sep 2017 06:57:01 +0000 (12:27 +0530)
commitcf70dde69807ca143fc360cf572b2d6bf887010f
tree0bc386a59587887abcfc071f96bf34fdf816ddea
parent6fbbf0193e7389c80d85c205f1edd9af6ac0e431
CCSDK propagation of RequestID & PartnrName to AAI

Currently, CCSDK generates a random uuid for every request to AAI using
method getNextTransactionId() in class AAIService.java. A change is made
to first get the RequestId value from MDC and if this is missing, a new
RequestId is generated and set as MDC.
Also, X-FromAppId is set as openECOMP which is very much generic. This
has been changed to CCSDK in file aaiclient.properties

Change-Id: Id269de708919de9dbabd019785e22afa0561abba
Issue-ID: SDNC-68
Signed-off-by: vaibhav.jain1 <vaibhav.jain1@amdocs.com>
aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIService.java
aai-service/provider/src/test/resources/aaiclient.properties