Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

MC2 EJM has own task reporter stream: eagle_ml-2-0_default_cm_ejm_reporter.

To be more flexible MC2 task reporter supports some special task parameters:

CreateConsolidatedTSR Parameter.

The parameter is used to make a summary in TSR based on all involved streams or processes.

Possible values are Y/N. Y to create consolidated report, otherwise usual report.

TSRConsolidateMode Parameter.

The parameter is used  with CreateConsolidatedTSR parameter and selects stream files or processes will be used to build summary.

The “FILES” value is default and is used to build summary based on streams files. This method is usefull for load processes.

The “PROCESSES” value is used to build summary based on EJM processes or tasks. This method is useful for EJM workflows in common (E.g. extract workflow).

TSRReportMode Parameter.

The parameter gives ability for tsr customization. Current version supports customization for extract workflows only.

To enable extract customization the parameter value should be “EXTRACT”.  TSRReportMode=EXTRACT.

In that case the MC2 task reporter get files from ResultFrom parameter of main process(can be set using setParam shape in IWS) and populate them into extractFileName field in TSR message.

If CreateConsolidatedTSR parameter has value “Y” , the task reporter will build tsr based on ejm processes if the TSRConsolidateMode parameter is not set.

 

= EXTRACT – special parameter for TSR, MC2 task reporter will add extractFileName  value to TSR in case the param equals to EXTRACT. 

 

ResultFrom=TASK_eagle_ml20_default_cm_file_distribution  -used to populate result file name(s) in final TSR. The result files will be taken from distribution step.

TSRReportMode= EXTRACT – special parameter for TSR, MC2 task reporter will add extractFileName  value to TSR in case the param equals to EXTRACT. 

WRFStatusMode=DATA –special parameter for workflow, changes status calculation logic. If equals to DATA, we calculate status based on result data. If we have any errors in main process status will be FAILED. If we have errors on Result tasks(for generic extract workflow result task is distribution task) status will be failed. If there are no files, status will be NO_DATA, otherwise SUCCESS. 

If the parameter not equals to DATA, status will be FAILED if some errors occurs in main process, otherwise will be SUCCESS.

  • No labels