Decision Center parameters

Set parameters to customize the behavior of Decision Center. The parameters include timeout values, upload sizes, and paths to repositories.

Context parameters

The following list shows the context parameters. You implement them through the web.xml file.

Timeout value
This parameter is used to modify the timeout value that is associated with transactions. The value is in seconds.
Table 1. Timeout context parameter
Parameter name Default value Change default value Platform
ilog.rules.decisioncenter.transaction.timeout 600 6000 Operational Decision Manager
Path to the configuration file
This parameter is used to define the path to the configuration file to use it to set up a ready-to-use Decision Center repository. If not specify, no automatic setup is provided.
Table 2. Path to the configuration file parameter
Parameter name Default value Platform
com.ibm.rules.decisioncenter.setup.configuration-file /config/decisioncenter-configuration.properties Operational Decision Manager
Path to custom configuration file
This parameter is used to define the path to the custom user configuration file to use it to set up a ready-to-use Decision Center repository. If not specified, the default Decision Center configuration file is provided for automatic setup.
Table 3. Path to custom configuration file parameter
Parameter name Default value Platform
com.ibm.rules.decisioncenter.setup.overridden-configuration-file ./config/overridden-decisioncenter-configuration.properties Operational Decision Manager
Host HTTP header protection configuration
When enabled, this parameter provides a list of trusted hosts separated by semicolons. Each host must be a valid regular expression, for example, enableHostsAllowlist=true,hosts=host1.com;*.company.com;localhost:* This parameter is also used for the logout redirect parameter. Though not recommended, you can add the scheme here, like https://ibm.com or a wildcard *ibm.com.
Table 4. Host HTTP header protection configuration parameter
Parameter name Default value Platform
com.ibm.rules.decisioncenter.TRUSTED_HOSTS_CONFIGURATION enableHostsAllow=false,hosts=ibm.com Operational Decision Manager

Other properties

The following list shows other properties.

Enforce author-approver restriction
Prevent an author from also being an approver in a change activity. When you set this property to true, an error appears when a user tries to add an approver who is already an author.
Table 5. Maximum file size property
Property name Location Default value Platform
decisioncenter.preventActivityAuthorToBeApprover WEB-INF/lib/decisioncenter-iweb-core-V.R.M.F.jar/com/ibm/rules/decisioncenter/web/core/preferences.properties false Operational Decision Manager
Maximum file size
This parameter shows the maximum file size in bytes (20 MB).
Table 6. Maximum file size property
Property name Location Default value Platform
maxUploadSize WEB-INF/spring/applicationContext.xml 20000000 Operational Decision Manager
Thread pool task executor
This property is for configuring a ThreadPoolExecutor in a bean style by setting up the values for the instance variables. This parameter exposes bean properties for configuring a java.util.concurrent.
Table 7. ThreadPoolTaskExecutor property
Property name Location Default value Platform
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor WEB-INF/spring/applicationContext.xml xxx Operational Decision Manager
Timeout
This property shows the number of milliseconds before a request is automatically stopped. The default value of 0 means there is no timeout.
Table 8. Timeout property
Property name Location Default value Platform
xhrTimeout WEB-INF/lib/decisioncenter-iweb-core-V.R.M.F.jar/com/ibm/rules/decisioncenter/web/core/preferences.properties 0 Operational Decision Manager