Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
14d467c5
o2oa
项目概览
ghsby
/
o2oa
落后 Fork 源项目 2880 个版本
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
14d467c5
编写于
12月 18, 2020
作者:
Z
zhourui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复集群环境下定时任务运行多次的bug
上级
911d13e3
变更
42
隐藏空白更改
内联
并排
Showing
42 changed file
with
13 addition
and
1901 deletion
+13
-1901
o2server/configSample/appStyle.json
o2server/configSample/appStyle.json
+0
-10
o2server/configSample/cache.json
o2server/configSample/cache.json
+0
-28
o2server/configSample/centerServer.json
o2server/configSample/centerServer.json
+0
-33
o2server/configSample/clientInit.json
o2server/configSample/clientInit.json
+0
-21
o2server/configSample/collect.json
o2server/configSample/collect.json
+0
-22
o2server/configSample/communicate.json
o2server/configSample/communicate.json
+0
-24
o2server/configSample/components.json
o2server/configSample/components.json
+0
-255
o2server/configSample/dingding.json
o2server/configSample/dingding.json
+0
-32
o2server/configSample/dumpRestoreData.json
o2server/configSample/dumpRestoreData.json
+0
-19
o2server/configSample/dumpRestoreStorage.json
o2server/configSample/dumpRestoreStorage.json
+0
-13
o2server/configSample/exmail.json
o2server/configSample/exmail.json
+0
-20
o2server/configSample/externalDataSources.json
o2server/configSample/externalDataSources.json
+0
-10
o2server/configSample/externalDataSources_db2.json
o2server/configSample/externalDataSources_db2.json
+0
-10
o2server/configSample/externalDataSources_dm.json
o2server/configSample/externalDataSources_dm.json
+0
-10
o2server/configSample/externalDataSources_informix.json
o2server/configSample/externalDataSources_informix.json
+0
-10
o2server/configSample/externalDataSources_kingbase.json
o2server/configSample/externalDataSources_kingbase.json
+0
-10
o2server/configSample/externalDataSources_mysql.json
o2server/configSample/externalDataSources_mysql.json
+0
-10
o2server/configSample/externalDataSources_oracle.json
o2server/configSample/externalDataSources_oracle.json
+0
-10
o2server/configSample/externalDataSources_postgresql.json
o2server/configSample/externalDataSources_postgresql.json
+0
-10
o2server/configSample/externalDataSources_sqlserver.json
o2server/configSample/externalDataSources_sqlserver.json
+0
-10
o2server/configSample/externalStorageSources.json
o2server/configSample/externalStorageSources.json
+0
-314
o2server/configSample/jpushConfig.json
o2server/configSample/jpushConfig.json
+0
-8
o2server/configSample/logLevel.json
o2server/configSample/logLevel.json
+0
-70
o2server/configSample/manifest.cfg
o2server/configSample/manifest.cfg
+0
-38
o2server/configSample/meeting.json
o2server/configSample/meeting.json
+0
-17
o2server/configSample/messageSendRule.js
o2server/configSample/messageSendRule.js
+0
-18
o2server/configSample/messages.json
o2server/configSample/messages.json
+0
-198
o2server/configSample/mq.json
o2server/configSample/mq.json
+0
-31
o2server/configSample/node_127.0.0.1.json
o2server/configSample/node_127.0.0.1.json
+0
-185
o2server/configSample/person.json
o2server/configSample/person.json
+0
-40
o2server/configSample/portal.json
o2server/configSample/portal.json
+0
-21
o2server/configSample/processPlatform.json
o2server/configSample/processPlatform.json
+0
-109
o2server/configSample/pushConfig.json
o2server/configSample/pushConfig.json
+0
-8
o2server/configSample/qiyeweixin.json
o2server/configSample/qiyeweixin.json
+0
-36
o2server/configSample/query.json
o2server/configSample/query.json
+0
-55
o2server/configSample/token.json
o2server/configSample/token.json
+0
-85
o2server/configSample/vfs.json
o2server/configSample/vfs.json
+0
-11
o2server/configSample/web.json
o2server/configSample/web.json
+0
-4
o2server/configSample/welink.json
o2server/configSample/welink.json
+0
-20
o2server/configSample/workTime.json
o2server/configSample/workTime.json
+0
-19
o2server/configSample/zhengwuDingding.json
o2server/configSample/zhengwuDingding.json
+0
-33
o2server/x_program_center/src/main/java/com/x/program/center/schedule/FireSchedule.java
...main/java/com/x/program/center/schedule/FireSchedule.java
+13
-14
未找到文件。
o2server/configSample/appStyle.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"indexType"
:
"default"
,
"indexPortal"
:
""
,
"nativeAppList"
:
[],
"images"
:
[],
"###indexType"
:
"首页展现类型,default是移动端原来的首页,portal是门户.###"
,
"###indexPortal"
:
"门户首页.###"
,
"###nativeAppList"
:
"导航设置###"
,
"###images"
:
"图片设置.###"
}
\ No newline at end of file
o2server/configSample/cache.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"type"
:
"ehcache"
,
"redis"
:
{
"host"
:
"127.0.0.1"
,
"port"
:
6379.0
,
"user"
:
""
,
"password"
:
""
,
"connectionTimeout"
:
3000.0
,
"socketTimeout"
:
3000.0
,
"sslEnable"
:
false
,
"index"
:
0.0
,
"###host"
:
"redis服务器地址###"
,
"###port"
:
"redis服务器端口###"
,
"###user"
:
"认证用户###"
,
"###password"
:
"认证口令###"
,
"###connectionTimeout"
:
"连接等待时间###"
,
"###socketTimeout"
:
"response返回等待时间###"
,
"###sslEnable"
:
"是否启用ssl###"
,
"###index"
:
"数据库编号###"
},
"ehcache"
:
{
"jmxEnable"
:
false
,
"###jmxEnable"
:
"是否启用jmx###"
},
"###type"
:
"缓存类型:ehcache,type###"
,
"###redis"
:
"redis配置###"
,
"###ehcache"
:
"ehcache配置###"
}
\ No newline at end of file
o2server/configSample/centerServer.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
true
,
"order"
:
0.0
,
"sslEnable"
:
false
,
"redeploy"
:
true
,
"port"
:
20030.0
,
"httpProtocol"
:
""
,
"proxyHost"
:
""
,
"proxyPort"
:
20030.0
,
"scanInterval"
:
0.0
,
"configApiEnable"
:
true
,
"statEnable"
:
true
,
"statExclusions"
:
"*.js,*.gif,*.jpg,*.png,*.css,*.ico"
,
"maxFormContent"
:
20.0
,
"exposeJest"
:
true
,
"persistentConnectionsEnable"
:
true
,
"###enable"
:
"是否启用###"
,
"###order"
:
"center节点顺序,顺序排列0,1,2...###"
,
"###sslEnable"
:
"是否启用ssl传输加密,如果启用将使用config/keystore文件作为密钥文件.使用config/token.json文件中的sslKeyStorePassword字段为密钥密码,sslKeyManagerPassword为管理密码.###"
,
"###redeploy"
:
"每次启动是否重新部署所有应用.###"
,
"###port"
:
"端口,center服务器端口,默认20030###"
,
"###httpProtocol"
:
"对外http访问协议,http/https###"
,
"###proxyHost"
:
"代理主机,当服务器是通过apache/nginx等代理服务器映射到公网或者通过路由器做端口映射,在这样的情况下需要设置此地址以标明公网访问地址.###"
,
"###proxyPort"
:
"代理端口,当服务器是通过apache/nginx等代理服务器映射到公网或者通过路由器做端口映射,在这样的情况下需要设置此地址以标明公网访问端口.###"
,
"###scanInterval"
:
"重新扫描war包时间间隔(秒)###"
,
"###config"
:
"其他参数###"
,
"###configApiEnable"
:
"允许通过Api修改config###"
,
"###statEnable"
:
"启用统计,默认启用统计.###"
,
"###statExclusions"
:
"统计忽略路径,默认忽略*.js,*.gif,*.jpg,*.png,*.css,*.ico###"
,
"###maxFormContent"
:
"最大提交数据限制(M),限制有所上传的内容大小,包括附件.###"
,
"###exposeJest"
:
"暴露jest接口.###"
,
"###persistentConnectionsEnable"
:
"是否启用长连接,默认false.###"
}
\ No newline at end of file
o2server/configSample/clientInit.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"center"
:
[
{}
],
"footer"
:
""
,
"title"
:
""
,
"app_protocol"
:
"auto"
,
"loginPage"
:
{
"###enable"
:
"是否启用定制的登录页面.###"
,
"###portal"
:
"登录的门户.###"
,
"###page"
:
"登录页面.###"
},
"###enable"
:
"是否启用.###"
,
"###center"
:
"center节点信息.###"
,
"###footer"
:
"网页底部说明.###"
,
"###title"
:
"网页头部说明.###"
,
"###app_protocol"
:
"APP使用协议,auto,http,https.###"
,
"###loginPage"
:
"登录页面配置.###"
,
"###webSocketEnable"
:
"是否启用webSocket###"
}
\ No newline at end of file
o2server/configSample/collect.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"name"
:
""
,
"password"
:
""
,
"title"
:
""
,
"footer"
:
""
,
"appUrl"
:
""
,
"server"
:
""
,
"port"
:
20080.0
,
"sslEnable"
:
false
,
"###enable"
:
"是否启用连接到云平台###"
,
"###name"
:
"云平台账户名称,同时显示在登录页面底部.###"
,
"###password"
:
"云平台密码###"
,
"###title"
:
"系统标题,同时显示在登录页面上部.###"
,
"###footer"
:
"底部申明###"
,
"###appUrl"
:
"app下载地址###"
,
"###server"
:
"云平台服务器地址###"
,
"###port"
:
"云平台端口###"
,
"###sslEnable"
:
"云平台连接是否启用ssl###"
,
"###secret"
:
"推送消息secret###"
,
"###key"
:
"推送消息key###"
}
\ No newline at end of file
o2server/configSample/communicate.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"wsEnable"
:
true
,
"pmsEnable"
:
true
,
"calendarEnable"
:
true
,
"###wsEnable"
:
"是否启用ws消息.###"
,
"###pmsEnable"
:
"是否启用pms消息.###"
,
"###calendarEnable"
:
"是否启用calendar消息.###"
,
"###cronMq"
:
"定时触发发送到消息队列MQ.###"
,
"cronMq"
:
{
"enable"
:
false
,
"cron"
:
"0 0 * * * ? *"
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
},
"###clean"
:
"清理设置.###"
,
"clean"
:
{
"enable"
:
true
,
"cron"
:
"30 30 6 * * ?"
,
"keep"
:
7.0
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
,
"###keep"
:
"消息保留天数###"
}
}
\ No newline at end of file
o2server/configSample/components.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"systems"
:
[
{
"name"
:
"Setting"
,
"path"
:
"Setting"
,
"title"
:
"系统设置"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
1.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Org"
,
"path"
:
"Org"
,
"title"
:
"组织管理"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
2.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"cmsManager"
,
"path"
:
"cms.Column"
,
"title"
:
"内容管理平台"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
3.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"cms"
,
"path"
:
"cms.Index"
,
"title"
:
"信息平台"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
12.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"ApplicationExplorer"
,
"path"
:
"process.ApplicationExplorer"
,
"title"
:
"流程管理平台"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
4.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"PortalExplorer"
,
"path"
:
"portal.PortalExplorer"
,
"title"
:
"门户管理平台"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
5.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"DataExplorer"
,
"path"
:
"query.QueryExplorer"
,
"title"
:
"数据中心平台"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
6.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"service.ServiceManager"
,
"path"
:
"service.ServiceManager"
,
"title"
:
"服务管理平台"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
7.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"AppMarketV2"
,
"path"
:
"AppMarketV2"
,
"title"
:
"应用市场"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
8.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"AppCenter"
,
"path"
:
"AppCenter"
,
"title"
:
"应用管理"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
9.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"LogViewer"
,
"path"
:
"LogViewer"
,
"title"
:
"日志"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
10.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Profile"
,
"path"
:
"Profile"
,
"title"
:
"个人设置"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
11.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"BAM"
,
"path"
:
"BAM"
,
"title"
:
"流程监控"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
12.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"TaskCenter"
,
"path"
:
"process.TaskCenter"
,
"title"
:
"办公中心"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
13.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Homepage"
,
"path"
:
"Homepage"
,
"title"
:
"首页"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
14.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"HotArticle"
,
"path"
:
"HotArticle"
,
"title"
:
"热点"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
15.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Note"
,
"path"
:
"Note"
,
"title"
:
"便签"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
17.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Meeting"
,
"path"
:
"Meeting"
,
"title"
:
"会议管理"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
18.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Attendance"
,
"path"
:
"Attendance"
,
"title"
:
"考勤管理"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
20.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Forum"
,
"path"
:
"Forum"
,
"title"
:
"论坛"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
21.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Minder"
,
"path"
:
"Minder"
,
"title"
:
"脑图编辑器"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
22.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Calendar"
,
"path"
:
"Calendar"
,
"title"
:
"日程安排"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
23.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"ANN"
,
"path"
:
"ANN"
,
"title"
:
"神经网络"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
24.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"Search"
,
"path"
:
"Search"
,
"title"
:
"搜索"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
25.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
},
{
"name"
:
"IMV2"
,
"path"
:
"IMV2"
,
"title"
:
"聊天"
,
"iconPath"
:
"appicon.png"
,
"orderNumber"
:
26.0
,
"type"
:
"system"
,
"allowList"
:
[],
"dentyList"
:
[]
}
],
"###systems"
:
"默认模块###"
}
\ No newline at end of file
o2server/configSample/dingding.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"corpId"
:
""
,
"agentId"
:
""
,
"appKey"
:
""
,
"appSecret"
:
""
,
"syncCron"
:
"10 0/10 * * * ?"
,
"forceSyncCron"
:
"10 45 8,12 * * ?"
,
"oapiAddress"
:
"https://oapi.dingtalk.com"
,
"workUrl"
:
""
,
"messageRedirectPortal"
:
""
,
"messageEnable"
:
true
,
"scanLoginEnable"
:
false
,
"scanLoginAppId"
:
""
,
"scanLoginAppSecret"
:
""
,
"attendanceSyncEnable"
:
false
,
"###enable"
:
"是否启用###"
,
"###corpId"
:
"钉钉corpId###"
,
"###agentId"
:
"agentId###"
,
"###appKey"
:
"应用的key,唯一标识###"
,
"###appSecret"
:
"应用的密钥###"
,
"###syncCron"
:
"回调信号触发同步检查,默认每10分钟运行一次,如果期间内有钉钉回调信号接收到,那么触发同步任务进行人员同步.###"
,
"###forceSyncCron"
:
"强制拉入同步cron,默认在每天的8点和12点强制进行同步.###"
,
"###oapiAddress"
:
"oapi服务器地址###"
,
"###workUrl"
:
"钉钉消息打开工作的url地址,如:http://dev.o2oa.net/x_desktop/###"
,
"###messageRedirectPortal"
:
"钉钉消息处理完成后跳转到特定的门户页面的Id###"
,
"###messageEnable"
:
"是否启用消息推送###"
,
"###scanLoginEnable"
:
"是否开启钉钉扫码登录###"
,
"###scanLoginAppId"
:
"钉钉扫码登录的AppId###"
,
"###scanLoginAppSecret"
:
"钉钉扫码登录的appSecret###"
,
"###attendanceSyncEnable"
:
"是否启用考勤信息###"
}
\ No newline at end of file
o2server/configSample/dumpRestoreData.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"includes"
:
[],
"excludes"
:
[],
"mode"
:
"lite"
,
"parallel"
:
true
,
"redistribute"
:
true
,
"exceptionInvalidStorage"
:
true
,
"itemCategory"
:
""
,
"###enable"
:
"是否启用.###"
,
"###includes"
:
"导出导入包含对象,可以使用通配符*.###"
,
"###excludes"
:
"导出导入排除对象,可以使用通配符*.###"
,
"###mode"
:
"导出数据模式,lite|full,默认使用lite###"
,
"###parallel"
:
"使用并行导出,默认true###"
,
"###redistribute"
:
"是否进行重新分布.###"
,
"###exceptionInvalidStorage"
:
"无法获取storage是否升起错误.###"
,
"###restoreOverride"
:
"数据导入方式,clean:清空重新导入,skipExisted:如果有相同id的数据跳过.默认方式为clean.###"
,
"###itemCategory"
:
"对于com.x.query.core.entity.Item的itemCategory进行单独过滤,可选值pp, cms, bbs, pp_dict.###"
}
\ No newline at end of file
o2server/configSample/dumpRestoreStorage.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"includes"
:
[],
"excludes"
:
[],
"batchSize"
:
100.0
,
"redistribute"
:
true
,
"exceptionInvalidStorage"
:
true
,
"###enable"
:
"是否启用.###"
,
"###includes"
:
"导出导入包含对象,可以使用通配符*.###"
,
"###excludes"
:
"导出导入排除对象,可以使用通配符*.###"
,
"###batchSize"
:
"批量对象数量.###"
,
"###redistribute"
:
"是否进行重新分布.###"
,
"###exceptionInvalidStorage"
:
"无法获取storage是否升起错误.###"
}
\ No newline at end of file
o2server/configSample/exmail.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"corpId"
:
""
,
"corpAccessTokenAddress"
:
"https://api.exmail.qq.com/cgi-bin/gettoken"
,
"newCountAddress"
:
"https://api.exmail.qq.com/cgi-bin/mail/newcount"
,
"ssoAddress"
:
"https://api.exmail.qq.com/cgi-bin/service/get_login_url"
,
"personAttributeNewCountName"
:
"exmailNewCount"
,
"personAttributeTitleName"
:
"exmailTitle"
,
"###enable"
:
"是否启用.###"
,
"###corpId"
:
"腾讯企业邮corpId###"
,
"###newRemindSecret"
:
"新邮件提醒secret###"
,
"###ssoSecret"
:
"单点登录secret###"
,
"###corpAccessTokenAddress"
:
"corpAccessToken获取地址###"
,
"###newCountAddress"
:
"新邮件数量获取地址###"
,
"###ssoAddress"
:
"单点登录获取地址###"
,
"###token"
:
"回调token###"
,
"###encodingAesKey"
:
"回调encodingAesKey###"
,
"###personAttributeNewCountName"
:
"存储邮件数量个人属性值.###"
,
"###personAttributeTitleName"
:
"存储邮件标题个人属性值.###"
}
\ No newline at end of file
o2server/configSample/externalDataSources.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:mysql://127.0.0.1:3306/X?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8"
,
"username"
:
"root"
,
"password"
:
"password"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
\ No newline at end of file
o2server/configSample/externalDataSources_db2.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:db2://127.0.0.1:50000/X"
,
"username"
:
"db2admin"
,
"password"
:
"password"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
\ No newline at end of file
o2server/configSample/externalDataSources_dm.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:dm://127.0.0.1/X"
,
"username"
:
"admin"
,
"password"
:
"password"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
\ No newline at end of file
o2server/configSample/externalDataSources_informix.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:sqlserver://127.0.0.1:1433;DatabaseName=X;selectMethod=cursor;sendStringParametersAsUnicode=false"
,
"username"
:
"sa"
,
"password"
:
"password"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
\ No newline at end of file
o2server/configSample/externalDataSources_kingbase.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:kingbase://127.0.0.1:54321/X"
,
"username"
:
"system"
,
"password"
:
"krms"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
\ No newline at end of file
o2server/configSample/externalDataSources_mysql.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:mysql://127.0.0.1:3306/X?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8"
,
"username"
:
"root"
,
"password"
:
"password"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
o2server/configSample/externalDataSources_oracle.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:oracle:thin:@//127.0.0.1:1521/orcl"
,
"username"
:
"X"
,
"password"
:
"password"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
\ No newline at end of file
o2server/configSample/externalDataSources_postgresql.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:postgresql://localhost:5432/X"
,
"username"
:
"postgres"
,
"password"
:
"password"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
\ No newline at end of file
o2server/configSample/externalDataSources_sqlserver.json
已删除
100644 → 0
浏览文件 @
911d13e3
[
{
"url"
:
"jdbc:sqlserver://127.0.0.1:1433;DatabaseName=X;selectMethod=cursor;sendStringParametersAsUnicode=false"
,
"username"
:
"sa"
,
"password"
:
"password"
,
"includes"
:
[],
"excludes"
:
[],
"enable"
:
true
}
]
\ No newline at end of file
o2server/configSample/externalStorageSources.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"file"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"processPlatform"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"mind"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"meeting"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"calendar"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"okr"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"cms"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"bbs"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"report"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"strategyDeploy"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"teamwork"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"structure"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
],
"general"
:
[
{
"protocol"
:
"webdav"
,
"username"
:
"admin"
,
"password"
:
"admin"
,
"host"
:
"127.0.0.1"
,
"port"
:
8080.0
,
"prefix"
:
""
,
"enable"
:
true
,
"weight"
:
100.0
,
"name"
:
"251"
,
"deepPath"
:
false
,
"###protocol"
:
"协议,可选值ftp,webdav###"
,
"###username"
:
"登录用户名.###"
,
"###password"
:
"登录密码.###"
,
"###host"
:
"主机地址.###"
,
"###port"
:
"端口.###"
,
"###prefix"
:
"前缀路径.###"
,
"###enable"
:
"是否启用###"
,
"###weight"
:
"设置权重.###"
,
"###name"
:
"存储节点名,对应存储名称,谨慎修改.###"
,
"###deepPath"
:
"是否使用更深的路径.###"
}
]
}
\ No newline at end of file
o2server/configSample/jpushConfig.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"appKey"
:
"9aca7cc20fe0cc987cd913ca"
,
"masterSecret"
:
"96ee7e2e0daffd51bac57815"
,
"###enable"
:
"是否启用.###"
,
"###appKey"
:
"极光推送应用的AppKey###"
,
"###masterSecret"
:
"极光推送应用的Master Secret###"
}
\ No newline at end of file
o2server/configSample/logLevel.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"x_program_center"
:
""
,
"x_processplatform_service_processing"
:
""
,
"x_processplatform_assemble_surface"
:
""
,
"x_processplatform_assemble_designer"
:
""
,
"x_query_assemble_designer"
:
""
,
"x_query_assemble_surface"
:
""
,
"x_query_service_processing"
:
""
,
"x_meeting_assemble_control"
:
""
,
"x_organization_assemble_authentication"
:
""
,
"x_organization_assemble_control"
:
""
,
"x_general_assemble_control"
:
""
,
"x_file_assemble_control"
:
""
,
"x_attendance_assemble_control"
:
""
,
"x_collaboration_core_message"
:
""
,
"x_organization_core_express"
:
""
,
"x_query_core_express"
:
""
,
"x_bbs_assemble_control"
:
""
,
"x_calendar_assemble_control"
:
""
,
"x_cms_assemble_control"
:
""
,
"x_component_assemble_control"
:
""
,
"x_hotpic_assemble_control"
:
""
,
"x_message_assemble_communicate"
:
""
,
"x_mind_assemble_control"
:
""
,
"x_okr_assemble_control"
:
""
,
"x_organization_assemble_express"
:
""
,
"x_organization_assemble_personal"
:
""
,
"x_portal_assemble_designer"
:
""
,
"x_portal_assemble_surface"
:
""
,
"x_processplatform_assemble_bam"
:
""
,
"x_jpush_assemble_control"
:
""
,
"audit"
:
{
"###enable"
:
"是否启用审计日志###"
,
"###logSize"
:
"审计日志保留天数###"
,
"###system"
:
"审计日志归属系统code###"
,
"###systemName"
:
"审计日志归属系统名称###"
,
"###extend1"
:
"扩展字段1###"
},
"###x_program_center"
:
"是否启用调试###"
,
"###x_processplatform_service_processing"
:
"是否启用调试###"
,
"###x_processplatform_assemble_surface"
:
"是否启用调试###"
,
"###x_processplatform_assemble_designer"
:
"是否启用调试###"
,
"###x_query_assemble_designer"
:
"是否启用调试###"
,
"###x_query_assemble_surface"
:
"是否启用调试###"
,
"###x_query_service_processing"
:
"是否启用调试###"
,
"###x_meeting_assemble_control"
:
"是否启用调试###"
,
"###x_organization_assemble_authentication"
:
"是否启用调试###"
,
"###x_organization_assemble_control"
:
"是否启用调试###"
,
"###x_general_assemble_control"
:
"是否启用调试###"
,
"###x_file_assemble_control"
:
"是否启用调试###"
,
"###x_attendance_assemble_control"
:
"是否启用调试###"
,
"###x_collaboration_core_message"
:
"是否启用调试###"
,
"###x_organization_core_express"
:
"是否启用调试###"
,
"###x_query_core_express"
:
"是否启用调试###"
,
"###x_bbs_assemble_control"
:
"是否启用调试###"
,
"###x_calendar_assemble_control"
:
"是否启用调试###"
,
"###x_cms_assemble_control"
:
"是否启用调试###"
,
"###x_component_assemble_control"
:
"是否启用调试###"
,
"###x_hotpic_assemble_control"
:
"是否启用调试###"
,
"###x_message_assemble_communicate"
:
"是否启用调试###"
,
"###x_mind_assemble_control"
:
"是否启用调试###"
,
"###x_okr_assemble_control"
:
"是否启用调试###"
,
"###x_organization_assemble_express"
:
"是否启用调试###"
,
"###x_organization_assemble_personal"
:
"是否启用调试###"
,
"###x_portal_assemble_designer"
:
"是否启用调试###"
,
"###x_portal_assemble_surface"
:
"是否启用调试###"
,
"###x_processplatform_assemble_bam"
:
"是否启用调试###"
,
"###x_jpush_assemble_control"
:
"是否启用调试###"
,
"###audit"
:
"审计日志配置###"
}
\ No newline at end of file
o2server/configSample/manifest.cfg
已删除
100644 → 0
浏览文件 @
911d13e3
{"node_127.0.0.1.json":"节点配置",
"appStyle.json":"移动端应用样式配置",
"centerServer.json":"中心服务配置",
"clientInit.json":"客户端初始化配置",
"collect.json":"连接到云平台配置",
"communicate.json":"消息配置",
"components.json":"组件配置",
"dingding.json":"钉钉配置",
"dumpRestoreData.json":"导出导入数据配置",
"exmail.json":"腾讯企业邮邮件配置",
"externalDataSources.json":"数据库配置",
"externalDataSources_db2.json":"db2数据库配置",
"externalDataSources_dm.json":"达梦数据库配置",
"externalDataSources_informix.json":"informix数据库配置",
"externalDataSources_kingbase.json":"金仓数据库配置",
"externalDataSources_mysql.json":"mysql数据库配置",
"externalDataSources_oracle.json":"oracle数据库配置",
"externalDataSources_postgresql.json":"postgresql数据库配置",
"externalDataSources_sqlserver.json":"sqlserver数据库配置",
"externalStorageSources.json":"文件存储配置",
"jpushConfig.json":"极光推送配置",
"logLevel.json":"日志配置",
"meeting.json":"openMeeting配置",
"messages.json":"消息发送配置",
"messageSendRule.js":"消息发送规则",
"mq.json":"消息队列配置",
"person.json":"个人信息配置",
"portal.json":"门户配置",
"processPlatform.json":"流程平台配置",
"qiyeweixin.json":"企业微信配置",
"query.json":"数据中心配置",
"token.json":"令牌,密钥配置",
"vfs.json":"虚拟文件存储配置",
"welink.json":"华为WeLink配置",
"workTime.json":"工作时间配置",
"zhengwuDingding.json":"政务钉钉配置",
"web.json":"前端相关配置"
}
\ No newline at end of file
o2server/configSample/meeting.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"oauth2Id"
:
"5"
,
"port"
:
5080.0
,
"host"
:
"127.0.0.1"
,
"user"
:
"xadmin"
,
"pass"
:
""
,
"anonymousAccessAttachment"
:
false
,
"###enable"
:
"是否启用###"
,
"###oauth2Id"
:
"openMeeting单点序号###"
,
"###port"
:
"openMeeting端口###"
,
"###host"
:
"openMeeting服务器###"
,
"###user"
:
"openMeeting管理员账户###"
,
"###pass"
:
"openMeeting管理员密码###"
,
"###httpProtocol"
:
"openMeeting协议###"
,
"###anonymousAccessAttachment"
:
"匿名用户是否可以访问附件###"
}
\ No newline at end of file
o2server/configSample/messageSendRule.js
已删除
100644 → 0
浏览文件 @
911d13e3
/**
* 统一消息推送执行脚本,使用在messages.json配置文件
* 方法返回boolean类型,true表示满足发送条件且接受对body体的修改,false表示不发送
* 变量body表示消息体,每个消息类型的消息体可能不同,是一个Gson的JsonObject对象
* 以下excute方法表示拟稿状态的待办不发送消息;excute1方法表示变更或者添加body对象中的modifyFlag参数
*/
function
excute
()
{
if
(
body
.
has
(
"
first
"
)
&&
body
.
has
(
"
workCreateType
"
)){
if
(
body
.
get
(
"
first
"
).
getAsBoolean
()
&&
"
surface
"
.
equals
(
body
.
get
(
"
workCreateType
"
).
getAsString
())){
return
false
;
}
}
return
true
;
}
function
excute1
()
{
body
.
addProperty
(
"
modifyFlag
"
,
"
1
"
);
return
true
;
}
\ No newline at end of file
o2server/configSample/messages.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"##sample##"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"qiyeweixin"
:
"excute"
,
"describe"
:
"excute表示脚本messageSendRule.js中的方法名称,该js文件需放在与messages.json同目录下,更改脚本需重启服务"
}
},
"attachment_editor"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"attachment_editorCancel"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"attachment_editorModify"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"attachment_share"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"attachment_shareCancel"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"bbs_replyCreate"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"pms"
:
""
,
"ws"
:
""
}
},
"bbs_subjectCreate"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"pms"
:
""
,
"ws"
:
""
}
},
"calendar_alarm"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"im_create"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"ws"
:
""
}
},
"meeting_delete"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"meeting_invite"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"mind_fileSend"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"pms"
:
""
,
"ws"
:
""
}
},
"mind_fileShare"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"pms"
:
""
,
"ws"
:
""
}
},
"readCompleted_create"
:
{
"consumers"
:
[],
"consumersV2"
:
{}
},
"readCompleted_delete"
:
{
"consumers"
:
[],
"consumersV2"
:
{}
},
"read_create"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"read_delete"
:
{
"consumers"
:
[],
"consumersV2"
:
{}
},
"taskCompleted_create"
:
{
"consumers"
:
[],
"consumersV2"
:
{}
},
"taskCompleted_delete"
:
{
"consumers"
:
[],
"consumersV2"
:
{}
},
"task_create"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
},
"task_delete"
:
{
"consumers"
:
[],
"consumersV2"
:
{}
},
"task_press"
:
{
"consumers"
:
[],
"consumersV2"
:
{
"mq"
:
""
,
"pms"
:
""
,
"zhengwuDingding"
:
""
,
"qiyeweixin"
:
""
,
"welink"
:
""
,
"ws"
:
""
,
"dingding"
:
""
}
}
}
\ No newline at end of file
o2server/configSample/mq.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
true
,
"mq"
:
"kafka"
,
"kafka"
:{
"bootstrap_servers"
:
"localhost:9092"
,
"topic"
:
"topic-test"
,
"acks"
:
"all"
,
"retries"
:
0
,
"batch_size"
:
16384
,
"linger_ms"
:
1
,
"buffer_memory"
:
33554432
,
"key_deserializer"
:
"org.apache.kafka.common.serialization.StringDeserializer"
,
"value_deserializer"
:
"org.apache.kafka.common.serialization.StringDeserializer"
,
"###bootstrap_servers"
:
"服务器地址###"
,
"###acks"
:
"指定必须有多少个分区副本接收消息,生产者才认为消息写入成功,用户检测数据丢失的可能性###"
,
"###retries"
:
"生产者从服务器收到的错误有可能是临时性的错误的次数###"
,
"###batch_size"
:
"该参数指定了一个批次可以使用的内存大小,按照字节数计算(而不是消息个数)。###"
,
"###linger_ms"
:
"该参数指定了生产者在发送批次之前等待更多消息加入批次的时间,增加延迟,提高吞吐量###"
,
"###buffer_memory"
:
"该参数用来设置生产者内存缓冲区的大小,生产者用它缓冲要发送到服务器的消息###"
,
"###key_deserializer"
:
"key值的序列化类###"
,
"###value_deserializer"
:
"value的序列化类###"
},
"activeMQ"
:{
"url"
:
"tcp://127.0.0.1:61616"
,
"queueName"
:
"queue-test"
,
"###url"
:
"服务地址,端口默认61616.###"
,
"###queueName"
:
"要创建的消息名称###"
},
"###enable"
:
"是否启用.###"
,
"###mq"
:
"消息服务类型.###"
}
\ No newline at end of file
o2server/configSample/node_127.0.0.1.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
true
,
"isPrimaryCenter"
:
true
,
"center"
:
{
"enable"
:
true
,
"order"
:
0.0
,
"sslEnable"
:
false
,
"redeploy"
:
true
,
"port"
:
20030.0
,
"httpProtocol"
:
""
,
"proxyHost"
:
""
,
"proxyPort"
:
20030.0
,
"scanInterval"
:
0.0
,
"configApiEnable"
:
true
,
"statEnable"
:
true
,
"statExclusions"
:
"*.js,*.gif,*.jpg,*.png,*.css,*.ico"
,
"maxFormContent"
:
20.0
,
"exposeJest"
:
true
,
"persistentConnectionsEnable"
:
true
,
"###enable"
:
"是否启用###"
,
"###order"
:
"center节点顺序,顺序排列0,1,2...###"
,
"###sslEnable"
:
"是否启用ssl传输加密,如果启用将使用config/keystore文件作为密钥文件.使用config/token.json文件中的sslKeyStorePassword字段为密钥密码,sslKeyManagerPassword为管理密码.###"
,
"###redeploy"
:
"每次启动是否重新部署所有应用.###"
,
"###port"
:
"端口,center服务器端口,默认20030###"
,
"###httpProtocol"
:
"对外http访问协议,http/https###"
,
"###proxyHost"
:
"代理主机,当服务器是通过apache/nginx等代理服务器映射到公网或者通过路由器做端口映射,在这样的情况下需要设置此地址以标明公网访问地址.###"
,
"###proxyPort"
:
"代理端口,当服务器是通过apache/nginx等代理服务器映射到公网或者通过路由器做端口映射,在这样的情况下需要设置此地址以标明公网访问端口.###"
,
"###scanInterval"
:
"重新扫描war包时间间隔(秒)###"
,
"###config"
:
"其他参数###"
,
"###configApiEnable"
:
"允许通过Api修改config###"
,
"###statEnable"
:
"启用统计,默认启用统计.###"
,
"###statExclusions"
:
"统计忽略路径,默认忽略*.js,*.gif,*.jpg,*.png,*.css,*.ico###"
,
"###maxFormContent"
:
"最大提交数据限制(M),限制有所上传的内容大小,包括附件.###"
,
"###exposeJest"
:
"暴露jest接口.###"
,
"###persistentConnectionsEnable"
:
"是否启用长连接,默认false.###"
},
"application"
:
{
"enable"
:
true
,
"port"
:
20020.0
,
"sslEnable"
:
false
,
"proxyHost"
:
""
,
"proxyPort"
:
20020.0
,
"redeploy"
:
true
,
"scanInterval"
:
0.0
,
"includes"
:
[],
"excludes"
:
[],
"weights"
:
[],
"scheduleWeights"
:
[],
"statEnable"
:
true
,
"statExclusions"
:
"*.js,*.gif,*.jpg,*.png,*.css,*.ico"
,
"maxFormContent"
:
20.0
,
"exposeJest"
:
true
,
"persistentConnectionsEnable"
:
true
,
"###enable"
:
"是否启用###"
,
"###port"
:
"http/https端口,负责向前端提供数据访问接口.默认为20020端口.###"
,
"###sslEnable"
:
"是否启用ssl传输加密,如果启用将使用config/keystore文件作为密钥文件.使用config/token.json文件中的sslKeyStorePassword字段为密钥密码,sslKeyManagerPassword为管理密码.###"
,
"###proxyHost"
:
"代理主机,当服务器是通过apache/nginx等代理服务器映射到公网或者通过路由器做端口映射,在这样的情况下需要设置此地址以标明公网访问地址.###"
,
"###proxyPort"
:
"代理端口,当服务器是通过apache/nginx等代理服务器映射到公网或者通过路由器做端口映射,在这样的情况下需要设置此地址以标明公网访问端口.###"
,
"###redeploy"
:
"每次启动是否重载全部应用.###"
,
"###scanInterval"
:
"应用reload扫描间隔,
\u
003c0 表示不会reload应用,扫描到应用文件发生了变化.###"
,
"###includes"
:
"承载的应用,在集群环境下可以选择仅承载部分应用以降低服务器负载,可以使用*作为通配符.###"
,
"###excludes"
:
"选择不承载的应用,和includes的值配合使用可以选择或者排除承载的应用,可以使用*作为通配符.###"
,
"###weights"
:
"设置应用的Web访问权重,在集群环境中,一个应用可以部署多个实例提供负载均衡.通过合计占比来分配应用占比.###"
,
"###scheduleWeights"
:
"设置应用的定时任务权重,在集群环境中,一个应用可以部署多个实例提供负载均衡.通过合计占比来分配应用占比.###"
,
"###statEnable"
:
"启用统计,默认启用统计.###"
,
"###statExclusions"
:
"统计忽略路径,默认忽略*.js,*.gif,*.jpg,*.png,*.css,*.ico###"
,
"###maxFormContent"
:
"最大提交数据限制(M),限制有所上传的内容大小,包括附件.###"
,
"###exposeJest"
:
"暴露jest接口.###"
,
"###persistentConnectionsEnable"
:
"是否启用长连接,默认false.###"
},
"web"
:
{
"enable"
:
true
,
"sslEnable"
:
false
,
"proxyHost"
:
""
,
"weight"
:
100.0
,
"dirAllowed"
:
false
,
"statEnable"
:
false
,
"statExclusions"
:
"*.gif,*.jpg,*.png,*.ico"
,
"cacheControlMaxAge"
:
0.0
,
"persistentConnectionsEnable"
:
true
,
"###enable"
:
"是否启用###"
,
"###port"
:
"http/https端口,用户输入网址后实际访问的第一个端口.http协议默认为80端口,https默认为443端口.###"
,
"###sslEnable"
:
"是否启用ssl传输加密,如果启用将使用config/keystore文件作为密钥文件.使用config/token.json文件中的sslKeyStorePassword字段为密钥密码,sslKeyManagerPassword为管理密码.###"
,
"###proxyHost"
:
"代理主机,当服务器是通过apache/nginx等代理服务器映射到公网或者通过路由器做端口映射,在这样的情况下需要设置此地址以标明公网访问地址.###"
,
"###proxyPort"
:
"代理端口,当服务器是通过apache/nginx等代理服务器映射到公网或者通过路由器做端口映射,在这样的情况下需要设置此地址以标明公网访问端口.###"
,
"###weight"
:
"设置权重.当前没有作用,###"
,
"###dirAllowed"
:
"允许浏览目录,###"
,
"###statEnable"
:
"启用统计,默认启用统计.###"
,
"###statExclusions"
:
"统计忽略路径,默认忽略*.gif,*.jpg,*.png,*.ico###"
,
"###cacheControlMaxAge"
:
"服务器max-age缓存时间(秒)###"
,
"###proxyCenterEnable"
:
"是否启用center服务器代理.###"
,
"###proxyApplicationEnable"
:
"是否启用application服务器代理###"
,
"###persistentConnectionsEnable"
:
"是否启用长连接,默认true.###"
},
"data"
:
{
"enable"
:
true
,
"tcpPort"
:
20050.0
,
"webPort"
:
20051.0
,
"includes"
:
[],
"excludes"
:
[],
"jmxEnable"
:
false
,
"cacheSize"
:
512.0
,
"logLevel"
:
"WARN"
,
"maxTotal"
:
50.0
,
"maxIdle"
:
0.0
,
"statEnable"
:
true
,
"statFilter"
:
"mergeStat"
,
"slowSqlMillis"
:
2000.0
,
"lockTimeout"
:
120000.0
,
"###enable"
:
"是否启用,如果没有可用的externalDataSources.json文件,那么默认会在节点中启用本地的H2数据库作为默认的数据库.###"
,
"###tcpPort"
:
"H2数据库jdbc连接端口,登录的用户名:sa,密码为xadmin的密码.数据库创建在/o2server/local/repository/data/X.mv.db,一旦数据库文件被创建,那么该数据库的密码被创建.###"
,
"###webPort"
:
"H2数据库web端口,H2提供一个web端的client,此端口为web端client的访问端口.用户名sa,密码为xadmin数据库初始创建的密码.###"
,
"###includes"
:
"设置此数据库存储的类,默认情况下存储所有类型,如果需要对每个类进行单独的控制以达到高性能,可以将不同的类存储到不同的节点上提高性能.可以使用通配符*###"
,
"###excludes"
:
"在此节点上不存储的类,和includes一起设置实际存储的类,可以使用通配符*###"
,
"###jmxEnable"
:
"是否启动jmx,如果启用,可以通过本地的jmx客户端进行访问,不支持远程jmx客户端.###"
,
"###cacheSize"
:
"H2数据库缓存大小,设置H2用于作为缓存的内存大小,以M作为单位,这里默认为512M.###"
,
"###logLevel"
:
"默认日志级别,FATAL, ERROR, WARN, INFO, TRACE. 完整的配置为DefaultLevel
\u
003dWARN, Tool
\u
003dTRACE, Enhance
\u
003dTRACE, METADATA
\u
003dTRACE, Runtime
\u
003dTRACE, Query
\u
003dTRACE, DataCache
\u
003dTRACE, JDBC
\u
003dTRACE, SQL
\u
003dTRACE###"
,
"###maxTotal"
:
"最大使用连接数###"
,
"###maxIdle"
:
"最大空闲连接数###"
,
"###statEnable"
:
"启用统计,默认启用###"
,
"###statFilter"
:
"统计方式配置,默认mergeStat###"
,
"###slowSqlMillis"
:
"执行缓慢sql毫秒数,默认2000毫秒,执行缓慢的sql将被单独记录.###"
,
"###lockTimeout"
:
"默认锁超时时间()毫秒).###"
},
"storage"
:
{
"enable"
:
true
,
"port"
:
20040.0
,
"sslEnable"
:
false
,
"name"
:
"251"
,
"accounts"
:
[],
"prefix"
:
""
,
"deepPath"
:
false
,
"###enable"
:
"是否启用,对于二进制流文件,比如附件,图片等存储在单独的文件服务器中,可以支持多种文件服务器,默认情况下使用ftp服务器作为文件服务器,每个节点可以启动一个文件服务器以提供高性能.###"
,
"###port"
:
"ftp服务器端口,此端口可以不对外开放,仅有ApplicationServer进行访问,并不直接对用户提供服务.###"
,
"###sslEnable"
:
"是否启用ssl传输加密,如果启用将使用config/keystore文件作为密钥文件.使用config/token.json文件中的sslKeyStorePassword字段为密钥密码,sslKeyManagerPassword为管理密码.###"
,
"###name"
:
"名称,多个节点中不能重名,默认为251.###"
,
"###accounts"
:
"二进制流文件是分多个账号分段存储的,可以单独设置每个分类的存储配置,一般不需要设置.###"
,
"###passivePorts"
:
"ftp传输有主动和被动之分,如果使用了被动传输,设置被动端口范围,默认为29000-30000.###"
,
"###prefix"
:
"路径前缀.###"
,
"###deepPath"
:
"使用更深的路径###"
},
"logLevel"
:
"warn"
,
"dumpData"
:
{
"enable"
:
false
,
"cron"
:
""
,
"size"
:
7.0
,
"path"
:
""
,
"###enable"
:
"是否启用,默认禁用.###"
,
"###cron"
:
"定时任务cron表达式,默认每天凌晨2点进行备份.###"
,
"###size"
:
"最大保留份数,超过将自动删除最久的数据.###"
,
"###path"
:
"备份路径###"
},
"restoreData"
:
{
"enable"
:
false
,
"cron"
:
""
,
"path"
:
""
,
"###enable"
:
"是否启用.###"
,
"###cron"
:
"定时任务cron表达式###"
,
"###path"
:
"恢复路径###"
},
"nodeAgentEnable"
:
true
,
"nodeAgentPort"
:
20010.0
,
"nodeAgentEncrypt"
:
true
,
"quickStartWebApp"
:
false
,
"autoStart"
:
true
,
"###enable"
:
"是否启用###"
,
"###isPrimaryCenter"
:
"是否是center节点,仅允许存在一个center节点###"
,
"###center"
:
"Center服务器配置###"
,
"###application"
:
"Application服务器配置###"
,
"###web"
:
"Web服务器配置###"
,
"###data"
:
"Data服务器配置###"
,
"###storage"
:
"Storage服务器配置###"
,
"###logLevel"
:
"日志级别,默认当前节点的slf4j日志级别,通过系统变量
\"
org.slf4j.simpleLogger.defaultLogLevel
\"
设置到当前jvm中.###"
,
"###dumpData"
:
"定时数据导出配置###"
,
"###restoreData"
:
"定时数据导入配置###"
,
"###logSize"
:
"日志文件保留天数.###"
,
"###auditLogSize"
:
"审计日志文件保留天数.###"
,
"###nodeAgentEnable"
:
"是否启用节点代理###"
,
"###nodeAgentPort"
:
"是否启用节点端口###"
,
"###nodeAgentEncrypt"
:
"是否启用节点代理加密###"
,
"###quickStartWebApp"
:
"是否使用快速应用部署###"
,
"###banner"
:
"服务器控制台启动标识###"
,
"###autoStart"
:
"是否自动启动###"
,
"###eraseContentEnable"
:
"是否允许使用擦除数据功能###"
}
\ No newline at end of file
o2server/configSample/person.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"MAX_PASSWORDPERIOD"
:
3650.0
,
"captchaLogin"
:
true
,
"codeLogin"
:
true
,
"bindLogin"
:
true
,
"faceLogin"
:
true
,
"password"
:
"(var v
\\
u003d person.getMobile();
\\
u000a return v.substring(v.length - 6))"
,
"passwordPeriod"
:
0.0
,
"passwordRegex"
:
"^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,}$"
,
"passwordRegexHint"
:
"6位以上,包含数字和字母."
,
"register"
:
"disable"
,
"superPermission"
:
true
,
"tokenCookieHttpOnly"
:
false
,
"personUnitOrderByAsc"
:
true
,
"###captchaLogin"
:
"是否启用验证码登录,默认值:true###"
,
"###codeLogin"
:
"是否启用验证码登录,默认值:true###"
,
"###bindLogin"
:
"是否启用扫描二维码登录,默认值:false###"
,
"###faceLogin"
:
"是否启用刷脸登录,默认值:false###"
,
"###password"
:
"注册初始密码,使用()调用脚本生成初始密码,默认为:(var v
\\
u003d person.getMobile();
\\
u000a return v.substring(v.length - 6))###"
,
"###passwordPeriod"
:
"密码过期时间(天),0表示不过期,默认值:0.###"
,
"###passwordRegex"
:
"密码校验正则表达式,默认6位以上,包含数字和字母.###"
,
"###passwordRegexHint"
:
"密码校验不通过的提示信息.###"
,
"###register"
:
"是否允许用户自注册,disable:不允许,captcha通过验证码注册,code:通过短信注册,默认值:disable###"
,
"###superPermission"
:
"是否启用超级管理员权限,默认值:true###"
,
"###mobileRegex"
:
"手机号码校验正则表达式,()表示脚本内容,默认值:(^(
\\
+)?0{0,2}852
\\
d{8}$)|(^(
\\
+)?0{0,2}853
\\
d{8}$)|(^(
\\
+)?0{0,2}886
\\
d{9}$)|(^1(3|4|5|7|8|9)
\\
d{9}$)###"
,
"###loginPage"
:
"定制登录页面设置.###"
,
"loginPage"
:
{
"enable"
:
false
,
"portal"
:
""
,
"page"
:
""
,
"###enable"
:
"是否启用定制登录页面.###"
,
"###portal"
:
"指定登录页面所属的portal,可以用id,name,alias.###"
,
"###page"
:
"指定的登录页面,可以使用name,alias,id###"
},
"###failureInterval"
:
"登录限制时间(分钟)###"
,
"###failureCount"
:
"尝试登录次数###"
,
"###tokenExpiredMinutes"
:
"token时长,分钟###"
,
"###tokenCookieHttpOnly"
:
"保存token的cookie是否启用httpOnly###"
,
"###personUnitOrderByAsc"
:
"人员组织排序是否为升序,true为升序(默认),false为降序###"
}
\ No newline at end of file
o2server/configSample/portal.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"indexPage"
:
{
"enable"
:
false
,
"portal"
:
""
,
"page"
:
""
,
"###enable"
:
"是否启用定制的首页面.###"
,
"###portal"
:
"指定首页面所属的portal,可以用id,name,alias.###"
,
"###page"
:
"指定的首页面,可以使用name,alias,id###"
},
"loginPage"
:
{
"enable"
:
false
,
"portal"
:
""
,
"page"
:
""
,
"###enable"
:
"是否启用定制登录页面.###"
,
"###portal"
:
"指定登录页面所属的portal,可以用id,name,alias.###"
,
"###page"
:
"指定的登录页面,可以使用name,alias,id###"
},
"###urlMapping"
:
"url转换配置.###"
,
"###indexPage"
:
"定制首页面设置.###"
,
"###loginPage"
:
"定制登录页面设置.###"
}
\ No newline at end of file
o2server/configSample/processPlatform.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"maintenanceIdentity"
:
""
,
"formVersionCount"
:
30.0
,
"processVersionCount"
:
30.0
,
"scriptVersionCount"
:
30.0
,
"docToWordType"
:
"local"
,
"docToWordDefaultFileName"
:
"正文.docx"
,
"docToWordDefaultSite"
:
"$doc"
,
"executorCount"
:
32.0
,
"updateDataProjectionEnable"
:
false
,
"urge"
:
{
"enable"
:
false
,
"cron"
:
"30 0/10 8-18 * * ?"
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式.###"
},
"expire"
:
{
"enable"
:
true
,
"cron"
:
"45 0/15 8-18 * * ?"
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
},
"touchDelay"
:
{
"enable"
:
true
,
"cron"
:
"5 0/5 * * * ?"
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
},
"merge"
:
{
"enable"
:
false
,
"cron"
:
"30 30 6 * * ?"
,
"thresholdDays"
:
730.0
,
"batchSize"
:
100.0
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
,
"###thresholdDays"
:
"期限,已完成工作结束间隔指定时间进行merge,默认两年后进行merge###"
,
"###batchSize"
:
"批量大小.###"
},
"deleteDraft"
:
{
"enable"
:
false
,
"cron"
:
"0 0 20 * * ?"
,
"thresholdMinutes"
:
86400.0
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
,
"###thresholdMinutes"
:
"设定阈值,如果超过这个时间认为是可以删除的草稿,默认为10天.###"
},
"passExpired"
:
{
"enable"
:
true
,
"cron"
:
"5 5 8-18 * * ?"
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
},
"touchDetained"
:
{
"enable"
:
true
,
"cron"
:
"30 30 12 * * ?"
,
"thresholdMinutes"
:
1440.0
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
,
"###thresholdMinutes"
:
"当工作滞留设定时间后,将尝试触发工作流转,可以自动处理由于人员变动的引起的工作滞留,默认24*60分钟.###"
},
"processingSignalPersistEnable"
:
false
,
"attachmentConfig"
:
{
"fileSize"
:
0.0
,
"fileTypeIncludes"
:
[],
"fileTypeExcludes"
:
[],
"###fileSize"
:
"附件大小限制(单位M,默认不限制).###"
,
"###fileTypeIncludes"
:
"只允许上传的文件后缀###"
,
"###fileTypeExcludes"
:
"不允许上传的文件后缀###"
},
"###maintenanceIdentity"
:
"维护身份,当工作发生意外错误,无法找到对应的处理人情况下,先尝试将工作分配给创建身份,如果创建身份也不可获取,那么分配给指定人员,默认情况下这个值为空.###"
,
"###formVersionCount"
:
"表单历史版本保留数量,0为不保留.###"
,
"###processVersionCount"
:
"流程历史版本保留数量,0为不保留.###"
,
"###scriptVersionCount"
:
"脚本历史版本保留数量,0为不保留.###"
,
"###docToWordType"
:
"HTML版式公文转换成Word文件方式,local,cloud.###"
,
"###docToWordDefaultFileName"
:
"HTML版式公文转换成Word文件缺省文件名.###"
,
"###docToWordDefaultSite"
:
"HTML版式公文转换成Word文件缺省site.###"
,
"###executorCount"
:
"执行器数量###"
,
"###updateDataProjectionEnable"
:
"更新data数据是否执行映射.###"
,
"###urge"
:
"催办任务设置,发现即将过期时发送提醒消息.###"
,
"###expire"
:
"将已经过了截至时间的待办标记过期.###"
,
"###touchDelay"
:
"延时任务设置,定时触发延时任务,当超过延时时间后继续流转.###"
,
"###merge"
:
"合并任务设置,定时触发合并任务,将已完成工作的Data从Item表中提取合并到WorkCompleted的Data字段中,默认工作完成后2年开始进行合并.###"
,
"###deleteDraft"
:
"清除草稿状态的工作.###"
,
"###passExpired"
:
"超时工作路由设置.###"
,
"###touchDetained"
:
"触发长时间未处理的工作.###"
,
"###logLongDetained"
:
"记录长期滞留工作,待办,待阅设置.###"
,
"logLongDetained"
:
{
"enable"
:
true
,
"cron"
:
"0 0 4 * * ?"
,
"taskThresholdMinutes"
:
14400.0
,
"readThresholdMinutes"
:
14400.0
,
"workThresholdMinutes"
:
14400.0
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式###"
,
"###taskThresholdMinutes"
:
"设定待办滞留阈值,.###"
,
"###readThresholdMinutes"
:
"设定待阅滞留阈值,.###"
,
"###workThresholdMinutes"
:
"设定工作滞留阈值,.###"
},
"###press"
:
"提醒设置,设置提醒间隔.###"
,
"press"
:
{
"intervalMinutes"
:
10.0
,
"count"
:
3.0
,
"###intervalMinutes"
:
"提醒间隔(分钟)###"
,
"###count"
:
"提醒数量限制.###"
},
"###extensionEvents"
:
"事件扩充.###"
,
"###processingSignalPersistEnable"
:
"是否保存工作处理信号内容,默认false.###"
,
"###attachmentConfig"
:
"流程附件上传限制大小或者类型.###"
}
\ No newline at end of file
o2server/configSample/pushConfig.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"appKey"
:
"9aca7cc20fe0cc987cd913ca"
,
"masterSecret"
:
"96ee7e2e0daffd51bac57815"
,
"###enable"
:
"是否启用.###"
,
"###appKey"
:
"极光推送应用的AppKey###"
,
"###masterSecret"
:
"极光推送应用的Master Secret###"
}
\ No newline at end of file
o2server/configSample/qiyeweixin.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"syncCron"
:
"10 0/10 * * * ?"
,
"forceSyncCron"
:
"10 45 8,12 * * ?"
,
"apiAddress"
:
"https://qyapi.weixin.qq.com"
,
"corpId"
:
""
,
"syncSecret"
:
""
,
"corpSecret"
:
""
,
"agentId"
:
""
,
"token"
:
""
,
"encodingAesKey"
:
""
,
"workUrl"
:
""
,
"messageRedirectPortal"
:
""
,
"messageEnable"
:
false
,
"scanLoginEnable"
:
false
,
"attendanceSyncEnable"
:
false
,
"attendanceSyncAgentId"
:
""
,
"attendanceSyncSecret"
:
""
,
"###enable"
:
"是否启用.###"
,
"###syncCron"
:
"回调信号触发同步检查,默认每10分钟运行一次,如果期间内有企业微信回调信号接收到,那么触发同步任务进行人员同步.###"
,
"###forceSyncCron"
:
"强制拉入同步cron,默认在每天的8点和12点强制进行同步.###"
,
"###apiAddress"
:
"api服务器地址###"
,
"###corpId"
:
"企业微信corpId###"
,
"###syncSecret"
:
"企业微信同步通讯录Secret###"
,
"###corpSecret"
:
"企业微信corpSecret###"
,
"###agentId"
:
"企业微信agentId###"
,
"###token"
:
"回调token###"
,
"###encodingAesKey"
:
"回调encodingAesKey###"
,
"###workUrl"
:
"企业微信消息打开工作的url地址,如:http://dev.o2oa.net/x_desktop/###"
,
"###messageRedirectPortal"
:
"企业微信消息处理完成后跳转到特定的门户页面的Id###"
,
"###messageEnable"
:
"推送消息到企业微信###"
,
"###scanLoginEnable"
:
"企业微信扫码登录###"
,
"###attendanceSyncEnable"
:
"是否启用考勤信息###"
,
"###attendanceSyncAgentId"
:
"企业微信考勤打卡应用id###"
,
"###attendanceSyncSecret"
:
"企业微信考勤打卡应用secret###"
}
\ No newline at end of file
o2server/configSample/query.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"crawlWorkCompleted"
:
{
"enable"
:
true
,
"cron"
:
"50 50 21 * * ?"
,
"count"
:
500.0
,
"excludeAttachment"
:
[],
"excludeSite"
:
[],
"maxAttachmentSize"
:
5242880.0
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式.###"
,
"###count"
:
"每次处理的数量,默认每小时处理所以默认为500,同时每次将重爬最旧的25%,按时间轮询25%.###"
,
"###excludeAttachment"
:
"忽略附件名称.###"
,
"###excludeSite"
:
"忽略附件位置.###"
,
"###maxAttachmentSize"
:
"最大附件大小.###"
},
"crawlWork"
:
{
"enable"
:
true
,
"cron"
:
"40 40 10,12,14,16 * * ?"
,
"count"
:
50.0
,
"excludeAttachment"
:
[],
"excludeSite"
:
[],
"maxAttachmentSize"
:
5242880.0
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式.###"
,
"###count"
:
"每次处理的数量,默认每小时处理所以默认为50,同时每次将重爬最旧的50%,按时间轮询50%.###"
,
"###excludeAttachment"
:
"忽略附件名称.###"
,
"###excludeSite"
:
"忽略附件位置.###"
,
"###maxAttachmentSize"
:
"最大附件大小.###"
},
"crawlCms"
:
{
"enable"
:
true
,
"cron"
:
"30 30 9,12,15,18 * * ?"
,
"count"
:
30.0
,
"excludeAttachment"
:
[],
"maxAttachmentSize"
:
5242880.0
,
"###enable"
:
"是否启用###"
,
"###cron"
:
"定时cron表达式.###"
,
"###count"
:
"每次处理的数量,默认每小时处理所以默认为30,同时每次将重爬最旧的50%,按时间轮询50%.###"
,
"###excludeAttachment"
:
"忽略附件名称.###"
,
"###maxAttachmentSize"
:
"最大附件大小.###"
},
"extractOffice"
:
true
,
"extractPdf"
:
true
,
"extractText"
:
true
,
"extractImage"
:
false
,
"tessLanguage"
:
"chi_sim"
,
"###crawlWorkCompleted"
:
"已完成工作收集器设置.###"
,
"###crawlWork"
:
"工作收集器设置.###"
,
"###crawlCms"
:
"内容管理收集器设置.###"
,
"###extractOffice"
:
"抽取office中的文本.###"
,
"###extractPdf"
:
"抽取pdf中的文本.###"
,
"###extractText"
:
"抽取文本中的文本.###"
,
"###extractImage"
:
"抽取图像中的文本.###"
,
"###tessLanguage"
:
"tess使用语言.###"
}
\ No newline at end of file
o2server/configSample/token.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"key"
:
""
,
"password"
:
""
,
"sslKeyStorePassword"
:
"123456"
,
"sslKeyManagerPassword"
:
"123456"
,
"initialManager"
:
"xadmin"
,
"initialManagerDistinguishedName"
:
"xadmin@o2oa@P"
,
"ssos"
:
[
{
"enable"
:
false
,
"client"
:
""
,
"key"
:
""
,
"###enable"
:
"是否启用###"
,
"###client"
:
"名称###"
,
"###key"
:
"密钥###"
}
],
"oauths"
:
[
{
"enable"
:
false
,
"clientId"
:
""
,
"mapping"
:
{},
"###enable"
:
"是否启用###"
,
"###clientId"
:
"客户端名称###"
,
"###clientSecret"
:
"密钥###"
,
"###loginUrl"
:
"登录地址###"
,
"###mapping"
:
"返回值###"
}
],
"oauthClients"
:
[
{
"enable"
:
false
,
"name"
:
""
,
"displayName"
:
""
,
"icon"
:
""
,
"clientId"
:
""
,
"clientSecret"
:
""
,
"authAddress"
:
""
,
"authParameter"
:
"client_id
\u
003d{$client_id}
\u
0026redirect_uri
\u
003d{$redirect_uri}"
,
"authMethod"
:
"GET"
,
"tokenAddress"
:
""
,
"tokenParameter"
:
"client_id
\u
003d{$client_id}
\u
0026client_secret
\u
003d{$client_secret}
\u
0026redirect_uri
\u
003d{$redirect_uri}
\u
0026grant_type
\u
003dauthorization_code
\u
0026code
\u
003d{$code}"
,
"tokenMethod"
:
"POST"
,
"tokenType"
:
"json"
,
"infoAddress"
:
""
,
"infoParameter"
:
"access_token
\u
003d{$access_token}"
,
"infoMethod"
:
"GET"
,
"infoType"
:
"json"
,
"infoCredentialField"
:
"openId"
,
"infoScriptText"
:
""
,
"bindingEnable"
:
false
,
"bindingField"
:
""
,
"###enable"
:
"是否启用.###"
,
"###name"
:
"名称.###"
,
"###displayName"
:
"显示名称.###"
,
"###icon"
:
"图标.###"
,
"###clientId"
:
"用户oauth2认证的client_id.###"
,
"###clientSecret"
:
"用户oauth2认证的client_secret.###"
,
"###authAddress"
:
"认证后的跳转地址.###"
,
"###authParameter"
:
"请求密钥方法参数.###"
,
"###authMethod"
:
"请求密钥方法.一般为GET###"
,
"###tokenAddress"
:
"请求令牌网址.###"
,
"###tokenParameter"
:
"请求令牌方法参数.###"
,
"###tokenMethod"
:
"请求令牌方法.一般为POST###"
,
"###tokenType"
:
"token信息格式.json格式或者form格式###"
,
"###infoAddress"
:
"请求信息网址.###"
,
"###infoParameter"
:
"请求信息方法参数.###"
,
"###infoMethod"
:
"请求信息方法.一般为GET###"
,
"###infoType"
:
"info信息格式.json格式或者form格式或者script格式###"
,
"###infoCredentialField"
:
"info信息中用于标识个人的字段.###"
,
"###infoScriptText"
:
"info信息中用于标识个人的字段.###"
,
"###bindingEnable"
:
"是否允许绑定到用户,如果允许,用户可以自行绑定.###"
,
"###bindingField"
:
"绑定字段,对端的用户标识,一般为openId绑定到个人字段,可选值为open1Id,open2Id,open3Id,open4Id,open5Id###"
}
],
"###key"
:
"加密用口令的密钥,修改后会导致用户口令验证失败.###"
,
"###password"
:
"初始管理员密码,用于内部数据库和FTP文件服务器,以及http的token加密.###"
,
"###sslKeyStorePassword"
:
"ssl密码###"
,
"###sslKeyManagerPassword"
:
"ssl管理密码###"
,
"###initialManager"
:
"初始管理员名称,目前不可更改.###"
,
"###initialManagerDistinguishedName"
:
"初始管理员DistinguishedName,不可更改.###"
,
"###ssos"
:
"sso登录配置###"
,
"###oauths"
:
"oauth单点登录配置###"
,
"###oauthClients"
:
"作为客户端单点登录配置###"
}
\ No newline at end of file
o2server/configSample/vfs.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"ftp"
:
{
"passive"
:
true
},
"ftps"
:
{
"passive"
:
true
},
"sftp"
:
{
"passive"
:
true
}
}
\ No newline at end of file
o2server/configSample/web.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"mock"
:
{},
"###mock"
:
"使用Post模拟Put,Get模拟Delete的模块.###"
}
\ No newline at end of file
o2server/configSample/welink.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"clientId"
:
""
,
"clientSecret"
:
""
,
"syncCron"
:
"10 0/10 * * * ?"
,
"forceSyncCron"
:
"10 45 8,12 * * ?"
,
"oapiAddress"
:
"https://open.welink.huaweicloud.com/api"
,
"messageEnable"
:
false
,
"workUrl"
:
""
,
"messageRedirectPortal"
:
""
,
"###enable"
:
"是否启用.###"
,
"###syncCron"
:
"拉入同步cron,默认每10分钟同步一次.###"
,
"###forceSyncCron"
:
"强制拉入同步cron,默认在每天的8点和12点强制进行同步.###"
,
"###oapiAddress"
:
"api服务器地址###"
,
"###clientId"
:
"华为WeLink轻应用的client_id###"
,
"###clientSecret"
:
"华为WeLink轻应用的client_secret###"
,
"###messageEnable"
:
"推送消息到华为WeLink###"
,
"###workUrl"
:
"华为WeLink消息打开工作的url地址,如:http://dev.o2oa.net/x_desktop/###"
,
"###messageRedirectPortal"
:
"华为WeLink消息处理完成后跳转到特定的门户页面的Id###"
}
\ No newline at end of file
o2server/configSample/workTime.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"amStart"
:
"09:00:00"
,
"amEnd"
:
"11:30:00"
,
"pmStart"
:
"13:00:00"
,
"pmEnd"
:
"17:30:00"
,
"holidays"
:
[],
"workdays"
:
[],
"weekends"
:
[
1.0
,
7.0
],
"###amStart"
:
"工作时间上午开始时间###"
,
"###amEnd"
:
"工作时间上午结束时间###"
,
"###pmStart"
:
"工作时间下午开始时间###"
,
"###pmEnd"
:
"工作时间下午结束时间###"
,
"###holidays"
:
"固定节假日,格式为[
\"
2019-01-01
\"
,
\"
2019-05-01
\"
]###"
,
"###workdays"
:
"固定工作时间,格式为[
\"
2019-01-01
\"
,
\"
2019-05-01
\"
]###"
,
"###weekends"
:
"周末设定,默认格式为[1,7]其中1代表周日,7代表周六.###"
}
\ No newline at end of file
o2server/configSample/zhengwuDingding.json
已删除
100644 → 0
浏览文件 @
911d13e3
{
"enable"
:
false
,
"appSecret"
:
""
,
"agentId"
:
""
,
"syncCron"
:
"10 0/10 * * * ?"
,
"forceSyncCron"
:
"10 45 8,12 * * ?"
,
"oapiAddress"
:
"https://oapi.dingtalk.com"
,
"corpId"
:
""
,
"corpSecret"
:
""
,
"titleSplit"
:
[
","
,
"、"
,
","
,
" "
,
" "
],
"personAttributeTitleName"
:
"职务"
,
"nonce"
:
"o2oa"
,
"messageEnable"
:
true
,
"###enable"
:
"是否启用.###"
,
"###appId"
:
"政务钉钉appId###"
,
"###appSecret"
:
"政务钉钉appSecret###"
,
"###agentId"
:
"政务钉钉agentId###"
,
"###syncCron"
:
"回调信号触发同步检查,默认每10分钟运行一次,如果期间内有政务钉钉回调信号接收到,那么触发同步任务进行人员同步.###"
,
"###forceSyncCron"
:
"强制拉入同步cron,默认在每天的8点和12点强制进行同步.###"
,
"###oapiAddress"
:
"oapi服务器地址###"
,
"###corpId"
:
"政务钉钉corpId###"
,
"###corpSecret"
:
"政务钉钉corpSecret###"
,
"###titleSplit"
:
"title分隔符###"
,
"###personAttributeTitleName"
:
"title对应个人属性名称###"
,
"###nonce"
:
"政务钉钉nonce###"
,
"###messageEnable"
:
"推送消息到政务钉钉消息###"
}
\ No newline at end of file
o2server/x_program_center/src/main/java/com/x/program/center/schedule/FireSchedule.java
浏览文件 @
14d467c5
...
...
@@ -79,22 +79,21 @@ public class FireSchedule extends BaseAction {
private
Date
getLastStartTime
(
ScheduleRequest
request
)
throws
Exception
{
Date
lastStartTime
=
request
.
getLastStartTime
();
if
(
null
==
lastStartTime
)
{
try
(
EntityManagerContainer
emc
=
EntityManagerContainerFactory
.
instance
().
create
())
{
EntityManager
em
=
emc
.
get
(
ScheduleLog
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
ScheduleLog
>
cq
=
cb
.
createQuery
(
ScheduleLog
.
class
);
Root
<
ScheduleLog
>
root
=
cq
.
from
(
ScheduleLog
.
class
);
Predicate
p
=
cb
.
equal
(
root
.
get
(
ScheduleLog_
.
className
),
request
.
getClassName
());
List
<
ScheduleLog
>
os
=
em
.
createQuery
(
cq
.
select
(
root
).
where
(
p
).
orderBy
(
cb
.
desc
(
root
.
get
(
ScheduleLog_
.
fireTime
))))
.
setMaxResults
(
1
).
getResultList
();
if
(!
os
.
isEmpty
())
{
lastStartTime
=
os
.
get
(
0
).
getFireTime
();
}
// if (null == lastStartTime) {
try
(
EntityManagerContainer
emc
=
EntityManagerContainerFactory
.
instance
().
create
())
{
EntityManager
em
=
emc
.
get
(
ScheduleLog
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
ScheduleLog
>
cq
=
cb
.
createQuery
(
ScheduleLog
.
class
);
Root
<
ScheduleLog
>
root
=
cq
.
from
(
ScheduleLog
.
class
);
Predicate
p
=
cb
.
equal
(
root
.
get
(
ScheduleLog_
.
className
),
request
.
getClassName
());
List
<
ScheduleLog
>
os
=
em
.
createQuery
(
cq
.
select
(
root
).
where
(
p
).
orderBy
(
cb
.
desc
(
root
.
get
(
ScheduleLog_
.
fireTime
))))
.
setMaxResults
(
1
).
getResultList
();
if
(!
os
.
isEmpty
())
{
lastStartTime
=
os
.
get
(
0
).
getFireTime
();
}
}
// }
return
lastStartTime
;
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录