added status detail
This commit is contained in:
parent
5dc12d6c23
commit
c7efd21093
@ -9,6 +9,7 @@ def dataTemplate(transactionType,**kwargs):
|
|||||||
"duration": kwargs.get('duration'),
|
"duration": kwargs.get('duration'),
|
||||||
"file": {
|
"file": {
|
||||||
"created_time": kwargs.get('time'),
|
"created_time": kwargs.get('time'),
|
||||||
|
"uid": kwargs.get('file_uid'),
|
||||||
"size": kwargs.get('file_size'),
|
"size": kwargs.get('file_size'),
|
||||||
"name": kwargs.get('file_name'),
|
"name": kwargs.get('file_name'),
|
||||||
"path": kwargs.get('file_path')
|
"path": kwargs.get('file_path')
|
||||||
|
@ -13,6 +13,7 @@ def processData(data, template, **kwargs):
|
|||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
processedData.append(template(identifyUtype(row.get('Command')),\
|
processedData.append(template(identifyUtype(row.get('Command')),\
|
||||||
|
status_detail='',\
|
||||||
prd_ext_tenant_id=kwargs.get('prd_ext_tenant_id'),\
|
prd_ext_tenant_id=kwargs.get('prd_ext_tenant_id'),\
|
||||||
status_code=row.get('ResultID'),\
|
status_code=row.get('ResultID'),\
|
||||||
file_size=row.get('FileSize'),\
|
file_size=row.get('FileSize'),\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user