diff --git a/cmconfig.readme.md b/cmconfig.readme.md index a36be48..ec2644d 100644 --- a/cmconfig.readme.md +++ b/cmconfig.readme.md @@ -2,4 +2,10 @@ ## wsPluginActions: WS端,包括contractManagerFrameHandler和CMHttpHandler ## clientToAgentPlugins: client -> cluster 包括MasterClientFrameHandler ## clientToClusterPlugins:[], client -> NodeCenterClientHandler -## tcpPlugins:tcp 包括TcpserverFrameHandler \ No newline at end of file +## tcpPlugins:tcp 包括TcpserverFrameHandler + +# 配置说明 +## 使用字符串分割,如需添加多项,在agent-backend/script/config.json.template里修改如: +`````` +"wsPluginActions": "org.bdware.metering.MeteringAction" +`````` diff --git a/script/cmconfig.json.template b/script/cmconfig.json.template index b9f06e1..3bd3bd1 100644 --- a/script/cmconfig.json.template +++ b/script/cmconfig.json.template @@ -12,4 +12,8 @@ "enableEventPersistence": false, "enableSsl": "./ssl/chained.pem:./ssl/domain.pem", "textFileSuffixes": ".yjs,.json,.txt,.css,.js,.html,.md,.conf,.csv" + "wsPluginActions": "org.bdware.metering.MeteringAction" + "clientToAgentPlugins": "" + "clientToClusterPlugins": "" + "tcpPlugins": "" } \ No newline at end of file