...
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 Syntax rules for repository.cfg file .
Parameters for repositories relate to a service. These parameters are documented here Services (tC) .
Global parameters in the repository.cfg file
Mandatory are the settings below. Do not change them.
Code Block |
---|
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:
Code Block |
---|
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) . Multitenancy .
Repository Description
With the description parameter you can give the repository a description that is visible in the status webapp.
Code Block |
---|
<repo>.description=Invoices |
see tia® Status User-Interface
Configuration templates
The parameter repositoryfactory.templatelist
can be used to provide a list of template configurations for repositories.
Example:
Code Block |
---|
repositoryfactory.templatelist = FI_REPOS, MM_REPOS |
See <to be done>. Then using the template name, parameters can be configured for it:
Example:
Code Block |
---|
#===== 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:
Code Block |
---|
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.
Code Block |
---|
FI.contentservice.s3blobstore.bucketname=fi.bucket
AB.contentservice.s3blobstore.bucketname=ab.bucket |