Repository-wide settings are configured for each repository separately in the repository.cfg
file.
There are a few global configuration parameters in this file while most configuration is for each repository separately. For these, the parameter names always starts with the repository name. For more details on parameters names see Parameter names in repository.cfg file .
Global parameters in the repository.cfg file
Mandatory are the settings below. Do not change them.
class=com.software.kgs.autodigit.cmis.CmisADServiceFactory repositoryfactory.class = com.software.kgs.autodigit.model.impl.DefaultRepositoryFactory
Repository list
The parameter repositoryfactory.repositorylist
contains a list of all repository names.
Example:
repositoryfactory.repositorylist = repo001,repo002,repo003,repo004,repo005
Note: When activating Multi-Tenant-Support, the repository names include the tenant name they are linked to. See Multi-Tenant-Support (tC) .
Configuration templates
The parameter repositoryfactory.templatelist
can be used to provide a list of template configurations for repositories.
Example:
repositoryfactory.templatelist = FI_REPOS, MM_REPOS
Then using the template name, parameters can be configured for it:
Example:
#===== S3-minio content service configuration (filesystem|azureblobstore|s3blobstore|kgsstore) FI_REPOS.contentservice.s3blobstore.connectionuser=<user> FI_REPOS.contentservice.s3blobstore.connectionpass=<password> FI_REPOS.contentservice.s3blobstore.maxconnections= FI_REPOS.contentservice.s3blobstore.endpoint=127.0.0.1:9000 FI_REPOS.contentservice.s3blobstore.protocol=http FI_REPOS.contentservice.s3blobstore.bucketname=shared.bucket FI_REPOS.contentservice.s3blobstore.contrepinpath = true FI_REPOS.configdata.filesystem.root=C:\\tia\\config
By the repository parameter <repository name>.template
, these template can be configured for a specific repository.
Example:
FI.template = FI_REPOS AB.template = FI_REPOS
Parameters from template can be overwritten by specifying the parameter for the repository explicitly.
Example:
The S3 bucket should be set for each repository separately, so both do not write into the same bucket.
FI.contentservice.s3blobstore.bucketname=fi.bucket AB.contentservice.s3blobstore.bucketname=ab.bucket