Aspera Central Watcher Plugin



This plugin provide the ability to sense the initiation or completion of a transfer on an Aspera server.

Saved Parameters Description

Details:

Trigger Types: Sets the event for Trigger Initiation. The default instantiation is on Session.

Details:

'Trigger On Session' - Trigger is initiated for every new session.

'Trigger On Files' - Triggers on all the new files from the previous delta. New trigger is initiated on the new files created after initial trigger.

'Trigger On Single File' - New Trigger is created on every single file.

Inputs Description

In most cases, all the inputs are optional. The exception being when the node to be monitored is not defined (no nodes selected, no address provided). In that case the input central node can be used to specify either the ip address or the name of the remote node. Another possibility is to select __RUNTIME__ as a central node in the template and then set the monitored_node input.

Outputs Description

Supported Actions

Dependencies

None

Operating Instructions

Note: WSDL found at aperacentral:40001/console/services/soap/FASPSession.wsdl can not be used as is. It assumes webservice calls to be local and thus would not work if orchestrator is running on a different machine than the enterprise server. - use the orchestrator wsdl generator - save a local copy of the wsdl and edit the IP address to reflect the address at which the Enterprise Server is actually found.
Note: This works for Enterprise Server, Connect Server, Faspex Server and Point to Point as they all use Aspera Central to expose their statuses.
Note: Reliable API must be enabled on the Aspera Server being polled, and the IP address polling needs to be enabled as shown below:
<central_server>  
    <address>0.0.0.0</address>
    <port>40001</port>
    <persistent_store>enable</persistent_store>
</central_server>
Note: If you are using async, in the default section of the aspera.conf file, the below tag must be specified for async activity to be reported to Aspera Central.

Example for File Filter and Session Filter:

If ACW needs to be setup to find files only from the folder "/tmp/server1/" then the File Filter can be set as follows.

File Filter Pattern : ^/tmp/server1/.*

Similarly, if even 1 file from the list of the files present in the session contains hdfs//, then we can apply the session filter as (^hdfs//.*) and filter out the entire session.