How to set properties in a CDD file
- Last Updated: March 8, 2020
- 1 minute read
- Corticon
- Documentation
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 in 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_DATASOURCE_CONFIG_FILE_PATH
|
[explicit or relative path]
to datasource.xml |
PROPERTY_DATABASE_ACCESS_CACHING_ENABLED
|
false
(default) | true
|
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 default values of the
RULEMESSAGES options can be overridden by settings in a
server’s brms.properties file. However, a payload can
dynamically override these properties for each execution by adding execution properties
to its payload.