spring.main.banner-mode=off
zk.enabled=false
zk.url=localhost:2181
zk.zk_dir=/thingsboard

updates.enabled=false

audit-log.enabled=true
audit-log.sink.type=none

#cache.type=caffeine # will be injected redis by RedisContainer or will be default (caffeine)
cache.maximumPoolSize=16
cache.attributes.enabled=true
cache.ts_latest.enabled=true

cache.specs.relations.timeToLiveInMinutes=1440
cache.specs.relations.maxSize=100000

cache.specs.deviceCredentials.timeToLiveInMinutes=1440
cache.specs.deviceCredentials.maxSize=100000

cache.specs.devices.timeToLiveInMinutes=1440
cache.specs.devices.maxSize=100000

cache.specs.sessions.timeToLiveInMinutes=1440
cache.specs.sessions.maxSize=100000

cache.specs.assets.timeToLiveInMinutes=1440
cache.specs.assets.maxSize=100000

cache.specs.customers.timeToLiveInMinutes=1440
cache.specs.customers.maxSize=10000

cache.specs.users.timeToLiveInMinutes=1440
cache.specs.users.maxSize=10000

cache.specs.entityViews.timeToLiveInMinutes=1440
cache.specs.entityViews.maxSize=100000

cache.specs.claimDevices.timeToLiveInMinutes=1440
cache.specs.claimDevices.maxSize=100000

cache.specs.tenants.timeToLiveInMinutes=1440
cache.specs.tenants.maxSize=100000

cache.specs.tenantsExist.timeToLiveInMinutes=1440
cache.specs.tenantsExist.maxSize=100000

cache.specs.securitySettings.timeToLiveInMinutes=1440
cache.specs.securitySettings.maxSize=100000

cache.specs.tenantProfiles.timeToLiveInMinutes=1440
cache.specs.tenantProfiles.maxSize=100000

cache.specs.deviceProfiles.timeToLiveInMinutes=1440
cache.specs.deviceProfiles.maxSize=100000

cache.specs.assetProfiles.timeToLiveInMinutes=1440
cache.specs.assetProfiles.maxSize=100000

cache.specs.attributes.timeToLiveInMinutes=1440
cache.specs.attributes.maxSize=100000

cache.specs.tsLatest.timeToLiveInMinutes=1440
cache.specs.tsLatest.maxSize=100000

cache.specs.userSessionsInvalidation.timeToLiveInMinutes=1440
cache.specs.userSessionsInvalidation.maxSize=10000

cache.specs.otaPackages.timeToLiveInMinutes=1440
cache.specs.otaPackages.maxSize=100000

cache.specs.otaPackagesData.timeToLiveInMinutes=1440
cache.specs.otaPackagesData.maxSize=100000

cache.specs.edges.timeToLiveInMinutes=1440
cache.specs.edges.maxSize=100000

cache.specs.edgeSessions.timeToLiveInMinutes=1440
cache.specs.edgeSessions.maxSize=100000

cache.specs.relatedEdges.timeToLiveInMinutes=1440
cache.specs.relatedEdges.maxSize=100000

cache.specs.notificationRules.timeToLiveInMinutes=1440
cache.specs.notificationRules.maxSize=10000

cache.specs.notificationSettings.timeToLiveInMinutes=1440
cache.specs.notificationSettings.maxSize=10000

cache.specs.dashboardTitles.timeToLiveInMinutes=1440
cache.specs.dashboardTitles.maxSize=10000

cache.specs.entityCount.timeToLiveInMinutes=1440
cache.specs.entityCount.maxSize=10000

cache.specs.resourceInfo.timeToLiveInMinutes=1440
cache.specs.resourceInfo.maxSize=10000

cache.specs.alarmTypes.timeToLiveInMinutes=60
cache.specs.alarmTypes.maxSize=10000

cache.specs.userSettings.timeToLiveInMinutes=1440
cache.specs.userSettings.maxSize=10000

cache.specs.qrCodeSettings.timeToLiveInMinutes=1440
cache.specs.qrCodeSettings.maxSize=10000

cache.specs.mobileSecretKey.timeToLiveInMinutes=1440
cache.specs.mobileSecretKey.maxSize=10000

cache.specs.trendzSettings.timeToLiveInMinutes=1440
cache.specs.trendzSettings.maxSize=10000

cache.specs.aiModel.timeToLiveInMinutes=1440
cache.specs.aiModel.maxSize=10000

cache.specs.apiKeys.timeToLiveInMinutes=1440
cache.specs.apiKeys.maxSize=10000

redis.connection.host=localhost
redis.connection.port=6379
redis.connection.db=0
redis.connection.password=

security.user_login_case_sensitive=true
security.claim.allowClaimingByDefault=true
security.claim.duration=60000
security.java_cacerts.path=/path/to/cacerts/file
security.java_cacerts.password=myPassword

database.ts_max_intervals=700

sql.remove_null_chars=true

# Edge disabled to speed up the context init. Will be enabled by @TestPropertySource in respective tests
edges.enabled=false

# Transports disabled to speed up the context init. Particular transport will be enabled with @TestPropertySource in respective tests
transport.http.enabled=false
transport.mqtt.enabled=false
transport.coap.enabled=false
transport.lwm2m.enabled=false
transport.snmp.enabled=false

# Low latency settings to perform tests as fast as possible
sql.attributes.batch_max_delay=5
sql.attributes.batch_threads=2
sql.ts.batch_max_delay=5
sql.ts.batch_threads=2
sql.ts_latest.batch_max_delay=5
sql.ts_latest.batch_threads=2
sql.events.batch_max_delay=5
sql.events.batch_threads=2
actors.system.tenant_dispatcher_pool_size=4
actors.system.device_dispatcher_pool_size=8
actors.system.rule_dispatcher_pool_size=12
actors.system.cfm_dispatcher_pool_size=2
actors.system.cfe_dispatcher_pool_size=2
transport.sessions.report_timeout=10000
queue.transport_api.request_poll_interval=5
queue.transport_api.response_poll_interval=5
queue.transport.poll_interval=5
queue.core.poll-interval=5
queue.core.partitions=2
queue.rule-engine.poll-interval=5

spring.jpa.properties.hibernate.dialect=org.thingsboard.server.dao.ThingsboardPostgreSQLDialect
