In this section: |
This sections describes the workflow and batch operations tasks.
The following Workflow tasks are an addition to the Workflow component. These tasks are responsible mainly for NME server orchestration.
Running NME Load
<executable class="com.ataccama.nme.ext.workflow.RunNmeBatchLoad"> <operationName>full_load_s2_par</operationName> <parameters> <p name="etc_pv" value="${etcFolder}" /> </parameters> </executable>
where:
Is the ID of the operation to be invoked (constant). The workflow fails to load if the operation is not known.
Running Multiple NME Loads (MultiLoad)
<executable class="com.ataccama.nme.ext.workflow.RunNmeMultiLoad"> <operationNames>delta_load,full_load_s2</operationNames> <parameters/> </executable>
where:
Is the ID of the operation to be invoked (constant). The workflow fails to load if the operation is not known.
Running NME Export
<executable class="com.ataccama.nme.ext.workflow.RunNmeBatchExport"> <operationName>out</operationName> <parameters/> </executable>
where:
Is the comma-separated list of operation IDs to be invoked (semi-expression). The workflow fails at runtime if any of the operations are unknown. Trailing space is allowed (operation names are trimmed), and empty operation names are discarded. If the expression evaluates to an empty list, the task succeeds as usual.
The parameters are a list of name (constant) or value (semi-expression) pairs that are passed to batch operations. These can be used as component parameters, path variable definitions, or elements in more complex parameter definitions.
<parameters> <p name="etc_pv" value="${etcFolder}" /> <p name="parameter" value="${paramValue}" /> <p name="referenceTransactionId" value="${ref_tid}" /> <p name="string_constant" value="\'INCR\'" /> <p name="integer_constant" value="1" /> </parameters>
The referenceTransactionId parameter can be used only in export. It enables you to start exports from a particular Transaction ID.
The lookup refresh task reloads the virtual file system for lookups (lookup refresh), including service restart. This task has no parameters nor output variables.
<executable class="com.ataccama.adt.dqc.tasks.EwfReloadVfsTask"> </executable>
It works exactly in the same way as the online server.
iWay Software |