/
kapua-environment-setting.properties
110 lines (99 loc) · 3.91 KB
/
kapua-environment-setting.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
###############################################################################
# Copyright (c) 2016, 2020 Eurotech and/or its affiliates and others
#
# All rights reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Eurotech - initial API and implementation
#
###############################################################################
commons.sys.provision.account.name=kapua-provision
commons.sys.admin.account=kapua-sys
commons.sys.admin.userName=kapua-sys
commons.version=${project.version}
commons.build.version=
commons.build.number=
#
# SQL database settings
#
commons.db.name=kapuadb
commons.db.username=kapua
commons.db.password=kapua
commons.db.jdbc.driver=org.h2.Driver
commons.db.connection.scheme=jdbc:h2:tcp
commons.db.connection.host=192.168.33.10
commons.db.connection.port=3306
commons.db.connection.useSsl=false
commons.db.connection.sslVerify=
commons.db.connection.trust.store.url=
commons.db.connection.trust.store.pwd=
commons.db.schema=kapuadb
commons.db.useTimezone=true
commons.db.useLegacyDatetimeCode=false
commons.db.serverTimezone=UTC
commons.db.characterEncoding=UTF-8
commons.db.pool.size.initial=5
commons.db.pool.size.min=2
commons.db.pool.size.max=30
commons.db.pool.borrow.timeout=15000
commons.db.character.escape=\\
commons.db.character.wildcard.any=%
commons.db.character.wildcard.single=_
#
# Broker settings
#
broker.scheme=tcp
broker.host=localhost
broker.connector.internal.port=1893
broker.connector.internal.name=internalMqtt
#please keep these parameters aligned in according with transport.credential.username and transport.credential.password of transport-mqtt module
broker.connector.internal.username=internalUsername
broker.connector.internal.password=internalPassword
character.encoding=UTF-8
#
# Entity settings
#
#set the generated ids size (in bits) (please don't use key size greater than 63 with H2 since H2 maps the biginteger to a long. see http://www.h2database.com/html/datatypes.html#bigint_type)
commons.entity.key.size=63
commons.entity.insert.max.retry=3
#Control topic classifier.
#WARNING!!!
#Before changing this parameter be aware of its meaning since this parameter can be used also to build/configure the ACLs.
#For example, in the standard Kura ACLs, the value of this parameter must be excluded from the list of the allowed account names in the system.
#Kapua code implements a check on account creation but it doesn't do a full check of the existing accounts.
#So if this parameter is changed to an existing value during the deployment lifetime, the system integrity can be compromised.
commons.control_message.classifier=$EDC
#
# Eventbus service settings
#
commons.eventbus.url=amqp://192.168.33.10:5672
commons.eventbus.username=kapua-sys
commons.eventbus.password=kapua-password
#in milliseconds (so 30 seconds)
commons.eventbus.houskeeper.waitTime=30000
commons.eventbus.houskeeper.eventScanWindow=5
#in milliseconds (so 10 seconds)
commons.eventbus.houskeeper.oldMessagesTimeWindow=10000
commons.eventbus.producerPool.minSize=5
commons.eventbus.producerPool.maxSize=5
commons.eventbus.producerPool.maxWaitOnBorrow=100
commons.eventbus.producerPool.evictionInterval=600000
commons.eventbus.consumerPool.size=10
commons.eventbus.messageSerializer=org.eclipse.kapua.commons.event.XmlServiceEventMarshaler
commons.eventbus.transport.useEpoll=true
commons.settings.hotswap=false
#
# Cache settings (please provide consistent values for these parameters)
#
# Provided dummy JCache implementation cache (no cache)
commons.cache.provider.classname=org.eclipse.kapua.commons.service.internal.cache.dummy.CachingProvider
# Additional cache configuration file (if any)
#commons.cache.config.url=yourconfig.yaml
#commons.cache.config.ttl=15
#commons.cache.config.expiryPolicy=MODIFIED
#
commons.cache.local.tmetadata.maxsize=100