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.

  1. Go to Project Tree > Implementation > Shared Objects, right click Interfaces, select New Interface.

  2. From the window that appears, select the interface type. Scroll down to see more interface types. You can reduce the number of interface types shown by clicking on a menu item from the Show All … Others list.

    image

  3. Enter a suitable name for your new interface, then click Create: image.

  4. Set "Active" to ON.

  5. Populate the connection's settings and click Test Connection. image

  6. Once the connection test succeeds, the interface is ready. If the connection test did not succeed, check your settings and try again.

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.
  1. In the Jobs window, select the Broadway flow and Execution mode and then save the job.

    images

  2. 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.

  1. Go to Project Tree > Implementation > Shared Objects, right click Interfaces, select New Interface.

  2. From the window that appears, select the interface type. Scroll down to see more interface types. You can reduce the number of interface types shown by clicking on a menu item from the Show All … Others list.

    image

  3. Enter a suitable name for your new interface, then click Create: image.

  4. Set "Active" to ON.

  5. Populate the connection's settings and click Test Connection. image

  6. Once the connection test succeeds, the interface is ready. If the connection test did not succeed, check your settings and try again.

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.
  1. In the Jobs window, select the Broadway flow and Execution mode and then save the job.

    images

  2. Deploy the LU to activate the Listener.

Previous