62 lines
2.0 KiB
JSON
62 lines
2.0 KiB
JSON
{
|
|
"serviceName": "wssGateway",
|
|
"server": {
|
|
"listenHost": "127.0.0.1",
|
|
"listenPort": 3999,
|
|
"listenPath": "/msgbus",
|
|
"keepAliveInterval": 30,
|
|
"keepAliveTimeout": 5,
|
|
"refreshSessionInterval": 600,
|
|
"XXcertFile": "/etc/letsencrypt/live/42.internike.com/fullchain.pem",
|
|
"XXcertKeyFile": "/etc/letsencrypt/live/42.internike.com/privkey.pem",
|
|
"challengeExpiration": 20,
|
|
"unsecure": true
|
|
},
|
|
"accessRights":[
|
|
{
|
|
"roles": "*",
|
|
"mustSubscribe": [ "system:notifs:[UID]", "system:notifs", "system:replies:[UID]" ],
|
|
"canSubscribe": ["system:gps:*", "arena:gps:*","arena:agents:*",
|
|
"system:observer:subscribed[UID]:agents",
|
|
"system:maestro:lifecycle:[UID]"],
|
|
"canPublish": [ "system:requests:*", "system:observer:requests"],
|
|
"canSet": [ ],
|
|
"canGet": [ ]
|
|
}
|
|
],
|
|
"redis":[
|
|
{
|
|
"redisId":"SYS_1",
|
|
"role": "primary",
|
|
"host": "127.0.0.1",
|
|
"tls":false,
|
|
"port": 6380,
|
|
"user": "",
|
|
"pass": "",
|
|
"historizeChannels": [ ],
|
|
"historizeMax": 1000,
|
|
"chansNamespace":"system:",
|
|
"basePrefix": "messageBus:",
|
|
"storePrefix": "messageBus:Store:",
|
|
"storeMaxSize": 51200,
|
|
"historizePrefix": "histoChan:"
|
|
},
|
|
{
|
|
"redisId":"ARN_1",
|
|
"role": "primary",
|
|
"host": "127.0.0.1",
|
|
"tls":false,
|
|
"port": 6379,
|
|
"user": "",
|
|
"pass": "",
|
|
"historizeChannels": [ ],
|
|
"historizeMax": 1000,
|
|
"chansNamespace":"arena:",
|
|
"basePrefix": "messageBus:",
|
|
"storePrefix": "messageBus:Store:",
|
|
"storeMaxSize": 51200,
|
|
"historizePrefix": "histoChan:"
|
|
}
|
|
]
|
|
}
|