converting to MP, just config in accessRights left
This commit is contained in:
+40
-46
@@ -66,38 +66,46 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"redis": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"host": { "type": "string" },
|
||||
"tls": { "type": "boolean" },
|
||||
"port": { "type": "integer" },
|
||||
"user": { "type": "string" },
|
||||
"pass": { "type": "string" },
|
||||
"basePrefix": { "type": "string" },
|
||||
"challengePrefix": { "type": "string" },
|
||||
"historizeMax": { "type": "integer" },
|
||||
"historizePrefix": { "type": "string" },
|
||||
"platformStateKey": { "type": "string" },
|
||||
"storeMaxSize": { "type": "integer" },
|
||||
"storePrefix": { "type": "string" },
|
||||
"historizeChannels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
"redis":{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"redisId": {"type": "string" },
|
||||
"role": {"type": "string", "enum": ["primary", "shard"] },
|
||||
"host": { "type": "string" },
|
||||
"tls": { "type": "boolean" },
|
||||
"port": { "type": "integer" },
|
||||
"user": { "type": "string" },
|
||||
"pass": { "type": "string" },
|
||||
"chansFilter": { "type": "string" },
|
||||
"basePrefix": { "type": "string" },
|
||||
"historizeMax": { "type": "integer" },
|
||||
"historizePrefix": { "type": "string" },
|
||||
"storeMaxSize": { "type": "integer" },
|
||||
"storePrefix": { "type": "string" },
|
||||
"historizeChannels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"redisId",
|
||||
"chansFilter",
|
||||
"role",
|
||||
"basePrefix",
|
||||
"storeMaxSize",
|
||||
"storePrefix"
|
||||
],
|
||||
"if": {
|
||||
"properties": { "role": { "const": "primary" } }
|
||||
},
|
||||
"then": {
|
||||
"required": ["historizeChannels", "historizeMax", "historizePrefix"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"basePrefix",
|
||||
"challengePrefix",
|
||||
"historizeChannels",
|
||||
"historizeMax",
|
||||
"historizePrefix",
|
||||
"platformStateKey",
|
||||
"storeMaxSize",
|
||||
"storePrefix"
|
||||
]
|
||||
}
|
||||
},
|
||||
"server": {
|
||||
"type": "object",
|
||||
@@ -109,30 +117,16 @@
|
||||
"listenPath": { "type": "string" },
|
||||
"unsecure": { "type": "boolean" },
|
||||
"challengeExpiration": { "type": "integer" },
|
||||
"healthCheckPath": { "type": "string" },
|
||||
"keepAliveInterval": { "type": "string" },
|
||||
"keepAliveTimeout": { "type": "string" },
|
||||
"systemChannels": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onlineUsers": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"onlineUsers"
|
||||
]
|
||||
}
|
||||
"keepAliveTimeout": { "type": "string" }
|
||||
},
|
||||
"required": [
|
||||
"challengeExpiration",
|
||||
"healthCheckPath",
|
||||
"keepAliveInterval",
|
||||
"keepAliveTimeout",
|
||||
"listenHost",
|
||||
"listenPath",
|
||||
"listenPort",
|
||||
"systemChannels",
|
||||
"unsecure"
|
||||
],
|
||||
"if": {
|
||||
|
||||
Reference in New Issue
Block a user