Files
P42_wssGateway/wssGatewayConfig.json
2025-10-06 17:58:12 +00:00

68 lines
2.1 KiB
JSON

{
"serviceName": "wssGateway",
"server": {
"listenHost": "127.0.0.1",
"listenPort": 3999,
"listenPath": "/msgbus",
"keepAliveInterval": "30",
"keepAliveTimeout": "5",
"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" ],
"canSubscribe": ["system:gps:*", "arena:gps:*","arena:agents:*"],
"canPublish": [ ],
"canSet": [ ],
"canGet": [ ]
},
{
"roles": ["admin"],
"mustSubscribe": ["system:infraNotifs", "system:replies:[UID]"],
"canSubscribe": [ ],
"canPublish": [ "system:requests:*" ],
"canSet": ["system:*"],
"canGet": ["system:*"],
"canDo": ["getActiveUsers", "reloadAccessRights", "getAccessRights"]
}
],
"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:"
}
]
}