fabaccess-bffh/examples/bffh.dhall

50 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-02-09 18:41:05 +01:00
-- { actor_connections = [] : List { _1 : Text, _2 : Text }
{ actor_connections = [{ _1 = "Testmachine", _2 = "Actor" }]
2020-12-15 13:04:21 +01:00
, actors =
2020-12-16 12:01:22 +01:00
{ Actor = { module = "Shelly", params = {=} }
2020-12-15 13:04:21 +01:00
}
, init_connections = [] : List { _1 : Text, _2 : Text }
--, init_connections = [{ _1 = "Initiator", _2 = "Testmachine" }]
2020-12-15 13:04:21 +01:00
, initiators =
2020-12-16 12:01:22 +01:00
{ Initiator = { module = "Dummy", params = {=} }
2020-12-15 13:04:21 +01:00
}
2021-01-20 12:55:15 +01:00
, listens =
[ { address = "127.0.0.1", port = Some 59661 }
, { address = "::1", port = Some 59661 }
]
2020-12-15 13:04:21 +01:00
, machines =
{ Testmachine =
{ description = Some "A test machine"
, disclose = "lab.test.read"
, manage = "lab.test.admin"
, name = "Testmachine"
, read = "lab.test.read"
, write = "lab.test.write"
},
Another =
{ description = Some "Another test machine"
, disclose = "lab.test.read"
, manage = "lab.test.admin"
, name = "Another"
, read = "lab.test.read"
, write = "lab.test.write"
},
Yetmore =
{ description = Some "Yet more test machines"
, disclose = "lab.test.read"
, manage = "lab.test.admin"
, name = "Yetmore"
, read = "lab.test.read"
, write = "lab.test.write"
}
}
2020-12-15 13:04:21 +01:00
, mqtt_url = "tcp://localhost:1883"
2021-09-19 19:47:29 +02:00
, db_path = "/tmp/bffh"
2021-09-20 15:11:38 +02:00
, roles =
{ Testrole =
{ parents = [] : List Text
, permissions = [] : List Text
}
}
2020-12-15 13:04:21 +01:00
}