Supporting several input formats

If you process data from different source systems, which typically means that you have different data formats, you must configure and customize the ITE application, so it knows how to handle the different formats. You provide for each data format a file reader composite operator. All file reader composite operators produce the same output format.

Before you begin

Prepare for each input format the file reader composite operator as described in “Preparing for an input format”.

Procedure

  1. File type determination

    Determine the file type by either evaluating the file name, the file path, or the file content.

    1. Set the ite.ingest.customFileTypeValidator parameter to on, which activates the <namespace>.fileingestion.custom::FileTypeValidator composite operator.
    2. Adapt the <namespace>.fileingestion.custom::FileTypeValidator composite operator. For further information about the optional and mandatory modifications, see the composite operator description in Customizing the ITE application and the instructions in the composite operator code.

  2. Routing

    Add for each input format a value to the ite.ingest.reader.parserList parameter. A value consists of an ID and a composite operator name that are separated with a pipe character (|). The ID must fit to the ID that you implemented in the <namespace>.fileingestion.custom::FileTypeValidator composite operator for this format. The composite operator is the name of the file reader composite operator that reads and parses files of this format.