mirror of
https://gitee.com/BDWare/agent-backend
synced 2025-01-10 01:44:14 +00:00
aacd939408
add startContract at cmconfig.json add docker scripts
1.2 KiB
1.2 KiB
配置项
示例格式
{
"cmi":"",
"debug":"",
"disableDoRepo":false,
"disableLocalLhs":false,
"doipCertPath":"",
"doipLhsAddress":"",
"doipPort":-1,
"doipUserHandle":"",
"enableEventPersistence":false,
"enableSsl":"./ssl/chained.pem:./ssl/domain.pem",
"ip":"127.0.0.1",
"isLAN":true,
"overwrite":false,
"servicePort":21030,
"textFileSuffixes":".yjs,.json,.txt,.css,.js,.html,.md,.conf,.csv",
"withBdledgerClient":"./runnable/bdledger_mac",
"withBdledgerServer":false,
"consistencyPlugins": "./libs/custom-plugin.jar"
}
consistencyPlugins 配置
下述四项插件使用字符串分割,如需添加多项,以逗号分隔,在cmconfig.json里修改如:
"consistencyPlugins": "xxx/xxx.jar,xxx/xxx.jar"
通讯插件配置
下述四项插件使用字符串分割,如需添加多项,在cmconfig.json里修改如:
"wsPluginActions": "org.bdware.metering.MeteringAction"
- wsPluginActions: WS端,包括contractManagerFrameHandler和CMHttpHandler
- clientToAgentPlugins: client -> cluster 包括MasterClientFrameHandler
- clientToClusterPlugins:[], client -> NodeCenterClientHandler
- tcpPlugins:tcp 包括TcpserverFrameHandler