Skip to main content
Version: 2.3.0

Static Configuration

Static configuration refers to the microservice configuration set before microservice startup in a property file. This configuration is common to all tenants.

The static configuration for the rs-dam service is:

NameTypeDefault ValueDescription
regards.access.rights.update.croncron0 0 1 ? * *Periodicity of the scheduler to handle dynamic modification of access rights between datasets and user groups using dynamic plugins (IDataObjectAccessFilterPlugin).
regards.dam.request.bulk.sizeinteger100Maximum number of Regards events (RabbitMQ Event) that dam listeners can handle at once.
regards.dam.job.updateDataset.maxRetryinteger5If any dataset update request fails, retry it at most X times.
regards.elasticsearch.search.request.timeoutinteger ms15000Timeout in ms for Elasticsearch search requests.
regards.elasticsearch.index.request.timeoutinteger ms1200000Timeout in ms for Elasticsearch save/update requests.
regards.elasticsearch.http.buffer.limitinteger bytes104857600 (100MB)Maximum response size from Elasticsearch. If the Elasticsearch response exceeds this value, an exception will be thrown on the client side to avoid memory overflow.
regards.ingester.rate.msinteger ms60000 (1 min)Scheduler delay: delay between each crawling job creation attempt (crawling jobs are created only if an ingestion is planned). Crawling job creation is also triggered each time a datasource is created.
regards.ingester.rate.init.msinteger ms300000 (5 min)Scheduler initial delay: initial delay after service startup before launching the scheduler.

Ansible editable properties

info

These properties are customizable in the Ansible inventory. See installation guide.

NameTypeDefault ValueDescription
regards.jpa.multitenant.maxPoolSizeinteger5Maximum number of parallel database connections available.
regards.crawler.max.bulk.sizeinteger10000Number of entities to request at a time from the data source to harvest.
regards.ingester.rate.msinteger60000Time elapsed in milliseconds between two scans of configured crawlers to check if a datasource can be harvested.
regards.jobs.pool.sizeinteger5Maximum number of job processes in parallel.
regards.elasticsearch.threadpool.sizeinteger3Maximum number of parallel bulk/batch upserts (must be lower than the number of database connections available).
note

To make additional properties customizable, you have to update the regards Ansible playbook: the regards-mconfig role.