Code Review
/
testsuite
/
python-testing-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e384acf
)
some components expect this field to be a uuid
53/95253/2
author
DR695H
<dr695h@att.com>
Mon, 9 Sep 2019 17:48:16 +0000
(13:48 -0400)
committer
Brian Freeman
<bf1936@att.com>
Mon, 9 Sep 2019 18:13:19 +0000
(18:13 +0000)
Issue-ID: TEST-184
Change-Id: Ifaeabcc6608ce94762774679121d664b200caec0
Signed-off-by: DR695H <dr695h@att.com>
robotframework-onap/ONAPLibrary/RequestsHelper.py
patch
|
blob
|
history
diff --git
a/robotframework-onap/ONAPLibrary/RequestsHelper.py
b/robotframework-onap/ONAPLibrary/RequestsHelper.py
index
ec0ef2d
..
6e206ec
100644
(file)
--- 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: