/
iotbroker.conf.default
executable file
·106 lines (83 loc) · 3.63 KB
/
iotbroker.conf.default
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
#!/bin/bash
##############################
# IoT Broker feature selection
##############################
iotbroker_bigdatarepository="disabled"
iotbroker_historicalagent="disabled"
iotbroker_entitycomposer="disabled"
iotbroker_association="disabled"
iotbroker_semantic="disabled"
##############################
# IoT Broker configurations
##############################
# Folders setting
iotbroker_dirconfig='/opt/Aeron/fiwareRelease'
iotbroker_bundlesconfigurationlocation='/opt/Aeron/fiwareRelease/bundleConfigurations'
# Logging configuration
# Logging level ALL, DEBUG, ERROR, FATAL, INFO, OFF, WARN (https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html)
iotbroker_logfile='logs/iotbroker.log'
iotbroker_loglevel='INFO'
# XML Schemas path
iotbroker_schemangsi9operation='${dir.config}/xmlSchema/Ngsi9_Operations_v08.xsd'
iotbroker_schemangsi10operation='${dir.config}/xmlSchema/Ngsi10_Operations_v08.xsd'
# IoT Broker exposed address (used e.g. for outgoing subscription)
iotbroker_exposedAddress=127.0.0.1
# IoT Broker port
iotbroker_tomcatinitport=8060
iotbroker_tomcatinithttpsport=9442
# IoT Broker produced type
iotbroker_producedtype="application/json"
# IoT Consumers
# If more than one, they can be comma-separate. e.g. 'http://localhost:8001,http://localhost:8002'
# The path needs to include the full path but the final resource. IoT Broker will add only "updateContext".
# The consumers can be compliant with the NGSI-10 v1 JSON binding proposed by Aeron IoT Broker
# (fully compliant with the OMA NGSI standard) or by Orion Context Broker. The latter loses some NGSI fields
# like contextElement.domainMetadata
# e.g. iotbroker_consumers_ngsiv1='http://localhost:8001/ngsi10/'
# e.g. iotbroker_consumers_ngsiv1_orion='http://localhost:1026/v1/'
iotbroker_consumers_ngsiv1=''
iotbroker_consumers_ngsiv1_orion=''
# IoT Broker scalability settings
iotbroker_ismaster=true
# Local storage settings
iotbroker_hsqldburl="localhost"
iotbroker_hsqldbport=9002
iotbroker_hsqldbsilent=false
iotbroker_hsqldbdirectory='..//SQL_database//database//linkDB'
iotbroker_hsqldbusername='NEC'
iotbroker_hsqldbpassword='neclab'
# IoT Broker ngsi9 prefix resource
iotbroker_pathprefixngsi9='ngsi9'
# IoT Broker ngsi10 prefix resource
iotbroker_pathprefixngsi10='ngsi10'
# Ngsi9 uri of the local IoT Platform
iotbroker_ngsi9uri='http://localhost:8065/'
# Ngsi9 uri of the remote IoT Platform (it can be the same of the local)
iotbroker_ngsi9remoteurl='http://localhost:8065/'
# Default throttling time
iotbroker_defaultthrottling=1000
# Default subscription duration time
iotbroker_defaultduration=31536000
# System parameters
iotbroker_updatethreadpoolsize=20
# Ignore IoT Discovery failure (to be enabled if the IoT Discovery is not started)
iotbroker_ignoreiotdiscoveryfailure=true
# Ignore IoT PubSub server failure (to be enabled if there are no ngsi 10 pub-sub server sink available)
iotbroker_ignorepubsubfailure=true
# Data annotation
iotbroker_timestampcontextelement=false
iotbroker_trackcontextsource=false
# Knowledge Base configuration
iotbroker_knowledgebaseaddress='http://127.0.0.1'
iotbroker_knowledgebaseport=8015
### Embedded agent configuration
# CouchDB configurations
iotbroker_embeddedagent_registrydbname="embeddedagentregistrydb"
iotbroker_embeddedagent_couchdbname="historicalrepository"
iotbroker_embeddedagent_couchdbcreatedb=true
iotbroker_embeddedagent_couchdbprotocol="http"
iotbroker_embeddedagent_couchdbhost="127.0.0.1"
iotbroker_embeddedagent_couchdbport=5984
iotbroker_embeddedagent_historicallyTrackQueryResponseAndNotifications=false
iotbroker_embeddedagent_storeOnlyLatestValue=false
iotbroker_embeddedagent_localagentid="embeddedagent1"