Building Foresight REST API Engine for Docker Images
This step builds the Foresight Instream/Translator engine that the Foresight REST API Docker image will use. Building the REST API engine requires that the customer's licensed versions of Foresight Instream (Standard or Healthcare) and/or Foresight Translator be installed on the machine where the Foresight REST API Docker image is to be built.
The Foresight REST API engine must be built (or rebuilt) when:
-
Foresight REST API is first installed on a machine.
-
An update or hot fix to Foresight Instream and/or Foresight Translator is released and installed on the machine where the Foresight REST API Docker image is being built.
-
For Healthcare customers, whenever an update to the code tables or guidelines is released and installed on the machine where the Foresight REST API Docker image is being built.
Perform the following steps to build the Foresight REST API Engine:
-
Download
TIB_fsrest_1.0.3.tar.gz
file from the TIBCO eDelivery site, and extract the file contents to a folder. To download the installation package, you require a user name and password. In case you do not have it, contact TIBCO Technical Support. -
For new Foresight REST API installations, or if the Instream and/or Translator installations have been removed, first install TIBCO Instream (either Standard or Healthcare version) and/or TIBCO Translator.
Update Instream and/or Translator with any updates or hot fixes, or for healthcare customers, apply any code table or guideline updates.
-
Navigate to the <folder>/fsrest-<version>/scripts folder
-
Run the following command:
./build-fsrest-engine.sh
-
Follow the prompts, entering the locations where Instream and Translator are installed. If one of these packages was not installed on the system, enter 'none' for its location. Upon entry of the Instream/Translator locations, the script will display a screen to approve the engine build:
Confirming components to be used to build FSRest Instream/Translator Engine: Instream source directory = 'InstreamPath' Translator source directory = 'TranslatorPath' Proceed to build FSRest engine (y/n/q)? Enter 'y' to build the FSRest Instream/Translator engine, 'n' to make changes to the Instream and/or Translator locations, 'q' to exit the script