2.1 Configuring PGX Interpreter for Investigation Toolkit

To configure PGX interpreter:

  1. Obtain the zip file and extract (unzip) it on the Compliance Studio Linux Server at any path; this path is referred to as <INVESTIGATION_TOOLKIT_INSTALLATION_PATH>.
  2. To extract the downloaded .zip files, execute the following command.
    unzip OFS_FCCIH_<Version>.zip
  3. Navigate to the <INVESTIGATION_TOOLKIT_INSTALLATION_PATH>/bin directory.
  4. Open the config.sh file.
  5. Update the value of COMPLIANCE_STUDIO_INSTALLATION_PATH parameter by providing the value of the path where Compliance Studio is installed.
    Example: /scratch/user/OFS_COMPLIANCE_STUDIO
  6. Save the file.
  7. Execute install.sh file using the ./install.sh command.
    This will copy the investigation_toolkit-<version>.jar into PGX Interpreters' extralib path.
    If an older investigation_toolkit-<version>.jar is present, then the script will take a backup and update the jar.
    Console output when older jar is backed up as given below.
    bash $ ./install.sh
    [INFO] creating backup of Investigation Toolkit's library
    [INFO] Back up of Investigation Toolkit's library successful
    [INFO] Removing Investigation Toolkit's library
    [INFO] Removed Investigation Toolkit's library successfully.
    [INFO] Copying Investigation Toolkit's library
    [INFO] Copied Investigation Toolkit's library successfully.
    [INFO] Please restart Compliance Studio

    Note:

    The following statements about backup of Investigation Toolkit is applicable only after the installation:
    [INFO] Back up of Investigation Toolkit's library successful
    [INFO] Removing Investigation Toolkit's library
    [INFO] Removed Investigation Toolkit's library successfully.
  8. If an older jar needs to be restored, follow these steps:
    1. Replace the investigation_toolkit-<version>.jar in the <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-studio/interpreter-server/pgx-interpreter-<version>/extralibs directory with the backed-up jar present in the <INVESTIGATION_TOOLKIT_INSTALLATION_PATH>/backup directory.
    2. Restart Compliance Studio.
  9. Restart Compliance Studio.