Compare commits

..

262 Commits

Author SHA1 Message Date
even
5c0196c868 代码提交(测试通过) 2025-06-07 19:42:30 +08:00
even
76d2a49da9 RunContextManager测试用例 2025-06-07 17:10:58 +08:00
HopeLi
e632689765 Merge remote-tracking branch 'origin/master' 2025-06-07 16:53:50 +08:00
HopeLi
5c7d5cd4f3 0607 ljc sca模块修改 2025-06-07 16:53:36 +08:00
even
2d88b40e96 scaTaskId回写 2025-06-07 16:46:25 +08:00
even
56f250617b pom 修改(打测试用war包) 2025-06-07 16:43:59 +08:00
even
4955e824bd scataskId回写 2025-06-07 16:42:23 +08:00
even
4017f96914 Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-07 16:39:09 +08:00
HopeLi
aea93de839 0607 ljc sca模块修改 2025-06-07 16:38:17 +08:00
even
80b9d2ed99 Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-07 15:37:32 +08:00
even
9a7486617b 文件下载测试 2025-06-07 15:37:18 +08:00
HopeLi
8664b4f25e 0607 ljc sca模块修改 2025-06-07 15:30:21 +08:00
even
b3a8c14b33 日志添加,接口添加 2025-06-07 12:19:32 +08:00
HopeLi
b42c9200ae Merge remote-tracking branch 'origin/master' 2025-06-06 18:11:11 +08:00
HopeLi
492d07c683 0605 ljc 报告模块修改 2025-06-06 18:11:00 +08:00
even
b37752f4c4 报告下载接口 2025-06-06 18:10:02 +08:00
HopeLi
7079de93ff Merge remote-tracking branch 'origin/master' 2025-06-06 16:58:32 +08:00
HopeLi
b346c8f42e 0605 ljc 报告模块修改 2025-06-06 16:58:19 +08:00
even
5a4ca4f971 mybatis字段自动注入 2025-06-06 15:42:43 +08:00
even
43ede4dade 登录用户获取方法更换 2025-06-06 14:43:35 +08:00
even
4487f4e97a 分页修改 2025-06-06 12:55:19 +08:00
even
90cb7a430f Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-06 12:21:10 +08:00
even
c5ec84681d 断点运行相关代码 2025-06-06 12:20:46 +08:00
HopeLi
2172342c6b 0605 ljc 报告模块修改 2025-06-06 12:16:38 +08:00
HopeLi
0e38244fbc 0605 ljc 报告模块修改 2025-06-05 21:34:13 +08:00
HopeLi
430086cfa8 Merge remote-tracking branch 'origin/master' 2025-06-05 19:49:32 +08:00
HopeLi
f85f8334bb 0605 ljc 2025-06-05 19:49:03 +08:00
even
6b457250d7 AFL修改 2025-06-05 17:03:20 +08:00
even
760607fe26 1.运行历史接口修改。
2.AFLworker修改
2025-06-05 16:40:46 +08:00
HopeLi
4560c428a6 Merge remote-tracking branch 'origin/master' 2025-06-05 15:34:22 +08:00
HopeLi
447543962f 0605 ljc 目标模块调试完成,新增pageResult构造方法,完善分页信息返回,报告模块开发,上传下载接口开发,新增sftp工具方法,健壮BeanIdReq适用范围,新增BeanIdPageReq,替换所有BeanUtils方法 2025-06-05 15:33:52 +08:00
even
bfeacb12a2 Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-05 15:28:43 +08:00
even
1ba802389b 1.流水线从错误处开始执行&从头开始执行,运行中流程重复发起运行报错(初步测试通过)
2.流水线执行历史查询与入库方法(初步测试通过)
3.context获取用户获取不到改为使用springsecurity的ContextHolder
2025-06-05 15:28:09 +08:00
even
020c4a0a6d 1.流水线从错误处开始执行&从头开始执行,运行中流程重复发起运行报错(初步测试通过)
2.流水线执行历史查询与入库方法(初步测试通过)
3.context获取用户获取不到改为使用springsecurity的ContextHolder
2025-06-05 15:27:24 +08:00
HopeLi
3eff2984eb 0604 ljc 2025-06-04 19:08:18 +08:00
HopeLi
e25c9fce4b Merge remote-tracking branch 'origin/master' 2025-06-04 17:23:34 +08:00
HopeLi
9836c649e9 0604 ljc 2025-06-04 17:23:17 +08:00
even
8acb7b04e1 Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-04 16:03:36 +08:00
even
6961b4b07c 流水线task发生错误是否跳过(初步测试完毕) 2025-06-04 16:02:14 +08:00
even
ac2ed85474 流水线执行修改,bug修复 2025-06-04 10:19:25 +08:00
HopeLi
5b0b142914 0604 ljc 2025-06-04 09:54:16 +08:00
HopeLi
7c91fa725f Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-04 09:53:16 +08:00
even
13943cd7e2 日志相关功能修改 2025-06-03 18:51:10 +08:00
even
4c3d22db3c converter添加与BeanUtils替换 2025-06-03 18:41:38 +08:00
HopeLi
d70b924fe3 Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-03 18:30:38 +08:00
HopeLi
77cbbc687e Update .gitignore 2025-06-03 18:30:28 +08:00
even
c2c5c67c9b Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-03 11:30:19 +08:00
even
a32c0be8d7 包移动 2025-06-03 11:30:05 +08:00
even
70041ea94f 包移动 2025-06-03 11:28:59 +08:00
Hope Li
4a5af80416 0603 ljc 2025-06-02 21:17:08 +08:00
even
f991117d58 Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro 2025-06-02 20:54:07 +08:00
even
17dc808d21 功能单元测试补齐 2025-06-02 20:53:53 +08:00
Hope Li
675de764bf 0603 ljc 2025-06-02 20:26:57 +08:00
even
4a535b48ad Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro
# Conflicts:
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/process/service/resource/impl/ResourceManagerServiceImpl.java
2025-06-02 19:47:30 +08:00
Hope Li
ef858413b9 0602 ljc 2025-06-02 10:15:03 +08:00
Hope Li
c7c64cc666 0601 ljc resource模块基础功能开发 2025-06-01 21:52:20 +08:00
even
7a57d6658c 启动问题修复 2025-06-01 18:21:04 +08:00
even
41a0e2cf9f Merge branch 'master' of http://1.14.125.6:3000/mianbin/ops-pro
# Conflicts:
#	modules/module-ci-process-biz/pom.xml
2025-06-01 17:29:26 +08:00
Hope Li
b04fa918b0 0601 ljc resource模块基础功能开发 2025-06-01 17:25:01 +08:00
even
ba5a5ed972 注释补充 2025-06-01 17:24:46 +08:00
even
952e1220ef docker 初试,以及测试类 2025-06-01 17:20:52 +08:00
Hope Li
3ac7291ffe 0601 ljc resource模块基础功能开发 2025-06-01 17:15:30 +08:00
Hope Li
aca9ff8b47 0601 ljc resource模块基础功能开发 2025-06-01 15:22:30 +08:00
even
e8a2d21f7b Merge remote-tracking branch 'origin/temp' 2025-05-31 14:48:54 +08:00
1eb28acf44 1:提交一个ops-ui的代码,可以启动无需nginx ,调试方便
2:processor-api的module当时因为冲突删除了,新建一个
3: 修改了pom文件的引用问题
2025-05-31 00:57:22 +08:00
even
d4f4167fba Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-31 00:30:01 +08:00
even
c1ee42791f 日志修改 ssh执行逻辑修改 2025-05-31 00:29:44 +08:00
HopeLi
c7223f3ff3 0530 ljc 删除无用代码 2025-05-30 20:07:50 +08:00
a80a0a9dba 删除代码,修改配置文件 2025-05-30 19:12:05 +08:00
5ae719b1f3 Merge branch 'temp'
# Conflicts:
#	.gitignore
#	.idea/CopilotChatHistory.xml
#	.idea/compiler.xml
#	.idea/encodings.xml
#	.idea/inspectionProfiles/Project_Default.xml
#	.idea/jarRepositories.xml
#	.idea/misc.xml
#	dependencies/pom.xml
#	framework/spring-boot-starter-biz-tenant/src/main/java/cd/casic/framework/tenant/core/mq/rocketmq/TenantRocketMQConsumeMessageHook.java
#	framework/spring-boot-starter-biz-tenant/src/main/java/cd/casic/framework/tenant/core/mq/rocketmq/TenantRocketMQSendMessageHook.java
#	modules/module-ci-commons/pom.xml
#	modules/module-ci-commons/src/main/java/cd/casic/ci/commons/work/package-info.java
#	modules/module-ci-engine/pom.xml
#	modules/module-ci-execute/pom.xml
#	modules/module-ci-market/pom.xml
#	modules/module-ci-plugin/pom.xml
#	modules/module-ci-process-api/pom.xml
#	modules/module-ci-process-biz/src/main/java/cd/casic/module/process/convert/package-info.java
#	modules/module-ci-process-biz/src/main/java/cd/casic/module/process/toolkit/beans/model/FieldMapping.java
#	modules/module-ci-repository/pom.xml
#	modules/pom.xml
#	ops-server/pom.xml
#	ops-server/src/main/java/cd/casic/server/OpsServerApplication.java
2025-05-30 17:39:13 +08:00
6522e72f20 提交个ignore 2025-05-30 17:34:20 +08:00
16516cb1cf 删除了不需要的 2025-05-30 17:33:22 +08:00
even
ead82b946d 执行逻辑修改-每次启动标记上一次执行为执行失败 2025-05-30 14:52:57 +08:00
even
82f1aaa72f 引擎逻辑修改 2025-05-30 12:53:21 +08:00
even
00a172715f Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-30 11:40:23 +08:00
even
f596fd101e worker修改 2025-05-30 11:39:24 +08:00
HopeLi
952d863a61 0529 ljc 修改删除阶段npe错误 2025-05-30 11:39:00 +08:00
蒲先生
2960b3310e 代码仓管理上 2025-05-30 10:13:54 +08:00
even
65a5b75a84 判空增加 2025-05-29 20:03:04 +08:00
even
c249975546 命令修改 2025-05-29 19:23:28 +08:00
HopeLi
9d6dfdbe16 0529 ljc 2025-05-29 16:36:55 +08:00
even
59cdbf7401 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-29 16:19:27 +08:00
HopeLi
7b09fcdb01 0529 ljc 2025-05-29 16:16:05 +08:00
even
056f15d68b 阻塞逻辑修改 2025-05-29 14:11:37 +08:00
even
06b1bea076 阻塞逻辑修改 2025-05-29 10:40:07 +08:00
even
1055eb3dcd Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-29 10:36:26 +08:00
even
14c4e9b6e5 阻塞逻辑修改 2025-05-29 10:32:58 +08:00
even
f0b36fad6d 失败状态逻辑更改 2025-05-29 10:15:10 +08:00
HopeLi
6420206095 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-29 10:14:35 +08:00
HopeLi
8fbac5be8e 0529 ljc 2025-05-29 10:13:02 +08:00
even
5be88bf251 抽象类改为接口类 2025-05-29 09:24:27 +08:00
even
5578bad0bd Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-28 19:32:03 +08:00
even
de80ed56fe 新的worker添加,等待审批节点预留 2025-05-28 19:31:30 +08:00
HopeLi
6ed93d535a 0528 ljc 2025-05-28 19:27:28 +08:00
113f657d76 优化了下代码 2025-05-28 12:35:53 +08:00
7a639ee01f 增加一个镜像内部类,控制镜像统计,目前镜像能够按需获取了,3个方法,获取一次,一直获取,按需获取关闭 2025-05-28 12:10:25 +08:00
45c717924c docker 的容器内部状态监控完成,测试已经完成 2025-05-28 11:55:36 +08:00
HopeLi
7d38e59482 0528 ljc 2025-05-28 09:46:03 +08:00
HopeLi
0ddcbe43bf Merge remote-tracking branch 'origin/temp' into temp 2025-05-28 09:35:26 +08:00
HopeLi
4a6510a27b 0528 ljc 2025-05-28 09:34:50 +08:00
even
d7a852d556 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/engine/scheduler/PipelineSchedulingBootstrapper.java
2025-05-28 09:30:47 +08:00
23ceadc163 抽一个command命令的类,里面的buffer为了以后存储镜像的输出 2025-05-27 22:29:09 +08:00
even
eb7b06607c 目标上传worker添加、测试用例生成worker 、 AFLworker 2025-05-27 21:26:20 +08:00
HopeLi
c049f3b9dc 0527 ljc 2025-05-27 21:26:17 +08:00
HopeLi
8c6011fcb4 0527 ljc 2025-05-27 21:25:23 +08:00
1daa1f12df 提交容器 ,镜像,的操作代码,现在只有启动没有写单元测试了,其他的都完成了 2025-05-27 21:14:30 +08:00
even
4029e7d497 worker添加,自定义镜像worker修改,机器管理接口添加 2025-05-27 17:29:09 +08:00
even
3ff9040893 worker添加,自定义镜像worker修改,机器管理接口添加 2025-05-27 17:23:26 +08:00
even
7e0f4345b6 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-27 16:15:51 +08:00
even
43a950e816 SSE心跳+worker还有taskType定义 2025-05-27 16:15:22 +08:00
HopeLi
87775bc06f 0527 ljc 2025-05-27 16:11:06 +08:00
even
0734d01fb2 mapstruct lombok冲突修复 加载不到的依赖项先注释,联调问题修改 2025-05-27 14:47:13 +08:00
HopeLi
badf228bd6 0527 ljc 2025-05-27 11:13:28 +08:00
HopeLi
bf858cfe21 0527 ljc 2025-05-27 11:12:30 +08:00
even
359a5e1e27 日志修改 2025-05-27 10:11:38 +08:00
even
b8e344547a 日志修改 2025-05-26 20:41:07 +08:00
even
60b753e2eb Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-26 20:37:02 +08:00
even
a986288195 日志修改 2025-05-26 20:35:38 +08:00
HopeLi
b8170bc955 0526 ljc 2025-05-26 20:11:44 +08:00
even
02447a79a4 日志修改 2025-05-26 20:04:50 +08:00
even
e16d90d3c4 日志修改 2025-05-26 19:55:33 +08:00
even
54377af6df 日志修改 2025-05-26 19:35:25 +08:00
even
8ab2eb2d4c 日志类 2025-05-26 19:33:02 +08:00
even
4b9c846a7a 联调问题修复,日志修改 2025-05-26 19:18:25 +08:00
1d64da41bb 修改了ci-common的路径,里面有很多没用的残留的,后期删除,增加了获取jar包路径的函数 2025-05-25 14:52:25 +08:00
even
1520c8c103 名称改回,传参形式修改 2025-05-23 16:30:09 +08:00
even
6605dd16e6 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-23 15:12:00 +08:00
6ac4a14ded 提交后续开发的内容 2025-05-23 14:55:52 +08:00
HopeLi
a754b6369c 0523 ljc 2025-05-23 14:40:04 +08:00
even
01fc6f5637 传参形式修改 2025-05-23 14:39:08 +08:00
even
a945af0d35 处理ssh密码中带有特殊字符的情况 2025-05-23 11:09:43 +08:00
HopeLi
6e9d521dc5 0523 ljc 2025-05-23 10:00:50 +08:00
even
04674b2d7c 工具类修改 2025-05-23 09:27:32 +08:00
even
dc4ca13ef0 日志接口获取 2025-05-22 17:47:26 +08:00
even
5857f215a2 获取状态接口修改 2025-05-22 17:45:11 +08:00
even
3cf62585ec Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-22 16:36:44 +08:00
even
a0ffece506 worker修改 2025-05-22 16:36:31 +08:00
HopeLi
66293fe5b6 0522 ljc 2025-05-22 16:34:44 +08:00
HopeLi
8787043fa3 0522 ljc 2025-05-22 16:34:01 +08:00
HopeLi
a6929ff1c1 0522 ljc 2025-05-22 15:54:46 +08:00
even
f93004d132 日志对象方法添加 2025-05-22 15:35:03 +08:00
even
f6cdacb3ce 方法添加 2025-05-22 15:33:53 +08:00
even
8bca5d8713 流水线状态查询方法添加 2025-05-22 15:02:58 +08:00
even
aa9f19350e 日志相关添加 2025-05-22 10:26:26 +08:00
even
b6d4eaf89d Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/engine/worker/ScaSbomWorker.java
2025-05-22 10:10:13 +08:00
even
6f71097592 添加日志与查找记录 2025-05-22 10:07:28 +08:00
HopeLi
7c4442a30e 0522 ljc 2025-05-22 10:06:25 +08:00
even
1ee523dc21 参数名称修改 2025-05-22 09:26:50 +08:00
even
c09ebec3c7 属性名更改 2025-05-22 09:24:59 +08:00
even
fd94a43f9c http 请求修改 2025-05-21 20:30:35 +08:00
even
eff37eb9bf Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-21 20:22:28 +08:00
even
e46d718d40 日志添加 2025-05-21 20:20:58 +08:00
HopeLi
27c5da846e 修改配置项,暂不可运行 2025-05-21 20:20:14 +08:00
even
5e893baefa ssh迁移 2025-05-21 19:58:46 +08:00
even
247e65761e 联调问题修改 2025-05-21 14:46:01 +08:00
even
cc83240309 联调问题修复,更新task接口补充 2025-05-21 10:29:36 +08:00
even
96033d6353 bug修复 2025-05-20 19:32:19 +08:00
even
2d20dc7e09 接口传参修改,联调bug修改,converter修改 2025-05-20 15:59:03 +08:00
even
a5a05bb382 撤回修改 2025-05-20 09:54:20 +08:00
even
79e3484101 配置文件删除 2025-05-20 09:49:15 +08:00
even
b050ca2acb 执行流程调试暂时完毕 2025-05-19 20:41:36 +08:00
even
1ac1efed22 bug fix 2025-05-19 17:12:17 +08:00
even
aecf12f558 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-19 16:39:36 +08:00
even
6a99f0eb54 stage转换代码 2025-05-19 16:29:50 +08:00
HopeLi
6ae6d9b704 0519 ljc 2025-05-19 16:29:06 +08:00
even
6b79782a2b Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-19 15:30:22 +08:00
even
bef7b6e0ba 添加TODO稍后需要检查逻辑 2025-05-19 15:29:10 +08:00
even
ab924c0e6b 执行器相关逻辑 2025-05-19 15:22:16 +08:00
even
889026d53c 串行分发器,添加阻塞逻辑 2025-05-19 15:12:51 +08:00
HopeLi
575b415c16 0519 ljc 2025-05-19 15:11:57 +08:00
even
4280521a3c test2通过(如果正确注册context就能找到worker执行,还差分发逻辑暂时没测试) 2025-05-19 14:32:43 +08:00
even
e3fc790948 test2通过(如果正确注册context就能找到worker执行,还差分发逻辑暂时没测试) 2025-05-19 12:37:32 +08:00
even
5101584b68 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-19 10:44:19 +08:00
HopeLi
68cd67d3e5 0519 ljc 2025-05-19 10:38:20 +08:00
even
03d24d094c Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-19 10:19:12 +08:00
even
b55f5b529c 自测问题修复 2025-05-19 10:18:21 +08:00
even
e2affe4487 执行引擎部分逻辑,修改redis必须使用5以上版本() 2025-05-17 17:28:40 +08:00
HopeLi
6b34993a07 0517 ljc 2025-05-17 17:19:06 +08:00
HopeLi
42dc4fb51e Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-17 17:14:02 +08:00
HopeLi
34d94b0e98 0517 ljc 2025-05-17 17:13:44 +08:00
even
196162cf99 执行引擎部分逻辑,修改redis必须使用5以上版本() 2025-05-17 16:11:35 +08:00
even
57a6f96138 TODO添加 2025-05-17 01:14:44 +08:00
even
69d168f4a8 执行引擎部分代码(未完成) 2025-05-17 01:10:21 +08:00
even
49dbe611f2 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/process/dataObject/pipeline/PipPipeline.java
2025-05-17 01:00:36 +08:00
even
69b0c0b765 执行引擎部分代码(未完成) 2025-05-17 00:59:27 +08:00
even
ddf3ff7069 执行引擎部分代码(未完成) 2025-05-17 00:56:49 +08:00
HopeLi
08ea03fd77 0516 ljc 2025-05-16 17:04:20 +08:00
HopeLi
734f44dfd3 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	modules/module-ci-common-pipeline/src/main/java/cd/casic/ci/common/pipeline/req/pipeline/PipelineUpdateReq.java
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/process/dataObject/pipeline/PipPipeline.java
2025-05-16 16:14:49 +08:00
HopeLi
a6958b930d 0516 ljc 2025-05-16 16:12:21 +08:00
even
7758a6d5eb 执行引擎部分代码(开了个头),stage,task主键字段改为id 2025-05-16 16:03:37 +08:00
even
969def7fc3 执行引擎部分代码(开了个头),stage,task主键字段改为id 2025-05-16 15:29:11 +08:00
even
b5c7584135 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-16 09:28:03 +08:00
HopeLi
4086b0ded7 0516 ljc 2025-05-16 09:26:17 +08:00
even
a9d272f15f Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-16 09:26:04 +08:00
even
3be7e496b4 mapstruct暂时注释,tableIgnore 字段添加 2025-05-16 09:25:52 +08:00
HopeLi
337ee85667 0515 ljc 2025-05-15 18:47:14 +08:00
even
ee5b471334 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/process/dataObject/stage/PipStage.java
2025-05-15 18:33:02 +08:00
even
c75d733edb 字段修改 2025-05-15 18:32:40 +08:00
HopeLi
d2dfc0f0e1 0515 ljc 2025-05-15 18:26:01 +08:00
even
c3d042144f Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-15 17:34:30 +08:00
even
2383a0d211 目标类型枚举类 2025-05-15 17:33:24 +08:00
HopeLi
56d3318158 Merge remote-tracking branch 'origin/temp' into temp 2025-05-15 17:31:36 +08:00
HopeLi
b80f0bd249 0515 ljc 2025-05-15 17:31:16 +08:00
even
9f91c0eba6 目标类型枚举类 2025-05-15 17:02:25 +08:00
even
fa2fdf4873 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-15 16:26:29 +08:00
HopeLi
437ada5a4f 0515 ljc 2025-05-15 16:25:43 +08:00
even
4c236cf7c4 添加注释 2025-05-15 16:19:16 +08:00
HopeLi
04d395b9a0 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/process/service/stage/impl/StageServiceImpl.java
2025-05-15 16:18:43 +08:00
HopeLi
e68bb01cfd 0515 ljc 2025-05-15 16:17:05 +08:00
even
a61c7626ad 复制task 2025-05-15 16:15:24 +08:00
even
b71023318b 复制阶段 2025-05-15 15:49:42 +08:00
even
13b8c8185e Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-15 15:21:18 +08:00
even
f7533f9ff3 copyStage接口 2025-05-15 15:18:29 +08:00
HopeLi
82a0f0d341 0515 ljc 2025-05-15 15:17:44 +08:00
HopeLi
cd5c9637ee Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/process/service/stage/impl/StageServiceImpl.java
2025-05-15 15:16:27 +08:00
HopeLi
c9c834a617 0515 ljc 2025-05-15 15:06:16 +08:00
even
8eb38f3c30 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-15 14:58:23 +08:00
even
2f199cf34c 部分接口修改 2025-05-15 14:57:28 +08:00
even
6c3ae0fc97 stage接口修改 2025-05-15 11:00:40 +08:00
HopeLi
bf6541ea55 0515 ljc 2025-05-15 10:59:57 +08:00
HopeLi
c6c3f626c1 0515 ljc 2025-05-15 10:39:22 +08:00
even
ea48fae43a 错误修复 2025-05-15 10:36:45 +08:00
even
2459515c98 方法字段添加 2025-05-15 10:35:21 +08:00
even
9e50fea94f 基础字段添加 2025-05-15 10:24:33 +08:00
even
1abd20136a 创建节点方法 2025-05-15 10:08:45 +08:00
even
81b7533da5 创建节点逻辑修改 2025-05-15 09:30:26 +08:00
even
ad63181c33 冲突处理 2025-05-14 19:57:37 +08:00
even
b01ea03838 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/process/service/stage/impl/StageServiceImpl.java
#	modules/module-ci-process-biz/src/main/java/cd/casic/ci/process/process/service/task/impl/TaskServiceImpl.java
2025-05-14 19:53:43 +08:00
even
908d65b688 雪花算法添加实体类添加 2025-05-14 19:51:34 +08:00
HopeLi
ef72a38345 0514 ljc 2025-05-14 19:48:18 +08:00
HopeLi
185f1753f3 0514 ljc 2025-05-14 18:57:54 +08:00
even
6479e0112d 删除节点方法添加 2025-05-14 18:26:22 +08:00
even
0082a3a5d6 部分接口提交 2025-05-14 15:17:17 +08:00
even
6b3aa6e39c 部分接口提交 2025-05-14 15:08:44 +08:00
even
78d0ad8b52 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-14 09:37:50 +08:00
even
dbd2d06e55 stage部分方法 2025-05-14 09:27:29 +08:00
even
2a5dddfb68 stage部分方法 2025-05-14 09:26:41 +08:00
even
19f9ad32a9 代码提交,(不可运行) 2025-05-13 19:50:46 +08:00
HopeLi
726cef48cb 0513 ljc 2025-05-13 19:50:10 +08:00
even
a30646253d Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp
# Conflicts:
#	ops-server/pom.xml
2025-05-13 17:23:15 +08:00
even
258f1f96ac 多余代码删除,配置修改 2025-05-13 17:04:38 +08:00
HopeLi
df1754d820 0513 ljc 2025-05-13 16:59:46 +08:00
even
3824daf37b 多余代码删除,tiklab代码迁移 2025-05-13 10:44:49 +08:00
even
f0f7a12237 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-13 10:39:05 +08:00
even
fd87d624dd 多余代码删除,tiklab代码迁移 2025-05-13 10:38:46 +08:00
HopeLi
429e920829 Merge remote-tracking branch 'origin/temp' into temp
# Conflicts:
#	ops-server/src/main/java/cd/casic/server/controller/PipelineController.java
2025-05-13 09:21:21 +08:00
HopeLi
e3a4bb629d 0513 ljc 2025-05-13 09:20:12 +08:00
even
7620ba437d 拦截配置回退 2025-05-12 20:40:23 +08:00
even
d9f2ba93d6 拦截配置修改 2025-05-12 19:56:29 +08:00
even
0b67139b9e 拦截配置修改 2025-05-12 19:31:46 +08:00
even
1ddbfb72c8 配置修改 2025-05-12 19:21:28 +08:00
even
75a588adbc 配置修改,permitAll添加 2025-05-12 19:14:37 +08:00
even
5a0f2beb09 返回值方法修改 2025-05-12 09:38:15 +08:00
even
a48ed89227 Merge branch 'temp' of http://1.14.125.6:3000/mianbin/ops-pro into temp 2025-05-12 09:36:41 +08:00
HopeLi
3c4e338b23 0512 ljc 2025-05-12 09:36:04 +08:00
even
89dc336a81 多余import 2025-05-12 09:34:49 +08:00
even
05fb76ebbc 部分接口解除注释 2025-05-12 09:32:48 +08:00
Hope Li
67afdbf867 0510 ljc 2025-05-10 23:55:04 +08:00
even
dda88d0fdd 对象提交 2025-05-10 17:17:26 +08:00
even
2e51102734 部分接口mock数据,以及请求与返回值对象,pom文件添加pipelineCommon依赖 2025-05-10 17:16:12 +08:00
even
472d1aee85 多余bean处理 2025-05-10 02:05:18 +08:00
even
6547ea089c 循环依赖处理 2025-05-10 01:55:45 +08:00
1190 changed files with 26644 additions and 39097 deletions

7
.gitignore vendored
View File

@ -1,7 +1,7 @@
# ---> Java
# Compiled class file
*.class
.idea
.idea/**
# Log file
*.log
target
@ -27,7 +27,7 @@ replay_pid*
### IntelliJ IDEA ###
.idea
.idea/*
*.iws
*.iml
*.ipr!/.flattened-pom.xml
@ -41,5 +41,4 @@ target/
.vscode/!/.xcodemap/
!/.idea/
/.idea/
/.idea/
/.xcodemap/
/dependencies/.flattened-pom.xml

11
.idea/$PROJECT_FILE$ generated
View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AnalysisProjectProfileManager">
<option name="PROJECT_PROFILE" />
<option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
<list size="0" />
</component>
<component name="SuppressionsComponent">
<option name="suppComments" value="[]" />
</component>
</project>

9
.idea/.gitignore generated vendored
View File

@ -1,9 +0,0 @@
# Default ignored files
/shelf/
../.idea
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

File diff suppressed because one or more lines are too long

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="com.codeverse.userSettings.MarscodeWorkspaceAppSettingsState">
<option name="ckgOperationStatus" value="SUCCESS" />
<option name="progress" value="0.99902534" />
</component>
</project>

108
.idea/compiler.xml generated
View File

@ -1,108 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile default="true" name="Default" enabled="true" />
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="machine-management-module" />
</profile>
<profile name="Annotation profile for ops-pro" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<processorPath useClasspath="false">
<entry name="$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-configuration-processor/3.3.4/spring-boot-configuration-processor-3.3.4.jar" />
<entry name="$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.34/lombok-1.18.34.jar" />
<entry name="$MAVEN_REPOSITORY$/org/mapstruct/mapstruct-processor/1.6.2/mapstruct-processor-1.6.2.jar" />
<entry name="$MAVEN_REPOSITORY$/org/mapstruct/mapstruct/1.6.2/mapstruct-1.6.2.jar" />
</processorPath>
<module name="spring-boot-starter-protection" />
<module name="spring-boot-starter-monitor" />
<module name="module-system-biz" />
<module name="module-ci-process-biz" />
<module name="module-system-api" />
<module name="spring-boot-starter-mq" />
<module name="spring-boot-starter-mongo" />
<module name="commons" />
<module name="spring-boot-starter-plugin" />
<module name="module-ci-engine" />
<module name="ops-server" />
<module name="spring-boot-starter-biz-data-permission" />
<module name="spring-boot-starter-mybatis" />
<module name="module-ci-process-api" />
<module name="module-infra-api" />
<module name="spring-boot-starter-test" />
<module name="spring-boot-starter-websocket" />
<module name="spring-boot-starter-biz-ip" />
<module name="module-infra-biz" />
<module name="module-ci-commons" />
<module name="spring-boot-starter-job" />
<module name="module-ci-store" />
<module name="spring-boot-starter-web" />
<module name="module-ci-plugin" />
<module name="spring-boot-starter-excel" />
<module name="spring-boot-starter-biz-tenant" />
<module name="spring-boot-starter-redis" />
<module name="spring-boot-starter-security" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
<module name="module-ci-common-pipeline" target="17" />
<module name="module-ci-dispatch-api" target="17" />
<module name="module-ci-environment" target="17" />
<module name="module-ci-event" target="17" />
<module name="module-ci-execute" target="1.5" />
<module name="module-ci-log" target="17" />
<module name="module-ci-market" target="17" />
<module name="module-ci-project" target="17" />
<module name="module-ci-quality" target="17" />
<module name="module-ci-repository" target="17" />
<module name="module-ci-store-api" target="17" />
<module name="module-ci-ticket" target="17" />
<module name="module-ci-worker" target="17" />
<module name="system-plugin-example-web" target="17" />
</bytecodeTargetLevel>
</component>
<component name="JavacSettings">
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
<module name="app-plugins" options="-parameters" />
<module name="commons" options="-parameters" />
<module name="framework" options="-parameters" />
<module name="machine-management-module" options="-parameters" />
<module name="module-ci-commons" options="-parameters" />
<module name="module-ci-engine" options="-parameters" />
<module name="module-ci-plugin" options="-parameters" />
<module name="module-ci-process-api" options="-parameters" />
<module name="module-ci-process-biz" options="-parameters" />
<module name="module-ci-store" options="-parameters" />
<module name="module-infra-api" options="-parameters" />
<module name="module-infra-biz" options="-parameters" />
<module name="module-system-api" options="-parameters" />
<module name="module-system-biz" options="-parameters" />
<module name="modules" options="-parameters" />
<module name="ops-pro" options="-parameters" />
<module name="ops-server" options="-parameters" />
<module name="spring-boot-starter-biz-data-permission" options="-parameters" />
<module name="spring-boot-starter-biz-ip" options="-parameters" />
<module name="spring-boot-starter-biz-tenant" options="-parameters" />
<module name="spring-boot-starter-excel" options="-parameters" />
<module name="spring-boot-starter-job" options="-parameters" />
<module name="spring-boot-starter-mongo" options="-parameters" />
<module name="spring-boot-starter-monitor" options="-parameters" />
<module name="spring-boot-starter-mq" options="-parameters" />
<module name="spring-boot-starter-mybatis" options="-parameters" />
<module name="spring-boot-starter-plugin" options="-parameters" />
<module name="spring-boot-starter-protection" options="-parameters" />
<module name="spring-boot-starter-redis" options="-parameters" />
<module name="spring-boot-starter-security" options="-parameters" />
<module name="spring-boot-starter-test" options="-parameters" />
<module name="spring-boot-starter-web" options="-parameters" />
<module name="spring-boot-starter-websocket" options="-parameters" />
<module name="system-framework" options="-parameters" />
<module name="system-plugin-example-web" options="-parameters" />
</option>
</component>
</project>

112
.idea/encodings.xml generated
View File

@ -1,112 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/app-plugins/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/app-plugins/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/commons/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/commons/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-biz-data-permission/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-biz-data-permission/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-biz-ip/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-biz-ip/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-biz-tenant/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-biz-tenant/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-excel/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-excel/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-job/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-job/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-mongo/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-mongo/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-monitor/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-monitor/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-mq/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-mq/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-mybatis/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-mybatis/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-plugin/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-plugin/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-protection/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-protection/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-redis/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-redis/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-security/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-security/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-test/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-test/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-web/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-web/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-websocket/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/spring-boot-starter-websocket/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/framework/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/ee/machine-management-module/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-common-pipeline/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-common-pipeline/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-common/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-common/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/ci-common-pipeline/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/ci-common-pipeline/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/ci-common-public/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/ci-common-public/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/ci-common/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/ci-common/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/pipeline-ci-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/pipline-ci-common/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-commons/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-dispatch-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-dispatch-api/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-engine/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-engine/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-environment/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-environment/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-event/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-event/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-log/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-log/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-market/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-market/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-plugin/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-plugin/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-process-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-process-api/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-process-biz/pipeline-ci-common/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-process-biz/pipeline-ci-common/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-process-biz/pipeline-ci-process-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-process-biz/pipeline-ci-process-api/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-process-biz/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-process-biz/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-project/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-project/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-quality/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-quality/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-repository/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-repository/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-store-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-store-api/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-store/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-store/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-ticket/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-ticket/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-worker/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-ci-worker/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-infra-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-infra-api/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-infra-biz/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-infra-biz/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-system-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-system-api/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-system-biz/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/module-system-biz/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/modules/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/ops-server/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/ops-server/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/system-framework/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/system-framework/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/system-framework/system-plugin-example-web/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/system-framework/system-plugin-example-web/src/main/resources" charset="UTF-8" />
</component>
</project>

32
.idea/gradle.xml generated
View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="externalProjectPath" value="$PROJECT_DIR$/modules/ci-commons/pipeline-ci-common" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$/modules/ci-commons/pipeline-ci-common" />
</set>
</option>
</GradleProjectSettings>
<GradleProjectSettings>
<option name="externalProjectPath" value="$PROJECT_DIR$/modules/pipeline-ci-process/ci-process-api" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$/modules/pipeline-ci-process/ci-process-api" />
</set>
</option>
</GradleProjectSettings>
<GradleProjectSettings>
<option name="externalProjectPath" value="$PROJECT_DIR$/modules/pipeline-ci-process/ci-process-base" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$/modules/pipeline-ci-process/ci-process-base" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

View File

@ -1,68 +0,0 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="AliAccessStaticViaInstance" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliArrayNamingShouldHaveBracket" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliControlFlowStatementWithoutBraces" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliDeprecation" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliEqualsAvoidNull" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliLongLiteralsEndingWithLowercaseL" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliMissingOverrideAnnotation" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliWrapperTypeEquality" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAbstractClassShouldStartWithAbstractNaming" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidApacheBeanUtilsCopy" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidCallStaticSimpleDateFormat" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidCommentBehindStatement" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidComplexCondition" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidConcurrentCompetitionRandom" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidDoubleOrFloatEqualCompare" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidManuallyCreateThread" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidMissUseOfMathRandom" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidNegationOperator" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidNewDateGetTime" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidPatternCompileInMethod" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidReturnInFinally" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidStartWithDollarAndUnderLineNaming" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaAvoidUseTimer" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaBigDecimalAvoidDoubleConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaBooleanPropertyShouldNotStartWithIs" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaClassCastExceptionWithSubListToArrayList" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaClassCastExceptionWithToArray" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaClassMustHaveAuthor" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaClassNamingShouldBeCamel" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaCollectionInitShouldAssignCapacity" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaCommentsMustBeJavadocFormat" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaConcurrentExceptionWithModifyOriginSubList" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaConstantFieldShouldBeUpperCase" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaCountDownShouldInFinally" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaDontModifyInForeachCircle" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaEnumConstantsMustHaveComment" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaExceptionClassShouldEndWithException" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaIbatisMethodQueryForList" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaLockShouldWithTryFinally" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaLowerCamelCaseVariableNaming" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaMethodReturnWrapperType" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaMethodTooLong" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaPackageNaming" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaPojoMustOverrideToString" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaPojoMustUsePrimitiveField" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaPojoNoDefaultValue" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaRemoveCommentedCode" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaServiceOrDaoClassShouldEndWithImpl" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaSneakyThrowsWithoutExceptionType" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaStringConcat" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaSwitchExpression" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaSwitchStatement" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaTestClassShouldEndWithTestNaming" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaThreadLocalShouldRemove" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaThreadPoolCreation" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaThreadShouldSetName" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaTransactionMustHaveRollback" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaUndefineMagicConstant" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaUnsupportedExceptionWithModifyAsList" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaUseQuietReferenceNotation" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AlibabaUseRightCaseForDateFormat" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="MapOrSetKeyShouldOverrideHashCodeEquals" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>

View File

@ -1,80 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="https://repo.maven.apache.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="huaweicloud" />
<option name="name" value="huawei" />
<option name="url" value="https://maven.aliyun.com/repository/public" />
</remote-repository>
<remote-repository>
<option name="id" value="aliyunmaven" />
<option name="name" value="aliyun" />
<option name="url" value="https://maven.aliyun.com/repository/public" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="aliyunmaven" />
<option name="name" value="aliyun" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="huaweicloud" />
<option name="name" value="huawei" />
<option name="url" value="https://mirrors.huaweicloud.com/repository/maven/" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="https://maven.aliyun.com/repository/public" />
</remote-repository>
<remote-repository>
<option name="id" value="aliyunmaven" />
<option name="name" value="aliyun" />
<option name="url" value="https://maven.aliyun.com/repository/central" />
</remote-repository>
<remote-repository>
<option name="id" value="MavenRepo" />
<option name="name" value="MavenRepo" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="huaweicloud" />
<option name="name" value="huawei" />
<option name="url" value="https://maven.aliyun.com/repository/central" />
</remote-repository>
<remote-repository>
<option name="id" value="huaweicloud" />
<option name="name" value="huawei" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="https://maven.aliyun.com/repository/central" />
</remote-repository>
</component>
</project>

90
.idea/misc.xml generated
View File

@ -1,90 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CheckstyleConfigurable">
<option name="suppFilterFilename" value="" />
<option name="suppCommentFilter" value="false" />
<option name="offComment" value="CHECKSTYLE\:OFF" />
<option name="onComment" value="CHECKSTYLE\:ON" />
<option name="checkFormat" value=".*" />
<option name="messageFormat" value="" />
<option name="checkCPP" value="true" />
<option name="checkC" value="true" />
<option name="suppNearbyCommentFilter" value="false" />
<option name="snCommentFormat" value="SUPPRESS CHECKSTYLE (\w+)" />
<option name="snCheckFormat" value="$1" />
<option name="snMessageFormat" value="" />
<option name="snInfluenceFormat" value="0" />
<option name="snCheckCPP" value="true" />
<option name="snCheckC" value="true" />
<option name="pathToUserRulesConfiguration" value="" />
<option name="pathToJarWithRules" value="" />
</component>
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="FindBugsConfigurable">
<option name="make" value="true" />
<option name="effort" value="default" />
<option name="priority" value="Medium" />
<option name="excludeFilter" value="" />
</component>
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$/modules/module-ci-commons/pipeline-ci-common" />
<file type="web" url="file://$PROJECT_DIR$/modules/module-ci-process-biz/ci-process-api" />
<file type="web" url="file://$PROJECT_DIR$/modules/module-ci-process-biz/ci-process-base" />
</component>
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
<option value="$PROJECT_DIR$/modules/pipeline-ci-process/pipeline-ci-process-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/ci-process/pipeline-ci-process-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/ci-worker/pom.xml" />
<option value="$PROJECT_DIR$/modules/ci-commons/pipline-ci-common/pom.xml" />
<option value="$PROJECT_DIR$/modules/ci-commons/pipeline-ci-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/ci-commons/common-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/ci-commons/common-pipeline/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-commons/common-public/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-commons/common-pipeline/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-environment/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-worker/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-commons/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-commons/ci-common-public/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-commons/ci-common-pipeline/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-store-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-process-biz/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-process-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/ee/machine-management-module/pom.xml" />
</list>
</option>
<option name="ignoredFiles">
<set>
<option value="$PROJECT_DIR$/modules/ci-commons/pipeline-ci-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/ci-commons/pipline-ci-common/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-common-pipeline/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-common/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-commons/ci-common-pipeline/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-commons/ci-common-public/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-commons/ci-common/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-dispatch-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-environment/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-event/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-log/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-market/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-process/pipeline-ci-process-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-project/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-quality/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-repository/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-store-api/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-ticket/pom.xml" />
<option value="$PROJECT_DIR$/modules/module-ci-worker/pom.xml" />
<option value="$PROJECT_DIR$/system-framework/system-plugin-example-web/pom.xml" />
</set>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="17" project-jdk-type="JavaSDK" />
<component name="SuppressKotlinCodeStyleNotification">
<option name="disableForAll" value="true" />
</component>
<component name="SuppressionsComponent">
<option name="suppComments" value="[]" />
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -1,933 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AnalysisProjectProfileManager">
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
<scopes />
<profiles>
<profile profile_name="Project Default" version="1.0" is_locked="false">
<coding_rule class="AM_CREATES_EMPTY_JAR_FILE_ENTRY" level="MAJOR" enabled="true" />
<coding_rule class="AM_CREATES_EMPTY_ZIP_FILE_ENTRY" level="MAJOR" enabled="true" />
<coding_rule class="AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION" level="CRITICAL" enabled="false" />
<coding_rule class="AbbreviationAsWordInNameCheck" level="MAJOR" enabled="false" />
<coding_rule class="AbstractClassNameCheck" level="MAJOR" enabled="false" />
<coding_rule class="AnnotationLocationCheck" level="MAJOR" enabled="false" />
<coding_rule class="AnnotationOnSameLineCheck" level="MAJOR" enabled="false" />
<coding_rule class="AnnotationUseStyleCheck" level="MAJOR" enabled="false" />
<coding_rule class="AnonInnerLengthCheck" level="MAJOR" enabled="true" />
<coding_rule class="ArrayTrailingCommaCheck" level="MAJOR" enabled="false" />
<coding_rule class="ArrayTypeStyleCheck" level="MINOR" enabled="false" />
<coding_rule class="AtclauseOrderCheck" level="MAJOR" enabled="false" />
<coding_rule class="AvoidEscapedUnicodeCharactersCheck" level="MAJOR" enabled="false" />
<coding_rule class="AvoidInlineConditionalsCheck" level="MINOR" enabled="false" />
<coding_rule class="AvoidNestedBlocksCheck" level="MAJOR" enabled="false" />
<coding_rule class="AvoidNoArgumentSuperConstructorCallCheck" level="MAJOR" enabled="false" />
<coding_rule class="AvoidStarImportCheck" level="MINOR" enabled="false" />
<coding_rule class="AvoidStaticImportCheck" level="MAJOR" enabled="false" />
<coding_rule class="BAC_BAD_APPLET_CONSTRUCTOR" level="MAJOR" enabled="false" />
<coding_rule class="BC_BAD_CAST_TO_ABSTRACT_COLLECTION" level="MAJOR" enabled="true" />
<coding_rule class="BC_BAD_CAST_TO_CONCRETE_COLLECTION" level="CRITICAL" enabled="true" />
<coding_rule class="BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS" level="CRITICAL" enabled="true" />
<coding_rule class="BC_IMPOSSIBLE_CAST" level="BLOCKER" enabled="true" />
<coding_rule class="BC_IMPOSSIBLE_DOWNCAST" level="MAJOR" enabled="false" />
<coding_rule class="BC_IMPOSSIBLE_DOWNCAST_OF_TOARRAY" level="MAJOR" enabled="false" />
<coding_rule class="BC_IMPOSSIBLE_INSTANCEOF" level="CRITICAL" enabled="true" />
<coding_rule class="BC_UNCONFIRMED_CAST" level="CRITICAL" enabled="true" />
<coding_rule class="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE" level="CRITICAL" enabled="false" />
<coding_rule class="BC_VACUOUS_INSTANCEOF" level="CRITICAL" enabled="true" />
<coding_rule class="BIT_ADD_OF_SIGNED_BYTE" level="CRITICAL" enabled="true" />
<coding_rule class="BIT_AND" level="CRITICAL" enabled="true" />
<coding_rule class="BIT_AND_ZZ" level="CRITICAL" enabled="true" />
<coding_rule class="BIT_IOR" level="CRITICAL" enabled="true" />
<coding_rule class="BIT_IOR_OF_SIGNED_BYTE" level="CRITICAL" enabled="true" />
<coding_rule class="BIT_SIGNED_CHECK" level="CRITICAL" enabled="true" />
<coding_rule class="BIT_SIGNED_CHECK_HIGH_BIT" level="CRITICAL" enabled="true" />
<coding_rule class="BOA_BADLY_OVERRIDDEN_ADAPTER" level="CRITICAL" enabled="true" />
<coding_rule class="BSHIFT_WRONG_ADD_PRIORITY" level="MAJOR" enabled="false" />
<coding_rule class="BX_BOXING_IMMEDIATELY_UNBOXED" level="MAJOR" enabled="true" />
<coding_rule class="BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION" level="MAJOR" enabled="true" />
<coding_rule class="BX_UNBOXED_AND_COERCED_FOR_TERNARY_OPERATOR" level="MAJOR" enabled="true" />
<coding_rule class="BX_UNBOXING_IMMEDIATELY_REBOXED" level="CRITICAL" enabled="false" />
<coding_rule class="BestPracticesAbstractClassWithoutAbstractMethod" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesAccessorClassGeneration" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesAccessorMethodGeneration" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesArrayIsStoredDirectly" level="CRITICAL" enabled="true" />
<coding_rule class="BestPracticesAvoidPrintStackTrace" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesAvoidReassigningParameters" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesAvoidStringBufferField" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesAvoidUsingHardCodedIP" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesCheckResultSet" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesConstantsInInterface" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesDefaultLabelNotLastInSwitchStmt" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesDontNestJsfInJstlIteration" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesForLoopCanBeForeach" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesGuardDebugLogging" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesGuardLogStatement" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesGuardLogStatementJavaUtil" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesJUnit4SuitesShouldUseSuiteAnnotation" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesJUnit4TestShouldUseAfterAnnotation" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesJUnit4TestShouldUseBeforeAnnotation" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesJUnit4TestShouldUseTestAnnotation" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesJUnitAssertionsShouldIncludeMessage" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesJUnitTestContainsTooManyAsserts" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesJUnitTestsShouldIncludeAssert" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesJUnitUseExpected" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesLooseCoupling" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesMethodReturnsInternalArray" level="CRITICAL" enabled="false" />
<coding_rule class="BestPracticesNoClassAttribute" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesNoHtmlComments" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesNoJspForward" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesOneDeclarationPerLine" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesPositionLiteralsFirstInCaseInsensitiveComparisons" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesPositionLiteralsFirstInComparisons" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesPreserveStackTrace" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesReplaceEnumerationWithIterator" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesReplaceHashtableWithMap" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesReplaceVectorWithList" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesSwitchStmtsShouldHaveDefault" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesSystemPrintln" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesUnusedFormalParameter" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesUnusedImports" level="INFO" enabled="false" />
<coding_rule class="BestPracticesUnusedLocalVariable" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesUnusedPrivateField" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesUnusedPrivateMethod" level="MAJOR" enabled="true" />
<coding_rule class="BestPracticesUseAssertEqualsInsteadOfAssertTrue" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesUseAssertNullInsteadOfAssertTrue" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesUseAssertSameInsteadOfAssertTrue" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesUseAssertTrueInsteadOfAssertEquals" level="MAJOR" enabled="false" />
<coding_rule class="BestPracticesUseCollectionIsEmpty" level="MINOR" enabled="false" />
<coding_rule class="BestPracticesUseVarargs" level="MAJOR" enabled="false" />
<coding_rule class="BooleanExpressionComplexityCheck" level="MAJOR" enabled="true" />
<coding_rule class="CAA_COVARIANT_ARRAY_ELEMENT_STORE" level="MAJOR" enabled="false" />
<coding_rule class="CAA_COVARIANT_ARRAY_FIELD" level="MAJOR" enabled="false" />
<coding_rule class="CAA_COVARIANT_ARRAY_LOCAL" level="MAJOR" enabled="false" />
<coding_rule class="CAA_COVARIANT_ARRAY_RETURN" level="MAJOR" enabled="false" />
<coding_rule class="CD_CIRCULAR_DEPENDENCY" level="MAJOR" enabled="false" />
<coding_rule class="CI_CONFUSED_INHERITANCE" level="MINOR" enabled="true" />
<coding_rule class="CNT_ROUGH_CONSTANT_VALUE" level="MAJOR" enabled="false" />
<coding_rule class="CN_IDIOM" level="MAJOR" enabled="true" />
<coding_rule class="CN_IDIOM_NO_SUPER_CALL" level="MAJOR" enabled="true" />
<coding_rule class="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE" level="MAJOR" enabled="true" />
<coding_rule class="CO_ABSTRACT_SELF" level="MAJOR" enabled="true" />
<coding_rule class="CO_COMPARETO_INCORRECT_FLOATING" level="MAJOR" enabled="false" />
<coding_rule class="CO_COMPARETO_RESULTS_MIN_VALUE" level="CRITICAL" enabled="false" />
<coding_rule class="CO_SELF_NO_OBJECT" level="MAJOR" enabled="true" />
<coding_rule class="CatchParameterNameCheck" level="MAJOR" enabled="false" />
<coding_rule class="ClassDataAbstractionCouplingCheck" level="MAJOR" enabled="false" />
<coding_rule class="ClassFanOutComplexityCheck" level="MAJOR" enabled="false" />
<coding_rule class="ClassMemberImpliedModifierCheck" level="MAJOR" enabled="false" />
<coding_rule class="ClassTypeParameterNameCheck" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleAbstractNaming" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleAtLeastOneConstructor" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleAvoidDollarSigns" level="MINOR" enabled="true" />
<coding_rule class="CodeStyleAvoidFinalLocalVariable" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleAvoidPrefixingMethodParameters" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleAvoidProtectedFieldInFinalClass" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleAvoidProtectedMethodInFinalClassNotExtending" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleAvoidUsingNativeCode" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleBooleanGetMethodName" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleCallSuperInConstructor" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleClassNamingConventions" level="MAJOR" enabled="true" />
<coding_rule class="CodeStyleCommentDefaultAccessModifier" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleConfusingTernary" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleDefaultPackage" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleDontImportJavaLang" level="MINOR" enabled="true" />
<coding_rule class="CodeStyleDuplicateImports" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleDuplicateJspImports" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleEmptyMethodInAbstractClassShouldBeAbstract" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleExtendsObject" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleFieldDeclarationsShouldBeAtStartOfClass" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleForLoopShouldBeWhileLoop" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleForLoopsMustUseBraces" level="MAJOR" enabled="true" />
<coding_rule class="CodeStyleGenericsNaming" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleIfElseStmtsMustUseBraces" level="MAJOR" enabled="true" />
<coding_rule class="CodeStyleIfStmtsMustUseBraces" level="MAJOR" enabled="true" />
<coding_rule class="CodeStyleLocalHomeNamingConvention" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleLocalInterfaceSessionNamingConvention" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleLocalVariableCouldBeFinal" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleLongVariable" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleMDBAndSessionBeanNamingConvention" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleMIsLeadingVariableName" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleMethodArgumentCouldBeFinal" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleMethodNamingConventions" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleMisleadingVariableName" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleNoPackage" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleOnlyOneReturn" level="MINOR" enabled="false" />
<coding_rule class="CodeStylePackageCase" level="MAJOR" enabled="false" />
<coding_rule class="CodeStylePrematureDeclaration" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleRemoteInterfaceNamingConvention" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleRemoteSessionInterfaceNamingConvention" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleShortClassName" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleShortMethodName" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleShortVariable" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleSuspiciousConstantFieldName" level="MAJOR" enabled="true" />
<coding_rule class="CodeStyleTooManyStaticImports" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleUnnecessaryConstructor" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleUnnecessaryFinalModifier" level="INFO" enabled="false" />
<coding_rule class="CodeStyleUnnecessaryFullyQualifiedName" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleUnnecessaryLocalBeforeReturn" level="MAJOR" enabled="true" />
<coding_rule class="CodeStyleUnnecessaryModifier" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleUnnecessaryParentheses" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleUnnecessaryReturn" level="MINOR" enabled="false" />
<coding_rule class="CodeStyleUselessParentheses" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleUselessQualifiedThis" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleVariableNamingConventions" level="MAJOR" enabled="false" />
<coding_rule class="CodeStyleWhileLoopsMustUseBraces" level="MAJOR" enabled="true" />
<coding_rule class="CommentsIndentationCheck" level="MAJOR" enabled="false" />
<coding_rule class="ConstantNameCheck" level="MINOR" enabled="true" />
<coding_rule class="CovariantEqualsCheck" level="CRITICAL" enabled="false" />
<coding_rule class="CustomImportOrderCheck" level="MAJOR" enabled="false" />
<coding_rule class="CyclomaticComplexityCheck" level="MAJOR" enabled="true" />
<coding_rule class="DB_DUPLICATE_BRANCHES" level="CRITICAL" enabled="true" />
<coding_rule class="DB_DUPLICATE_SWITCH_CLAUSES" level="CRITICAL" enabled="true" />
<coding_rule class="DC_DOUBLECHECK" level="MAJOR" enabled="true" />
<coding_rule class="DC_PARTIALLY_CONSTRUCTED" level="MAJOR" enabled="false" />
<coding_rule class="DE_MIGHT_DROP" level="MAJOR" enabled="true" />
<coding_rule class="DE_MIGHT_IGNORE" level="MAJOR" enabled="true" />
<coding_rule class="DLS_DEAD_LOCAL_INCREMENT_IN_RETURN" level="MAJOR" enabled="false" />
<coding_rule class="DLS_DEAD_LOCAL_STORE" level="CRITICAL" enabled="true" />
<coding_rule class="DLS_DEAD_LOCAL_STORE_IN_RETURN" level="CRITICAL" enabled="true" />
<coding_rule class="DLS_DEAD_LOCAL_STORE_OF_NULL" level="CRITICAL" enabled="true" />
<coding_rule class="DLS_DEAD_LOCAL_STORE_SHADOWS_FIELD" level="CRITICAL" enabled="false" />
<coding_rule class="DLS_DEAD_STORE_OF_CLASS_LITERAL" level="CRITICAL" enabled="true" />
<coding_rule class="DLS_OVERWRITTEN_INCREMENT" level="CRITICAL" enabled="true" />
<coding_rule class="DL_SYNCHRONIZATION_ON_BOOLEAN" level="CRITICAL" enabled="true" />
<coding_rule class="DL_SYNCHRONIZATION_ON_BOXED_PRIMITIVE" level="CRITICAL" enabled="true" />
<coding_rule class="DL_SYNCHRONIZATION_ON_SHARED_CONSTANT" level="CRITICAL" enabled="true" />
<coding_rule class="DL_SYNCHRONIZATION_ON_UNSHARED_BOXED_PRIMITIVE" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_ANNOTATION_IS_NOT_VISIBLE_TO_REFLECTION" level="MAJOR" enabled="true" />
<coding_rule class="DMI_ARGUMENTS_WRONG_ORDER" level="CRITICAL" enabled="false" />
<coding_rule class="DMI_BAD_MONTH" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_BIGDECIMAL_CONSTRUCTED_FROM_DOUBLE" level="CRITICAL" enabled="false" />
<coding_rule class="DMI_BLOCKING_METHODS_ON_URL" level="BLOCKER" enabled="true" />
<coding_rule class="DMI_CALLING_NEXT_FROM_HASNEXT" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_COLLECTIONS_SHOULD_NOT_CONTAIN_THEMSELVES" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_COLLECTION_OF_URLS" level="BLOCKER" enabled="true" />
<coding_rule class="DMI_CONSTANT_DB_PASSWORD" level="BLOCKER" enabled="true" />
<coding_rule class="DMI_DOH" level="CRITICAL" enabled="false" />
<coding_rule class="DMI_EMPTY_DB_PASSWORD" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_ENTRY_SETS_MAY_REUSE_ENTRY_OBJECTS" level="CRITICAL" enabled="false" />
<coding_rule class="DMI_FUTILE_ATTEMPT_TO_CHANGE_MAXPOOL_SIZE_OF_SCHEDULED_THREAD_POOL_EXECUTOR" level="MINOR" enabled="true" />
<coding_rule class="DMI_HARDCODED_ABSOLUTE_FILENAME" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_INVOKING_HASHCODE_ON_ARRAY" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_INVOKING_TOSTRING_ON_ANONYMOUS_ARRAY" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_INVOKING_TOSTRING_ON_ARRAY" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_LONG_BITS_TO_DOUBLE_INVOKED_ON_INT" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_NONSERIALIZABLE_OBJECT_WRITTEN" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_RANDOM_USED_ONLY_ONCE" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_SCHEDULED_THREAD_POOL_EXECUTOR_WITH_ZERO_CORE_THREADS" level="MINOR" enabled="true" />
<coding_rule class="DMI_THREAD_PASSED_WHERE_RUNNABLE_EXPECTED" level="MAJOR" enabled="true" />
<coding_rule class="DMI_UNSUPPORTED_METHOD" level="MAJOR" enabled="true" />
<coding_rule class="DMI_USELESS_SUBSTRING" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_USING_REMOVEALL_TO_CLEAR_COLLECTION" level="CRITICAL" enabled="true" />
<coding_rule class="DMI_VACUOUS_CALL_TO_EASYMOCK_METHOD" level="MINOR" enabled="true" />
<coding_rule class="DMI_VACUOUS_SELF_COLLECTION_CALL" level="CRITICAL" enabled="true" />
<coding_rule class="DM_BOOLEAN_CTOR" level="MAJOR" enabled="true" />
<coding_rule class="DM_BOXED_PRIMITIVE_FOR_COMPARE" level="MAJOR" enabled="false" />
<coding_rule class="DM_BOXED_PRIMITIVE_FOR_PARSING" level="MAJOR" enabled="false" />
<coding_rule class="DM_BOXED_PRIMITIVE_TOSTRING" level="MAJOR" enabled="true" />
<coding_rule class="DM_CONVERT_CASE" level="INFO" enabled="true" />
<coding_rule class="DM_DEFAULT_ENCODING" level="CRITICAL" enabled="false" />
<coding_rule class="DM_EXIT" level="MAJOR" enabled="true" />
<coding_rule class="DM_FP_NUMBER_CTOR" level="MAJOR" enabled="true" />
<coding_rule class="DM_GC" level="MAJOR" enabled="true" />
<coding_rule class="DM_INVALID_MIN_MAX" level="MAJOR" enabled="false" />
<coding_rule class="DM_MONITOR_WAIT_ON_CONDITION" level="MAJOR" enabled="true" />
<coding_rule class="DM_NEW_FOR_GETCLASS" level="MAJOR" enabled="true" />
<coding_rule class="DM_NEXTINT_VIA_NEXTDOUBLE" level="MAJOR" enabled="true" />
<coding_rule class="DM_NUMBER_CTOR" level="CRITICAL" enabled="true" />
<coding_rule class="DM_RUN_FINALIZERS_ON_EXIT" level="MAJOR" enabled="true" />
<coding_rule class="DM_STRING_CTOR" level="MAJOR" enabled="true" />
<coding_rule class="DM_STRING_TOSTRING" level="INFO" enabled="true" />
<coding_rule class="DM_STRING_VOID_CTOR" level="MAJOR" enabled="true" />
<coding_rule class="DM_USELESS_THREAD" level="MAJOR" enabled="true" />
<coding_rule class="DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED" level="MAJOR" enabled="true" />
<coding_rule class="DP_DO_INSIDE_DO_PRIVILEGED" level="MAJOR" enabled="true" />
<coding_rule class="DeclarationOrderCheck" level="INFO" enabled="false" />
<coding_rule class="DefaultComesLastCheck" level="MAJOR" enabled="true" />
<coding_rule class="DescendantTokenCheck" level="MAJOR" enabled="false" />
<coding_rule class="DesignAbstractClassWithoutAnyMethod" level="MAJOR" enabled="false" />
<coding_rule class="DesignAvoidCatchingGenericException" level="MAJOR" enabled="false" />
<coding_rule class="DesignAvoidDeeplyNestedIfStmts" level="MAJOR" enabled="false" />
<coding_rule class="DesignAvoidRethrowingException" level="MAJOR" enabled="true" />
<coding_rule class="DesignAvoidThrowingNewInstanceOfSameException" level="MAJOR" enabled="false" />
<coding_rule class="DesignAvoidThrowingNullPointerException" level="MAJOR" enabled="true" />
<coding_rule class="DesignAvoidThrowingRawExceptionTypes" level="MAJOR" enabled="true" />
<coding_rule class="DesignClassWithOnlyPrivateConstructorsShouldBeFinal" level="MAJOR" enabled="false" />
<coding_rule class="DesignCollapsibleIfStatements" level="MINOR" enabled="true" />
<coding_rule class="DesignCouplingBetweenObjects" level="MAJOR" enabled="false" />
<coding_rule class="DesignCyclomaticComplexity" level="MAJOR" enabled="false" />
<coding_rule class="DesignDataClass" level="MAJOR" enabled="false" />
<coding_rule class="DesignDoNotExtendJavaLangError" level="MAJOR" enabled="false" />
<coding_rule class="DesignExceptionAsFlowControl" level="MAJOR" enabled="true" />
<coding_rule class="DesignExcessiveClassLength" level="MAJOR" enabled="false" />
<coding_rule class="DesignExcessiveImports" level="MAJOR" enabled="false" />
<coding_rule class="DesignExcessiveMethodLength" level="MAJOR" enabled="false" />
<coding_rule class="DesignExcessiveParameterList" level="MAJOR" enabled="false" />
<coding_rule class="DesignExcessivePublicCount" level="MAJOR" enabled="false" />
<coding_rule class="DesignFinalFieldCouldBeStatic" level="MINOR" enabled="true" />
<coding_rule class="DesignForExtensionCheck" level="MINOR" enabled="true" />
<coding_rule class="DesignGodClass" level="MAJOR" enabled="false" />
<coding_rule class="DesignImmutableField" level="MAJOR" enabled="false" />
<coding_rule class="DesignLawOfDemeter" level="MAJOR" enabled="false" />
<coding_rule class="DesignLogicInversion" level="MAJOR" enabled="false" />
<coding_rule class="DesignLoosePackageCoupling" level="MAJOR" enabled="false" />
<coding_rule class="DesignModifiedCyclomaticComplexity" level="MAJOR" enabled="false" />
<coding_rule class="DesignNPathComplexity" level="MAJOR" enabled="false" />
<coding_rule class="DesignNcssConstructorCount" level="MAJOR" enabled="false" />
<coding_rule class="DesignNcssCount" level="MAJOR" enabled="false" />
<coding_rule class="DesignNcssMethodCount" level="MAJOR" enabled="true" />
<coding_rule class="DesignNcssTypeCount" level="MAJOR" enabled="true" />
<coding_rule class="DesignNoInlineScript" level="MAJOR" enabled="false" />
<coding_rule class="DesignNoInlineStyleInformation" level="MAJOR" enabled="false" />
<coding_rule class="DesignNoLongScripts" level="MAJOR" enabled="false" />
<coding_rule class="DesignNoScriptlets" level="MAJOR" enabled="false" />
<coding_rule class="DesignSignatureDeclareThrowsException" level="MAJOR" enabled="true" />
<coding_rule class="DesignSimplifiedTernary" level="MAJOR" enabled="false" />
<coding_rule class="DesignSimplifyBooleanAssertion" level="MAJOR" enabled="false" />
<coding_rule class="DesignSimplifyBooleanExpressions" level="MINOR" enabled="false" />
<coding_rule class="DesignSimplifyBooleanReturns" level="MINOR" enabled="false" />
<coding_rule class="DesignSimplifyConditional" level="MAJOR" enabled="true" />
<coding_rule class="DesignSingularField" level="MINOR" enabled="true" />
<coding_rule class="DesignStdCyclomaticComplexity" level="MAJOR" enabled="false" />
<coding_rule class="DesignSwitchDensity" level="MAJOR" enabled="false" />
<coding_rule class="DesignTooManyFields" level="MAJOR" enabled="false" />
<coding_rule class="DesignTooManyMethods" level="MAJOR" enabled="false" />
<coding_rule class="DesignUseObjectForClearerAPI" level="MAJOR" enabled="false" />
<coding_rule class="DesignUseUtilityClass" level="MAJOR" enabled="false" />
<coding_rule class="DesignUselessOverridingMethod" level="MAJOR" enabled="true" />
<coding_rule class="DocumentationCommentContent" level="MAJOR" enabled="false" />
<coding_rule class="DocumentationCommentRequired" level="MAJOR" enabled="false" />
<coding_rule class="DocumentationCommentSize" level="MAJOR" enabled="false" />
<coding_rule class="DocumentationUncommentedEmptyConstructor" level="MAJOR" enabled="false" />
<coding_rule class="DocumentationUncommentedEmptyMethodBody" level="MAJOR" enabled="false" />
<coding_rule class="EC_ARRAY_AND_NONARRAY" level="CRITICAL" enabled="true" />
<coding_rule class="EC_BAD_ARRAY_COMPARE" level="CRITICAL" enabled="true" />
<coding_rule class="EC_INCOMPATIBLE_ARRAY_COMPARE" level="MAJOR" enabled="false" />
<coding_rule class="EC_NULL_ARG" level="CRITICAL" enabled="true" />
<coding_rule class="EC_UNRELATED_CLASS_AND_INTERFACE" level="CRITICAL" enabled="true" />
<coding_rule class="EC_UNRELATED_INTERFACES" level="CRITICAL" enabled="true" />
<coding_rule class="EC_UNRELATED_TYPES" level="CRITICAL" enabled="true" />
<coding_rule class="EC_UNRELATED_TYPES_USING_POINTER_EQUALITY" level="CRITICAL" enabled="true" />
<coding_rule class="EI_EXPOSE_REP" level="MAJOR" enabled="true" />
<coding_rule class="EI_EXPOSE_REP2" level="MAJOR" enabled="true" />
<coding_rule class="EI_EXPOSE_STATIC_REP2" level="MAJOR" enabled="true" />
<coding_rule class="EQ_ABSTRACT_SELF" level="MAJOR" enabled="true" />
<coding_rule class="EQ_ALWAYS_FALSE" level="BLOCKER" enabled="true" />
<coding_rule class="EQ_ALWAYS_TRUE" level="BLOCKER" enabled="true" />
<coding_rule class="EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS" level="MAJOR" enabled="true" />
<coding_rule class="EQ_COMPARETO_USE_OBJECT_EQUALS" level="CRITICAL" enabled="true" />
<coding_rule class="EQ_COMPARING_CLASS_NAMES" level="MAJOR" enabled="true" />
<coding_rule class="EQ_DOESNT_OVERRIDE_EQUALS" level="MAJOR" enabled="false" />
<coding_rule class="EQ_DONT_DEFINE_EQUALS_FOR_ENUM" level="MAJOR" enabled="true" />
<coding_rule class="EQ_GETCLASS_AND_CLASS_CONSTANT" level="CRITICAL" enabled="true" />
<coding_rule class="EQ_OTHER_NO_OBJECT" level="MAJOR" enabled="true" />
<coding_rule class="EQ_OTHER_USE_OBJECT" level="MAJOR" enabled="true" />
<coding_rule class="EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC" level="MAJOR" enabled="true" />
<coding_rule class="EQ_SELF_NO_OBJECT" level="MAJOR" enabled="true" />
<coding_rule class="EQ_SELF_USE_OBJECT" level="MAJOR" enabled="true" />
<coding_rule class="EQ_UNUSUAL" level="MINOR" enabled="true" />
<coding_rule class="ES_COMPARING_PARAMETER_STRING_WITH_EQ" level="MAJOR" enabled="true" />
<coding_rule class="ES_COMPARING_STRINGS_WITH_EQ" level="MAJOR" enabled="true" />
<coding_rule class="ESync_EMPTY_SYNC" level="MAJOR" enabled="true" />
<coding_rule class="EmptyBlockCheck" level="MAJOR" enabled="false" />
<coding_rule class="EmptyCatchBlockCheck" level="MAJOR" enabled="false" />
<coding_rule class="EmptyForInitializerPadCheck" level="MINOR" enabled="false" />
<coding_rule class="EmptyForIteratorPadCheck" level="MINOR" enabled="false" />
<coding_rule class="EmptyLineSeparatorCheck" level="MAJOR" enabled="false" />
<coding_rule class="EmptyStatementCheck" level="MINOR" enabled="true" />
<coding_rule class="EqualsAvoidNullCheck" level="CRITICAL" enabled="false" />
<coding_rule class="EqualsHashCodeCheck" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneAssignmentInOperand" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAssignmentToNonFinalStatic" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAvoidAccessibilityAlteration" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAvoidAssertAsIdentifier" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneAvoidBranchingStatementAsLastInLoop" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAvoidCallingFinalize" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneAvoidCatchingNPE" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneAvoidCatchingThrowable" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneAvoidDecimalLiteralsInBigDecimalConstructor" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneAvoidDuplicateLiterals" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneAvoidEnumAsIdentifier" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneAvoidFieldNameMatchingMethodName" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAvoidFieldNameMatchingTypeName" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAvoidInstanceofChecksInCatchClause" level="MINOR" enabled="true" />
<coding_rule class="ErrorProneAvoidLiteralsInIfCondition" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAvoidLosingExceptionInformation" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAvoidMultipleUnaryOperators" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneAvoidUsingOctalValues" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneBadComparison" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneBeanMembersShouldSerialize" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneBrokenNullCheck" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneCallSuperFirst" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneCallSuperLast" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneCheckSkipResult" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneClassCastExceptionWithToArray" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneCloneMethodMustBePublic" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneCloneMethodMustImplementCloneable" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneCloneMethodReturnTypeMustMatchClassName" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneCloneThrowsCloneNotSupportedException" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneCloseResource" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneCompareObjectsWithEquals" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneConstructorCallsOverridableMethod" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneDataflowAnomalyAnalysis" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneDoNotCallGarbageCollectionExplicitly" level="CRITICAL" enabled="false" />
<coding_rule class="ErrorProneDoNotCallSystemExit" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneDoNotHardCodeSDCard" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneDoNotThrowExceptionInFinally" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneDontImportSun" level="MINOR" enabled="true" />
<coding_rule class="ErrorProneDontUseFloatTypeForLoopIndices" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneEmptyCatchBlock" level="CRITICAL" enabled="false" />
<coding_rule class="ErrorProneEmptyFinalizer" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneEmptyFinallyBlock" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneEmptyIfStmt" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneEmptyInitializer" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneEmptyStatementBlock" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneEmptyStatementNotInLoop" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneEmptyStaticInitializer" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneEmptySwitchStatements" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneEmptySynchronizedBlock" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneEmptyTryBlock" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneEmptyWhileStmt" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneEqualsNull" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneFinalizeDoesNotCallSuperFinalize" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneFinalizeOnlyCallsSuperFinalize" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneFinalizeOverloaded" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneFinalizeShouldBeProtected" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneIdempotentOperations" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneImportFromSamePackage" level="MINOR" enabled="false" />
<coding_rule class="ErrorProneInstantiationToGetClass" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneInvalidSlf4jMessageFormat" level="MINOR" enabled="false" />
<coding_rule class="ErrorProneJUnitSpelling" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneJUnitStaticSuite" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneJspEncoding" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneJumbledIncrementer" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneLoggerIsNotStaticFinal" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneMethodWithSameNameAsEnclosingClass" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneMisplacedNullCheck" level="CRITICAL" enabled="false" />
<coding_rule class="ErrorProneMissingBreakInSwitch" level="CRITICAL" enabled="false" />
<coding_rule class="ErrorProneMissingSerialVersionUID" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneMissingStaticMethodInNonInstantiatableClass" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneMoreThanOneLogger" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneNonCaseLabelInSwitchStatement" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneNonStaticInitializer" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneNullAssignment" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneOverrideBothEqualsAndHashcode" level="CRITICAL" enabled="false" />
<coding_rule class="ErrorProneProperCloneImplementation" level="CRITICAL" enabled="false" />
<coding_rule class="ErrorProneProperLogger" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneReturnEmptyArrayRatherThanNull" level="MINOR" enabled="false" />
<coding_rule class="ErrorProneReturnFromFinallyBlock" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneSimpleDateFormatNeedsLocale" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneSingleMethodSingleton" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneSingletonClassReturningNewInstance" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneStaticEJBFieldShouldBeFinal" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneStringBufferInstantiationWithChar" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneSuspiciousEqualsMethodName" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneSuspiciousHashcodeMethodName" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneSuspiciousOctalEscape" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneTestClassWithoutTestCases" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneUnconditionalIfStatement" level="CRITICAL" enabled="true" />
<coding_rule class="ErrorProneUnnecessaryBooleanAssertion" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneUnnecessaryCaseChange" level="MINOR" enabled="true" />
<coding_rule class="ErrorProneUnnecessaryConversionTemporary" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneUnusedNullCheckInEquals" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneUseCorrectExceptionLogging" level="MAJOR" enabled="true" />
<coding_rule class="ErrorProneUseEqualsToCompareStrings" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneUseLocaleWithCaseConversions" level="MAJOR" enabled="false" />
<coding_rule class="ErrorProneUseProperClassLoader" level="CRITICAL" enabled="false" />
<coding_rule class="ErrorProneUselessOperationOnImmutable" level="CRITICAL" enabled="true" />
<coding_rule class="ExecutableStatementCountCheck" level="MAJOR" enabled="false" />
<coding_rule class="ExplicitInitializationCheck" level="MAJOR" enabled="false" />
<coding_rule class="FB_MISSING_EXPECTED_WARNING" level="CRITICAL" enabled="false" />
<coding_rule class="FB_UNEXPECTED_WARNING" level="CRITICAL" enabled="false" />
<coding_rule class="FE_FLOATING_POINT_EQUALITY" level="CRITICAL" enabled="true" />
<coding_rule class="FE_TEST_IF_EQUAL_TO_NOT_A_NUMBER" level="CRITICAL" enabled="true" />
<coding_rule class="FI_EMPTY" level="MAJOR" enabled="true" />
<coding_rule class="FI_EXPLICIT_INVOCATION" level="MAJOR" enabled="true" />
<coding_rule class="FI_FINALIZER_NULLS_FIELDS" level="MAJOR" enabled="true" />
<coding_rule class="FI_FINALIZER_ONLY_NULLS_FIELDS" level="MAJOR" enabled="true" />
<coding_rule class="FI_MISSING_SUPER_CALL" level="MAJOR" enabled="true" />
<coding_rule class="FI_NULLIFY_SUPER" level="CRITICAL" enabled="true" />
<coding_rule class="FI_PUBLIC_SHOULD_BE_PROTECTED" level="MAJOR" enabled="true" />
<coding_rule class="FI_USELESS" level="MINOR" enabled="true" />
<coding_rule class="FL_MATH_USING_FLOAT_PRECISION" level="CRITICAL" enabled="true" />
<coding_rule class="FallThroughCheck" level="MAJOR" enabled="false" />
<coding_rule class="FileLengthCheck" level="MAJOR" enabled="false" />
<coding_rule class="FileTabCharacterCheck" level="MAJOR" enabled="false" />
<coding_rule class="FinalClassCheck" level="MAJOR" enabled="true" />
<coding_rule class="FinalLocalVariableCheck" level="MINOR" enabled="false" />
<coding_rule class="FinalParametersCheck" level="MINOR" enabled="false" />
<coding_rule class="GC_UNCHECKED_TYPE_IN_GENERIC_CALL" level="CRITICAL" enabled="true" />
<coding_rule class="GC_UNRELATED_TYPES" level="CRITICAL" enabled="true" />
<coding_rule class="GenericWhitespaceCheck" level="MAJOR" enabled="false" />
<coding_rule class="HE_EQUALS_NO_HASHCODE" level="MAJOR" enabled="true" />
<coding_rule class="HE_EQUALS_USE_HASHCODE" level="CRITICAL" enabled="true" />
<coding_rule class="HE_HASHCODE_NO_EQUALS" level="CRITICAL" enabled="true" />
<coding_rule class="HE_HASHCODE_USE_OBJECT_EQUALS" level="CRITICAL" enabled="true" />
<coding_rule class="HE_INHERITS_EQUALS_USE_HASHCODE" level="CRITICAL" enabled="true" />
<coding_rule class="HE_SIGNATURE_DECLARES_HASHING_OF_UNHASHABLE_CLASS" level="CRITICAL" enabled="true" />
<coding_rule class="HE_USE_OF_UNHASHABLE_CLASS" level="CRITICAL" enabled="true" />
<coding_rule class="HRS_REQUEST_PARAMETER_TO_COOKIE" level="MAJOR" enabled="true" />
<coding_rule class="HRS_REQUEST_PARAMETER_TO_HTTP_HEADER" level="MAJOR" enabled="true" />
<coding_rule class="HSC_HUGE_SHARED_STRING_CONSTANT" level="CRITICAL" enabled="true" />
<coding_rule class="HeaderCheck" level="MAJOR" enabled="false" />
<coding_rule class="HiddenFieldCheck" level="MAJOR" enabled="true" />
<coding_rule class="HideUtilityClassConstructorCheck" level="MAJOR" enabled="true" />
<coding_rule class="IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD" level="MAJOR" enabled="true" />
<coding_rule class="ICAST_BAD_SHIFT_AMOUNT" level="CRITICAL" enabled="true" />
<coding_rule class="ICAST_IDIV_CAST_TO_DOUBLE" level="CRITICAL" enabled="true" />
<coding_rule class="ICAST_INTEGER_MULTIPLY_CAST_TO_LONG" level="CRITICAL" enabled="true" />
<coding_rule class="ICAST_INT_2_LONG_AS_INSTANT" level="CRITICAL" enabled="false" />
<coding_rule class="ICAST_INT_CAST_TO_DOUBLE_PASSED_TO_CEIL" level="CRITICAL" enabled="true" />
<coding_rule class="ICAST_INT_CAST_TO_FLOAT_PASSED_TO_ROUND" level="CRITICAL" enabled="true" />
<coding_rule class="ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT" level="CRITICAL" enabled="true" />
<coding_rule class="IC_INIT_CIRCULARITY" level="CRITICAL" enabled="true" />
<coding_rule class="IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION" level="MAJOR" enabled="true" />
<coding_rule class="IIL_ELEMENTS_GET_LENGTH_IN_LOOP" level="MAJOR" enabled="false" />
<coding_rule class="IIL_PATTERN_COMPILE_IN_LOOP" level="MAJOR" enabled="false" />
<coding_rule class="IIL_PATTERN_COMPILE_IN_LOOP_INDIRECT" level="MAJOR" enabled="false" />
<coding_rule class="IIL_PREPARE_STATEMENT_IN_LOOP" level="MAJOR" enabled="false" />
<coding_rule class="IIO_INEFFICIENT_INDEX_OF" level="MAJOR" enabled="false" />
<coding_rule class="IIO_INEFFICIENT_LAST_INDEX_OF" level="MAJOR" enabled="false" />
<coding_rule class="IJU_ASSERT_METHOD_INVOKED_FROM_RUN_METHOD" level="CRITICAL" enabled="true" />
<coding_rule class="IJU_BAD_SUITE_METHOD" level="CRITICAL" enabled="true" />
<coding_rule class="IJU_NO_TESTS" level="CRITICAL" enabled="true" />
<coding_rule class="IJU_SETUP_NO_SUPER" level="CRITICAL" enabled="true" />
<coding_rule class="IJU_SUITE_NOT_STATIC" level="CRITICAL" enabled="true" />
<coding_rule class="IJU_TEARDOWN_NO_SUPER" level="CRITICAL" enabled="true" />
<coding_rule class="IL_CONTAINER_ADDED_TO_ITSELF" level="CRITICAL" enabled="true" />
<coding_rule class="IL_INFINITE_LOOP" level="CRITICAL" enabled="true" />
<coding_rule class="IL_INFINITE_RECURSIVE_LOOP" level="CRITICAL" enabled="true" />
<coding_rule class="IMA_INEFFICIENT_MEMBER_ACCESS" level="MAJOR" enabled="false" />
<coding_rule class="IMSE_DONT_CATCH_IMSE" level="MAJOR" enabled="true" />
<coding_rule class="IM_AVERAGE_COMPUTATION_COULD_OVERFLOW" level="CRITICAL" enabled="true" />
<coding_rule class="IM_BAD_CHECK_FOR_ODD" level="CRITICAL" enabled="true" />
<coding_rule class="IM_MULTIPLYING_RESULT_OF_IREM" level="CRITICAL" enabled="true" />
<coding_rule class="INT_BAD_COMPARISON_WITH_INT_VALUE" level="CRITICAL" enabled="false" />
<coding_rule class="INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE" level="CRITICAL" enabled="true" />
<coding_rule class="INT_BAD_COMPARISON_WITH_SIGNED_BYTE" level="CRITICAL" enabled="true" />
<coding_rule class="INT_BAD_REM_BY_1" level="CRITICAL" enabled="true" />
<coding_rule class="INT_VACUOUS_BIT_OPERATION" level="CRITICAL" enabled="true" />
<coding_rule class="INT_VACUOUS_COMPARISON" level="CRITICAL" enabled="true" />
<coding_rule class="IO_APPENDING_TO_OBJECT_OUTPUT_STREAM" level="CRITICAL" enabled="true" />
<coding_rule class="IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN" level="CRITICAL" enabled="true" />
<coding_rule class="IS2_INCONSISTENT_SYNC" level="CRITICAL" enabled="true" />
<coding_rule class="ISC_INSTANTIATE_STATIC_CLASS" level="MAJOR" enabled="true" />
<coding_rule class="IS_FIELD_NOT_GUARDED" level="CRITICAL" enabled="true" />
<coding_rule class="ITA_INEFFICIENT_TO_ARRAY" level="CRITICAL" enabled="true" />
<coding_rule class="IT_NO_SUCH_ELEMENT" level="MINOR" enabled="true" />
<coding_rule class="IllegalCatchCheck" level="MAJOR" enabled="false" />
<coding_rule class="IllegalImportCheck" level="MAJOR" enabled="false" />
<coding_rule class="IllegalInstantiationCheck" level="MAJOR" enabled="false" />
<coding_rule class="IllegalThrowsCheck" level="MAJOR" enabled="true" />
<coding_rule class="IllegalTokenCheck" level="MAJOR" enabled="false" />
<coding_rule class="IllegalTokenTextCheck" level="MAJOR" enabled="false" />
<coding_rule class="IllegalTypeCheck" level="MAJOR" enabled="false" />
<coding_rule class="ImportControlCheck" level="MAJOR" enabled="false" />
<coding_rule class="ImportOrderCheck" level="MINOR" enabled="false" />
<coding_rule class="IndentationCheck" level="MINOR" enabled="false" />
<coding_rule class="InnerAssignmentCheck" level="MAJOR" enabled="true" />
<coding_rule class="InnerTypeLastCheck" level="MAJOR" enabled="true" />
<coding_rule class="InterfaceIsTypeCheck" level="MAJOR" enabled="false" />
<coding_rule class="InterfaceMemberImpliedModifierCheck" level="MAJOR" enabled="false" />
<coding_rule class="InterfaceTypeParameterNameCheck" level="MAJOR" enabled="false" />
<coding_rule class="InvalidJavadocPositionCheck" level="MAJOR" enabled="false" />
<coding_rule class="J2EE_STORE_OF_NON_SERIALIZABLE_OBJECT_INTO_SESSION" level="CRITICAL" enabled="true" />
<coding_rule class="JCIP_FIELD_ISNT_FINAL_IN_IMMUTABLE_CLASS" level="MINOR" enabled="true" />
<coding_rule class="JLM_JSR166_LOCK_MONITORENTER" level="CRITICAL" enabled="true" />
<coding_rule class="JLM_JSR166_UTILCONCURRENT_MONITORENTER" level="CRITICAL" enabled="false" />
<coding_rule class="JML_JSR166_CALLING_WAIT_RATHER_THAN_AWAIT" level="CRITICAL" enabled="false" />
<coding_rule class="JavaNCSSCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocBlockTagLocationCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocContentLocationCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocMethodCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocPackageCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocParagraphCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocStyleCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocTagContinuationIndentationCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocTypeCheck" level="MAJOR" enabled="false" />
<coding_rule class="JavadocVariableCheck" level="MAJOR" enabled="false" />
<coding_rule class="LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE" level="MAJOR" enabled="false" />
<coding_rule class="LI_LAZY_INIT_STATIC" level="CRITICAL" enabled="true" />
<coding_rule class="LI_LAZY_INIT_UPDATE_STATIC" level="CRITICAL" enabled="true" />
<coding_rule class="LambdaParameterNameCheck" level="MAJOR" enabled="false" />
<coding_rule class="LeftCurlyCheck" level="MINOR" enabled="false" />
<coding_rule class="LineLengthCheck" level="MAJOR" enabled="false" />
<coding_rule class="LocalFinalVariableNameCheck" level="MAJOR" enabled="true" />
<coding_rule class="LocalVariableNameCheck" level="MAJOR" enabled="true" />
<coding_rule class="ME_ENUM_FIELD_SETTER" level="MAJOR" enabled="false" />
<coding_rule class="ME_MUTABLE_ENUM_FIELD" level="MAJOR" enabled="false" />
<coding_rule class="MF_CLASS_MASKS_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="MF_METHOD_MASKS_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="ML_SYNC_ON_FIELD_TO_GUARD_CHANGING_THAT_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="ML_SYNC_ON_UPDATED_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="MSF_MUTABLE_SERVLET_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="MS_CANNOT_BE_FINAL" level="MAJOR" enabled="true" />
<coding_rule class="MS_EXPOSE_REP" level="CRITICAL" enabled="true" />
<coding_rule class="MS_FINAL_PKGPROTECT" level="MAJOR" enabled="true" />
<coding_rule class="MS_MUTABLE_ARRAY" level="MAJOR" enabled="true" />
<coding_rule class="MS_MUTABLE_COLLECTION" level="MAJOR" enabled="false" />
<coding_rule class="MS_MUTABLE_COLLECTION_PKGPROTECT" level="MAJOR" enabled="false" />
<coding_rule class="MS_MUTABLE_HASHTABLE" level="MAJOR" enabled="true" />
<coding_rule class="MS_OOI_PKGPROTECT" level="MAJOR" enabled="true" />
<coding_rule class="MS_PKGPROTECT" level="MAJOR" enabled="true" />
<coding_rule class="MS_SHOULD_BE_FINAL" level="MAJOR" enabled="true" />
<coding_rule class="MS_SHOULD_BE_REFACTORED_TO_BE_FINAL" level="CRITICAL" enabled="false" />
<coding_rule class="MTIA_SUSPECT_SERVLET_INSTANCE_FIELD" level="CRITICAL" enabled="true" />
<coding_rule class="MTIA_SUSPECT_STRUTS_INSTANCE_FIELD" level="CRITICAL" enabled="true" />
<coding_rule class="MWN_MISMATCHED_NOTIFY" level="CRITICAL" enabled="true" />
<coding_rule class="MWN_MISMATCHED_WAIT" level="CRITICAL" enabled="true" />
<coding_rule class="MagicNumberCheck" level="MINOR" enabled="true" />
<coding_rule class="MemberNameCheck" level="MAJOR" enabled="true" />
<coding_rule class="MethodCountCheck" level="MAJOR" enabled="false" />
<coding_rule class="MethodLengthCheck" level="MAJOR" enabled="false" />
<coding_rule class="MethodNameCheck" level="MAJOR" enabled="true" />
<coding_rule class="MethodParamPadCheck" level="MAJOR" enabled="false" />
<coding_rule class="MethodTypeParameterNameCheck" level="MAJOR" enabled="false" />
<coding_rule class="MissingCtorCheck" level="MAJOR" enabled="false" />
<coding_rule class="MissingDeprecatedCheck" level="MAJOR" enabled="false" />
<coding_rule class="MissingJavadocMethodCheck" level="MAJOR" enabled="false" />
<coding_rule class="MissingJavadocPackageCheck" level="MAJOR" enabled="false" />
<coding_rule class="MissingJavadocTypeCheck" level="MAJOR" enabled="false" />
<coding_rule class="MissingOverrideCheck" level="MAJOR" enabled="false" />
<coding_rule class="MissingSwitchDefaultCheck" level="MAJOR" enabled="false" />
<coding_rule class="ModifiedControlVariableCheck" level="MAJOR" enabled="false" />
<coding_rule class="ModifierOrderCheck" level="MINOR" enabled="true" />
<coding_rule class="MultipleStringLiteralsCheck" level="MAJOR" enabled="false" />
<coding_rule class="MultipleVariableDeclarationsCheck" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingAvoidSynchronizedAtMethodLevel" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingAvoidThreadGroup" level="CRITICAL" enabled="false" />
<coding_rule class="MultithreadingAvoidUsingVolatile" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingDoNotUseThreads" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingDontCallThreadRun" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingDoubleCheckedLocking" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingNonThreadSafeSingleton" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingUnsynchronizedStaticDateFormatter" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingUseConcurrentHashMap" level="MAJOR" enabled="false" />
<coding_rule class="MultithreadingUseNotifyAllInsteadOfNotify" level="MAJOR" enabled="false" />
<coding_rule class="MutableExceptionCheck" level="MAJOR" enabled="false" />
<coding_rule class="NM_BAD_EQUAL" level="MAJOR" enabled="false" />
<coding_rule class="NM_CLASS_NAMING_CONVENTION" level="MAJOR" enabled="false" />
<coding_rule class="NM_CLASS_NOT_EXCEPTION" level="MAJOR" enabled="true" />
<coding_rule class="NM_CONFUSING" level="MAJOR" enabled="true" />
<coding_rule class="NM_FIELD_NAMING_CONVENTION" level="MAJOR" enabled="false" />
<coding_rule class="NM_FUTURE_KEYWORD_USED_AS_IDENTIFIER" level="MAJOR" enabled="true" />
<coding_rule class="NM_FUTURE_KEYWORD_USED_AS_MEMBER_IDENTIFIER" level="MAJOR" enabled="true" />
<coding_rule class="NM_LCASE_HASHCODE" level="MAJOR" enabled="false" />
<coding_rule class="NM_LCASE_TOSTRING" level="MAJOR" enabled="false" />
<coding_rule class="NM_METHOD_CONSTRUCTOR_CONFUSION" level="MAJOR" enabled="true" />
<coding_rule class="NM_METHOD_NAMING_CONVENTION" level="MAJOR" enabled="false" />
<coding_rule class="NM_SAME_SIMPLE_NAME_AS_INTERFACE" level="MAJOR" enabled="true" />
<coding_rule class="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" level="MAJOR" enabled="true" />
<coding_rule class="NM_VERY_CONFUSING" level="MAJOR" enabled="true" />
<coding_rule class="NM_VERY_CONFUSING_INTENTIONAL" level="MAJOR" enabled="true" />
<coding_rule class="NM_WRONG_PACKAGE" level="MAJOR" enabled="true" />
<coding_rule class="NM_WRONG_PACKAGE_INTENTIONAL" level="MAJOR" enabled="true" />
<coding_rule class="NN_NAKED_NOTIFY" level="CRITICAL" enabled="true" />
<coding_rule class="NOISE_FIELD_REFERENCE" level="MAJOR" enabled="false" />
<coding_rule class="NOISE_METHOD_CALL" level="MAJOR" enabled="false" />
<coding_rule class="NOISE_NULL_DEREFERENCE" level="MAJOR" enabled="false" />
<coding_rule class="NOISE_OPERATION" level="MAJOR" enabled="false" />
<coding_rule class="NO_NOTIFY_NOT_NOTIFYALL" level="CRITICAL" enabled="true" />
<coding_rule class="NP_ALWAYS_NULL" level="CRITICAL" enabled="true" />
<coding_rule class="NP_ALWAYS_NULL_EXCEPTION" level="CRITICAL" enabled="true" />
<coding_rule class="NP_ARGUMENT_MIGHT_BE_NULL" level="MAJOR" enabled="true" />
<coding_rule class="NP_BOOLEAN_RETURN_NULL" level="MAJOR" enabled="true" />
<coding_rule class="NP_CLONE_COULD_RETURN_NULL" level="CRITICAL" enabled="true" />
<coding_rule class="NP_CLOSING_NULL" level="MAJOR" enabled="false" />
<coding_rule class="NP_DEREFERENCE_OF_READLINE_VALUE" level="CRITICAL" enabled="true" />
<coding_rule class="NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT" level="CRITICAL" enabled="true" />
<coding_rule class="NP_GUARANTEED_DEREF" level="BLOCKER" enabled="true" />
<coding_rule class="NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH" level="CRITICAL" enabled="true" />
<coding_rule class="NP_IMMEDIATE_DEREFERENCE_OF_READLINE" level="CRITICAL" enabled="true" />
<coding_rule class="NP_LOAD_OF_KNOWN_NULL_VALUE" level="CRITICAL" enabled="true" />
<coding_rule class="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION" level="MAJOR" enabled="false" />
<coding_rule class="NP_METHOD_RETURN_RELAXING_ANNOTATION" level="MAJOR" enabled="false" />
<coding_rule class="NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR" level="CRITICAL" enabled="false" />
<coding_rule class="NP_NONNULL_PARAM_VIOLATION" level="CRITICAL" enabled="true" />
<coding_rule class="NP_NONNULL_RETURN_VIOLATION" level="CRITICAL" enabled="true" />
<coding_rule class="NP_NULL_INSTANCEOF" level="BLOCKER" enabled="true" />
<coding_rule class="NP_NULL_ON_SOME_PATH" level="CRITICAL" enabled="true" />
<coding_rule class="NP_NULL_ON_SOME_PATH_EXCEPTION" level="CRITICAL" enabled="true" />
<coding_rule class="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" level="CRITICAL" enabled="true" />
<coding_rule class="NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE" level="CRITICAL" enabled="true" />
<coding_rule class="NP_NULL_PARAM_DEREF" level="CRITICAL" enabled="true" />
<coding_rule class="NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS" level="CRITICAL" enabled="true" />
<coding_rule class="NP_NULL_PARAM_DEREF_NONVIRTUAL" level="CRITICAL" enabled="true" />
<coding_rule class="NP_OPTIONAL_RETURN_NULL" level="MAJOR" enabled="false" />
<coding_rule class="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" level="CRITICAL" enabled="true" />
<coding_rule class="NP_STORE_INTO_NONNULL_FIELD" level="CRITICAL" enabled="true" />
<coding_rule class="NP_SYNC_AND_NULL_CHECK_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="NP_TOSTRING_COULD_RETURN_NULL" level="CRITICAL" enabled="true" />
<coding_rule class="NP_UNWRITTEN_FIELD" level="MAJOR" enabled="false" />
<coding_rule class="NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD" level="CRITICAL" enabled="false" />
<coding_rule class="NPathComplexityCheck" level="MAJOR" enabled="false" />
<coding_rule class="NS_DANGEROUS_NON_SHORT_CIRCUIT" level="CRITICAL" enabled="true" />
<coding_rule class="NS_NON_SHORT_CIRCUIT" level="MAJOR" enabled="true" />
<coding_rule class="NeedBracesCheck" level="MINOR" enabled="false" />
<coding_rule class="NestedForDepthCheck" level="MAJOR" enabled="false" />
<coding_rule class="NestedIfDepthCheck" level="MAJOR" enabled="false" />
<coding_rule class="NestedTryDepthCheck" level="MAJOR" enabled="false" />
<coding_rule class="NewlineAtEndOfFileCheck" level="MINOR" enabled="false" />
<coding_rule class="NoArrayTrailingCommaCheck" level="MAJOR" enabled="false" />
<coding_rule class="NoCloneCheck" level="MAJOR" enabled="false" />
<coding_rule class="NoEnumTrailingCommaCheck" level="MAJOR" enabled="false" />
<coding_rule class="NoFinalizerCheck" level="MAJOR" enabled="false" />
<coding_rule class="NoLineWrapCheck" level="MAJOR" enabled="false" />
<coding_rule class="NoWhitespaceAfterCheck" level="MINOR" enabled="false" />
<coding_rule class="NoWhitespaceBeforeCheck" level="MINOR" enabled="false" />
<coding_rule class="NonEmptyAtclauseDescriptionCheck" level="MAJOR" enabled="false" />
<coding_rule class="OBL_UNSATISFIED_OBLIGATION" level="CRITICAL" enabled="false" />
<coding_rule class="OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE" level="CRITICAL" enabled="false" />
<coding_rule class="ODR_OPEN_DATABASE_RESOURCE" level="CRITICAL" enabled="true" />
<coding_rule class="ODR_OPEN_DATABASE_RESOURCE_EXCEPTION_PATH" level="CRITICAL" enabled="true" />
<coding_rule class="OS_OPEN_STREAM" level="CRITICAL" enabled="true" />
<coding_rule class="OS_OPEN_STREAM_EXCEPTION_PATH" level="CRITICAL" enabled="true" />
<coding_rule class="OneStatementPerLineCheck" level="MINOR" enabled="false" />
<coding_rule class="OneTopLevelClassCheck" level="MAJOR" enabled="false" />
<coding_rule class="OperatorWrapCheck" level="MINOR" enabled="false" />
<coding_rule class="OrderedPropertiesCheck" level="MAJOR" enabled="false" />
<coding_rule class="OuterTypeFilenameCheck" level="MINOR" enabled="false" />
<coding_rule class="OuterTypeNumberCheck" level="MAJOR" enabled="false" />
<coding_rule class="OverloadMethodsDeclarationOrderCheck" level="MAJOR" enabled="false" />
<coding_rule class="PS_PUBLIC_SEMAPHORES" level="CRITICAL" enabled="true" />
<coding_rule class="PT_ABSOLUTE_PATH_TRAVERSAL" level="CRITICAL" enabled="false" />
<coding_rule class="PT_RELATIVE_PATH_TRAVERSAL" level="CRITICAL" enabled="false" />
<coding_rule class="PZLA_PREFER_ZERO_LENGTH_ARRAYS" level="MAJOR" enabled="true" />
<coding_rule class="PZ_DONT_REUSE_ENTRY_OBJECTS_IN_ITERATORS" level="CRITICAL" enabled="false" />
<coding_rule class="PackageAnnotationCheck" level="MAJOR" enabled="false" />
<coding_rule class="PackageDeclarationCheck" level="MAJOR" enabled="false" />
<coding_rule class="PackageNameCheck" level="MAJOR" enabled="true" />
<coding_rule class="ParameterAssignmentCheck" level="MAJOR" enabled="true" />
<coding_rule class="ParameterNameCheck" level="MAJOR" enabled="true" />
<coding_rule class="ParameterNumberCheck" level="MAJOR" enabled="false" />
<coding_rule class="ParenPadCheck" level="MINOR" enabled="false" />
<coding_rule class="PerformanceAddEmptyString" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceAppendCharacterWithChar" level="MINOR" enabled="false" />
<coding_rule class="PerformanceAvoidArrayLoops" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceAvoidInstantiatingObjectsInLoops" level="MINOR" enabled="false" />
<coding_rule class="PerformanceAvoidUsingShortType" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceBigIntegerInstantiation" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceBooleanInstantiation" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceByteInstantiation" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceConsecutiveAppendsShouldReuse" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceConsecutiveLiteralAppends" level="MINOR" enabled="false" />
<coding_rule class="PerformanceInefficientEmptyStringCheck" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceInefficientStringBuffering" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceInsufficientStringBufferDeclaration" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceIntegerInstantiation" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceLongInstantiation" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceOptimizableToArrayCall" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceRedundantFieldInitializer" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceShortInstantiation" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceSimplifyStartsWith" level="MINOR" enabled="false" />
<coding_rule class="PerformanceStringInstantiation" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceStringToString" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceTooFewBranchesForASwitchStatement" level="MINOR" enabled="false" />
<coding_rule class="PerformanceUnnecessaryWrapperObjectCreation" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceUseArrayListInsteadOfVector" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceUseArraysAsList" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceUseIndexOfChar" level="MAJOR" enabled="true" />
<coding_rule class="PerformanceUseStringBufferForStringAppends" level="MAJOR" enabled="false" />
<coding_rule class="PerformanceUseStringBufferLength" level="MINOR" enabled="true" />
<coding_rule class="PerformanceUselessStringValueOf" level="MINOR" enabled="true" />
<coding_rule class="QBA_QUESTIONABLE_BOOLEAN_ASSIGNMENT" level="CRITICAL" enabled="true" />
<coding_rule class="QF_QUESTIONABLE_FOR_LOOP" level="CRITICAL" enabled="true" />
<coding_rule class="RANGE_ARRAY_INDEX" level="MAJOR" enabled="false" />
<coding_rule class="RANGE_ARRAY_LENGTH" level="MAJOR" enabled="false" />
<coding_rule class="RANGE_ARRAY_OFFSET" level="MAJOR" enabled="false" />
<coding_rule class="RANGE_STRING_INDEX" level="MAJOR" enabled="false" />
<coding_rule class="RCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE" level="CRITICAL" enabled="true" />
<coding_rule class="RCN_REDUNDANT_COMPARISON_TWO_NULL_VALUES" level="CRITICAL" enabled="true" />
<coding_rule class="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" level="CRITICAL" enabled="true" />
<coding_rule class="RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE" level="CRITICAL" enabled="true" />
<coding_rule class="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE" level="CRITICAL" enabled="true" />
<coding_rule class="RC_REF_COMPARISON" level="CRITICAL" enabled="true" />
<coding_rule class="RC_REF_COMPARISON_BAD_PRACTICE" level="MAJOR" enabled="false" />
<coding_rule class="RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN" level="MAJOR" enabled="false" />
<coding_rule class="REC_CATCH_EXCEPTION" level="MAJOR" enabled="true" />
<coding_rule class="RE_BAD_SYNTAX_FOR_REGULAR_EXPRESSION" level="CRITICAL" enabled="true" />
<coding_rule class="RE_CANT_USE_FILE_SEPARATOR_AS_REGULAR_EXPRESSION" level="CRITICAL" enabled="true" />
<coding_rule class="RE_POSSIBLE_UNINTENDED_PATTERN" level="CRITICAL" enabled="true" />
<coding_rule class="RI_REDUNDANT_INTERFACES" level="MAJOR" enabled="true" />
<coding_rule class="RR_NOT_CHECKED" level="MAJOR" enabled="true" />
<coding_rule class="RS_READOBJECT_SYNC" level="CRITICAL" enabled="true" />
<coding_rule class="RU_INVOKE_RUN" level="MAJOR" enabled="true" />
<coding_rule class="RV_01_TO_INT" level="MAJOR" enabled="true" />
<coding_rule class="RV_ABSOLUTE_VALUE_OF_HASHCODE" level="CRITICAL" enabled="true" />
<coding_rule class="RV_ABSOLUTE_VALUE_OF_RANDOM_INT" level="CRITICAL" enabled="true" />
<coding_rule class="RV_CHECK_COMPARETO_FOR_SPECIFIC_RETURN_VALUE" level="CRITICAL" enabled="false" />
<coding_rule class="RV_CHECK_FOR_POSITIVE_INDEXOF" level="MINOR" enabled="true" />
<coding_rule class="RV_DONT_JUST_NULL_CHECK_READLINE" level="MAJOR" enabled="true" />
<coding_rule class="RV_EXCEPTION_NOT_THROWN" level="CRITICAL" enabled="true" />
<coding_rule class="RV_NEGATING_RESULT_OF_COMPARETO" level="CRITICAL" enabled="false" />
<coding_rule class="RV_REM_OF_HASHCODE" level="CRITICAL" enabled="true" />
<coding_rule class="RV_REM_OF_RANDOM_INT" level="CRITICAL" enabled="true" />
<coding_rule class="RV_RETURN_VALUE_IGNORED" level="MINOR" enabled="true" />
<coding_rule class="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" level="MAJOR" enabled="true" />
<coding_rule class="RV_RETURN_VALUE_IGNORED_INFERRED" level="CRITICAL" enabled="false" />
<coding_rule class="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" level="MAJOR" enabled="false" />
<coding_rule class="RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORED" level="MAJOR" enabled="false" />
<coding_rule class="RedundantImportCheck" level="MINOR" enabled="false" />
<coding_rule class="RedundantModifierCheck" level="MINOR" enabled="true" />
<coding_rule class="RegexpCheck" level="MAJOR" enabled="false" />
<coding_rule class="RegexpHeaderCheck" level="MAJOR" enabled="false" />
<coding_rule class="RegexpMultilineCheck" level="MAJOR" enabled="false" />
<coding_rule class="RegexpOnFilenameCheck" level="MAJOR" enabled="false" />
<coding_rule class="RegexpSinglelineCheck" level="MAJOR" enabled="false" />
<coding_rule class="RegexpSinglelineJavaCheck" level="MAJOR" enabled="false" />
<coding_rule class="RequireThisCheck" level="MAJOR" enabled="false" />
<coding_rule class="ReturnCountCheck" level="MAJOR" enabled="false" />
<coding_rule class="RightCurlyCheck" level="MINOR" enabled="false" />
<coding_rule class="RpC_REPEATED_CONDITIONAL_TEST" level="MAJOR" enabled="true" />
<coding_rule class="SA_FIELD_DOUBLE_ASSIGNMENT" level="CRITICAL" enabled="true" />
<coding_rule class="SA_FIELD_SELF_ASSIGNMENT" level="CRITICAL" enabled="true" />
<coding_rule class="SA_FIELD_SELF_COMPARISON" level="CRITICAL" enabled="true" />
<coding_rule class="SA_FIELD_SELF_COMPUTATION" level="CRITICAL" enabled="true" />
<coding_rule class="SA_LOCAL_DOUBLE_ASSIGNMENT" level="CRITICAL" enabled="true" />
<coding_rule class="SA_LOCAL_SELF_ASSIGNMENT" level="CRITICAL" enabled="true" />
<coding_rule class="SA_LOCAL_SELF_ASSIGNMENT_INSTEAD_OF_FIELD" level="CRITICAL" enabled="false" />
<coding_rule class="SA_LOCAL_SELF_COMPARISON" level="CRITICAL" enabled="true" />
<coding_rule class="SA_LOCAL_SELF_COMPUTATION" level="CRITICAL" enabled="true" />
<coding_rule class="SBSC_USE_STRINGBUFFER_CONCATENATION" level="CRITICAL" enabled="true" />
<coding_rule class="SC_START_IN_CTOR" level="CRITICAL" enabled="true" />
<coding_rule class="SE_BAD_FIELD" level="MINOR" enabled="false" />
<coding_rule class="SE_BAD_FIELD_INNER_CLASS" level="MINOR" enabled="true" />
<coding_rule class="SE_BAD_FIELD_STORE" level="CRITICAL" enabled="true" />
<coding_rule class="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" level="MAJOR" enabled="true" />
<coding_rule class="SE_INNER_CLASS" level="MAJOR" enabled="true" />
<coding_rule class="SE_METHOD_MUST_BE_PRIVATE" level="MAJOR" enabled="true" />
<coding_rule class="SE_NONFINAL_SERIALVERSIONID" level="CRITICAL" enabled="true" />
<coding_rule class="SE_NONLONG_SERIALVERSIONID" level="MAJOR" enabled="true" />
<coding_rule class="SE_NONSTATIC_SERIALVERSIONID" level="MAJOR" enabled="true" />
<coding_rule class="SE_NO_SERIALVERSIONID" level="MAJOR" enabled="true" />
<coding_rule class="SE_NO_SUITABLE_CONSTRUCTOR" level="MAJOR" enabled="true" />
<coding_rule class="SE_NO_SUITABLE_CONSTRUCTOR_FOR_EXTERNALIZATION" level="MAJOR" enabled="true" />
<coding_rule class="SE_PRIVATE_READ_RESOLVE_NOT_INHERITED" level="MAJOR" enabled="true" />
<coding_rule class="SE_READ_RESOLVE_IS_STATIC" level="MAJOR" enabled="true" />
<coding_rule class="SE_READ_RESOLVE_MUST_RETURN_OBJECT" level="MAJOR" enabled="true" />
<coding_rule class="SE_TRANSIENT_FIELD_NOT_RESTORED" level="MAJOR" enabled="true" />
<coding_rule class="SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS" level="MAJOR" enabled="true" />
<coding_rule class="SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH" level="MAJOR" enabled="false" />
<coding_rule class="SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH_TO_THROW" level="MAJOR" enabled="false" />
<coding_rule class="SF_SWITCH_FALLTHROUGH" level="MAJOR" enabled="false" />
<coding_rule class="SF_SWITCH_NO_DEFAULT" level="MAJOR" enabled="false" />
<coding_rule class="SIC_INNER_SHOULD_BE_STATIC" level="MAJOR" enabled="true" />
<coding_rule class="SIC_INNER_SHOULD_BE_STATIC_ANON" level="MAJOR" enabled="true" />
<coding_rule class="SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS" level="MAJOR" enabled="true" />
<coding_rule class="SIC_THREADLOCAL_DEADLY_EMBRACE" level="MAJOR" enabled="false" />
<coding_rule class="SIO_SUPERFLUOUS_INSTANCEOF" level="CRITICAL" enabled="true" />
<coding_rule class="SI_INSTANCE_BEFORE_FINALS_ASSIGNED" level="CRITICAL" enabled="true" />
<coding_rule class="SP_SPIN_ON_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="SQL_BAD_PREPARED_STATEMENT_ACCESS" level="CRITICAL" enabled="true" />
<coding_rule class="SQL_BAD_RESULTSET_ACCESS" level="CRITICAL" enabled="true" />
<coding_rule class="SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE" level="CRITICAL" enabled="true" />
<coding_rule class="SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" level="CRITICAL" enabled="true" />
<coding_rule class="SR_NOT_CHECKED" level="MAJOR" enabled="true" />
<coding_rule class="SS_SHOULD_BE_STATIC" level="MAJOR" enabled="true" />
<coding_rule class="STCAL_INVOKE_ON_STATIC_CALENDAR_INSTANCE" level="CRITICAL" enabled="true" />
<coding_rule class="STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE" level="CRITICAL" enabled="true" />
<coding_rule class="STCAL_STATIC_CALENDAR_INSTANCE" level="CRITICAL" enabled="true" />
<coding_rule class="STCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCE" level="CRITICAL" enabled="true" />
<coding_rule class="STI_INTERRUPTED_ON_CURRENTTHREAD" level="CRITICAL" enabled="true" />
<coding_rule class="STI_INTERRUPTED_ON_UNKNOWNTHREAD" level="CRITICAL" enabled="true" />
<coding_rule class="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" level="CRITICAL" enabled="true" />
<coding_rule class="SWL_SLEEP_WITH_LOCK_HELD" level="CRITICAL" enabled="true" />
<coding_rule class="SW_SWING_METHODS_INVOKED_IN_SWING_THREAD" level="MAJOR" enabled="true" />
<coding_rule class="SecurityIframeMissingSrcAttribute" level="MAJOR" enabled="false" />
<coding_rule class="SecurityNoUnsanitizedJSPExpression" level="MAJOR" enabled="false" />
<coding_rule class="SeparatorWrapCheck" level="MAJOR" enabled="false" />
<coding_rule class="SimplifyBooleanExpressionCheck" level="MAJOR" enabled="true" />
<coding_rule class="SimplifyBooleanReturnCheck" level="MAJOR" enabled="true" />
<coding_rule class="SingleLineJavadocCheck" level="MAJOR" enabled="false" />
<coding_rule class="SingleSpaceSeparatorCheck" level="MAJOR" enabled="false" />
<coding_rule class="StaticVariableNameCheck" level="MAJOR" enabled="true" />
<coding_rule class="StringLiteralEqualityCheck" level="MAJOR" enabled="true" />
<coding_rule class="SummaryJavadocCheck" level="MAJOR" enabled="false" />
<coding_rule class="SuperCloneCheck" level="MAJOR" enabled="false" />
<coding_rule class="SuperFinalizeCheck" level="MAJOR" enabled="false" />
<coding_rule class="SuppressWarningsCheck" level="MAJOR" enabled="false" />
<coding_rule class="SuppressWarningsHolder" level="MAJOR" enabled="false" />
<coding_rule class="TLW_TWO_LOCK_WAIT" level="MAJOR" enabled="true" />
<coding_rule class="TQ_ALWAYS_VALUE_USED_WHERE_NEVER_REQUIRED" level="CRITICAL" enabled="true" />
<coding_rule class="TQ_COMPARING_VALUES_WITH_INCOMPATIBLE_TYPE_QUALIFIERS" level="CRITICAL" enabled="false" />
<coding_rule class="TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_ALWAYS_SINK" level="CRITICAL" enabled="true" />
<coding_rule class="TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_NEVER_SINK" level="CRITICAL" enabled="true" />
<coding_rule class="TQ_MAYBE_SOURCE_VALUE_REACHES_ALWAYS_SINK" level="CRITICAL" enabled="true" />
<coding_rule class="TQ_MAYBE_SOURCE_VALUE_REACHES_NEVER_SINK" level="CRITICAL" enabled="true" />
<coding_rule class="TQ_NEVER_VALUE_USED_WHERE_ALWAYS_REQUIRED" level="CRITICAL" enabled="true" />
<coding_rule class="TQ_UNKNOWN_VALUE_USED_WHERE_ALWAYS_STRICTLY_REQUIRED" level="CRITICAL" enabled="false" />
<coding_rule class="ThrowsCountCheck" level="MAJOR" enabled="false" />
<coding_rule class="TodoCommentCheck" level="MINOR" enabled="false" />
<coding_rule class="TrailingCommentCheck" level="MINOR" enabled="false" />
<coding_rule class="TranslationCheck" level="MINOR" enabled="false" />
<coding_rule class="TypeNameCheck" level="MAJOR" enabled="false" />
<coding_rule class="TypecastParenPadCheck" level="MAJOR" enabled="false" />
<coding_rule class="UCF_USELESS_CONTROL_FLOW" level="CRITICAL" enabled="true" />
<coding_rule class="UCF_USELESS_CONTROL_FLOW_NEXT_LINE" level="CRITICAL" enabled="true" />
<coding_rule class="UC_USELESS_CONDITION" level="MAJOR" enabled="false" />
<coding_rule class="UC_USELESS_CONDITION_TYPE" level="MAJOR" enabled="false" />
<coding_rule class="UC_USELESS_OBJECT" level="MAJOR" enabled="false" />
<coding_rule class="UC_USELESS_OBJECT_STACK" level="MAJOR" enabled="false" />
<coding_rule class="UC_USELESS_VOID_METHOD" level="MAJOR" enabled="false" />
<coding_rule class="UG_SYNC_SET_UNSYNC_GET" level="MAJOR" enabled="true" />
<coding_rule class="UI_INHERITANCE_UNSAFE_GETRESOURCE" level="MAJOR" enabled="true" />
<coding_rule class="UL_UNRELEASED_LOCK" level="CRITICAL" enabled="true" />
<coding_rule class="UL_UNRELEASED_LOCK_EXCEPTION_PATH" level="CRITICAL" enabled="true" />
<coding_rule class="UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS" level="CRITICAL" enabled="true" />
<coding_rule class="UM_UNNECESSARY_MATH" level="CRITICAL" enabled="true" />
<coding_rule class="UPM_UNCALLED_PRIVATE_METHOD" level="CRITICAL" enabled="true" />
<coding_rule class="URF_UNREAD_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" level="CRITICAL" enabled="false" />
<coding_rule class="UR_UNINIT_READ" level="MAJOR" enabled="true" />
<coding_rule class="UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR" level="MAJOR" enabled="false" />
<coding_rule class="USM_USELESS_ABSTRACT_METHOD" level="MAJOR" enabled="false" />
<coding_rule class="USM_USELESS_SUBCLASS_METHOD" level="MAJOR" enabled="false" />
<coding_rule class="UUF_UNUSED_FIELD" level="MAJOR" enabled="true" />
<coding_rule class="UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD" level="CRITICAL" enabled="false" />
<coding_rule class="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR" level="MAJOR" enabled="false" />
<coding_rule class="UWF_NULL_FIELD" level="CRITICAL" enabled="true" />
<coding_rule class="UWF_UNWRITTEN_FIELD" level="MAJOR" enabled="false" />
<coding_rule class="UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD" level="CRITICAL" enabled="false" />
<coding_rule class="UW_UNCOND_WAIT" level="MAJOR" enabled="true" />
<coding_rule class="UncommentedMainCheck" level="MAJOR" enabled="false" />
<coding_rule class="UniquePropertiesCheck" level="MAJOR" enabled="false" />
<coding_rule class="UnnecessaryParenthesesCheck" level="MINOR" enabled="false" />
<coding_rule class="UnnecessarySemicolonAfterTypeMemberDeclarationCheck" level="MAJOR" enabled="false" />
<coding_rule class="UnnecessarySemicolonInEnumerationCheck" level="MAJOR" enabled="false" />
<coding_rule class="UnnecessarySemicolonInTryWithResourcesCheck" level="MAJOR" enabled="false" />
<coding_rule class="UnusedImportsCheck" level="INFO" enabled="true" />
<coding_rule class="UpperEllCheck" level="MINOR" enabled="false" />
<coding_rule class="VA_FORMAT_STRING_BAD_ARGUMENT" level="CRITICAL" enabled="true" />
<coding_rule class="VA_FORMAT_STRING_BAD_CONVERSION" level="CRITICAL" enabled="true" />
<coding_rule class="VA_FORMAT_STRING_BAD_CONVERSION_FROM_ARRAY" level="MAJOR" enabled="true" />
<coding_rule class="VA_FORMAT_STRING_BAD_CONVERSION_TO_BOOLEAN" level="MAJOR" enabled="true" />
<coding_rule class="VA_FORMAT_STRING_EXPECTED_MESSAGE_FORMAT_SUPPLIED" level="MAJOR" enabled="false" />
<coding_rule class="VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED" level="MAJOR" enabled="true" />
<coding_rule class="VA_FORMAT_STRING_ILLEGAL" level="CRITICAL" enabled="true" />
<coding_rule class="VA_FORMAT_STRING_MISSING_ARGUMENT" level="CRITICAL" enabled="true" />
<coding_rule class="VA_FORMAT_STRING_NO_PREVIOUS_ARGUMENT" level="CRITICAL" enabled="true" />
<coding_rule class="VA_FORMAT_STRING_USES_NEWLINE" level="CRITICAL" enabled="false" />
<coding_rule class="VA_PRIMITIVE_ARRAY_PASSED_TO_OBJECT_VARARG" level="CRITICAL" enabled="true" />
<coding_rule class="VO_VOLATILE_INCREMENT" level="CRITICAL" enabled="false" />
<coding_rule class="VO_VOLATILE_REFERENCE_TO_ARRAY" level="MAJOR" enabled="true" />
<coding_rule class="VR_UNRESOLVABLE_REFERENCE" level="MAJOR" enabled="false" />
<coding_rule class="VariableDeclarationUsageDistanceCheck" level="MAJOR" enabled="false" />
<coding_rule class="VisibilityModifierCheck" level="MAJOR" enabled="true" />
<coding_rule class="WA_AWAIT_NOT_IN_LOOP" level="CRITICAL" enabled="true" />
<coding_rule class="WA_NOT_IN_LOOP" level="CRITICAL" enabled="true" />
<coding_rule class="WL_USING_GETCLASS_RATHER_THAN_CLASS_LITERAL" level="CRITICAL" enabled="true" />
<coding_rule class="WMI_WRONG_MAP_ITERATOR" level="CRITICAL" enabled="true" />
<coding_rule class="WS_WRITEOBJECT_SYNC" level="CRITICAL" enabled="true" />
<coding_rule class="WhitespaceAfterCheck" level="MINOR" enabled="false" />
<coding_rule class="WhitespaceAroundCheck" level="MINOR" enabled="false" />
<coding_rule class="WriteTagCheck" level="MINOR" enabled="false" />
<coding_rule class="XFB_XML_FACTORY_BYPASS" level="CRITICAL" enabled="true" />
<coding_rule class="XSS_REQUEST_PARAMETER_TO_JSP_WRITER" level="CRITICAL" enabled="true" />
<coding_rule class="XSS_REQUEST_PARAMETER_TO_SEND_ERROR" level="CRITICAL" enabled="true" />
<coding_rule class="XSS_REQUEST_PARAMETER_TO_SERVLET_WRITER" level="CRITICAL" enabled="true" />
</profile>
</profiles>
<list size="0" />
</component>
</project>

124
.idea/uiDesigner.xml generated
View File

@ -1,124 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

6
.idea/vcs.xml generated
View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@ -1,593 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>cd.casic.boot</groupId>
<artifactId>dependencies</artifactId>
<version>2.0.0-jdk17</version>
<packaging>pom</packaging>
<name>dependencies</name>
<description>管理整个项目的依赖版本</description>
<properties>
<tika-core.version>2.9.2</tika-core.version>
<podam.version>8.0.0.RELEASE</podam.version>
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
<opengauss.jdbc.version>5.1.0</opengauss.jdbc.version>
<mapstruct.version>1.6.2</mapstruct.version>
<fastjson.version>1.2.83</fastjson.version>
<sqlite.version>3.47.1.0</sqlite.version>
<mybatis.version>3.5.16</mybatis.version>
<opentracing.version>0.33.0</opentracing.version>
<caffeine.version>2.9.3</caffeine.version>
<json.version>20250107</json.version>
<kingbase.jdbc.version>8.6.0</kingbase.jdbc.version>
<commons-compress.version>1.27.1</commons-compress.version>
<ip2region.version>2.7.0</ip2region.version>
<dynamic-datasource.version>4.3.1</dynamic-datasource.version>
<redisson.version>3.36.0</redisson.version>
<pf4j-spring.version>0.9.0</pf4j-spring.version>
<transmittable-thread-local.version>2.14.5</transmittable-thread-local.version>
<dd-plist.version>1.28</dd-plist.version>
<spring.boot.version>3.3.4</spring.boot.version>
<bcprov-jdk18on.version>1.80</bcprov-jdk18on.version>
<springdoc.version>2.3.0</springdoc.version>
<version-number.version>1.12</version-number.version>
<lock4j.version>2.2.7</lock4j.version>
<commons-io.version>2.17.0</commons-io.version>
<apk-parser.version>2.6.10</apk-parser.version>
<ognl.version>3.2.1</ognl.version>
<hutool-6.version>6.0.0-M16</hutool-6.version>
<resilience4j-circuitbreaker.version>2.3.0</resilience4j-circuitbreaker.version>
<jsoup.version>1.18.1</jsoup.version>
<mybatis-plus.version>3.5.8</mybatis-plus.version>
<knife4j.version>4.5.0</knife4j.version>
<lombok.version>1.18.34</lombok.version>
<skywalking.version>9.0.0</skywalking.version>
<mockito-inline.version>5.2.0</mockito-inline.version>
<commons-exec.version>1.4.0</commons-exec.version>
<velocity.version>2.4</velocity.version>
<reflections.version>0.10.2</reflections.version>
<bizlog-sdk.version>3.0.6</bizlog-sdk.version>
<anwena.version>2.0.8.3</anwena.version>
<pf4j.version>3.12.1</pf4j.version>
<logback.version>1.2.13</logback.version>
<mybatis-plus-join.version>1.4.13</mybatis-plus-join.version>
<hutool-5.version>5.8.32</hutool-5.version>
<revision>2.0.0-jdk17</revision>
<jsch.version>0.1.55</jsch.version>
<winp.version>1.28</winp.version>
<postgresql.version>42.7.4</postgresql.version>
<spring-boot-admin.version>3.3.3</spring-boot-admin.version>
<oracle.version>23.5.0.24.07</oracle.version>
<netty.version>4.1.113.Final</netty.version>
<oshi-version>6.6.5</oshi-version>
<jedis-mock.version>1.1.4</jedis-mock.version>
<guava.version>33.3.1-jre</guava.version>
<aws-java-sdk-s3.version>1.12.777</aws-java-sdk-s3.version>
<commons-net.version>3.11.1</commons-net.version>
<jimureport.version>1.7.8</jimureport.version>
<easyexcel.verion>4.0.3</easyexcel.verion>
<json.schema.validator.veresion>1.5.6</json.schema.validator.veresion>
<druid.version>1.2.23</druid.version>
<easy-trans.version>3.0.6</easy-trans.version>
<dm8.jdbc.version>8.1.3.140</dm8.jdbc.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-bom</artifactId>
<version>${netty.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>commons</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-biz-data-permission</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-biz-ip</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-biz-tenant</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-excel</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-job</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-mongo</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-monitor</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-mq</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-mybatis</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-protection</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-redis</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-infra-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-infra-biz</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-system-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-system-biz</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-commons</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-process-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-process-biz</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.github.mouzt</groupId>
<artifactId>bizlog-sdk</artifactId>
<version>${bizlog-sdk.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
<version>${knife4j.version}</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
<version>${springdoc.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-3-starter</artifactId>
<version>${druid.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>${mybatis.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
<version>${dynamic-datasource.version}</version>
</dependency>
<dependency>
<groupId>com.github.yulichang</groupId>
<artifactId>mybatis-plus-join-boot-starter</artifactId>
<version>${mybatis-plus-join.version}</version>
</dependency>
<dependency>
<groupId>com.fhs-opensource</groupId>
<artifactId>easy-trans-spring-boot-starter</artifactId>
<version>${easy-trans.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fhs-opensource</groupId>
<artifactId>easy-trans-mybatis-plus-extend</artifactId>
<version>${easy-trans.version}</version>
</dependency>
<dependency>
<groupId>com.fhs-opensource</groupId>
<artifactId>easy-trans-anno</artifactId>
<version>${easy-trans.version}</version>
</dependency>
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>${redisson.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>lock4j-redisson-spring-boot-starter</artifactId>
<version>${lock4j.version}</version>
<exclusions>
<exclusion>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-trace</artifactId>
<version>${skywalking.version}</version>
</dependency>
<dependency>
<groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-logback-1.x</artifactId>
<version>${skywalking.version}</version>
</dependency>
<dependency>
<groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-opentracing</artifactId>
<version>${skywalking.version}</version>
</dependency>
<dependency>
<groupId>io.opentracing</groupId>
<artifactId>opentracing-api</artifactId>
<version>${opentracing.version}</version>
</dependency>
<dependency>
<groupId>io.opentracing</groupId>
<artifactId>opentracing-util</artifactId>
<version>${opentracing.version}</version>
</dependency>
<dependency>
<groupId>io.opentracing</groupId>
<artifactId>opentracing-noop</artifactId>
<version>${opentracing.version}</version>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
<version>${spring-boot-admin.version}</version>
<exclusions>
<exclusion>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-server-cloud</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
<version>${spring-boot-admin.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${mockito-inline.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring.boot.version}</version>
<exclusions>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.fppt</groupId>
<artifactId>jedis-mock</artifactId>
<version>${jedis-mock.version}</version>
</dependency>
<dependency>
<groupId>uk.co.jemos.podam</groupId>
<artifactId>podam</artifactId>
<version>${podam.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-jdk8</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool-5.version}</version>
</dependency>
<dependency>
<groupId>org.dromara.hutool</groupId>
<artifactId>hutool-extra</artifactId>
<version>${hutool-6.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>${easyexcel.verion}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>${commons-compress.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>${tika-core.version}</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId>
<version>${velocity.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
<version>${json.schema.validator.veresion}</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>${json.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>${transmittable-thread-local.version}</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons-net.version}</version>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>${jsch.version}</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
<version>${aws-java-sdk-s3.version}</version>
</dependency>
<dependency>
<groupId>org.lionsoul</groupId>
<artifactId>ip2region</artifactId>
<version>${ip2region.version}</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>${oshi-version}</version>
</dependency>
<dependency>
<groupId>org.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>${pf4j.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.pf4j</groupId>
<artifactId>pf4j-spring</artifactId>
<version>${pf4j-spring.version}</version>
</dependency>
<dependency>
<groupId>com.dameng</groupId>
<artifactId>DmJdbcDriver18</artifactId>
<version>${dm8.jdbc.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>${oracle.version}</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
<dependency>
<groupId>org.opengauss</groupId>
<artifactId>opengauss-jdbc</artifactId>
<version>${opengauss.jdbc.version}</version>
</dependency>
<dependency>
<groupId>cn.com.kingbase</groupId>
<artifactId>kingbase8</artifactId>
<version>${kingbase.jdbc.version}</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>${sqlite.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.anwena</groupId>
<artifactId>mongo-plus-boot-starter</artifactId>
<version>${anwena.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>${bcprov-jdk18on.version}</version>
</dependency>
<dependency>
<groupId>org.jvnet.winp</groupId>
<artifactId>winp</artifactId>
<version>${winp.version}</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${reflections.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
<version>${commons-exec.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.plist</groupId>
<artifactId>dd-plist</artifactId>
<version>${dd-plist.version}</version>
</dependency>
<dependency>
<groupId>net.dongliu</groupId>
<artifactId>apk-parser</artifactId>
<version>${apk-parser.version}</version>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>${caffeine.version}</version>
</dependency>
<dependency>
<groupId>io.github.resilience4j</groupId>
<artifactId>resilience4j-circuitbreaker</artifactId>
<version>${resilience4j-circuitbreaker.version}</version>
</dependency>
<dependency>
<groupId>ognl</groupId>
<artifactId>ognl</artifactId>
<version>${ognl.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>

113
dependencies/pom.xml vendored
View File

@ -35,6 +35,8 @@
<postgresql.version>42.7.4</postgresql.version>
<!-- <anwena.version>2.1.0</anwena.version>-->
<anwena.version>2.0.8.3</anwena.version>
<!-- 消息队列 -->
<rocketmq-spring.version>2.3.1</rocketmq-spring.version>
<!-- 服务保障相关 -->
<lock4j.version>2.2.7</lock4j.version>
<!-- 监控相关 -->
@ -83,9 +85,13 @@
<commons-exec.version>1.4.0</commons-exec.version>
<dd-plist.version>1.28</dd-plist.version>
<apk-parser.version>2.6.10</apk-parser.version>
<logback-core.version>1.5.8</logback-core.version>
<logback-classic.version>1.5.8</logback-classic.version>
<caffeine.version>2.9.3</caffeine.version>
<resilience4j-circuitbreaker.version>2.3.0</resilience4j-circuitbreaker.version>
<ognl.version>3.2.1</ognl.version>
<winrm4j.version>0.12.0</winrm4j.version>
<ognl.version>3.4.7</ognl.version>
</properties>
<dependencyManagement>
@ -153,6 +159,12 @@
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-spring-boot-starter</artifactId>
<version>${rocketmq-spring.version}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>spring-boot-starter-mybatis</artifactId>
@ -208,6 +220,18 @@
<artifactId>module-system-biz</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-process-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-process-biz</artifactId>
<version>${revision}</version>
</dependency>
<!--ci-pipeline-dependency-->
<dependency>
<groupId>cd.casic.boot</groupId>
@ -217,17 +241,75 @@
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-process-api</artifactId>
<artifactId>module-ci-environment</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-process-biz</artifactId>
<artifactId>module-ci-event</artifactId>
<version>${revision}</version>
</dependency>
<!--ci-pipeline-dependency-->
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-log</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-market</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-project</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-quality</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-ticket</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-repository</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-worker</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-dispatch-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-store-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cd.casic.boot</groupId>
<artifactId>module-ci-execute</artifactId>
<version>${revision}</version>
</dependency>
<!---->
<dependency>
@ -575,9 +657,9 @@
</exclusions>
</dependency>
<dependency>
<groupId>org.pf4j</groupId>
<artifactId>pf4j-spring</artifactId>
<version>${pf4j-spring.version}</version>
<groupId>io.cloudsoft.windows</groupId>
<artifactId>winrm4j</artifactId>
<version>${winrm4j.version}</version> <!-- 最新稳定版 -->
</dependency>
<!--数据库驱动-->
@ -644,6 +726,7 @@
<version>${reflections.version}</version>
<!-- <version>请替换为实际版本号</version>-->
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
@ -657,6 +740,7 @@
<version>${dd-plist.version}</version>
<!-- <version></version>-->
</dependency>
<dependency>
<groupId>net.dongliu</groupId>
<artifactId>apk-parser</artifactId>
@ -664,6 +748,20 @@
<!-- <version></version>-->
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback-core.version}</version>
<!-- <version>1</version>-->
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback-classic.version}</version>
<!-- <version></version>-->
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
@ -676,6 +774,7 @@
<version>${resilience4j-circuitbreaker.version}</version>
</dependency>
<!-- devops ci- worker end-->
<dependency>
<groupId>ognl</groupId>
<artifactId>ognl</artifactId>

View File

@ -171,8 +171,50 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-annotation</artifactId>
<version>3.5.8</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.16</version>
</dependency>
<dependency>
<groupId>io.github.mouzt</groupId>
<artifactId>bizlog-sdk</artifactId>
<version>3.0.6</version>
</dependency>
<dependency>
<groupId>org.lionsoul</groupId>
<artifactId>ip2region</artifactId>
<version>2.7.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,4 +1,4 @@
package cd.casic.framework.tenant.core.aop;
package cd.casic.framework.commons.annotation;
import java.lang.annotation.*;

View File

@ -1,4 +1,4 @@
package cd.casic.framework.web.config;
package cd.casic.framework.commons.config;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;

View File

@ -1,4 +1,4 @@
package cd.casic.framework.tenant.core.context;
package cd.casic.framework.commons.context;
import com.alibaba.ttl.TransmittableThreadLocal;

View File

@ -1,4 +1,4 @@
package cd.casic.framework.mybatis.core.dataobject;
package cd.casic.framework.commons.dataobject;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
@ -52,7 +52,7 @@ public abstract class BaseDO implements Serializable, TransPojo {
/**
* 是否删除
*/
@TableLogic
// @TableLogic
private Boolean deleted;
}

View File

@ -0,0 +1,30 @@
package cd.casic.framework.commons.dataobject;
import lombok.Data;
/**
* @ClassName group
* @Author hopeli
* @Date 2025/5/10 10:20
* @Version 1.0
*/
@Data
public class Group {
// id
private String id;
// 环境名称
private String groupName;
// 创建时间
private String createTime;
/**
* @pi.model:User
* @pi.desc:用户
*/
private User user;
// 说明
private String detail;
}

View File

@ -0,0 +1,15 @@
package cd.casic.framework.commons.dataobject;
import lombok.Data;
/**
* @ClassName PatchUser
* @Author hopeli
* @Date 2025/5/10 10:21
* @Version 1.0
*/
@Data
public class PatchUser {
private String userId;
private Integer roleType = 0;
}

View File

@ -1,7 +1,13 @@
package cd.casic.module.process.user.user;
package cd.casic.framework.commons.dataobject;
import lombok.Data;
/**
* @ClassName User
* @Author hopeli
* @Date 2025/5/10 10:19
* @Version 1.0
*/
@Data
public class User {
private String id;
@ -16,4 +22,5 @@ public class User {
private Integer type;
private String openId;
private String newPassword;
}

View File

@ -1,8 +1,7 @@
package cd.casic.module.system.dal.dataobject.dept;
package cd.casic.framework.commons.dataobject.dept;
import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.tenant.core.db.TenantBaseDO;
import cd.casic.module.system.dal.dataobject.user.AdminUserDO;
import cd.casic.framework.commons.dataobject.tenant.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

View File

@ -1,7 +1,7 @@
package cd.casic.module.system.dal.dataobject.dept;
package cd.casic.framework.commons.dataobject.dept;
import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.mybatis.core.dataobject.BaseDO;
import cd.casic.framework.commons.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

View File

@ -1,7 +1,6 @@
package cd.casic.module.system.dal.dataobject.dept;
package cd.casic.framework.commons.dataobject.dept;
import cd.casic.framework.mybatis.core.dataobject.BaseDO;
import cd.casic.module.system.dal.dataobject.user.AdminUserDO;
import cd.casic.framework.commons.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

View File

@ -1,6 +1,7 @@
package cd.casic.framework.tenant.core.db;
package cd.casic.framework.commons.dataobject.tenant;
import cd.casic.framework.mybatis.core.dataobject.BaseDO;
import cd.casic.framework.commons.dataobject.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

View File

@ -41,4 +41,6 @@ public interface GlobalErrorCodeConstants {
ErrorCode ID_DUPLICATION = new ErrorCode(1000, "ID重复");
ErrorCode PIPELINE_ERROR = new ErrorCode(1001,"流水线执行错误");
}

View File

@ -82,6 +82,13 @@ public class CommonResult<T> implements Serializable {
return Objects.equals(code, GlobalErrorCodeConstants.SUCCESS.getCode());
}
public static <T>CommonResult<T> success() {
CommonResult<T> result = new CommonResult<>();
result.code = GlobalErrorCodeConstants.SUCCESS.getCode();
result.msg = "";
return result;
}
@JsonIgnore // 避免 jackson 序列化
public boolean isSuccess() {
return isSuccess(code);

View File

@ -17,6 +17,12 @@ public final class PageResult<T> implements Serializable {
@Schema(description = "总量", requiredMode = Schema.RequiredMode.REQUIRED)
private Long total;
@Schema(description = "分页查询页数", requiredMode = Schema.RequiredMode.REQUIRED)
private Long pageNun;
@Schema(description = "每页条数", requiredMode = Schema.RequiredMode.REQUIRED)
private Long pageSize;
public PageResult() {
}
@ -25,6 +31,13 @@ public final class PageResult<T> implements Serializable {
this.total = total;
}
public PageResult(List<T> list, Long total , Long pageNun, Long pageSize) {
this.list = list;
this.total = total;
this.pageNun = pageNun;
this.pageSize = pageSize;
}
public PageResult(Long total) {
this.list = new ArrayList<>();
this.total = total;

View File

@ -7,15 +7,36 @@ import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.crypto.digest.DigestUtil;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.io.Resource;
import org.springframework.lang.NonNull;
import org.springframework.util.AntPathMatcher;
import org.springframework.util.Assert;
import java.io.ByteArrayInputStream;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.Set;
import java.util.function.Consumer;
import java.util.function.Predicate;
import java.util.jar.JarEntry;
import java.util.jar.JarOutputStream;
import java.util.stream.Stream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
import static org.springframework.util.FileSystemUtils.deleteRecursively;
/**
* 文件工具类
* 文件工具类 , 为了匹配插件类这里补充了yudao里面的工具类
*
* @author mianbin
*/
@Slf4j
public class FileUtils {
/**
@ -81,4 +102,280 @@ public class FileUtils {
return sha256Hex + '.' + FileTypeUtil.getType(new ByteArrayInputStream(content));
}
// 保持原有的 unzip(ZipInputStream zis, Path targetPath) 方法不变
public static void unzip(@NonNull ZipInputStream zis, @NonNull Path targetPath)
throws IOException {
// 1. unzip file to folder
// 2. return the folder path
Assert.notNull(zis, "Zip input stream must not be null");
Assert.notNull(targetPath, "Target path must not be null");
// Create path if absent
createIfAbsent(targetPath);
// Folder must be empty
ensureEmpty(targetPath);
ZipEntry zipEntry = zis.getNextEntry();
while (zipEntry != null) {
// Resolve the entry path
Path entryPath = targetPath.resolve(zipEntry.getName());
checkDirectoryTraversal(targetPath, entryPath);
if (Files.notExists(entryPath.getParent())) {
Files.createDirectories(entryPath.getParent());
}
if (zipEntry.isDirectory()) {
// Create directory
Files.createDirectory(entryPath);
} else {
// Copy file
Files.copy(zis, entryPath);
}
zipEntry = zis.getNextEntry();
}
}
public static void jar(Path sourcePath, Path targetPath) throws IOException {
try (var jos = new JarOutputStream(Files.newOutputStream(targetPath))) {
Files.walkFileTree(sourcePath, new SimpleFileVisitor<>() {
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
throws IOException {
checkDirectoryTraversal(sourcePath, file);
var relativePath = sourcePath.relativize(file);
var entry = new JarEntry(relativePath.toString());
jos.putNextEntry(entry);
Files.copy(file, jos);
jos.closeEntry();
return super.visitFile(file, attrs);
}
});
}
}
/**
* Creates directories if absent.
*
* @param path path must not be null
* @throws IOException io exception
*/
public static void createIfAbsent(@NonNull Path path) throws IOException {
Assert.notNull(path, "Path must not be null");
if (Files.notExists(path)) {
// Create directories
Files.createDirectories(path);
log.debug("Created directory: [{}]", path);
}
}
/**
* The given path must be empty.
*
* @param path path must not be null
* @throws IOException io exception
*/
public static void ensureEmpty(@NonNull Path path) throws IOException {
if (!isEmpty(path)) {
throw new DirectoryNotEmptyException("Target directory: " + path + " was not empty");
}
}
/**
* Checks if the given path is empty.
*
* @param path path must not be null
* @return true if the given path is empty; false otherwise
* @throws IOException io exception
*/
public static boolean isEmpty(@NonNull Path path) throws IOException {
Assert.notNull(path, "Path must not be null");
if (!Files.isDirectory(path) || Files.notExists(path)) {
return true;
}
try (Stream<Path> pathStream = Files.list(path)) {
return pathStream.findAny().isEmpty();
}
}
public static void closeQuietly(final Closeable closeable) {
closeQuietly(closeable, null);
}
/**
* Closes the given {@link Closeable} as a null-safe operation while consuming IOException by
* the given {@code consumer}.
*
* @param closeable The resource to close, may be null.
* @param consumer Consumes the IOException thrown by {@link Closeable#close()}.
*/
public static void closeQuietly(final Closeable closeable,
final Consumer<IOException> consumer) {
if (closeable != null) {
try {
closeable.close();
} catch (IOException e) {
if (consumer != null) {
consumer.accept(e);
}
}
}
}
/**
* Checks directory traversal vulnerability.
*
* @param parentPath parent path must not be null.
* @param pathToCheck path to check must not be null
*/
public static void checkDirectoryTraversal(@NonNull Path parentPath,
@NonNull Path pathToCheck) {
Assert.notNull(parentPath, "Parent path must not be null");
Assert.notNull(pathToCheck, "Path to check must not be null");
if (pathToCheck.normalize().startsWith(parentPath)) {
return;
}
throw new RuntimeException("Directory traversal detected: " + pathToCheck.toString() +
"problemDetail.directoryTraversal" + parentPath.toString());
}
/**
* Checks directory traversal vulnerability.
*
* @param parentPath parent path must not be null.
* @param pathToCheck path to check must not be null
*/
public static void checkDirectoryTraversal(@NonNull String parentPath,
@NonNull String pathToCheck) {
checkDirectoryTraversal(Paths.get(parentPath), Paths.get(pathToCheck));
}
/**
* Checks directory traversal vulnerability.
*
* @param parentPath parent path must not be null.
* @param pathToCheck path to check must not be null
*/
public static void checkDirectoryTraversal(@NonNull Path parentPath,
@NonNull String pathToCheck) {
checkDirectoryTraversal(parentPath, Paths.get(pathToCheck));
}
/**
* Delete folder recursively without exception throwing.
*
* @param root the root File to delete
*/
public static void deleteRecursivelyAndSilently(Path root) {
try {
var deleted = deleteRecursively(root);
if (log.isDebugEnabled()) {
log.debug("Delete {} result: {}", root, deleted);
}
} catch (IOException ignored) {
// Ignore this error
}
}
public static void forceDelete(File file) {
if (!FileUtil.exist(file)) {
log.debug("文件或目录不存在,无需删除: {}", file);
return;
}
try {
Path path = file.toPath();
Files.walkFileTree(path, new SimpleFileVisitor<Path>() {
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
Files.delete(file);
log.debug("已删除文件: {}", file);
return FileVisitResult.CONTINUE;
}
@Override
public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException {
Files.delete(dir);
log.debug("已删除目录: {}", dir);
return FileVisitResult.CONTINUE;
}
});
log.info("成功删除文件或目录: {}", file);
} catch (IOException e) {
log.error("删除文件或目录失败: {}", file, e);
}
}
public static Boolean deleteFileSilently(Path file) {
if (file == null || !Files.isRegularFile(file)) {
return false;
}
try {
return Files.deleteIfExists(file);
} catch (IOException ignored) {
return false;
}
}
public static void copyResource(Resource resource, Path path) {
try (var inputStream = resource.getInputStream()) {
Files.copy(inputStream, path, REPLACE_EXISTING);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
public static void copy(Path source, Path dest, CopyOption... options) {
try {
Files.copy(source, dest, options);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
public static void copyRecursively(Path src, Path target, Set<String> excludes)
throws IOException {
var pathMatcher = new AntPathMatcher();
Predicate<Path> shouldExclude = path -> excludes.stream()
.anyMatch(pattern -> pathMatcher.match(pattern, path.toString()));
Files.walkFileTree(src, new SimpleFileVisitor<>() {
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
throws IOException {
if (!shouldExclude.test(src.relativize(file))) {
Files.copy(file, target.resolve(src.relativize(file)), REPLACE_EXISTING);
}
return super.visitFile(file, attrs);
}
@Override
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs)
throws IOException {
if (shouldExclude.test(src.relativize(dir))) {
return FileVisitResult.SKIP_SUBTREE;
}
Files.createDirectories(target.resolve(src.relativize(dir)));
return super.preVisitDirectory(dir, attrs);
}
});
}
public static Path createTempDir(String prefix) {
try {
return Files.createTempDirectory(prefix);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}

View File

@ -17,7 +17,9 @@ import lombok.extern.slf4j.Slf4j;
import java.io.IOException;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* JSON 工具类 ,经量用hutool的
@ -202,6 +204,44 @@ public class JsonUtils extends JSONUtil {
}
}
/**
* 将对象转换为 Map
*
* @param obj 要转换的对象
* @return 转换后的 Map如果对象为 null 或转换失败则返回空 Map
*/
public static Map<String, Object> objectToMap(Object obj) {
if (obj == null) {
return new HashMap<>();
}
try {
return objectMapper.convertValue(obj, new TypeReference<Map<String, Object>>() {});
} catch (IllegalArgumentException e) {
log.error("对象转换为 Map 失败", e);
return new HashMap<>();
}
}
/**
* Map 转换为指定类型的 Java Bean
*
* @param map 要转换的 Map
* @param clazz 目标 Java Bean Class 对象
* @param <T> 目标 Java Bean 的类型
* @return 转换后的 Java Bean如果 Map null 或转换失败则返回 null
*/
public static <T> T mapToBean(Map<String, Object> map, Class<T> clazz) {
if (map == null) {
return null;
}
try {
return objectMapper.convertValue(map, clazz);
} catch (IllegalArgumentException e) {
log.error("Map 转换为 Java Bean 失败,目标类型: {}", clazz.getName(), e);
return null;
}
}
public static boolean isJson(String text) {
return JSONUtil.isTypeJSON(text);
}

View File

@ -1,6 +1,6 @@
package cd.casic.framework.redis.core;
package cd.casic.framework.commons.util.redis.core;
import cd.casic.framework.redis.core.enums.AreaTypeEnum;
import cd.casic.framework.commons.util.redis.core.enums.AreaTypeEnum;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import lombok.AllArgsConstructor;

View File

@ -1,4 +1,4 @@
package cd.casic.framework.redis.core.enums;
package cd.casic.framework.commons.util.redis.core.enums;
import cd.casic.framework.commons.core.IntArrayValuable;
import lombok.AllArgsConstructor;

View File

@ -1,7 +1,7 @@
package cd.casic.framework.redis.core.utils;
package cd.casic.framework.commons.util.redis.core.utils;
import cd.casic.framework.redis.core.Area;
import cd.casic.framework.redis.core.enums.AreaTypeEnum;
import cd.casic.framework.commons.util.redis.core.Area;
import cd.casic.framework.commons.util.redis.core.enums.AreaTypeEnum;
import cd.casic.framework.commons.util.object.ObjectUtils;
import cn.hutool.core.io.resource.ResourceUtil;
import cn.hutool.core.lang.Assert;

View File

@ -1,6 +1,6 @@
package cd.casic.framework.redis.core.utils;
package cd.casic.framework.commons.util.redis.core.utils;
import cd.casic.framework.redis.core.Area;
import cd.casic.framework.commons.util.redis.core.Area;
import cn.hutool.core.io.resource.ResourceUtil;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;

View File

@ -0,0 +1,123 @@
package cd.casic.framework.commons.util.spring;
import lombok.Getter;
import org.springframework.util.ClassUtils;
import org.springframework.util.StringUtils;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.JarURLConnection;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLConnection;
import java.security.CodeSource;
import java.security.ProtectionDomain;
import java.util.Enumeration;
import java.util.jar.JarFile;
import java.util.jar.Manifest;
/**
* @description: 供对应用程序主目录的访问
* @author: mianbin
* @date: 2025/5/25 14:32
* @version: 1.0
*/
@Getter
public class SpringBootApplicationHome {
private final File source;
private final File dir;
public SpringBootApplicationHome() {
this(null);
}
public SpringBootApplicationHome(Class<?> sourceClass) {
this.source = findSource((sourceClass != null) ? sourceClass : getStartClass());
this.dir = findHomeDir(this.source);
}
private Class<?> getStartClass() {
try {
ClassLoader classLoader = getClass().getClassLoader();
return getStartClass(classLoader.getResources("META-INF/MANIFEST.MF"));
} catch (Exception ex) {
return null;
}
}
private Class<?> getStartClass(Enumeration<URL> manifestResources) {
while (manifestResources.hasMoreElements()) {
try (InputStream inputStream = manifestResources.nextElement().openStream()) {
Manifest manifest = new Manifest(inputStream);
String startClass = manifest.getMainAttributes().getValue("Start-Class");
if (startClass != null) {
return ClassUtils.forName(startClass, getClass().getClassLoader());
}
} catch (Exception ex) {
}
}
return null;
}
private File findSource(Class<?> sourceClass) {
try {
ProtectionDomain domain = (sourceClass != null) ? sourceClass.getProtectionDomain() : null;
CodeSource codeSource = (domain != null) ? domain.getCodeSource() : null;
URL location = (codeSource != null) ? codeSource.getLocation() : null;
File source = (location != null) ? findSource(location) : null;
if (source != null && source.exists() && !isUnitTest()) {
return source.getAbsoluteFile();
}
} catch (Exception ex) {
}
return null;
}
private boolean isUnitTest() {
try {
StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
for (int i = stackTrace.length - 1; i >= 0; i--) {
if (stackTrace[i].getClassName().startsWith("org.junit.")) {
return true;
}
}
} catch (Exception ex) {
}
return false;
}
private File findSource(URL location) throws IOException, URISyntaxException {
URLConnection connection = location.openConnection();
if (connection instanceof JarURLConnection) {
return getRootJarFile(((JarURLConnection) connection).getJarFile());
}
return new File(location.toURI());
}
private File getRootJarFile(JarFile jarFile) {
String name = jarFile.getName();
int separator = name.indexOf("!/");
if (separator > 0) {
name = name.substring(0, separator);
}
return new File(name);
}
private File findHomeDir(File source) {
File homeDir = source;
homeDir = (homeDir != null) ? homeDir : findDefaultHomeDir();
if (homeDir.isFile()) {
homeDir = homeDir.getParentFile();
}
homeDir = homeDir.exists() ? homeDir : new File(".");
return homeDir.getAbsoluteFile();
}
private File findDefaultHomeDir() {
String userDir = System.getProperty("user.dir");
return new File(StringUtils.hasLength(userDir) ? userDir : ".");
}
}

View File

@ -1,12 +1,12 @@
package cd.casic.framework.tenant.core.util;
package cd.casic.framework.commons.util.tenant;
import cd.casic.framework.tenant.core.context.TenantContextHolder;
import cd.casic.framework.commons.context.TenantContextHolder;
import cd.casic.framework.commons.util.util.WebFrameworkUtils;
import java.util.Map;
import java.util.concurrent.Callable;
import static cd.casic.framework.web.core.util.WebFrameworkUtils.HEADER_TENANT_ID;
/**
* 多租户 Util
@ -87,7 +87,7 @@ public class TenantUtils {
*/
public static void addTenantHeader(Map<String, String> headers, Long tenantId) {
if (tenantId != null) {
headers.put(HEADER_TENANT_ID, tenantId.toString());
headers.put(WebFrameworkUtils.HEADER_TENANT_ID, tenantId.toString());
}
}

View File

@ -1,9 +1,10 @@
package cd.casic.framework.web.core.util;
package cd.casic.framework.commons.util.util;
import cd.casic.framework.commons.config.WebProperties;
import cd.casic.framework.commons.enums.TerminalEnum;
import cd.casic.framework.commons.enums.UserTypeEnum;
import cd.casic.framework.commons.pojo.CommonResult;
import cd.casic.framework.web.config.WebProperties;
import cn.hutool.core.util.NumberUtil;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.http.HttpServletRequest;
@ -19,6 +20,7 @@ import org.springframework.web.context.request.ServletRequestAttributes;
public class WebFrameworkUtils {
private static final String REQUEST_ATTRIBUTE_LOGIN_USER_ID = "login_user_id";
private static final String REQUEST_ATTRIBUTE_LOGIN_USER_NAME = "login_user_name";
private static final String REQUEST_ATTRIBUTE_LOGIN_USER_TYPE = "login_user_type";
private static final String REQUEST_ATTRIBUTE_COMMON_RESULT = "common_result";
@ -37,7 +39,6 @@ public class WebFrameworkUtils {
public WebFrameworkUtils(WebProperties webProperties) {
WebFrameworkUtils.properties = webProperties;
}
/**
* 获得租户编号 header
* 考虑到其它 framework 组件也会使用到租户编号所以不得不放在 WebFrameworkUtils 统一提供
@ -53,6 +54,18 @@ public class WebFrameworkUtils {
public static void setLoginUserId(ServletRequest request, Long userId) {
request.setAttribute(REQUEST_ATTRIBUTE_LOGIN_USER_ID, userId);
}
public static void setLoginNickName(ServletRequest request, String userName) {
request.setAttribute(REQUEST_ATTRIBUTE_LOGIN_USER_ID, userName);
}
public static String getLoginNickName() {
return getLoginNickName(getRequest());
}
public static String getLoginNickName(HttpServletRequest request) {
if (request == null) {
return null;
}
return (String) request.getAttribute(REQUEST_ATTRIBUTE_LOGIN_USER_NAME);
}
/**
* 设置用户类型
@ -113,6 +126,13 @@ public class WebFrameworkUtils {
HttpServletRequest request = getRequest();
return getLoginUserId(request);
}
public static String getLoginUserIdStr(){
Long loginUserId = getLoginUserId();
if (loginUserId!=null) {
return String.valueOf(loginUserId);
}
return "";
}
public static Integer getTerminal() {
HttpServletRequest request = getRequest();

View File

@ -0,0 +1,19 @@
package collection;
import cd.casic.framework.commons.util.spring.SpringBootApplicationHome;
import org.junit.jupiter.api.Test;
/**
* @description: 测试jar路径
* @author: mianbin
* @date: 2025/5/25 14:36
* @version: 1.0
*/
public class SpringBootApplicationHomeTests {
@Test
public void getJarHome() {
SpringBootApplicationHome home = new SpringBootApplicationHome();
System.out.println(home.getDir());
}
}

View File

@ -1,10 +1,10 @@
package cd.casic.framework.apilog.config;
package cd.casic.framework.datapermission.config;
import cd.casic.framework.apilog.core.filter.ApiAccessLogFilter;
import cd.casic.framework.apilog.core.interceptor.ApiAccessLogInterceptor;
import cd.casic.framework.commons.config.WebProperties;
import cd.casic.framework.commons.enums.WebFilterOrderEnum;
import cd.casic.framework.web.config.OpsWebAutoConfiguration;
import cd.casic.framework.web.config.WebProperties;
import cd.casic.module.infra.api.logger.ApiAccessLogApi;
import jakarta.servlet.Filter;
import org.springframework.beans.factory.annotation.Value;

View File

@ -2,8 +2,9 @@ package cd.casic.framework.datapermission.config;
import cd.casic.framework.datapermission.core.rule.dept.DeptDataPermissionRule;
import cd.casic.framework.datapermission.core.rule.dept.DeptDataPermissionRuleCustomizer;
import cd.casic.framework.datapermission.service.PermissionApi;
import cd.casic.framework.security.core.LoginUser;
import cd.casic.module.system.api.permission.PermissionApi;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;

View File

@ -1,15 +1,17 @@
package cd.casic.framework.security.config;
package cd.casic.framework.datapermission.config;
import cd.casic.framework.datapermission.service.PermissionApi;
import cd.casic.framework.datapermission.service.SecurityFrameworkService;
import cd.casic.framework.datapermission.service.SecurityFrameworkServiceImpl;
import cd.casic.framework.datapermission.service.user.OAuth2TokenApi;
import cd.casic.framework.datapermission.service.user.OAuth2TokenApiImpl;
import cd.casic.framework.security.config.SecurityProperties;
import cd.casic.framework.security.core.context.TransmittableThreadLocalSecurityContextHolderStrategy;
import cd.casic.framework.security.core.filter.TokenAuthenticationFilter;
import cd.casic.framework.datapermission.core.filter.TokenAuthenticationFilter;
import cd.casic.framework.security.core.handler.AccessDeniedHandlerImpl;
import cd.casic.framework.security.core.handler.AuthenticationEntryPointImpl;
import cd.casic.framework.security.core.service.SecurityFrameworkService;
import cd.casic.framework.security.core.service.SecurityFrameworkServiceImpl;
import cd.casic.framework.web.core.handler.GlobalExceptionHandler;
import cd.casic.module.system.api.oauth2.OAuth2TokenApi;
import cd.casic.module.system.api.permission.PermissionApi;
import cd.casic.framework.datapermission.handler.GlobalExceptionHandler;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.config.MethodInvokingFactoryBean;
import org.springframework.boot.autoconfigure.AutoConfiguration;
@ -68,12 +70,12 @@ public class OpsSecurityAutoConfiguration {
/**
* Token 认证过滤器 Bean
*/
@Bean
public TokenAuthenticationFilter authenticationTokenFilter(GlobalExceptionHandler globalExceptionHandler,
OAuth2TokenApi oauth2TokenApi) {
return new TokenAuthenticationFilter(securityProperties, globalExceptionHandler, oauth2TokenApi);
}
@Bean("ss") // 使用 Spring Security 的缩写方便使用
public SecurityFrameworkService securityFrameworkService(PermissionApi permissionApi) {
return new SecurityFrameworkServiceImpl(permissionApi);

View File

@ -1,11 +1,12 @@
package cd.casic.framework.web.config;
package cd.casic.framework.datapermission.config;
import cd.casic.framework.commons.config.WebProperties;
import cd.casic.framework.commons.enums.WebFilterOrderEnum;
import cd.casic.framework.datapermission.handler.GlobalExceptionHandler;
import cd.casic.framework.datapermission.handler.GlobalResponseBodyHandler;
import cd.casic.framework.web.core.filter.CacheRequestBodyFilter;
import cd.casic.framework.web.core.filter.DemoFilter;
import cd.casic.framework.web.core.handler.GlobalExceptionHandler;
import cd.casic.framework.web.core.handler.GlobalResponseBodyHandler;
import cd.casic.framework.web.core.util.WebFrameworkUtils;
import cd.casic.framework.commons.util.util.WebFrameworkUtils;
import cd.casic.module.infra.api.logger.ApiErrorLogApi;
import jakarta.annotation.Resource;
import jakarta.servlet.Filter;

View File

@ -1,7 +1,9 @@
package cd.casic.framework.security.config;
package cd.casic.framework.datapermission.config;
import cd.casic.framework.security.core.filter.TokenAuthenticationFilter;
import cd.casic.framework.web.config.WebProperties;
import cd.casic.framework.commons.config.WebProperties;
import cd.casic.framework.datapermission.core.filter.TokenAuthenticationFilter;
import cd.casic.framework.security.config.AuthorizeRequestsCustomizer;
import cd.casic.framework.security.config.SecurityProperties;
import cn.hutool.core.collection.CollUtil;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
@ -146,6 +148,7 @@ public class OpsWebSecurityConfigurerAdapter {
// 添加 Token Filter
httpSecurity.addFilterBefore(authenticationTokenFilter, UsernamePasswordAuthenticationFilter.class);
return httpSecurity.build();
}

View File

@ -1,7 +1,8 @@
package cd.casic.framework.xss.config;
package cd.casic.framework.datapermission.config;
import cd.casic.framework.commons.enums.WebFilterOrderEnum;
import cd.casic.framework.xss.config.XssProperties;
import cd.casic.framework.xss.core.clean.JsoupXssCleaner;
import cd.casic.framework.xss.core.clean.XssCleaner;
import cd.casic.framework.xss.core.filter.XssFilter;
@ -18,7 +19,6 @@ import org.springframework.context.annotation.Bean;
import org.springframework.util.PathMatcher;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import static cd.casic.framework.web.config.OpsWebAutoConfiguration.createFilterBean;
@AutoConfiguration
@EnableConfigurationProperties(XssProperties.class)
@ -58,7 +58,7 @@ public class OpsXssAutoConfiguration implements WebMvcConfigurer {
@Bean
@ConditionalOnBean(XssCleaner.class)
public FilterRegistrationBean<XssFilter> xssFilter(XssProperties properties, PathMatcher pathMatcher, XssCleaner xssCleaner) {
return createFilterBean(new XssFilter(properties, pathMatcher, xssCleaner), WebFilterOrderEnum.XSS_FILTER);
return OpsWebAutoConfiguration.createFilterBean(new XssFilter(properties, pathMatcher, xssCleaner), WebFilterOrderEnum.XSS_FILTER);
}
}

View File

@ -0,0 +1,49 @@
package cd.casic.framework.datapermission.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.Collections;
import java.util.Set;
/**
* 多租户配置
*
* @author mianbin modified from yudao
*/
@ConfigurationProperties(prefix = "ops.tenant")
@Data
public class TenantProperties {
/**
* 租户是否开启
*/
private static final Boolean ENABLE_DEFAULT = true;
/**
* 是否开启
*/
private Boolean enable = ENABLE_DEFAULT;
/**
* 需要忽略多租户的请求
*
* 默认情况下每个请求需要带上 tenant-id 的请求头但是部分请求是无需带上的例如说短信回调支付回调等 Open API
*/
private Set<String> ignoreUrls = Collections.emptySet();
/**
* 需要忽略多租户的表
*
* 即默认所有表都开启多租户的功能所以记得添加对应的 tenant_id 字段哟
*/
private Set<String> ignoreTables = Collections.emptySet();
/**
* 需要忽略多租户的 Spring Cache 缓存
*
* 即默认所有缓存都开启多租户的功能所以记得添加对应的 tenant_id 字段哟
*/
private Set<String> ignoreCaches = Collections.emptySet();
}

View File

@ -1,7 +1,7 @@
package cd.casic.module.system.convert.tenant;
package cd.casic.framework.datapermission.convert;
import cd.casic.module.system.controller.admin.tenant.vo.tenant.TenantSaveReqVO;
import cd.casic.module.system.controller.admin.user.vo.user.UserSaveReqVO;
import cd.casic.framework.security.vo.vo.tenant.TenantSaveReqVO;
import cd.casic.framework.datapermission.core.vo.UserSaveReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
@ -10,7 +10,7 @@ import org.mapstruct.factory.Mappers;
*
* @author mianbin modified from yudao
*/
@Mapper
@Mapper(componentModel = "spring")
public interface TenantConvert {
TenantConvert INSTANCE = Mappers.getMapper(TenantConvert.class);

View File

@ -1,18 +1,18 @@
package cd.casic.module.system.convert.user;
package cd.casic.framework.datapermission.convert;
import cd.casic.framework.commons.util.collection.CollectionUtils;
import cd.casic.framework.commons.util.collection.MapUtils;
import cd.casic.framework.commons.util.object.BeanUtils;
import cd.casic.module.system.controller.admin.dept.vo.dept.DeptSimpleRespVO;
import cd.casic.module.system.controller.admin.dept.vo.post.PostSimpleRespVO;
import cd.casic.module.system.controller.admin.permission.vo.role.RoleSimpleRespVO;
import cd.casic.module.system.controller.admin.user.vo.profile.UserProfileRespVO;
import cd.casic.module.system.controller.admin.user.vo.user.UserRespVO;
import cd.casic.module.system.controller.admin.user.vo.user.UserSimpleRespVO;
import cd.casic.module.system.dal.dataobject.dept.DeptDO;
import cd.casic.module.system.dal.dataobject.dept.PostDO;
import cd.casic.module.system.dal.dataobject.permission.RoleDO;
import cd.casic.module.system.dal.dataobject.user.AdminUserDO;
import cd.casic.framework.security.vo.dept.DeptSimpleRespVO;
import cd.casic.framework.security.vo.dept.post.PostSimpleRespVO;
import cd.casic.framework.datapermission.core.vo.role.RoleSimpleRespVO;
import cd.casic.framework.datapermission.service.auth.vo.profile.UserProfileRespVO;
import cd.casic.framework.datapermission.core.vo.UserRespVO;
import cd.casic.framework.datapermission.core.vo.UserSimpleRespVO;
import cd.casic.framework.commons.dataobject.dept.DeptDO;
import cd.casic.framework.commons.dataobject.dept.PostDO;
import cd.casic.framework.security.dal.permission.RoleDO;
import cd.casic.framework.security.dal.user.AdminUserDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

View File

@ -1,10 +1,10 @@
package cd.casic.module.system.dal.mysql.user;
package cd.casic.framework.datapermission.core.dal;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.datapermission.core.vo.UserPageReqVO;
import cd.casic.framework.mybatis.core.mapper.BaseMapperX;
import cd.casic.framework.mybatis.core.query.LambdaQueryWrapperX;
import cd.casic.module.system.controller.admin.user.vo.user.UserPageReqVO;
import cd.casic.module.system.dal.dataobject.user.AdminUserDO;
import cd.casic.framework.security.dal.user.AdminUserDO;
import org.apache.ibatis.annotations.Mapper;
import java.util.Collection;

View File

@ -1,10 +1,10 @@
package cd.casic.module.system.dal.mysql.logger;
package cd.casic.framework.datapermission.core.dal;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.mybatis.core.mapper.BaseMapperX;
import cd.casic.framework.mybatis.core.query.LambdaQueryWrapperX;
import cd.casic.module.system.controller.admin.logger.vo.loginlog.LoginLogPageReqVO;
import cd.casic.module.system.dal.dataobject.logger.LoginLogDO;
import cd.casic.framework.security.vo.loginlog.LoginLogPageReqVO;
import cd.casic.framework.security.vo.logger.LoginLogDO;
import cd.casic.module.system.enums.logger.LoginResultEnum;
import org.apache.ibatis.annotations.Mapper;

View File

@ -1,9 +1,10 @@
package cd.casic.module.system.dal.mysql.permission;
package cd.casic.framework.datapermission.core.dal;
import cd.casic.framework.datapermission.core.dal.dataobject.MenuDO;
import cd.casic.framework.datapermission.service.permission.menu.MenuListReqVO;
import cd.casic.framework.mybatis.core.mapper.BaseMapperX;
import cd.casic.framework.mybatis.core.query.LambdaQueryWrapperX;
import cd.casic.module.system.controller.admin.permission.vo.menu.MenuListReqVO;
import cd.casic.module.system.dal.dataobject.permission.MenuDO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

View File

@ -1,11 +1,11 @@
package cd.casic.module.system.dal.mysql.permission;
package cd.casic.framework.datapermission.core.dal;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.mybatis.core.dataobject.BaseDO;
import cd.casic.framework.commons.dataobject.BaseDO;
import cd.casic.framework.datapermission.core.vo.RolePageReqVO;
import cd.casic.framework.mybatis.core.mapper.BaseMapperX;
import cd.casic.framework.mybatis.core.query.LambdaQueryWrapperX;
import cd.casic.module.system.controller.admin.permission.vo.role.RolePageReqVO;
import cd.casic.module.system.dal.dataobject.permission.RoleDO;
import cd.casic.framework.security.dal.permission.RoleDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.lang.Nullable;

View File

@ -1,10 +1,10 @@
package cd.casic.module.system.dal.mysql.tenant;
package cd.casic.framework.datapermission.core.dal;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.mybatis.core.mapper.BaseMapperX;
import cd.casic.framework.mybatis.core.query.LambdaQueryWrapperX;
import cd.casic.module.system.controller.admin.tenant.vo.tenant.TenantPageReqVO;
import cd.casic.module.system.dal.dataobject.tenant.TenantDO;
import cd.casic.framework.security.vo.vo.tenant.TenantPageReqVO;
import cd.casic.framework.security.dal.tenant.TenantDO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

View File

@ -1,10 +1,11 @@
package cd.casic.module.system.dal.mysql.tenant;
package cd.casic.framework.datapermission.core.dal;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.datapermission.core.vo.packages.TenantPackagePageReqVO;
import cd.casic.framework.mybatis.core.mapper.BaseMapperX;
import cd.casic.framework.mybatis.core.query.LambdaQueryWrapperX;
import cd.casic.module.system.controller.admin.tenant.vo.packages.TenantPackagePageReqVO;
import cd.casic.module.system.dal.dataobject.tenant.TenantPackageDO;
import cd.casic.framework.security.dal.tenant.TenantPackageDO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

View File

@ -1,7 +1,7 @@
package cd.casic.module.system.dal.dataobject.permission;
package cd.casic.framework.datapermission.core.dal.dataobject;
import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.mybatis.core.dataobject.BaseDO;
import cd.casic.framework.commons.dataobject.BaseDO;
import cd.casic.module.system.enums.permission.MenuTypeEnum;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;

View File

@ -1,14 +1,14 @@
package cd.casic.framework.security.core.filter;
package cd.casic.framework.datapermission.core.filter;
import cd.casic.framework.commons.exception.ServiceException;
import cd.casic.framework.commons.pojo.CommonResult;
import cd.casic.framework.commons.util.servlet.ServletUtils;
import cd.casic.framework.datapermission.service.user.OAuth2TokenApi;
import cd.casic.framework.security.config.SecurityProperties;
import cd.casic.framework.security.core.util.SecurityFrameworkUtils;
import cd.casic.framework.security.core.LoginUser;
import cd.casic.framework.web.core.handler.GlobalExceptionHandler;
import cd.casic.framework.web.core.util.WebFrameworkUtils;
import cd.casic.module.system.api.oauth2.OAuth2TokenApi;
import cd.casic.framework.datapermission.handler.GlobalExceptionHandler;
import cd.casic.framework.commons.util.util.WebFrameworkUtils;
import cd.casic.module.system.api.oauth2.dto.OAuth2AccessTokenCheckRespDTO;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;

View File

@ -4,11 +4,11 @@ import cd.casic.framework.commons.enums.UserTypeEnum;
import cd.casic.framework.commons.util.collection.CollectionUtils;
import cd.casic.framework.commons.util.json.JsonUtils;
import cd.casic.framework.datapermission.core.rule.DataPermissionRule;
import cd.casic.framework.mybatis.core.dataobject.BaseDO;
import cd.casic.framework.commons.dataobject.BaseDO;
import cd.casic.framework.datapermission.service.PermissionApi;
import cd.casic.framework.mybatis.core.util.MyBatisUtils;
import cd.casic.framework.security.core.LoginUser;
import cd.casic.framework.security.core.util.SecurityFrameworkUtils;
import cd.casic.module.system.api.permission.PermissionApi;
import cd.casic.module.system.api.permission.dto.DeptDataPermissionRespDTO;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjectUtil;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.permission.vo.role;
package cd.casic.framework.datapermission.core.vo;
import cd.casic.framework.commons.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -1,8 +1,10 @@
package cd.casic.module.system.controller.admin.user.vo.user;
package cd.casic.framework.datapermission.core.vo;
import cd.casic.framework.excel.excel.core.annotations.DictFormat;
import cd.casic.framework.excel.excel.core.convert.DictConvert;
import cd.casic.module.system.enums.DictTypeConstants;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.user.vo.user;
package cd.casic.framework.datapermission.core.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.user.vo.user;
package cd.casic.framework.datapermission.core.vo;
import cd.casic.framework.commons.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.user.vo.user;
package cd.casic.framework.datapermission.core.vo;
import cd.casic.framework.excel.excel.core.annotations.DictFormat;
import cd.casic.framework.excel.excel.core.convert.DictConvert;

View File

@ -1,10 +1,11 @@
package cd.casic.module.system.controller.admin.user.vo.user;
package cd.casic.framework.datapermission.core.vo;
import cd.casic.framework.datapermission.operatelog.core.DeptParseFunction;
import cd.casic.framework.datapermission.operatelog.core.PostParseFunction;
import cd.casic.framework.datapermission.operatelog.core.SexParseFunction;
import cn.hutool.core.util.ObjectUtil;
import cd.casic.framework.commons.validation.Mobile;
import cd.casic.module.system.framework.operatelog.core.DeptParseFunction;
import cd.casic.module.system.framework.operatelog.core.PostParseFunction;
import cd.casic.module.system.framework.operatelog.core.SexParseFunction;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.mzt.logapi.starter.annotation.DiffLogField;
import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.user.vo.user;
package cd.casic.framework.datapermission.core.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.user.vo.user;
package cd.casic.framework.datapermission.core.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.user.vo.user;
package cd.casic.framework.datapermission.core.vo;
import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.commons.validation.InEnum;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.tenant.vo.packages;
package cd.casic.framework.datapermission.core.vo.packages;
import cd.casic.framework.commons.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.tenant.vo.packages;
package cd.casic.framework.datapermission.core.vo.packages;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.tenant.vo.packages;
package cd.casic.framework.datapermission.core.vo.packages;
import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.commons.validation.InEnum;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.tenant.vo.packages;
package cd.casic.framework.datapermission.core.vo.packages;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.permission.vo.role;
package cd.casic.framework.datapermission.core.vo.role;
import cd.casic.framework.excel.excel.core.annotations.DictFormat;
import cd.casic.framework.excel.excel.core.convert.DictConvert;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.permission.vo.role;
package cd.casic.framework.datapermission.core.vo.role;
import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.commons.validation.InEnum;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.permission.vo.role;
package cd.casic.framework.datapermission.core.vo.role;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package cd.casic.framework.web.core.handler;
package cd.casic.framework.datapermission.handler;
import cd.casic.module.infra.api.logger.ApiErrorLogApi;
import cd.casic.module.infra.api.logger.dto.ApiErrorLogCreateReqDTO;
@ -14,7 +14,7 @@ import cd.casic.framework.commons.util.collection.SetUtils;
import cd.casic.framework.commons.util.json.JsonUtils;
import cd.casic.framework.commons.util.monitor.TracerUtils;
import cd.casic.framework.commons.util.servlet.ServletUtils;
import cd.casic.framework.web.core.util.WebFrameworkUtils;
import cd.casic.framework.commons.util.util.WebFrameworkUtils;
import com.fasterxml.jackson.databind.exc.InvalidFormatException;
import jakarta.servlet.http.HttpServletRequest;
@ -25,6 +25,7 @@ import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.converter.HttpMessageNotReadableException;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.stereotype.Component;
import org.springframework.util.Assert;
import org.springframework.validation.BindException;
import org.springframework.validation.FieldError;
@ -51,6 +52,7 @@ import static cd.casic.framework.commons.exception.enums.GlobalErrorCodeConstant
@RestControllerAdvice
@AllArgsConstructor
@Slf4j
@Component
public class GlobalExceptionHandler {
/**

View File

@ -1,7 +1,7 @@
package cd.casic.framework.web.core.handler;
package cd.casic.framework.datapermission.handler;
import cd.casic.framework.commons.pojo.CommonResult;
import cd.casic.framework.web.core.util.WebFrameworkUtils;
import cd.casic.framework.commons.util.util.WebFrameworkUtils;
import org.springframework.core.MethodParameter;
import org.springframework.http.MediaType;
import org.springframework.http.server.ServerHttpRequest;

View File

@ -1,9 +1,9 @@
package cd.casic.module.system.framework.operatelog.core;
package cd.casic.framework.datapermission.operatelog.core;
import cd.casic.framework.datapermission.service.user.AdminUserService;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.StrUtil;
import cd.casic.module.system.dal.dataobject.user.AdminUserDO;
import cd.casic.module.system.service.user.AdminUserService;
import cd.casic.framework.security.dal.user.AdminUserDO;
import com.mzt.logapi.service.IParseFunction;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;

View File

@ -1,6 +1,7 @@
package cd.casic.module.system.framework.operatelog.core;
package cd.casic.framework.datapermission.operatelog.core;
import cd.casic.framework.redis.core.utils.AreaUtils;
import cd.casic.framework.commons.util.redis.core.utils.AreaUtils;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.StrUtil;
import com.mzt.logapi.service.IParseFunction;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.framework.operatelog.core;
package cd.casic.framework.datapermission.operatelog.core;
import cd.casic.framework.excel.dict.core.DictFrameworkUtils;
import cn.hutool.core.util.StrUtil;

View File

@ -1,9 +1,9 @@
package cd.casic.module.system.framework.operatelog.core;
package cd.casic.framework.datapermission.operatelog.core;
import cd.casic.framework.commons.dataobject.dept.DeptDO;
import cd.casic.framework.datapermission.service.dept.DeptService;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.StrUtil;
import cd.casic.module.system.dal.dataobject.dept.DeptDO;
import cd.casic.module.system.service.dept.DeptService;
import com.mzt.logapi.service.IParseFunction;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;

View File

@ -1,9 +1,10 @@
package cd.casic.module.system.framework.operatelog.core;
package cd.casic.framework.datapermission.operatelog.core;
import cd.casic.framework.commons.dataobject.dept.PostDO;
import cd.casic.framework.datapermission.service.dept.PostService;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.StrUtil;
import cd.casic.module.system.dal.dataobject.dept.PostDO;
import cd.casic.module.system.service.dept.PostService;
import com.mzt.logapi.service.IParseFunction;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.framework.operatelog.core;
package cd.casic.framework.datapermission.operatelog.core;
import cd.casic.framework.excel.dict.core.DictFrameworkUtils;
import cn.hutool.core.util.StrUtil;

View File

@ -0,0 +1,4 @@
/**
* 占位文件避免文件夹缩进
*/
package cd.casic.framework.datapermission.operatelog;

View File

@ -1,10 +1,11 @@
package cd.casic.module.system.service.permission;
package cd.casic.framework.datapermission.service;
import cd.casic.module.system.controller.admin.permission.vo.menu.MenuListReqVO;
import cd.casic.module.system.controller.admin.permission.vo.menu.MenuSaveVO;
import cd.casic.module.system.controller.admin.permission.vo.menu.MenuTreeVO;
import cd.casic.module.system.dal.dataobject.permission.MenuDO;
import cd.casic.framework.datapermission.core.dal.dataobject.MenuDO;
import cd.casic.framework.datapermission.service.permission.menu.MenuListReqVO;
import cd.casic.framework.datapermission.service.permission.menu.MenuSaveVO;
import cd.casic.framework.datapermission.service.permission.menu.MenuTreeVO;
import java.util.Collection;
import java.util.List;

View File

@ -1,17 +1,18 @@
package cd.casic.module.system.service.permission;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.commons.util.collection.CollectionUtils;
import cd.casic.framework.datapermission.core.dal.MenuMapper;
import cd.casic.framework.datapermission.service.permission.menu.MenuListReqVO;
import cd.casic.framework.datapermission.service.permission.menu.MenuSaveVO;
import cd.casic.framework.datapermission.service.permission.menu.MenuTreeVO;
import cd.casic.module.system.controller.admin.permission.vo.menu.MenuTreeVO;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjUtil;
import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.commons.util.object.BeanUtils;
import cd.casic.module.system.controller.admin.permission.vo.menu.MenuListReqVO;
import cd.casic.module.system.controller.admin.permission.vo.menu.MenuSaveVO;
import cd.casic.module.system.dal.dataobject.permission.MenuDO;
import cd.casic.module.system.dal.mysql.permission.MenuMapper;
import cd.casic.module.system.dal.redis.RedisKeyConstants;
import cd.casic.framework.security.redis.RedisKeyConstants;
import cd.casic.module.system.enums.permission.MenuTypeEnum;
import cd.casic.module.system.service.tenant.TenantService;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.Lists;
import jakarta.annotation.Resource;
@ -28,9 +29,8 @@ import java.util.stream.Collectors;
import static cd.casic.framework.commons.exception.util.ServiceExceptionUtil.exception;
import static cd.casic.framework.commons.util.collection.CollectionUtils.convertList;
import static cd.casic.framework.commons.util.collection.CollectionUtils.convertMap;
import static cd.casic.module.system.dal.dataobject.permission.MenuDO.ID_ROOT;
import static cd.casic.module.system.enums.ErrorCodeConstants.*;
import cd.casic.framework.datapermission.core.dal.dataobject.MenuDO;
/**
* 菜单 Service 实现
*
@ -150,7 +150,7 @@ public class MenuServiceImpl implements MenuService {
// 2. 遍历到 parentId 为根节点则无需判断
Long parentId = node.getParentId();
if (ObjUtil.equal(parentId, ID_ROOT)) {
if (ObjUtil.equal(parentId, MenuDO.ID_ROOT)) {
return false;
}
@ -172,7 +172,7 @@ public class MenuServiceImpl implements MenuService {
@Cacheable(value = RedisKeyConstants.PERMISSION_MENU_ID_LIST, key = "#permission")
public List<Long> getMenuIdListByPermissionFromCache(String permission) {
List<MenuDO> menus = menuMapper.selectListByPermission(permission);
return convertList(menus, MenuDO::getId);
return CollectionUtils.convertList(menus, MenuDO::getId);
}
@Override
@ -200,8 +200,8 @@ public class MenuServiceImpl implements MenuService {
* @param childId 当前菜单编号
*/
@VisibleForTesting
void validateParentMenu(Long parentId, Long childId) {
if (parentId == null || ID_ROOT.equals(parentId)) {
public void validateParentMenu(Long parentId, Long childId) {
if (parentId == null || MenuDO.ID_ROOT.equals(parentId)) {
return;
}
// 不能设置自己为父菜单
@ -230,7 +230,7 @@ public class MenuServiceImpl implements MenuService {
* @param id 菜单编号
*/
@VisibleForTesting
void validateMenu(Long parentId, String name, Long id) {
public void validateMenu(Long parentId, String name, Long id) {
MenuDO menu = menuMapper.selectByParentIdAndName(parentId, name);
if (menu == null) {
return;

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.api.permission;
package cd.casic.framework.datapermission.service;
import cd.casic.module.system.api.permission.dto.DeptDataPermissionRespDTO;

View File

@ -1,8 +1,7 @@
package cd.casic.module.system.api.permission;
package cd.casic.framework.datapermission.service;
import cd.casic.module.system.api.permission.dto.DeptDataPermissionRespDTO;
import cd.casic.module.system.service.permission.PermissionService;
import org.springframework.stereotype.Service;
import org.springframework.stereotype.Component;
import jakarta.annotation.Resource;
import java.util.Collection;
@ -13,7 +12,7 @@ import java.util.Set;
*
* @author mianbin modified from yudao
*/
@Service
@Component
public class PermissionApiImpl implements PermissionApi {
@Resource

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.service.permission;
package cd.casic.framework.datapermission.service;
import cd.casic.module.system.api.permission.dto.DeptDataPermissionRespDTO;

View File

@ -1,5 +1,10 @@
package cd.casic.module.system.service.permission;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.datapermission.core.dal.dataobject.MenuDO;
import cd.casic.framework.datapermission.service.dept.DeptService;
import cd.casic.framework.security.dal.permission.*;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.ArrayUtil;
@ -8,16 +13,9 @@ import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.commons.util.collection.CollectionUtils;
import cd.casic.framework.datapermission.core.annotation.DataPermission;
import cd.casic.module.system.api.permission.dto.DeptDataPermissionRespDTO;
import cd.casic.module.system.dal.dataobject.permission.MenuDO;
import cd.casic.module.system.dal.dataobject.permission.RoleDO;
import cd.casic.module.system.dal.dataobject.permission.RoleMenuDO;
import cd.casic.module.system.dal.dataobject.permission.UserRoleDO;
import cd.casic.module.system.dal.mysql.permission.RoleMenuMapper;
import cd.casic.module.system.dal.mysql.permission.UserRoleMapper;
import cd.casic.module.system.dal.redis.RedisKeyConstants;
import cd.casic.framework.security.redis.RedisKeyConstants;
import cd.casic.module.system.enums.permission.DataScopeEnum;
import cd.casic.module.system.service.dept.DeptService;
import cd.casic.module.system.service.user.AdminUserService;
import cd.casic.framework.datapermission.service.user.AdminUserService;
import com.baomidou.dynamic.datasource.annotation.DSTransactional;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Suppliers;
@ -201,7 +199,6 @@ public class PermissionServiceImpl implements PermissionService {
}
// ========== 用户-角色的相关方法 ==========
@Override
@DSTransactional // 多数据源使用 @DSTransactional 保证本地事务以及数据源的切换
@CacheEvict(value = RedisKeyConstants.USER_ROLE_ID_LIST, key = "#userId")
@ -256,7 +253,7 @@ public class PermissionServiceImpl implements PermissionService {
* @return 用户拥有的角色
*/
@VisibleForTesting
List<RoleDO> getEnableUserRoleListByUserIdFromCache(Long userId) {
public List<RoleDO> getEnableUserRoleListByUserIdFromCache(Long userId) {
// 获得用户拥有的角色编号
Set<Long> roleIds = getSelf().getUserRoleIdListByUserIdFromCache(userId);
// 获得角色数组并移除被禁用的

View File

@ -1,10 +1,10 @@
package cd.casic.module.system.service.permission;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.module.system.controller.admin.permission.vo.role.RolePageReqVO;
import cd.casic.module.system.controller.admin.permission.vo.role.RoleSaveReqVO;
import cd.casic.module.system.dal.dataobject.permission.RoleDO;
import cd.casic.framework.datapermission.core.vo.RolePageReqVO;
import cd.casic.framework.datapermission.core.vo.role.RoleSaveReqVO;
import cd.casic.framework.security.dal.permission.RoleDO;
import jakarta.validation.Valid;
import java.util.Collection;
import java.util.List;

View File

@ -1,5 +1,10 @@
package cd.casic.module.system.service.permission;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.commons.exception.util.ServiceExceptionUtil;
import cd.casic.framework.datapermission.core.vo.RolePageReqVO;
import cd.casic.framework.datapermission.core.vo.role.RoleSaveReqVO;
import cd.casic.framework.security.dal.permission.RoleDO;
import cd.casic.framework.datapermission.core.dal.RoleMapper;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.ObjUtil;
@ -9,11 +14,7 @@ import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.commons.util.collection.CollectionUtils;
import cd.casic.framework.commons.util.object.BeanUtils;
import cd.casic.module.system.controller.admin.permission.vo.role.RolePageReqVO;
import cd.casic.module.system.controller.admin.permission.vo.role.RoleSaveReqVO;
import cd.casic.module.system.dal.dataobject.permission.RoleDO;
import cd.casic.module.system.dal.mysql.permission.RoleMapper;
import cd.casic.module.system.dal.redis.RedisKeyConstants;
import cd.casic.framework.security.redis.RedisKeyConstants;
import cd.casic.module.system.enums.permission.DataScopeEnum;
import cd.casic.module.system.enums.permission.RoleCodeEnum;
import cd.casic.module.system.enums.permission.RoleTypeEnum;
@ -133,7 +134,7 @@ public class RoleServiceImpl implements RoleService {
* @param id 角色编号
*/
@VisibleForTesting
void validateRoleDuplicate(String name, String code, Long id) {
public void validateRoleDuplicate(String name, String code, Long id) {
// 0. 超级管理员不允许创建
if (RoleCodeEnum.isSuperAdmin(code)) {
throw exception(ROLE_ADMIN_CODE_ERROR, code);
@ -160,7 +161,7 @@ public class RoleServiceImpl implements RoleService {
* @param id 角色编号
*/
@VisibleForTesting
RoleDO validateRoleForUpdate(Long id) {
public RoleDO validateRoleForUpdate(Long id) {
RoleDO role = roleMapper.selectById(id);
if (role == null) {
throw exception(ROLE_NOT_EXISTS);
@ -245,7 +246,7 @@ public class RoleServiceImpl implements RoleService {
throw exception(ROLE_NOT_EXISTS);
}
if (!CommonStatusEnum.ENABLE.getStatus().equals(role.getStatus())) {
throw exception(ROLE_IS_DISABLE, role.getName());
throw ServiceExceptionUtil.exception(ROLE_IS_DISABLE, role.getName());
}
});
}

View File

@ -0,0 +1,59 @@
package cd.casic.framework.datapermission.service;
/**
* Security 框架 Service 接口定义权限相关的校验操作
*
* @author mianbin modified from yudao
*/
public interface SecurityFrameworkService {
/**
* 判断是否有权限
*
* @param permission 权限
* @return 是否
*/
boolean hasPermission(String permission);
/**
* 判断是否有权限任一一个即可
*
* @param permissions 权限
* @return 是否
*/
boolean hasAnyPermissions(String... permissions);
/**
* 判断是否有角色
*
* 注意角色使用的是 SysRoleDO code 标识
*
* @param role 角色
* @return 是否
*/
boolean hasRole(String role);
/**
* 判断是否有角色任一一个即可
*
* @param roles 角色数组
* @return 是否
*/
boolean hasAnyRoles(String... roles);
/**
* 判断是否有授权
*
* @param scope 授权
* @return 是否
*/
boolean hasScope(String scope);
/**
* 判断是否有授权范围任一一个即可
*
* @param scope 授权范围数组
* @return 是否
*/
boolean hasAnyScopes(String... scope);
}

View File

@ -1,8 +1,7 @@
package cd.casic.framework.security.core.service;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.security.core.LoginUser;
import cd.casic.framework.security.core.util.SecurityFrameworkUtils;
import cd.casic.module.system.api.permission.PermissionApi;
import cn.hutool.core.collection.CollUtil;
import lombok.AllArgsConstructor;

View File

@ -1,9 +1,9 @@
package cd.casic.module.system.service.tenant;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.module.system.controller.admin.tenant.vo.packages.TenantPackagePageReqVO;
import cd.casic.module.system.controller.admin.tenant.vo.packages.TenantPackageSaveReqVO;
import cd.casic.module.system.dal.dataobject.tenant.TenantPackageDO;
import cd.casic.framework.datapermission.core.vo.packages.TenantPackagePageReqVO;
import cd.casic.framework.datapermission.core.vo.packages.TenantPackageSaveReqVO;
import cd.casic.framework.security.dal.tenant.TenantPackageDO;
import jakarta.validation.Valid;
import java.util.List;

View File

@ -1,15 +1,16 @@
package cd.casic.module.system.service.tenant;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.datapermission.core.dal.TenantPackageMapper;
import cd.casic.framework.datapermission.core.vo.packages.TenantPackagePageReqVO;
import cd.casic.framework.datapermission.core.vo.packages.TenantPackageSaveReqVO;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.StrUtil;
import cd.casic.framework.commons.enums.CommonStatusEnum;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.commons.util.object.BeanUtils;
import cd.casic.module.system.controller.admin.tenant.vo.packages.TenantPackagePageReqVO;
import cd.casic.module.system.controller.admin.tenant.vo.packages.TenantPackageSaveReqVO;
import cd.casic.module.system.dal.dataobject.tenant.TenantDO;
import cd.casic.module.system.dal.dataobject.tenant.TenantPackageDO;
import cd.casic.module.system.dal.mysql.tenant.TenantPackageMapper;
import cd.casic.framework.security.dal.tenant.TenantDO;
import cd.casic.framework.security.dal.tenant.TenantPackageDO;
import com.baomidou.dynamic.datasource.annotation.DSTransactional;
import com.google.common.annotations.VisibleForTesting;
import org.springframework.context.annotation.Lazy;

View File

@ -1,12 +1,13 @@
package cd.casic.module.system.service.tenant;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.tenant.core.context.TenantContextHolder;
import cd.casic.module.system.controller.admin.tenant.vo.tenant.TenantPageReqVO;
import cd.casic.module.system.controller.admin.tenant.vo.tenant.TenantSaveReqVO;
import cd.casic.module.system.dal.dataobject.tenant.TenantDO;
import cd.casic.module.system.service.tenant.handler.TenantInfoHandler;
import cd.casic.module.system.service.tenant.handler.TenantMenuHandler;
import cd.casic.framework.commons.context.TenantContextHolder;
import cd.casic.framework.datapermission.service.handler.TenantInfoHandler;
import cd.casic.framework.datapermission.service.handler.TenantMenuHandler;
import cd.casic.framework.security.dal.tenant.TenantDO;
import cd.casic.framework.security.vo.vo.tenant.TenantPageReqVO;
import cd.casic.framework.security.vo.vo.tenant.TenantSaveReqVO;
import jakarta.validation.Valid;
import java.util.List;

View File

@ -1,4 +1,20 @@
package cd.casic.module.system.service.tenant;
package cd.casic.framework.datapermission.service;
import cd.casic.framework.commons.exception.util.ServiceExceptionUtil;
import cd.casic.framework.datapermission.config.TenantProperties;
import cd.casic.framework.datapermission.convert.TenantConvert;
import cd.casic.framework.datapermission.core.dal.TenantMapper;
import cd.casic.framework.datapermission.core.dal.dataobject.MenuDO;
import cd.casic.framework.datapermission.service.handler.TenantInfoHandler;
import cd.casic.framework.datapermission.service.handler.TenantMenuHandler;
import cd.casic.framework.datapermission.service.user.AdminUserService;
import cd.casic.framework.datapermission.core.vo.role.RoleSaveReqVO;
import cd.casic.framework.security.dal.permission.RoleDO;
import cd.casic.framework.security.dal.tenant.TenantDO;
import cd.casic.framework.security.dal.tenant.TenantPackageDO;
import cd.casic.framework.security.vo.vo.tenant.TenantPageReqVO;
import cd.casic.framework.security.vo.vo.tenant.TenantSaveReqVO;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.lang.Assert;
@ -9,33 +25,16 @@ import cd.casic.framework.commons.pojo.PageResult;
import cd.casic.framework.commons.util.collection.CollectionUtils;
import cd.casic.framework.commons.util.date.DateUtils;
import cd.casic.framework.commons.util.object.BeanUtils;
import cd.casic.framework.tenant.config.TenantProperties;
import cd.casic.framework.tenant.core.context.TenantContextHolder;
import cd.casic.framework.tenant.core.util.TenantUtils;
import cd.casic.module.system.controller.admin.permission.vo.role.RoleSaveReqVO;
import cd.casic.module.system.controller.admin.tenant.vo.tenant.TenantPageReqVO;
import cd.casic.module.system.controller.admin.tenant.vo.tenant.TenantSaveReqVO;
import cd.casic.module.system.convert.tenant.TenantConvert;
import cd.casic.module.system.dal.dataobject.permission.MenuDO;
import cd.casic.module.system.dal.dataobject.permission.RoleDO;
import cd.casic.module.system.dal.dataobject.tenant.TenantDO;
import cd.casic.module.system.dal.dataobject.tenant.TenantPackageDO;
import cd.casic.module.system.dal.mysql.tenant.TenantMapper;
import cd.casic.framework.commons.context.TenantContextHolder;
import cd.casic.framework.commons.util.tenant.TenantUtils;
import cd.casic.module.system.enums.permission.RoleCodeEnum;
import cd.casic.module.system.enums.permission.RoleTypeEnum;
import cd.casic.module.system.service.permission.MenuService;
import cd.casic.module.system.service.permission.PermissionService;
import cd.casic.module.system.service.permission.RoleService;
import cd.casic.module.system.service.tenant.handler.TenantInfoHandler;
import cd.casic.module.system.service.tenant.handler.TenantMenuHandler;
import cd.casic.module.system.service.user.AdminUserService;
import com.baomidou.dynamic.datasource.annotation.DSTransactional;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;
import jakarta.annotation.Resource;
import java.util.List;
import java.util.Objects;
@ -87,10 +86,10 @@ public class TenantServiceImpl implements TenantService {
throw exception(TENANT_NOT_EXISTS);
}
if (tenant.getStatus().equals(CommonStatusEnum.DISABLE.getStatus())) {
throw exception(TENANT_DISABLE, tenant.getName());
throw ServiceExceptionUtil.exception(TENANT_DISABLE, tenant.getName());
}
if (DateUtils.isExpired(tenant.getExpireTime())) {
throw exception(TENANT_EXPIRE, tenant.getName());
throw ServiceExceptionUtil.exception(TENANT_EXPIRE, tenant.getName());
}
}

View File

@ -1,4 +1,4 @@
package cd.casic.module.system.controller.admin.auth.vo;
package cd.casic.framework.datapermission.service.auth.vo;
import cd.casic.framework.commons.validation.InEnum;
import cn.hutool.core.util.StrUtil;

Some files were not shown because too many files have changed in this diff Show More