2020-05-06 16:53:32 +02:00
|
|
|
[bootstrap]
|
2020-07-29 14:20:43 +02:00
|
|
|
[bootstrap.content]
|
|
|
|
[bootstrap.content.agent.edgex]
|
|
|
|
url = "http://localhost:48090/api/v1/"
|
|
|
|
|
|
|
|
[bootstrap.content.agent.log]
|
|
|
|
level = "info"
|
|
|
|
|
|
|
|
[bootstrap.content.agent.mqtt]
|
|
|
|
mtls = false
|
|
|
|
qos = 0
|
|
|
|
retain = false
|
|
|
|
skip_tls_ver = true
|
|
|
|
url = "localhost:1883"
|
|
|
|
|
|
|
|
[bootstrap.content.agent.server]
|
|
|
|
nats_url = "localhost:4222"
|
|
|
|
port = "9000"
|
|
|
|
|
|
|
|
[bootstrap.content.agent.heartbeat]
|
|
|
|
interval = "30s"
|
|
|
|
|
|
|
|
[bootstrap.content.agent.terminal]
|
|
|
|
session_timeout = "30s"
|
|
|
|
|
|
|
|
|
|
|
|
[bootstrap.content.export.exp]
|
|
|
|
log_level = "debug"
|
|
|
|
nats = "nats://localhost:4222"
|
|
|
|
port = "8172"
|
|
|
|
cache_url = "localhost:6379"
|
|
|
|
cache_pass = ""
|
|
|
|
cache_db = "0"
|
|
|
|
|
|
|
|
[bootstrap.content.export.mqtt]
|
|
|
|
ca_path = "ca.crt"
|
|
|
|
cert_path = "thing.crt"
|
|
|
|
channel = ""
|
|
|
|
host = "tcp://localhost:1883"
|
|
|
|
mtls = false
|
|
|
|
password = ""
|
|
|
|
priv_key_path = "thing.key"
|
|
|
|
qos = 0
|
|
|
|
retain = false
|
|
|
|
skip_tls_ver = false
|
|
|
|
username = ""
|
|
|
|
|
|
|
|
[[bootstrap.content.export.routes]]
|
|
|
|
mqtt_topic = ""
|
|
|
|
nats_topic = ">"
|
|
|
|
subtopic = ""
|
|
|
|
type = "plain"
|
|
|
|
workers = 10
|
2020-04-29 00:39:23 +02:00
|
|
|
|
|
|
|
[[things]]
|
|
|
|
name = "thing"
|
|
|
|
|
|
|
|
[things.metadata]
|
2020-05-06 16:53:32 +02:00
|
|
|
external_id = "xxxxxx"
|
2020-04-29 00:39:23 +02:00
|
|
|
|
|
|
|
[[channels]]
|
|
|
|
name = "control-channel"
|
|
|
|
|
|
|
|
[channels.metadata]
|
|
|
|
type = "control"
|
|
|
|
|
|
|
|
[[channels]]
|
|
|
|
name = "data-channel"
|
|
|
|
|
|
|
|
[channels.metadata]
|
|
|
|
type = "data"
|