The [data The data load IWS solution can be started by sending a Control Message to the eagle_ml-2-0_default_cm_control_message stream. In this Control Message, you can specify various required, optional, and default parameters.
NOTE:
Info | ||
---|---|---|
| ||
In the Control Message, elements <messageId>, <correlationId>, and <businessTaskId> must be unique. Resending a file with the same values in these elements will result in an error. |
The following is a sample RunTaskRequest (RTR or CM) for the data load.
Code Block | ||
---|---|---|
| ||
<EagleML xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequest" eaglemlVersion="2-0" xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" eaglemlType="RunTaskRequest"> |
...
<header> <messageId>LOAD</messageId> <sentBy>http://www.client. |
...
com</sentBy> <sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_cm_control_ |
...
message</sendTo> |
...
<replyTo>{+}http://www.client.com/Eagle+ Control |
...
Messages</replyTo> <creationTimestamp>2012-08-02T22:13:32.272-05: |
...
00</creationTimestamp> |
...
</header> |
...
<taskIdentifier> <correlationId>kEAGLE_DATA_LOAD_test_001</correlationId> |
...
<businessTaskId>EAGLE_DATA_LOAD_test_001</businessTaskId> |
...
</taskIdentifier> |
...
<taskTypeEnum>LOAD</taskTypeEnum> |
...
<taskParameters> <taskParameter> <name>StreamName</name> <dataType>S</dataType> <value>eagle_ml-2-0_default_cm_ |
...
execwkfl</value> |
...
</taskParameter> |
...
<taskParameter> <name>ActionType</name> <dataType>S</dataType> <value>EXECUTE</value> </taskParameter> <taskParameter> <name>WorkflowName</name> <dataType>S</dataType> <value>eagle_wrf_generic_load</value> </taskParameter> <taskParameter> <name>DeliveryMethod</name> <dataType>S</dataType> <value>FILE</value> </taskParameter> <taskParameter> <name>WorkflowData</name> <dataType>S</dataType> <value>EAGLE_ML_DATA_2. |
...
zip</value> |
...
</taskParameter> |
...
</taskParameters> |
...
</EagleML> |
...
Anchor | ||||
---|---|---|---|---|
|
...
Info | ||
---|---|---|
| ||
Parameter names are case-sensitive. |
The following table lists parameters that must be defined in each Control Message file used for the data load.
Parameter | Example of Value | Comments |
---|---|---|
ActionType | EXECUTE | Constant value to start all workflows. |
StreamName | eagle_ml-2-0_default_cm_execwkfl | Constant value for all extracts. The name of the message stream to which data is sent from the Control Message stream. This stream runs the workflow. |
WorkflowName | eagle_wrf_generic_load | Constant value for the load process. |
The following table lists required parameters to start the data load workflow with the WorkflowData parameter.
Parameter | Example of Value | Default Value | Comments | ||||
---|---|---|---|---|---|---|---|
WorkflowData | EAGLE_ML_DATA_2.zip |
| Name of the archive to be loaded.
|
| |||
DeliveryMethod | FILE or FTP |
| Location of the archive to be loaded, if the FILE method is specified. |
:) [Default value: cmw\in]. If the FTP method is used, the archive should be in the FTP directory that is specified by the parameter (:FTP_FILES_LOCATION |
:)[Default value: CMW/inbound]. |
The following two parameters are required to start the data load workflow with Base64 data:
Parameter | Example of Value | Comments |
---|---|---|
WorkflowData |
|
| Name of the archive to be loaded. | |
Data |
|
| Archive data in Base64 format |
Anchor | ||||
---|---|---|---|---|
|
...
Info | ||
---|---|---|
| ||
Parameter names are case-sensitive. |
The following table lists optional parameters for the data load workflow.
Parameter | Example of Value | Default Value | Comments |
---|---|---|---|
LoadSendNotification | 1 or 0 | 1 | The same logic is used for SendNotification, but this option can only be applied to extracts within the workflow. |
Anchor | ||||
---|---|---|---|---|
|
...
Info | ||
---|---|---|
| ||
Parameter names are case-sensitive. |
The following table lists default parameters for the data load workflow.
Parameter | Comments |
---|---|
SendNotification | For more details, see |
| |
ReplyDeliveryMethod |
|
ACKDeliveryMethod |
|
CustomReplyLocation |
|
CustomAckLocation |
|
...