...
To upload your data file into this folder you can use helper stream eagle_ml-2-0_default_cm_data_load_cmw_in in Automation Center:
Message Center stream, which processes RTR messages is
Now we need to tell Message Center to start processing this file.
You can use same send data feature, but now for the eagle_ml-2-0_default_cm_control_message
To upload your CSV data file to a region, you can use the "eagle_ml-2-0_default_cm_data_load_cmw_in" stream.
Follow these steps:
...
stream
The content of the RTR message should look like this:
Code Block | ||||
---|---|---|---|---|
| ||||
<EagleML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequestSync" xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0" eaglemlVersion="2-0" xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" eaglemlType="RunTaskRequest"> <header> <messageId>5EDA26591AB784</messageId> <sentBy>http://www.client.com/eagleadmin</sentBy> <sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_cm_ |
...
Select your file in dialog window and click send. And after those actions your file will be uploaded on the region.
Warning |
---|
Run the Load process for XML only from IWS. Do not start it from Message Center! |
...
You can set the parameters of load process.
Fancy Bullets |
---|
Delivery method – where is your data file: |
...
control_message</sendTo>
<replyTo>http://www.client.com/Eagle Control Messages</replyTo>
<creationTimestamp>2020-07-06T11:43:08-04:00</creationTimestamp>
</header>
<taskIdentifier>
<correlationId correlationIdScheme="correlationIdScheme">5EDA26591AB784a</correlationId>
<businessTaskId correlationIdScheme="businessTaskIdScheme">5EDA26591AB784a</businessTaskId>
</taskIdentifier>
<taskTypeEnum>NEW</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>testvendor_feed_1_raw_data</value>
</taskParameter>
<taskParameter>
<name>WorkflowData</name>
<dataType>S</dataType>
<value>example_buildingtable.csv</value>
</taskParameter>
</taskParameters>
</EagleML> |
The name of the data file should be specified in the WorkflowData element.
Warning |
---|
Please make sure that correlationId value is unique. Messages with correlation Ids which already exist in the system will be rejected. |