Local File System Interface

The Local File System interface type enables processing files from a local directory in a specific Fabric server.

A Local File System interface can be used when creating an Interface Listener for a Broadway flow. The directory can be either Windows or Linux.

To create a new interface, do the following:

  1. Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select Local File System from the Interface Type dropdown menu to open the New Interface window.

    image

  2. Populate the connection's settings and click Save.

Connection Settings

 Parameter  Description
 Working Directory  Directory where the files are stored - Windows or Linux.
 Files filter Filters files.
 Affinity Affinity (Optional) populate this parameter with the IP address of a Fabric node, DC name, or logical identifier for Fabric nodes.

Example of Using a Local File System Interface

To create an Interface Listener Job in a Local File System interface, do the following:

  1. Create an interface using a Local File System interface type.

  2. Click the Add interface listener as Broadway job link in the Interface window and select the Logical Unit from the list to open the Jobs window.

  3. Create a Broadway flow either under Shared Objects or under the same Logical Unit. The flow reads data from a file using the predefined interface and populates it into the DB.

    images

    • Note that the interface and the path input arguments of the FileRead Actor are defined as an External link type. Their values are passed from the defined interface by the Listener.
  4. In the Jobs window, select the Broadway flow and Execution mode and then save the job.

    images

  5. Deploy the LU to activate the Listener.

Previous

Local File System Interface

The Local File System interface type enables processing files from a local directory in a specific Fabric server.

A Local File System interface can be used when creating an Interface Listener for a Broadway flow. The directory can be either Windows or Linux.

To create a new interface, do the following:

  1. Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select Local File System from the Interface Type dropdown menu to open the New Interface window.

    image

  2. Populate the connection's settings and click Save.

Connection Settings

 Parameter  Description
 Working Directory  Directory where the files are stored - Windows or Linux.
 Files filter Filters files.
 Affinity Affinity (Optional) populate this parameter with the IP address of a Fabric node, DC name, or logical identifier for Fabric nodes.

Example of Using a Local File System Interface

To create an Interface Listener Job in a Local File System interface, do the following:

  1. Create an interface using a Local File System interface type.

  2. Click the Add interface listener as Broadway job link in the Interface window and select the Logical Unit from the list to open the Jobs window.

  3. Create a Broadway flow either under Shared Objects or under the same Logical Unit. The flow reads data from a file using the predefined interface and populates it into the DB.

    images

    • Note that the interface and the path input arguments of the FileRead Actor are defined as an External link type. Their values are passed from the defined interface by the Listener.
  4. In the Jobs window, select the Broadway flow and Execution mode and then save the job.

    images

  5. Deploy the LU to activate the Listener.

Previous