Change-Id: I351b8b0907411107f3dca4b29679a8b5c8dcf26e
Issue-ID: VFC-1322
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
def process_request(self, request):
# Fetch TRANSACTIONID Id and pass to plugin server
def process_request(self, request):
# Fetch TRANSACTIONID Id and pass to plugin server
- ReqeustID = request.META.get("HTTP_X_TRANSACTIONID", None)
+ ReqeustID = request.META.get("HTTP_X_ONAP-RequestID", None)
if ReqeustID is None:
ReqeustID = uuid.uuid3(uuid.NAMESPACE_URL, SERVICE_NAME)
if ReqeustID is None:
ReqeustID = uuid.uuid3(uuid.NAMESPACE_URL, SERVICE_NAME)
- request.META["HTTP_X_TRANSACTIONID"] = ReqeustID
+ request.META["HTTP_X_ONAP-RequestID"] = ReqeustID
MDC.put("requestID", ReqeustID)
# generate the unique id
InovocationID = uuid.uuid3(uuid.NAMESPACE_DNS, SERVICE_NAME)
MDC.put("requestID", ReqeustID)
# generate the unique id
InovocationID = uuid.uuid3(uuid.NAMESPACE_DNS, SERVICE_NAME)