thingsboard/dao/src/test/resources/application-test.properties

126 lines
4.0 KiB
Properties
Raw Normal View History

zk.enabled=false
zk.url=localhost:2181
2017-04-22 22:37:51 -04:00
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)
2021-06-18 18:22:48 +03:00
cache.maximumPoolSize=16
2022-05-05 17:41:16 +03:00
cache.attributes.enabled=true
2022-05-06 19:12:41 +03:00
cache.specs.relations.timeToLiveInMinutes=1440
cache.specs.relations.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.deviceCredentials.timeToLiveInMinutes=1440
cache.specs.deviceCredentials.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.devices.timeToLiveInMinutes=1440
cache.specs.devices.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.sessions.timeToLiveInMinutes=1440
cache.specs.sessions.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.assets.timeToLiveInMinutes=1440
cache.specs.assets.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.entityViews.timeToLiveInMinutes=1440
cache.specs.entityViews.maxSize=100000
2019-06-27 10:00:17 +03:00
2022-05-06 19:12:41 +03:00
cache.specs.claimDevices.timeToLiveInMinutes=1440
cache.specs.claimDevices.maxSize=100000
2020-08-19 13:47:30 +03:00
2022-06-16 22:04:26 +02:00
cache.specs.tenants.timeToLiveInMinutes=1440
cache.specs.tenants.maxSize=100000
2022-06-28 10:24:15 +03:00
cache.specs.tenantsExist.timeToLiveInMinutes=1440
cache.specs.tenantsExist.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.securitySettings.timeToLiveInMinutes=1440
cache.specs.securitySettings.maxSize=100000
2020-08-19 13:47:30 +03:00
2022-05-06 19:12:41 +03:00
cache.specs.tenantProfiles.timeToLiveInMinutes=1440
cache.specs.tenantProfiles.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.deviceProfiles.timeToLiveInMinutes=1440
cache.specs.deviceProfiles.maxSize=100000
2021-06-02 11:40:20 +03:00
2022-09-23 15:37:17 +03:00
cache.specs.assetProfiles.timeToLiveInMinutes=1440
cache.specs.assetProfiles.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.attributes.timeToLiveInMinutes=1440
cache.specs.attributes.maxSize=100000
2022-05-05 17:41:16 +03:00
2022-05-06 19:12:41 +03:00
cache.specs.tokensOutdatageTime.timeToLiveInMinutes=1440
cache.specs.tokensOutdatageTime.maxSize=100000
2022-05-05 17:41:16 +03:00
2022-05-06 19:12:41 +03:00
cache.specs.otaPackages.timeToLiveInMinutes=1440
cache.specs.otaPackages.maxSize=100000
2022-05-06 19:12:41 +03:00
cache.specs.otaPackagesData.timeToLiveInMinutes=1440
cache.specs.otaPackagesData.maxSize=100000
2021-06-02 11:40:20 +03:00
2022-05-06 19:12:41 +03:00
cache.specs.edges.timeToLiveInMinutes=1440
cache.specs.edges.maxSize=100000
2020-03-03 12:25:44 +02:00
2021-04-22 10:55:57 +03:00
redis.connection.host=localhost
redis.connection.port=6379
redis.connection.db=0
redis.connection.password=
security.user_login_case_sensitive=true
2019-06-27 10:00:17 +03:00
security.claim.allowClaimingByDefault=true
security.claim.duration=60000
2019-06-27 10:00:17 +03:00
database.ts_max_intervals=700
2019-11-27 18:01:42 +02:00
sql.remove_null_chars=true
2020-09-17 12:53:38 +03:00
# 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
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
queue.rule-engine.queues[0].poll-interval=5
queue.rule-engine.queues[0].partitions=2
queue.rule-engine.queues[0].processing-strategy.retries=1
queue.rule-engine.queues[0].processing-strategy.pause-between-retries=0
queue.rule-engine.queues[0].processing-strategy.max-pause-between-retries=0
queue.rule-engine.queues[1].poll-interval=5
queue.rule-engine.queues[1].partitions=2
queue.rule-engine.queues[1].processing-strategy.retries=1
queue.rule-engine.queues[1].processing-strategy.pause-between-retries=0
queue.rule-engine.queues[1].processing-strategy.max-pause-between-retries=0
queue.rule-engine.queues[2].poll-interval=5
queue.rule-engine.queues[2].partitions=2
queue.rule-engine.queues[2].processing-strategy.retries=1
queue.rule-engine.queues[2].processing-strategy.pause-between-retries=0
queue.rule-engine.queues[2].processing-strategy.max-pause-between-retries=0