Files
P42_godDaemons/config.json
T

110 lines
3.0 KiB
JSON

{
"accessRights": [
{
"canDo": [
"RELOADCONFIG",
"GETCONFIG"
],
"roles": [
"admin"
]
},
{
"canDo": [
"GETAGENTPOSITION",
"GETAGENTSINFRUSTUM",
"SUBSCRIBEFRUSTUM"
],
"roles": "*"
},
{
"canDo": [
"STARTSIMULATION",
"STOPSIMULATION"
],
"roles": "*"
}
],
"gps": {
"gpsActionsChannel": "system:requests:gps",
"gpsActionsReply": "system:replies:[UID]",
"GPSstorage": {
"agentHashKey": "system:gps:agent:[UID]",
"agentsIndexKey": "system:gps:agents",
"positionsStream": "system:gps:positions",
"streamMaxLen": 100000
},
"agentVectorChangeChannel": "arena:agents:*",
"collisionsChannel": "arena:agents:[UID]",
"lifecycle": {
"arenaChannel": "arena:lifecycle",
"godsReadyChannel": "arena:gods:ready"
},
"arenaStorage": {
"agentHashKey": "arena:agents:[UID]",
"agentsIndexKey": "arena:agents"
},
"senderId": "gps",
"nearMissDistance": 1,
"prismTimeHeight": 60,
"collisionTickMs": 100,
"prismRefreshLeadSeconds": 1
},
"maestro": {
"maestroActionsChannel": "system:requests:maestro",
"maestroActionsReply": "system:replies:[UID]",
"senderId": "maestro",
"lifecycle": {
"arenaChannel": "arena:lifecycle",
"godsReadyChannel": "arena:gods:ready"
},
"expectedGods": ["gps"],
"readyTimeoutMs": 30000
},
"mysql": {
"socketPath": "/var/run/mysqld/mysqld.sock",
"guiDatabase": "p42GUI",
"simDatabase": "p42SIM"
},
"observer": {
"observerActionsChannel": "system:requests:observer",
"observerActionsReply": "system:replies:[UID]",
"senderId": "observer",
"scanIntervalMs": 300,
"lifecycle": {
"arenaChannel": "arena:lifecycle",
"godsReadyChannel": "arena:gods:ready"
}
},
"systemMesh": {
"redis": [
{
"redisId": "SYS_1",
"role": "primary",
"host": "127.0.0.1",
"tls": false,
"port": 6380,
"user": "",
"pass": "",
"chansNamespace": "system:",
"basePrefix": "messageBus:"
}
]
},
"arenaMesh": {
"redis": [
{
"redisId": "ARN_1",
"role": "primary",
"host": "127.0.0.1",
"tls": false,
"port": 6379,
"user": "",
"pass": "",
"chansNamespace": "arena:",
"basePrefix": "messageBus:"
}
]
}
}