作者:Eddy  历史版本:1  更新时间:2024-05-13 18:33

Business服务配置

本章节内容是业务服务Business配置的环境属性;

#-系统发送消息配置的路径
baseUrl=http://localhost
#-开发ID,默认lc
#-每个人的ID必须不一样,建议使用电话号码或工号
appid=lc
#-项目路径 这个是开发时配置的路径
project.path=
#-是否显示版本信息
showVer=true

##---------disruptor配置---------
#-是否启用disruptor
disruptor.invoke.enabled=true
#-disruptor缓冲大小
disruptor.bufferSize=1024
#-disruptor线程小效
disruptor.threadSize=1024
#-disruptor等待策略方式
disruptor.waitStrategy.strategy=blocking
#-disruptor等待策略超时时间,单位seconds
disruptor.waitStrategy.timeout=3

##---------数据库配置---------
#-数据库类型 oracle,mysql,postgres,mssql
db.dbType=mysql
#-工作ID (0~31)
id.worker-id=0
#-数据中心ID (0~31)
id.datacenter-id=0

#-业务对象生成表前缀,默认T_开头
business.table.profix=T_
#-业务建表语句批量执行大小,v3.2.4配置
business.table.batch.update.size=1000
#-表单字段是否转换
business.control.transfer.form.enabled:false
#-数据模板字段是否转换
business.control.transfer.datatemplate.list.enabled:false

#-office预览集成端口
office.port=2002
#-office home目录
office.home=/tmp/OpenOffice4/provider/business
#-office输出目录
office.outputDir=/tmp/file/provider/business

####################流程配置
#-流程引擎名称
bpmx.engine.name=ibps
#-ativiti 自动建表
bpmx.engine.databaseSchemaUpdate=false
#-ativiti 任务调度
bpmx.engine.jobExecutorActivate=false
#-设置true后将代替那些老的Job executor
bpmx.engine.asyncExecutorEnabled=false
#-指示activiti在流程引擎启动就激活AsyncExecutor,异步
bpmx.engine.asyncExecutorActivate=false
#-activiti history模式
bpmx.engine.dbIdentityUsed=false
bpmx.engine.dbHistoryUsed=true
#-可配置的历史级别有 none, acitivity, audit, all
#-none: 跳过所有的历史数据。性能最优,但是没有历史数据。
#-activity: 保存所有的流程实例和活动信息。只保留最后信息,没有明细信息。
#-audit: 默认级别。保存所有的流程实例,任务、活动、表单属性等信息。
#-full: 最高级别,最完整的的历史信息。除了audit中的信息外,还包含详细信息。
bpmx.engine.history=audit

#-流程代理任务-委托人是否可见,true|false
bpm.delegator.visible=false
#-all/single
bpm.delegator.type=
#-流程锁定任务-其他候选人是否可见,true|false
bpm.lock.visible=false
#-流程审批历史转办是否显示
bpm.history.change.show=true
#-流程定义管理设置人员自动抽取:extract、no
bpm.def.node.user.extract=no
#-流程图查看显示候选人数量
bpm.node.user.show.count=3
#-流程脚本节点是否清除缓存,避免数据展示不一致
bpm.node.script.cache.clear=true
#-是否抛出流程结束事件报错
bpm.end.event.exception.show=true
#-是否显示全部意见
bpm.graph.option.show.all=true
#-流程历史是否忽略第一个节点
bpm.def.node.history.skipFirstNode=true
#-流程异步参数,executor/jd-async-tool/defualt
bpm.dashboard.multi-task=defualt,v3.2.4配置
#-流程异步参数超时时间,v3.2.4配置
bpm.dashboard.jd-async-tool-timeout=5000

#-流程任务优化定时刷新中间表数据开关,v3.2.4配置
auto.sync.task.pending.open=false
#-流程任务优化定时刷新中间表数据间隔,v3.2.4配置
auto.sync.task.pending.interval=5
#-流程任务优化开关,v3.2.4配置
bpm.task.pendding.optimize.enabled=false

#-流程图高宽相关参数
processDiagram.extract.width=50
processDiagram.extract.height=50
#-流程图节点颜色,如 processDiagram.pending="#e21100"
processDiagram.[流程状态]=[颜色值]