skip to main content
Corticon Server: Integration & Deployment Guide : Packaging and deploying Decision Services : Using Deployment Descriptors to deploy Decision Services : Setting properties in a CDD file
 

Try Corticon Now
Setting properties in a CDD file
When deploying with Corticon Deployment Descriptor (CDD) files, you might want to set deployment properties, such as controlling rule messages, in the CDD file so that the CDD fully describes the deployment configuration.
The properties for CDD file are set in name-value pairs, as shown:
<option name "name1" value="value1">
<option name "name2" value="value2">
The valid options in a CDD file and their values are as follows (each applicable default value is underlined):
Option name
Value
PROPERTY_AUTO_RELOAD
false | true
PROPERTY_MAX_POOL_SIZE
1 | [positive integer]
PROPERTY_MESSAGE_STRUCTURE_TYPE
<null> | HIER | FLAT
PROPERTY_DATABASE_ACCESS_MODE
<null> | R | RW
PROPERTY_DATABASE_ACCESS_RETURN_ENTITIES_MODE
ALL | IN
PROPERTY_DATABASE_ACCESS_PROPERTIES_PATH
[explicit or relative path]
PROPERTY_DATABASE_ACCESS_CACHING_ENABLED
false (default) | true
The following properties can be set as overrides in the server's brms.properties file, all of which are set there to false.
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_INFO
false | true
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_WARNING
false | true
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_VIOLATION
false | true
PROPERTY_EXECUTION_RESTRICT_ RESPONSE_TO_RULEMESSAGES_ONLY
false | true
Note: The path names to the Ruleflow (.erf) and Decision Service (.eds) files can be expressed relative to the location of the Deployment Descriptor file (indicated by the ../ syntax). That's a good practice, as the explicit path on deployment Servers might be different. These paths can be edited if changes are required. If the saved location of the Deployment Descriptor file has its path in common with the location of the Ruleflow (.erf) or Decision Service (.eds) file, then the path is typically expressed in relative terms. If the two locations have no path in common (for example, they are saved to separate machines), then the path must be expressed in absolute terms. UNC paths can also be used to direct Corticon Server to look in remote directories.