application-dev.yml
5.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
spring:
application:
name: base
datasource:
dynamic:
datasource:
master:
username: root
password: Peony@2022
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/eipsaas_chkpower?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false&maxReconnects=10&allowMultiQueries=true
druid:
filters: stat
# druid oracle 验证语句
# validation-query: select 1 from dual
connectionProperties:
resultSetMetaDataOptions: 1
wall:
#开启druid允许执行多条SQL
multiStatementAllow: true
#public-key: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIobgl5Uq9fEW2V6dLXqWJKDUZGAA3CCVasj1Yxge3STiWZ1plhxBUQgNgyRYeEUrUHzYPozfm0kL/zLlHMzcnUCAwEAAQ==
redis:
database: 11
host: 192.168.1.100
port: 6379
password:
activemq:
# broker-url: tcp://localhost:61616
in-memory: true # 单服务部署时可以使用内嵌的mq服务,此时需要注释掉broker-url配置
user:
password:
kafka:
bootstrap-servers: 127.0.0.1:9092
rocketmq:
namesrvAddr: 127.0.0.1:9876
main:
allow-circular-references: true # 解决升级 Spring Boot 2.6后,因循环引用导致启动时报错的问题
mvc:
pathmatch:
matching-strategy: ant_path_matcher # 解决升级 Spring Boot 2.6后,swagger升级的问题
server:
port: 8088
# 1. redis.enable=false 时无论redis.caffeine.enabled配置为true还是false均使用caffeine作为缓存
# 2. redis.enable=true 且 redis.caffeine.enabled=false 仅仅使用redis作为缓存
# 3. redis.enable=true 且 redis.caffeine.enabled=true 则caffeine为一级缓存,redis作为二级缓存
redis:
enable: false
caffeine:
enabled: true
jms:
enable: true
init-queue: true
bpmModel: true
bpmRuntime: true
portal: true
uc: true
form: true
# feign配置
feign:
hystrix:
enabled: true
httpclient:
enabled: true
mockmvcclient: eip-auth,eip-bpm-model,eip-bpm-runtime,eip-form,eip-portal,eip-uc,api-manager-eip-*
# 是否启用basic认证(注意开启时可以通过auth0请求接口,安全性较低)
jwt.basic: false
# 配置日志
logging:
level:
# log 级别
root: info
security:
enabled: false
ignoreUnknownFields: false #RequestBody接口的参数是否可以忽略不认识的属性 如果忽略有可能造成API成批分配的漏洞 false 忽略 true 不忽略
sql:
excludes:
- /swagger-resources/configuration/ui
- /swagger-resources
- /swagger-resources/configuration/security
- /swagger-ui.html
- /proxy.stream
- /hystrix.stream
- /druid/*
- /hystrix/*
xss:
excludes:
- /form/form/v1/saveForm # 保存表单设计
- /auth
- /form/form/v1/saveFormJs # 保存表单设计引入的脚本
- /portal/sysIndexLayoutManage/sysIndexLayoutManage/v1/saveLayout #门户设计保存门户
- /portalNewsNotice/v1/* #保存新闻公告非外部链接使用富文本时
- /form/dataTemplate/v1/save #数据应用表单列表的保存
- /form/dataTemplate/v1/saveTemplate #数据应用表单列表编辑模板的保存
- /form/query/querySqldef/save #数据应用数据列表的保存
- /portalAppParam/v1/ #应用模块——pc模块——管理某个模块——应用详情——保存的详情里面有富文本类型时
- /flow/def/v1/saveProp #流程设计——流程定义——流程的其他设置,保存含有脚本的设置
- /flow/MsgTemplate/v1/save #流程中心——辅助功能——消息模板保存
- /runtime/conditionScript/v1/testScript #流程中心——辅助功能——人员脚本-测试脚本
- /runtime/script/v1/save #流程中心——辅助功能——常用脚本的保存
- /portal/sysIndexColumn/sysIndexColumn/v1/save #门户设计——保存栏目
- /runtime/script/v1/executeScript #测试脚本
- /form/template/v1/save #模板管理(比如宏模板)
- /portalUrlPermission/v1/insert #外部接口授权
- /flow/node/v1/saveDefConf #保存流程配置
- /flow/node/v1/branchConditionSave #分支网关保存
- /flow/def/v1/webDefSave #保存流程定义
- /form/formServiceController/v1/importFormAndBo #导入表单和Bo
- /flow/def/v1/importCheck #表单校验
- /form/query/queryView/saveTemplate #视图模板
- /form/query/queryView/save #保存视图
mybatis-plus:
configuration:
# 打印执行的SQL语句及返回的数据
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
system:
flow:
tasksInStartResult: false # 启动流程后马上查询该实例属于发起人的待办任务
captcha:
# 是否启用图形验证码 0-不启用;1-启用且限制失败次数;2-一直启用
isEnabled: 1
maxFailedCount: 5
external:
# 第三方应用扫码登录跳转地址,必须为域名
redirectUri: http://hteip.vaiwan.com/front/login
eip:
tokenParameter:
allowUrls:
- /system/file/v1/downloadFile
- /onlinePreview
- /picturesPreview
- /imagesPreview
- /getPreviewFile/**
- /temps/**
office:
plugin:
server:
ports: 2001,2002
enabled: true
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image: #缩略图生成参数
width: 150
height: 150
tracker-list: #TrackerList参数,支持多个
- 192.168.1.14:22122
web-server-url: http://192.168.1.14:8888/