Inline Validation Using Orchestrator |
{'size' => "1048576000", 'end_byte' => "1048576000", 'file_csum_type' => "none", 'session_id' => "ab658c6e-648f-4249-abe9-d5c3801ef534", 'target_rate_kbps' => "10000", 'cipher' => "aes-128", 'file_name_encoding' => "utf16", 'min_rate_kbps' => "0", 'startstop' => "running", 'user_id' => "0", 'client_ip' => "50.19.236.72", 'host' => "66.211.109.190", 'rate_policy' => "fair", 'file' => "/LargeFiles/Washington U", 'user' => "aspera-nyc", 'direction' => "recv", 'start_byte' => "0"}
In the example above, the file key is used for processing, and the startstop key is used to route your workflow.
https://localhost/aspera/orchestrator/external_calls/validate/35?user=admin&password=admin
<name>faspex</name>
<transfer> <validation_uri>https://localhost/aspera/orchestrator/external_calls/validate/35?user=admin&password=admin </validation_uri> <validation_threshold_kb>1000</validation_threshold_kb> </transfer>
The value for <validate_uri> is the URL obtained in Step 2.
<session_timeout_sec>60</session_timeout_sec>The value between the <session_timeout_sec> tags can be increased as needed.
<user> <session_timeout_sec>60</session_timeout_sec> <name>faspex</name> <transfer> <validation_uri> https://localhost/aspera/orchestrator/external_calls/validate/35?user=admin&password=admin </validation_uri> <validation_threshold_kb>1000</validation_threshold_kb> </transfer> </user>