######################################################################
# BDS Properties
######################################################################
#
#
# This file is used to set up the properties for the Business Data Services Component.
ensureReadConsistency=true
readConsistencyRetryLimit=1
monitor.enable=true

# Enable or disable the control of Database generation
# This should be set before the first Global Data Deploy and then not be changed
autogenerateDB=true

caseModelIdCacheSize=50
caseModelVersionIdCacheSize=50
caseModelSpecIdCacheSize=50
caseModelPackageSpecIdCacheSize=50
caseModelTableMappingIdCacheSize=50
caseDataStoreIdCacheSize=50
caseModelAuditIdCacheSize=50

# Control the processing of global data change notifications
notificationEnabled=true
notificationExceptionSleep=120
notificationBaseSleep=1000
notificationSleepIncrement=5000
notificationMaxRetries=0
notificationRetrySleep=300

# checkValidUpgradeChanges: Checks that any changes made when updating a deployment are valid 
checkValidUpgradeChanges=true

# Pessimistic lock settings
# 1. 0  ==> No timeout set. throws exception if can not get lock 
# 2. >0 ==> blocking lock with specified timeout (default 5 seconds)
pessimisticLockTimeoutMilliseconds=5000

# BDS Timer Interval - Number of seconds to wait between retries of things like prepareToUndeploy
timerInterval=60

######################################################################
# The following settings enable the customisation of the way that
# the auto-generated tables are created, allowing the changing of
# of the names used - it is strongly recommended that you leave
# these with the default values
######################################################################
# Allows the specification of the maximum length to use for table names.
# It is recommended that this is set to 30 to provide the most
# flexibility across all database types
caseDataStoreTableNameMaxLength=30

# Allows the specification of the maximum length to use for column names.
# It is recommended that this is set to 30 to provide the most
# flexibility across all database types
caseDataStoreColumnNameMaxLength=30

# Allows the specification of the maximum length to use for a database index.
# It is recommended that this is set to 30 to provide the most
# flexibility across all database types
caseDataStoreIndexNameMaxLength=30

#######################################################
# Settings relating to Document Service functionality 
#######################################################
# Enables the Document Service. Without this, attempting to call
# any of the Document Service APIs will fail.
# Also, this enables calling of the Document Service by core BDS:
# If true, document folders will be created on deployment.
# If false, no implicit interaction with the Document Service will
# occur (i.e. folders will never be pro-actively created and orphaned
# folders will not be tracked).
# See also: deleteFolderOnUndeploymentOrCaseObjectDeletion
useCMISRepository=false

# If true, folders will be deleted implicitly by deleteCase
# or undeployment of a model.
# If false, folders will never be implicitly deleted; A call
# to deleteOrphanedFolders will be necessary to purge them.
# This has no effect if documentServiceIntegrationEnabled=false
deleteFolderOnUndeploymentOrCaseObjectDeletion=true
