Generating DataSource field definitions

The TREP Adapter comes with a demonstration Reuters fields file, fields-reuters.conf; however, this file should be updated with the fields from your local TREP installation.

The TREP Adapter can now be used to generate the Reuters fields file. If the configuration item field-file-location is set, then when the TREP Adapter is started it writes the fields that it reads from the TREP dictionary to the file specified by field-file-location.

It is recommended you set field-file-location to keep the fields file up to date with your TREP installation.

Whenever TREP is upgraded, follow the steps below:

  1. Stop the Deployment Framework on all servers

  2. Uncomment the field-file-location configuration item in the TREP Adapter overrides on all servers (for consistency).

  3. Start and stop the the TREP Adapter on the appropriate server.

  4. Comment the field-file-location configuration item in the TREP Adapter overrides on all servers (for consistency).

  5. Copy the new Reuters fields file from the TREP server overrides folder to the equivalent location on all Deployment Framework servers.

  6. Start the Deployment Framework on all servers.

Stopping and starting the Deployment Framework is required so that the Liberator and Transformer will pick up the new fields file.

See also: