From a219ba9f57a34bca05d15762fd0f2b96cfc4ce85 Mon Sep 17 00:00:00 2001 From: DR695H Date: Mon, 9 Sep 2019 13:48:16 -0400 Subject: some components expect this field to be a uuid Issue-ID: TEST-184 Change-Id: Ifaeabcc6608ce94762774679121d664b200caec0 Signed-off-by: DR695H --- robotframework-onap/ONAPLibrary/RequestsHelper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/robotframework-onap/ONAPLibrary/RequestsHelper.py b/robotframework-onap/ONAPLibrary/RequestsHelper.py index ec0ef2d..6e206ec 100644 --- a/robotframework-onap/ONAPLibrary/RequestsHelper.py +++ b/robotframework-onap/ONAPLibrary/RequestsHelper.py @@ -75,11 +75,10 @@ class RequestsHelper(object): def _create_headers(self, sdc_user_id=None, accept="application/json", content_type="application/json", md5=None): """Create the headers that are used by onap""" - uuid = self.uuid.generate_uuid4() headers = { "Accept": accept, "Content-Type": content_type, - "X-TransactionId": self.application_id + "-" + uuid, + "X-TransactionId": self.uuid.generate_uuid4(), "X-FromAppId": self.application_id } if sdc_user_id is not None: -- cgit 1.2.3-korg