Skip to main content

Configuration Reference

This page documents every significant property in the Dumont DEP application.yaml file. Any property can be overridden via environment variables, JVM system properties (-Dkey=value), or a separate application-production.yaml file.

Override pattern

To override a property at runtime, use the environment variable convention: replace . and - with _ and uppercase everything. For example, dumont.indexing.provider becomes DUMONT_INDEXING_PROVIDER=solr.


Full Default Configuration

spring:
datasource:
url: jdbc:h2:file:./store/db/dumontDB;DATABASE_TO_UPPER=false;CASE_INSENSITIVE_IDENTIFIERS=true
username: sa
password: ""
driver-class-name: org.h2.Driver
h2:
console:
enabled: false
path: /h2
settings:
web-allow-others: true
jpa:
properties:
hibernate:
"[globally_quoted_identifiers]": true
"[enable_lazy_load_no_trans]": true
hibernate:
ddl-auto: update
show-sql: false
artemis:
mode: embedded
broker-url: localhost:61616
embedded:
enabled: true
persistent: true
data-directory: store/queue
queues: connector-indexing.queue
jms:
template:
default-destination: connector-indexing.queue

server:
port: ${PORT:30130}

dumont:
indexing:
provider: turing
job:
batch-size: 50
solr:
url: http://localhost:8983/solr
collection: dumont
elasticsearch:
url: http://localhost:9200
index: dumont
username: ~
password: ~

turing:
url: http://localhost:2700
apiKey: ""

logging:
file:
name: store/logs/dum-connector.log
level:
com:
viglet: INFO

Property Reference

Server

PropertyDefaultDescription
server.port30130HTTP port for the Dumont DEP application

Database

PropertyDefaultDescription
spring.datasource.urljdbc:h2:file:./store/db/dumontDBJDBC URL for the indexing state database
spring.datasource.usernamesaDatabase username
spring.datasource.password""Database password
spring.datasource.driver-class-nameorg.h2.DriverJDBC driver class
spring.h2.console.enabledfalseEnable H2 web console — do not enable in production

Message Queue (Apache Artemis)

PropertyDefaultDescription
spring.artemis.modeembeddedembedded (default) or native (external broker)
spring.artemis.broker-urllocalhost:61616Broker URL when using native mode
spring.artemis.embedded.enabledtrueEnable the embedded broker
spring.artemis.embedded.persistenttruePersist queue messages to disk (survives restarts)
spring.artemis.embedded.data-directorystore/queueDirectory for persisted queue data
spring.artemis.embedded.queuesconnector-indexing.queueQueue name created on startup

Indexing Configuration

PropertyDefaultDescription
dumont.indexing.providerturingOutput target: turing, solr, or elasticsearch
dumont.indexing.job.batch-size50Number of Job Items per batch before queue delivery

Turing ES Connection

PropertyDefaultDescription
turing.urlhttp://localhost:2700Base URL of the Turing ES instance
turing.apiKey""API Token for authenticating with Turing ES

Solr Direct Connection

PropertyDefaultDescription
dumont.indexing.solr.urlhttp://localhost:8983/solrApache Solr base URL
dumont.indexing.solr.collectiondumontSolr collection name

Elasticsearch Direct Connection

PropertyDefaultDescription
dumont.indexing.elasticsearch.urlhttp://localhost:9200Elasticsearch base URL
dumont.indexing.elasticsearch.indexdumontElasticsearch index name
dumont.indexing.elasticsearch.username(none)Optional authentication username
dumont.indexing.elasticsearch.password(none)Optional authentication password

Logging

PropertyDefaultDescription
logging.file.namestore/logs/dum-connector.logLog file path
logging.level.com.vigletINFOLog level for Dumont DEP application code

Common Production Overrides

A minimal production override:

spring:
datasource:
url: jdbc:postgresql://db-host:5432/dumont_db
username: dumont
password: strong_password
driver-class-name: org.postgresql.Driver
h2:
console:
enabled: false

dumont:
indexing:
provider: turing

turing:
url: https://search.yourcompany.com
apiKey: your-turing-api-token

server:
port: 30130