diff options
author | DR695H <dr695h@att.com> | 2019-09-09 13:48:16 -0400 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-09-09 18:13:19 +0000 |
commit | a219ba9f57a34bca05d15762fd0f2b96cfc4ce85 (patch) | |
tree | 7dcbc6c9bacf79e067f4db44f11b9eebf1fd8d9b | |
parent | e384acfeca8b6a50ca5c75f9bba1dfffb5e6c8d4 (diff) |
some components expect this field to be a uuid
Issue-ID: TEST-184
Change-Id: Ifaeabcc6608ce94762774679121d664b200caec0
Signed-off-by: DR695H <dr695h@att.com>
-rw-r--r-- | robotframework-onap/ONAPLibrary/RequestsHelper.py | 3 |
1 files changed, 1 insertions, 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: |