# Additional Configuration settings

# API

# hume.driver.neo4j.transaction.timeout

Available since : 2.5

This setting configures the transaction timeout for any query that will be used to Neo4j from the API.

The value is provided in milliseconds and should be set to a reasonable number, not too low and not too high, since transactions are used to retrieve data for the visualisation but also for creating the indexes when applying the schema to the database.

Orchestra workflows using the Neo4j writer are not subject to this timeout, since the Neo4j driver used sits in Orchestra itself.

hume.driver.neo4j.transaction.timeout=30000

Default value : 30000 milliseconds

# hume.orchestra.experimental.enabled

Available since : 2.4

This setting configures Hume so that Orchestra experimental components are available to use.

hume.orchestra.experimental.enabled=true

Default value : false

# hume.security.audit.enabled

Available since : 2.4

This setting activates the audit and logging features. If it's set to true, any suitable event for auditing purposes will be stored into a separate file belonging to the filesystem of the API instance.

hume.security.audit.enabled=true

Default value : false

# hume.security.audit.log.path

Available since : 2.4

When hume.security.audit.enabled has been set to true, this further setting allows implementers to specify the full path of the file for storing all the audit events to.

hume.security.audit.log.path=/var/log/hume-audit.log

# security.auth.jwt.secret.string

Available since : 2.7

This setting allows the user to specify a string used by the system to generate JWT tokens, otherwise the system will generate a secret during the first run and will store it in the database. In any case, the value of this setting override the auto-generated one.

security.auth.jwt.secret.string=mySecretStringUsedToGenerateJwtToken

# Geospatial

# Properties format

# application.properties
## enable geospatial feature flag
hume.feature.geospatial.enabled=true

## provide custom tile server url
geospatial.settings.tileserver.url=https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

## custom tileserver attribution
geospatial.settings.tileserver.attribution=&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors

# YAML format

# application.yml
hume:
  feature:
    geospatial:
      enabled: true
geospatial:
  settings:
    tileserver:
      url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
      attribution: "&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors"