1. Updated jira issue receiver due to change the jira policy.
2. Received as file parameter.
Change-Id: I77274efd568a011376b93bf023d752997ad30b06
-
-
# load received data
if CONFIG['BASE']['location'] != 'internal':
- trbs_data = os.getenv('TRBS_DATA').replace(' ', '+')
+ trbs_data = os.getenv('file0')
if trbs_data:
- RAW = unicode_to_str(json.loads(base64.b64decode(trbs_data)))
+ f = open( 'file0', 'r')
+ RAW = unicode_to_str(json.loads(f.read()))
+ f.close()
+
else:
sys.exit( "[Error] TRBS_DATA is empty!\n" )