2.1 Configuring PGX Interpreter for Investigation Toolkit
To configure PGX interpreter:
- 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>.
- To extract the downloaded .zip files, execute the following command.
unzip OFS_FCCIH_<Version>.zip
- Navigate to the
<INVESTIGATION_TOOLKIT_INSTALLATION_PATH>/bin
directory. - Open the config.sh file.
- 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
- Save the file.
- 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.
- If an older jar needs to be restored, follow these steps:
- 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. - Restart Compliance Studio.
- Replace the
- Restart Compliance Studio.