Baton integration

59.4.6.3 Etere.WF.Baton.exe

The integration between Etere and Baton is based on the Etere.WF.Baton.exe executable, which allow performing custom verifications against files stored in Etere. The executable has the following implemented parameters:
Etere.WF.Baton.exe -cfgfile:<val1> [-url:<val2> -tp:<val3> -mf:<val4> -cl:<val5> -lf:<val6> -ipc:<val7> -pr:<val8> -rppdf:<val9> -rpxml:val10> ]

Available parameters
cfgfile - The configuration file from which parameters will be retrieved. The configuration file is mandatory and can contain the following parameters:

BatonWSURL (mandatory) - URL on which the Baton web services are available (i.e. where test plans and tasks status are managed); it must be specified in the following format: http://username:password@BatonServer:port/Baton
For instance: http://user:user@w7baton:8080/Baton
MediaFile (mandatory) - Full URL path to the media file to be verified
TestPlan (mandatory) - The Baton test plan is to be used to verify the media file
Checkers (mandatory/optional) - List the indexes of baton checkers to verify the media file. Indexes must be comma-separated. For instance: 1,2
NB: Checkers are mandatory for the Baton enterprise edition but optional for Baton standard.
WSTimeout - Maximum timeout for the communication with Baton's web service.
This value is expressed in ms (default is 60000)
DataMoverLogFile (optional) - Etere log file
IPCHandle (optional) - IPC window handle (if not 0 IPC will be used)
ReportPDFPath (optional) - PDF report file including path (if not present report will not be saved)
ReportXMLPath (optional) - XML report file including path (if not present report will not be saved)
ProgressRefresh (optional) - IPC status refresh period in ms (default is 10000)

The configuration file must be structured in the following format:

Configuration file structure
[CONFIG]
BatonWSURL=http://user:user@w7baton:8080/Baton
MediaFile=\\massimow8\VideoIn1\1010.mxf
TestPlan=HDMXF Test Plan
;MediaFile=\\massimow8\VideoIn1\1009.mxf
;TestPlan=SD-testplan
Checkers=1,2
DataMoverLogFile=c:\Etere\Etere.WF.Baton.DM.log
IPCHandle=
ReportPDFPath=c:\Etere\Reports\PDF
ReportXMLPath=c:\Etere\Reports\XML
ProgressRefresh=1000

Command line parameters
URL - If included, overrides BatonWSURL of configuration file
TP - If included, overrides TestPlan of configuration file
MF - If included, overrides MediaFile of configuration file
CL - If included, overrides Checkers of configuration file
LF - If included, overrides DataMoverLogFile of configuration file
IPC - If included, overrides IPCHandle of configuration file
PR - If included, overrides ProgressRefresh of configuration file
RPPDF - If included, overrides ReportPDFPath of configuration file
RPXML - If included, overrides ReportXMLPath of configuration file
WSTO - If included, overrides WSTimeout of configuration file

Here below is illustrated an example on the command used for the integration with Baton:
Etere.WF.Baton.exe  -cfgfile=c:\etere\cfg.txt -url=http://user:user@w7baton:8080/Baton -tp=SD-testplan -mf=\\massimow8\VideoIn1\1010.mxf -cl=1,2 -lf=c:\etere\Etere.WF.Baton.DM.log -ipc=0 -pr=1000 -rppdf=E:\Etere\Reports\PDF -rpxml=E:\Etere\Reports\XML
Note: This executable can also be integrated with other systems able to launch console applications via T-workflow (e.g. Signiant).