Upgrading the TREP Adapter

This topic describes how to upgrade the TREP Adapter.

Upgrading the adapter

To upgrade the TREP Adapter using the Caplin Deployment Framework, follow the instructions below:

  1. Copy the new TREP Adapter installation kit to the Deployment Framework’s kits directory

  2. From the root directory of your Deployment Framework, run the command below to deploy the new adapter over the old adapter:

    ./dfw deploy TREPAdapter
  3. Manually update the configuration override files in the Deployment Framework’s global_config/overrides/TREPAdapter/etc directory with any configuration changes introduced by the new version of the adapter.

    To determine if the override files in a new release of the TREP Adapter have changed compared to the override files in a previous release, extract the installation kits for both adapter versions and use the Linux diff command to compare their respective overrides/TREPAdapter directories.

    Example: determining changes between 7.0.2 and 7.1.0
    $ unzip CPB_TREPAdapter-7.0.2-309879-x86_64-pc-linux-EL6-gnu.tar.gz
    $ unzip CPB_TREPAdapter-7.1.0-311422-x86_64-pc-linux-EL6-gnu.tar.gz
    $ diff -ur CPB_TREPAdapter-7.0.2-309879/overrides/TREPAdapter CPB_TREPAdapter-7.1.0-311422/overrides/TREPAdapter
  4. Follow the instructions in Generating DataSource field definitions to update the fields-reuters.conf file with field definitions for Reuters fields.


See also: