Skip to content

Commit

Permalink
Update Inbound Email Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed Sep 10, 2024
1 parent 964f60e commit 7f4b035
Show file tree
Hide file tree
Showing 7 changed files with 286 additions and 180 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_data_source">
<sys_data_source action="DELETE">
<batch_size>1000</batch_size>
<category/>
<connection_override_last_success_time/>
<connection_timeout>0</connection_timeout>
<connection_url>attachment://sys_data_source:9c0b1ca9c368d2106355351d0501319a/passwords.xls</connection_url>
<connection_url_parameters/>
<csv_delimiter/>
<data_in_single_column>false</data_in_single_column>
<data_loader><![CDATA[(function loadData(import_set_table, data_source, import_log, last_success_import_time, partition_info) {
// Add your code here to insert data to import_set_table
})(import_set_table, data_source, import_log, last_success_import_time, partition_info);]]></data_loader>
<database_name/>
<database_port/>
<discard_arrays>true</discard_arrays>
<enable_parallel_loading>false</enable_parallel_loading>
<expand_node_children>false</expand_node_children>
<file_path>passwords.xls</file_path>
<file_retrieval_method>Attachment</file_retrieval_method>
<format>Excel</format>
<glide_keystore>false</glide_keystore>
<header_row>1</header_row>
<import_set_table_label/>
<import_set_table_name>x_cdltd_contractsy_password_import_file_2</import_set_table_name>
<instance_name/>
<jdbc_password/>
<jdbc_server/>
<jdbc_user_name/>
<jpath_root_node/>
<last_run_database_field/>
<last_run_datetime/>
<last_success_import_time/>
<ldap_target/>
<ldapprobe_result_set_rows>200</ldapprobe_result_set_rows>
<limit/>
<maximum_rows/>
<mid_server/>
<name>passwords.xls (Uploaded)</name>
<offset>0</offset>
<oracle_port>1521</oracle_port>
<oracle_sid>orcl</oracle_sid>
<parallel_loading_script><![CDATA[(function loadTasks(parallel_job_loader, data_source, import_log, last_success_import_time) {
// Invoke third party API, create partitions and insert partitions info in parallel job table
})(parallel_job_loader, data_source, import_log, last_success_import_time);]]></parallel_loading_script>
<parsing_script><![CDATA[// The input value can be accessed through the variables named "line", "lineNumber" and "result"// The function uses result variable to return parse result back. (function(line,lineNumber,result) { // add code here})(line,lineNumber,result);]]></parsing_script>
<properties/>
<query>All Rows from Table</query>
<query_timeout>0</query_timeout>
<request_action/>
<scp_authentication>Username and Password</scp_authentication>
<scp_password/>
<scp_port/>
<scp_server/>
<scp_user_name/>
<sheet_name>1</sheet_name>
<sheet_number>1</sheet_number>
<sql_statement/>
<ssh_keyfile_path/>
<support_pagination>false</support_pagination>
<sys_class_name>sys_data_source</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-09-09 14:59:06</sys_created_on>
<sys_id>9c0b1ca9c368d2106355351d0501319a</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_name>passwords.xls (Uploaded)</sys_name>
<sys_package display_value="ContractSync" source="x_cdltd_contractsy">59295f459fb302107f4489554524abd8</sys_package>
<sys_policy/>
<sys_scope display_value="ContractSync">59295f459fb302107f4489554524abd8</sys_scope>
<sys_update_name>sys_data_source_9c0b1ca9c368d2106355351d0501319a</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-09-09 14:59:08</sys_updated_on>
<table_name/>
<type>File</type>
<use_batch_import>false</use_batch_import>
<use_integrated_authentication>false</use_integrated_authentication>
<use_last_run_datetime>false</use_last_run_datetime>
<xpath_root_node/>
<zipped>false</zipped>
</sys_data_source>
<sys_update_version action="INSERT_OR_UPDATE">
<action>DELETE</action>
<application display_value="ContractSync">59295f459fb302107f4489554524abd8</application>
<file_path/>
<instance_id>384aedd4db393dd0199b17291396199b</instance_id>
<instance_name>dev182233</instance_name>
<name>sys_data_source_9c0b1ca9c368d2106355351d0501319a</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="sys_data_source"&gt;&lt;sys_data_source action="INSERT_OR_UPDATE"&gt;&lt;batch_size&gt;1000&lt;/batch_size&gt;&lt;category/&gt;&lt;connection_override_last_success_time/&gt;&lt;connection_timeout&gt;0&lt;/connection_timeout&gt;&lt;connection_url&gt;attachment://sys_data_source:9c0b1ca9c368d2106355351d0501319a/passwords.xls&lt;/connection_url&gt;&lt;connection_url_parameters/&gt;&lt;csv_delimiter/&gt;&lt;data_in_single_column&gt;false&lt;/data_in_single_column&gt;&lt;data_loader&gt;&lt;![CDATA[(function loadData(import_set_table, data_source, import_log, last_success_import_time, partition_info) {

// Add your code here to insert data to import_set_table

})(import_set_table, data_source, import_log, last_success_import_time, partition_info);]]&gt;&lt;/data_loader&gt;&lt;database_name/&gt;&lt;database_port/&gt;&lt;discard_arrays&gt;true&lt;/discard_arrays&gt;&lt;enable_parallel_loading&gt;false&lt;/enable_parallel_loading&gt;&lt;expand_node_children&gt;false&lt;/expand_node_children&gt;&lt;file_path&gt;passwords.xls&lt;/file_path&gt;&lt;file_retrieval_method&gt;Attachment&lt;/file_retrieval_method&gt;&lt;format&gt;Excel&lt;/format&gt;&lt;glide_keystore&gt;false&lt;/glide_keystore&gt;&lt;header_row&gt;1&lt;/header_row&gt;&lt;import_set_table_label/&gt;&lt;import_set_table_name&gt;x_cdltd_contractsy_password_import_file_2&lt;/import_set_table_name&gt;&lt;instance_name/&gt;&lt;jdbc_password/&gt;&lt;jdbc_server/&gt;&lt;jdbc_user_name/&gt;&lt;jpath_root_node/&gt;&lt;last_run_database_field/&gt;&lt;last_run_datetime/&gt;&lt;last_success_import_time/&gt;&lt;ldap_target/&gt;&lt;ldapprobe_result_set_rows&gt;200&lt;/ldapprobe_result_set_rows&gt;&lt;limit/&gt;&lt;maximum_rows/&gt;&lt;mid_server/&gt;&lt;name&gt;passwords.xls (Uploaded)&lt;/name&gt;&lt;offset&gt;0&lt;/offset&gt;&lt;oracle_port&gt;1521&lt;/oracle_port&gt;&lt;oracle_sid&gt;orcl&lt;/oracle_sid&gt;&lt;parallel_loading_script&gt;&lt;![CDATA[(function loadTasks(parallel_job_loader, data_source, import_log, last_success_import_time) {

// Invoke third party API, create partitions and insert partitions info in parallel job table

})(parallel_job_loader, data_source, import_log, last_success_import_time);]]&gt;&lt;/parallel_loading_script&gt;&lt;parsing_script&gt;&lt;![CDATA[// The input value can be accessed through the variables named "line", "lineNumber" and "result"// The function uses result variable to return parse result back. (function(line,lineNumber,result) { // add code here})(line,lineNumber,result);]]&gt;&lt;/parsing_script&gt;&lt;properties/&gt;&lt;query&gt;All Rows from Table&lt;/query&gt;&lt;query_timeout&gt;0&lt;/query_timeout&gt;&lt;request_action/&gt;&lt;scp_authentication&gt;Username and Password&lt;/scp_authentication&gt;&lt;scp_password/&gt;&lt;scp_port/&gt;&lt;scp_server/&gt;&lt;scp_user_name/&gt;&lt;sheet_name&gt;1&lt;/sheet_name&gt;&lt;sheet_number&gt;1&lt;/sheet_number&gt;&lt;sql_statement/&gt;&lt;ssh_keyfile_path/&gt;&lt;support_pagination&gt;false&lt;/support_pagination&gt;&lt;sys_class_name&gt;sys_data_source&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2024-09-09 14:59:06&lt;/sys_created_on&gt;&lt;sys_id&gt;9c0b1ca9c368d2106355351d0501319a&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;passwords.xls (Uploaded)&lt;/sys_name&gt;&lt;sys_package display_value="ContractSync" source="x_cdltd_contractsy"&gt;59295f459fb302107f4489554524abd8&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="ContractSync"&gt;59295f459fb302107f4489554524abd8&lt;/sys_scope&gt;&lt;sys_update_name&gt;sys_data_source_9c0b1ca9c368d2106355351d0501319a&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2024-09-09 14:59:08&lt;/sys_updated_on&gt;&lt;table_name/&gt;&lt;type&gt;File&lt;/type&gt;&lt;use_batch_import&gt;false&lt;/use_batch_import&gt;&lt;use_integrated_authentication&gt;false&lt;/use_integrated_authentication&gt;&lt;use_last_run_datetime&gt;false&lt;/use_last_run_datetime&gt;&lt;xpath_root_node/&gt;&lt;zipped&gt;false&lt;/zipped&gt;&lt;/sys_data_source&gt;&lt;/record_update&gt;</payload>
<payload_hash>1601627074</payload_hash>
<record_name>passwords.xls (Uploaded)</record_name>
<reverted_from/>
<source>29596490c36012106355351d05013167</source>
<source_table>sys_update_set</source_table>
<state>previous</state>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-09-09 14:59:08</sys_created_on>
<sys_id>f40b90e9c368d2106355351d0501315d</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>191d74bb4410000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-09-09 14:59:08</sys_updated_on>
<type>Data Source</type>
<update_guid>bc0b90e99f68d210afc4a9d66aec3d5c</update_guid>
<update_guid_history>bc0b90e99f68d210afc4a9d66aec3d5c:1601627074,340b90e9e468d210e135efc1b9fcaa5b:-1262437311</update_guid_history>
</sys_update_version>
<sys_metadata_delete action="INSERT_OR_UPDATE">
<sys_audit_delete/>
<sys_class_name>sys_metadata_delete</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-09-10 07:33:58</sys_created_on>
<sys_db_object display_value="" name="sys_data_source">sys_data_source</sys_db_object>
<sys_id>3a68a8847d24427d9ab8a987bbd43549</sys_id>
<sys_metadata>9c0b1ca9c368d2106355351d0501319a</sys_metadata>
<sys_mod_count>0</sys_mod_count>
<sys_name>passwords.xls (Uploaded)</sys_name>
<sys_package display_value="ContractSync" source="x_cdltd_contractsy">59295f459fb302107f4489554524abd8</sys_package>
<sys_parent/>
<sys_policy/>
<sys_scope display_value="ContractSync">59295f459fb302107f4489554524abd8</sys_scope>
<sys_scope_delete display_value="">0f884f882080471e972317895cfe61a4</sys_scope_delete>
<sys_update_name>sys_data_source_9c0b1ca9c368d2106355351d0501319a</sys_update_name>
<sys_update_version display_value="sys_data_source_9c0b1ca9c368d2106355351d0501319a">f40b90e9c368d2106355351d0501315d</sys_update_version>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-09-10 07:33:58</sys_updated_on>
</sys_metadata_delete>
</record_update>
Loading

0 comments on commit 7f4b035

Please sign in to comment.