Configuring the Insight Worker for a Simulation
In this section we will cover how to update the Insight Worker configuration to enable the simulation capability.
We will also describe how to configure the environment to provide the simulation engine access to your Blaze runtime and license to be able to simulate Blaze projects. For the simulation capability to be made available to your application you need to configure the path to the simulation engine Java library, and we recommend to also set the path to the Java runtime. It is important to use the same Java version as the Insight Worker. The supported Java runtimes are listed on Prerequisites.
JAVA_HOME
to a known location to reduce the risk of using an incompatible Java runtime. We have summarized these recommendations in the following configuration snippet that can be used to augment the
application.properties
file of the Insight worker:
insight.worker.execution.environment.XPRESS_INSIGHT_LIB=<path_to_rules_directory>
XPRESS_INSIGHT_LIB
Points to the location of the simulation.jar. This parameter is automatically set during the Insight 5 Worker installation.insight.worker.execution.environment.JAVA_HOME=/opt/amazon-corretto-11.jdk/bin
JAVA_HOME
points to the folder that contains a Java runtime that supports Java 11.
Once the configuration file has been updated, please restart the Insight Worker.
![]() |
Note: As an alternative to configuring the environment variables through this file, it is also possible to configure them directly in the
model_resources/ rule_client_config.json file that is part of your application. An example configuration file is provided with the Insight Python Simulation Example that is part of the distribution.
|
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.