feat: support rest data return channel result

This commit is contained in:
zhangsz
2025-04-10 15:46:09 +08:00
parent a1eaaaebd7
commit a00a7da016
7 changed files with 88 additions and 74 deletions

View File

@@ -20,7 +20,7 @@ pprof:
rest:
- ipv4: 0.0.0.0
ipv6:
port: 33040
port: 33030
- ipv4: 0.0.0.0
ipv6:
port: 33443
@@ -31,12 +31,12 @@ rest:
keyFile: ./etc/certs/omc-server.key
webServer:
enabled: false
rootDir: d:/omc.git/fe.ems.vue3/dist # front-end build dist directory
enabled: true
rootDir: /home/simon/omc.git/fe.ems.vue3/dist # front-end build dist directory
listen:
- addr: :80
- addr: :8080
schema: http
- addr: :443
- addr: :8443
schema: https
clientAuthType: 0
caFile: ./etc/certs/omc-ca.crt
@@ -47,8 +47,8 @@ database:
type: mysql
user: root
password: 1000omc@kp!
host: 192.168.9.58
port: 13306
host: 192.168.2.211
port: 33066
name: "tenants_db"
connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True
backup: ./database
@@ -58,8 +58,8 @@ redis:
dataSource:
# OMC system db
default:
port: 16379 # Redis port
host: "192.168.9.58" # Redis host
port: 6379 # Redis port
host: "192.168.2.211" # Redis host
password: "helloearth"
db: 10 # Redis db_num
# used to specify the default data source for multiple data resourece