Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev wishhe webpack #2485

Open
wants to merge 7,736 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7736 commits
Select commit Hold shift + click to select a range
f4ec322
feat: 导出页面添加二级详情页弹框
wanghao7717 Oct 31, 2024
4ecd236
feat: 导出页面添加二级详情页弹框
wanghao7717 Oct 31, 2024
2e451c1
feat: 导出页面添加二级详情页弹框
wanghao7717 Oct 31, 2024
4ba1938
feat: 批量执行列表不刷新问题修复
wanghao7717 Oct 31, 2024
9b45e7e
feat: 弹窗禁止空白区域点击关闭
wanghao7717 Oct 31, 2024
90b71db
解决插件注册数据模型无法展示的问题2
Alexaa123 Oct 31, 2024
8918efd
feat: 弹窗禁止空白区域点击关闭
wanghao7717 Oct 31, 2024
49b8040
Merge branch 'dev_v4.3.0' of github.com:WeBankPartners/wecube-platfor…
wanghao7717 Oct 31, 2024
d9ac4d5
update public proc def list
zgyzgyhero Oct 31, 2024
2a67301
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
zgyzgyhero Oct 31, 2024
9f18606
update public proc def list
zgyzgyhero Oct 31, 2024
f35e8c6
编排执行预览展示插件服务和数据绑定
Oct 31, 2024
c6f253e
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Oct 31, 2024
a155d98
update proc preview calc
zgyzgyhero Nov 1, 2024
bc8a722
编排执行子编排添加主编排ID查询
Nov 1, 2024
14af344
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 1, 2024
be38b64
update: i18n config
pobu168 Nov 1, 2024
d27729b
update gateway rand choose
zgyzgyhero Nov 1, 2024
c8af950
update gateway rand choose
zgyzgyhero Nov 1, 2024
edfbd43
编排执行预览展示插件服务和数据绑定
Nov 1, 2024
ff23b68
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 1, 2024
6874d66
update gateway log
zgyzgyhero Nov 1, 2024
4c53f49
底座迁移-导出数据补充支持二级数据弹窗
Nov 1, 2024
59f0217
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 1, 2024
edf306d
feat: 编排执行支持查看插件服务和数据绑定
wanghao7717 Nov 1, 2024
8109bc6
feat: 编排执行支持查看插件服务和数据绑定
wanghao7717 Nov 1, 2024
a5ee47e
feat: 编排执行支持查看插件服务和数据绑定
wanghao7717 Nov 1, 2024
54ecb67
Merge branch 'dev_v4.3.0' of github.com:WeBankPartners/wecube-platfor…
wanghao7717 Nov 1, 2024
4ffa45f
feat: 编排执行支持查看插件服务和数据绑定
wanghao7717 Nov 4, 2024
d3fe4fd
底座迁移-导出数据补充支持二级数据弹窗
Nov 4, 2024
c114e16
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 4, 2024
902bd5f
1、平台实现个函数传入数据id和数据entity类型,算出能执行的编排
Nov 4, 2024
9ca4f7a
底座迁移-导出数据补充支持二级数据弹窗
Nov 4, 2024
97dd6e6
update proc risky
zgyzgyhero Nov 4, 2024
97e2f57
update proc risky
zgyzgyhero Nov 4, 2024
2d85c46
update proc risky
zgyzgyhero Nov 4, 2024
10b3e07
feat: 一键导入添加二级弹框详情页
wanghao7717 Nov 4, 2024
045869d
feat: 一键导入添加二级弹框详情页
wanghao7717 Nov 4, 2024
ddd6346
update: reset conflictCheck default value
pobu168 Nov 4, 2024
96df2f0
feat: 编排执行详情页添加插件服务和数据绑定
wanghao7717 Nov 4, 2024
40dd1ae
底座迁移-编排导入复用导出编排权限
Nov 5, 2024
472ab1d
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 5, 2024
8985abe
feat: 编排执行详情页添加插件服务和数据绑定
wanghao7717 Nov 5, 2024
6b3b225
feat: 子编排节点添加插件服务和数据绑定显示
wanghao7717 Nov 5, 2024
19b5851
feat: 子编排节点添加插件服务和数据绑定显示
wanghao7717 Nov 5, 2024
7451d31
feat: 子编排节点添加插件服务和数据绑定显示
wanghao7717 Nov 5, 2024
291586a
feat: 添加子编排对象类型
wanghao7717 Nov 5, 2024
28250cb
feat: 一键导入时间修改
wanghao7717 Nov 5, 2024
e4ccc19
auto sync package dynamic model
zgyzgyhero Nov 6, 2024
87c6269
解决插件注册的小问题
Alexaa123 Nov 6, 2024
9119917
feat: 浏览器title修改
wanghao7717 Nov 6, 2024
71940fb
feat: 浏览器title修改
wanghao7717 Nov 6, 2024
65993d8
feat: 子编排不显示数据绑定问题修复
wanghao7717 Nov 6, 2024
37d4d64
feat: 编排详情问题修复
wanghao7717 Nov 6, 2024
3c1444d
feat: 编排详情问题修复
wanghao7717 Nov 6, 2024
8513a96
feat: 编排详情问题修复
wanghao7717 Nov 6, 2024
b1d3b28
feat: 编排详情问题修复
wanghao7717 Nov 6, 2024
02cd4d0
feat: 编排详情问题修复
wanghao7717 Nov 6, 2024
002486c
feat: 编排详情问题修复
wanghao7717 Nov 6, 2024
ecdb26c
feat: 编排详情问题修复
wanghao7717 Nov 6, 2024
0a49345
feat: 编排详情问题修复
wanghao7717 Nov 7, 2024
3307e01
feat: 编排详情问题修复
wanghao7717 Nov 7, 2024
1cdee56
feat: 编排详情问题修复
wanghao7717 Nov 7, 2024
796ca07
feat: 一键导入二级弹框页面修改
wanghao7717 Nov 7, 2024
dfd976f
feat: 导入导出测试问题修复
wanghao7717 Nov 7, 2024
03a3bc0
feat: 导入导出问题修复
wanghao7717 Nov 7, 2024
7a5cd48
底座迁移-编排导入复用导出编排权限
Nov 8, 2024
3cc1f51
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 8, 2024
2101cf0
Merge branch 'master' into dev_v4.3.0
zgyzgyhero Nov 11, 2024
0ba4d85
Merge pull request #2458 from WeBankPartners/dev_v4.3.0
zgyzgyhero Nov 11, 2024
63b108f
底座迁移-监控阈值导入采用覆盖模式
Nov 11, 2024
78c135e
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 11, 2024
49daa36
解决插件注册滚动条问题
Alexaa123 Nov 11, 2024
4316de0
解决插件注册滚动条问题2
Alexaa123 Nov 11, 2024
e1cd09f
底座迁移-导出返回dataType
Nov 11, 2024
fa62d1d
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 11, 2024
a28cd48
解决插件注册滚动条问题3
Alexaa123 Nov 11, 2024
5825ac8
解决插件注册滚动条问题4
Alexaa123 Nov 11, 2024
076ba23
底座迁移-导出返回dataType
Nov 11, 2024
aeecfef
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 11, 2024
6e22c02
底座迁移-修改新环境数据添加字段
Nov 12, 2024
519738f
feat: 底座迁移第三步添加录入信息
wanghao7717 Nov 12, 2024
2e2e057
feat: 底座迁移第三步添加录入信息
wanghao7717 Nov 12, 2024
32c6331
解决插件注册ip无法预览多个问题
Alexaa123 Nov 12, 2024
6eeb54b
解决插件注册ip无法预览多个问题2
Alexaa123 Nov 12, 2024
6d7680f
update core ddl
zgyzgyhero Nov 12, 2024
64ba0d2
批量执行导入复用主键Id
Nov 12, 2024
b2fcc97
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 12, 2024
e9d7ac5
feat: 导入第三步调整
wanghao7717 Nov 12, 2024
519a225
update trans import form struct
zgyzgyhero Nov 12, 2024
0658510
Merge branch 'master' into dev_v4.3.0
zgyzgyhero Nov 13, 2024
04932a5
Merge pull request #2461 from WeBankPartners/dev_v4.3.0
zgyzgyhero Nov 13, 2024
9417016
feat: 导入第三步调整
wanghao7717 Nov 13, 2024
740216a
feat: 导入第三步调整
wanghao7717 Nov 13, 2024
0a5a631
add plugin s3 file upload
zgyzgyhero Nov 13, 2024
118147a
add log for doRunJob
zhanglin9833 Nov 13, 2024
5bb2a36
add log for doRunJob
zhanglin9833 Nov 13, 2024
9b23897
底座迁移-导出返回dataType
Nov 13, 2024
592715f
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 13, 2024
2bc2874
feat: 导入导出问题修复
wanghao7717 Nov 13, 2024
3b2b811
feat: 导入导出问题修复
wanghao7717 Nov 13, 2024
640b79c
底座迁移-导入导出二级弹窗层级对象显示展示名称
Nov 14, 2024
71095e4
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 14, 2024
49c384b
底座迁移-导入导出二级弹窗层级对象显示展示名称
Nov 14, 2024
39d1609
Merge branch 'master' into dev_v4.3.0
zgyzgyhero Nov 14, 2024
54e3693
底座迁移-导入导出二级弹窗层级对象显示详情
Nov 14, 2024
7afd644
Merge pull request #2462 from WeBankPartners/dev_v4.3.0
zgyzgyhero Nov 14, 2024
69b7753
feat: 批量执行问题修复
wanghao7717 Nov 14, 2024
e2d0361
feat: 批量执行问题修复
wanghao7717 Nov 14, 2024
0c8dbbf
feat: 导出轮询时间调整
wanghao7717 Nov 14, 2024
5bf8276
feat: 导入第三步报错问题修复
wanghao7717 Nov 14, 2024
96b3832
feat: 导入第三步报错问题修复
wanghao7717 Nov 14, 2024
326596a
update plugin dynamic model
zgyzgyhero Nov 14, 2024
c1b62e3
上传失败时将上传进度条干掉
Alexaa123 Nov 14, 2024
5182a4b
编排复制变更重新生成nodeId
Nov 14, 2024
161e1ad
Merge remote-tracking branch 'origin/dev_v4.3.0' into dev_v4.3.0
Nov 14, 2024
63ac19b
编排复制变更重新生成nodeId
Nov 14, 2024
bb0be9b
编排复制变更重新生成nodeId
Nov 14, 2024
a96c774
编排复制变更代码还原
Nov 14, 2024
43a186b
编排节点更新,上下文为空时候需要清除节点上下文参数
Nov 14, 2024
54c7b7e
update deploy doc
zgyzgyhero Nov 15, 2024
c126c10
Merge branch 'master' into dev_v4.3.0
zgyzgyhero Nov 15, 2024
3f29f1e
Merge pull request #2463 from WeBankPartners/dev_v4.3.0
zgyzgyhero Nov 15, 2024
d364337
feat: 导入文案优化
wanghao7717 Nov 15, 2024
a17f7e8
feat: 导入文案优化
wanghao7717 Nov 15, 2024
933b5fd
Merge pull request #2464 from WeBankPartners/dev_v4.3.0
zgyzgyhero Nov 15, 2024
92699cd
update process node retry
zgyzgyhero Nov 18, 2024
cfbe4ed
Update vue.config.js
pobu168 Nov 18, 2024
a9f48b0
Merge branch 'master' into dev_v4.3.0
zgyzgyhero Nov 18, 2024
4250b3f
Merge pull request #2467 from WeBankPartners/dev_v4.3.0
zgyzgyhero Nov 18, 2024
34cb7f9
工单修复,去掉敏感数据
Nov 28, 2024
6896d0d
dev_4.4.0合入dev
Alexaa123 Dec 2, 2024
990e12b
hotfix4.3.1合入dev
Alexaa123 Dec 2, 2024
40b6fd3
feature_workflow_empty_node_query合入dev
Alexaa123 Dec 3, 2024
8e1a1af
update resource item query
zgyzgyhero Dec 4, 2024
f2948c0
update core sql
zgyzgyhero Dec 4, 2024
c7cc857
update sql
zgyzgyhero Dec 4, 2024
d42767e
feat: 资源实例添加增删改查功能
wanghao7717 Dec 5, 2024
c1caf9d
feat: 资源实例添加增删改查功能
wanghao7717 Dec 5, 2024
2322476
feat: 资源实例添加增删改查功能
wanghao7717 Dec 5, 2024
cd86bcd
feat: 添加表格分页缓存
wanghao7717 Dec 5, 2024
1467448
#2473 WeCube日志规范改造
Dec 5, 2024
3e2195f
#2473 WeCube日志规范改造
Dec 5, 2024
f82319e
#2473 WeCube日志规范改造
Dec 5, 2024
a1e35da
#2473 WeCube日志规范改造
Dec 6, 2024
450d0ba
update proc req output len limit
zgyzgyhero Dec 9, 2024
6dcbdc3
update plugin launch mysql
zgyzgyhero Dec 9, 2024
5976de0
update plugin launch mysql
zgyzgyhero Dec 9, 2024
d1acc30
fix: data select bug
pobu168 Dec 10, 2024
7b305c2
Merge branch 'dev_2473_logging_guidelines' into dev
Dec 10, 2024
885bb4c
#2469 空结点数据试算,按节点顺序排序
Dec 10, 2024
3ba22d9
feat: 编排空节点提示文案优化
wanghao7717 Dec 10, 2024
004f25e
#2469 空结点数据试算,按节点顺序排序
Dec 10, 2024
3749c8c
Merge pull request #2474 from WeBankPartners/hotfix_v4.3.2
tangjiawei2017 Dec 10, 2024
e6b2018
add 4.3.2升级部署文档
Dec 10, 2024
8764d5b
Merge pull request #2475 from WeBankPartners/hotfix_v4.3.2
tangjiawei2017 Dec 10, 2024
b3fe811
update: remove before add watermark
pobu168 Dec 12, 2024
133e87b
update: redirect page first for logout
pobu168 Dec 12, 2024
ba9b3f8
fix: identical component not updating
pobu168 Dec 13, 2024
33239c4
Merge branch 'dev' of github.com:WeBankPartners/wecube-platform into dev
wanghao7717 Dec 13, 2024
9220eb2
feat: 表格滚动固定搜索条件
wanghao7717 Dec 13, 2024
979170b
feat: 表格页数缓存优化
wanghao7717 Dec 13, 2024
f370b78
feat: 编排执行问题修复
wanghao7717 Dec 16, 2024
9190f6c
feat: 去掉router-view里面的key属性
wanghao7717 Dec 16, 2024
79eadd4
feat: 平台样式代码优化
wanghao7717 Dec 17, 2024
3d8330d
解决插件安装中样式冲突问题
Alexaa123 Dec 18, 2024
aadcb6d
解决插件安装中样式冲突问题2
Alexaa123 Dec 18, 2024
2d165cc
feat: 编排执行添加插件详情查看功能
wanghao7717 Dec 18, 2024
8dbcb93
feat: 编排执行添加插件详情查看功能
wanghao7717 Dec 18, 2024
6779409
feat: 编排执行默认人问题修复
wanghao7717 Dec 18, 2024
9687ec1
Merge branch 'hotfix_v4.3.3' into dev
Alexaa123 Dec 18, 2024
8b1be3b
#2473 WeCube日志规范改造
Dec 18, 2024
66e46df
#2473 WeCube日志规范改造
Dec 18, 2024
296d3b0
#2477 任务编排执行历史显示节点执行次数和数据
Dec 19, 2024
011f875
#2477 任务编排执行历史显示节点执行次数和数据
Dec 19, 2024
ee5d081
#2477 任务编排执行历史显示节点执行次数和数据
Dec 19, 2024
0bb9466
#2477 任务编排执行历史显示节点执行次数和数据
Dec 20, 2024
215bf72
#2477 任务编排执行历史显示节点执行次数和数据
Dec 20, 2024
90edd26
Merge branch 'dev_2473_logging_guidelines' into dev
Dec 20, 2024
8d9c1e9
Merge remote-tracking branch 'origin/dev' into dev
Dec 20, 2024
3d532a1
feat: 编排执行历史添加批次查看
wanghao7717 Dec 20, 2024
3ce4f2e
feat: 编排执行历史添加批次查看
wanghao7717 Dec 20, 2024
76428a7
#2477 update record sub proc in req
zgyzgyhero Dec 20, 2024
9352e67
Merge remote-tracking branch 'origin/dev_2477_flow_history' into dev_…
zgyzgyhero Dec 20, 2024
9347e54
#2477 任务编排执行历史显示节点执行次数和数据
Dec 20, 2024
9906752
#2477 任务编排执行历史显示节点执行次数和数据
Dec 20, 2024
30d17fb
feat: 样式问题修复
wanghao7717 Dec 23, 2024
8629b02
fix: style encapsulation issue
pobu168 Dec 23, 2024
99d2a37
Merge branch 'dev' of https://github.com/WeBankPartners/wecube-platfo…
pobu168 Dec 23, 2024
4a55464
#2477 任务编排执行历史显示节点执行次数和数据
Dec 23, 2024
09ce2c2
Merge remote-tracking branch 'origin/dev_2477_flow_history' into dev_…
Dec 23, 2024
0627eb2
#2477 任务编排执行历史显示节点执行次数和数据,子编排结点数据兼容
Dec 23, 2024
58b361d
#2477 任务编排执行历史显示节点执行次数和数据,子编排结点数据兼容
Dec 23, 2024
f372f1d
#2477 任务编排执行历史显示节点执行次数和数据,子编排结点数据兼容
Dec 23, 2024
7a132c4
#2477 任务编排执行历史显示节点执行次数和数据,子编排结点数据兼容
Dec 23, 2024
173d744
#2477 任务编排执行历史显示节点执行次数和数据,子编排结点数据兼容
Dec 23, 2024
22ee8b7
Merge branch 'dev_2477_flow_history' into dev
Dec 23, 2024
5845900
feat: 去除插件参数弹窗数据重复问题
wanghao7717 Dec 23, 2024
2a2ef40
#2477 任务编排执行历史显示节点执行次数和数据,支持节点重试空跑数据
Dec 24, 2024
e3356d7
#2477 任务编排执行历史显示节点执行次数和数据,支持节点重试空跑数据
Dec 24, 2024
ae9a91f
#2477 任务编排执行历史显示节点执行次数和数据,支持节点重试空跑数据
Dec 24, 2024
be39304
#2477 任务编排执行历史显示节点执行次数和数据,支持节点重试空跑数据
Dec 24, 2024
0d95f62
#2477 任务编排执行历史显示节点执行次数和数据,支持节点重试空跑数据
Dec 24, 2024
25b0a08
Merge remote-tracking branch 'origin/dev' into dev
Dec 24, 2024
ff2662b
feat: 编排执行历史优化调整
wanghao7717 Dec 25, 2024
541c198
feat: 编排执行历史优化调整
wanghao7717 Dec 25, 2024
d539f2b
fix sub process node retry
zgyzgyhero Dec 26, 2024
e5ef770
fix proc preview binding data
zgyzgyhero Dec 26, 2024
8498b2c
Merge branch 'dev' into hotfix_v4.3.3
zgyzgyhero Dec 26, 2024
38ac4f6
Merge pull request #2479 from WeBankPartners/hotfix_v4.3.3
zgyzgyhero Dec 26, 2024
a28df42
Merge pull request #2480 from WeBankPartners/dev
zgyzgyhero Dec 27, 2024
e2ae266
#2477 update sub proc run recode req
zgyzgyhero Dec 27, 2024
16733d9
编排历史添加仅展示自己创建和限制查询3个月内数据
Dec 27, 2024
e57675d
解决cmdb中面包屑配置出错问题
Alexaa123 Dec 27, 2024
7805411
#2477 update sub proc run recode req
zgyzgyhero Dec 30, 2024
be878d0
Merge pull request #2481 from WeBankPartners/dev_2477_flow_history
zgyzgyhero Dec 30, 2024
a600fcc
解决在加载js时首页渲染多余内容阻塞加载
Alexaa123 Dec 30, 2024
d4fe035
解决baseurl总是会被提交的问题
Alexaa123 Jan 2, 2025
6fcaa14
删除无用的java代码
Jan 2, 2025
fcfaedd
Merge remote-tracking branch 'origin/dev' into dev
Jan 2, 2025
aec8921
解决依赖包高危检测问题
Alexaa123 Jan 2, 2025
2811b3e
feat: 编排执行历史下拉列表查询改造
wanghao7717 Jan 2, 2025
8a3e209
feat: 编排执行历史下拉列表查询改造
wanghao7717 Jan 2, 2025
88fc15e
feat: 编排执行历史下拉列表查询改造
wanghao7717 Jan 2, 2025
f4e652a
解决编排报表每次请求成功都弹窗的问题
Alexaa123 Jan 3, 2025
feab269
Merge branch 'dev_2482_solve_risk_package' into dev
Alexaa123 Jan 3, 2025
d49b14e
删除无用java代码
Jan 6, 2025
147a530
gin版本升级1.8.1->1.9.1
Jan 6, 2025
8aac5fe
feat: 资源管理问题修复
wanghao7717 Jan 6, 2025
23dc519
feat: 资源管理问题修复
wanghao7717 Jan 6, 2025
3733271
Merge branch 'dev_2472_resource' into dev
wanghao7717 Jan 6, 2025
c25a054
Merge remote-tracking branch 'origin/dev' into dev
Jan 6, 2025
200ab8d
feat: 编排详情查看优化
wanghao7717 Jan 6, 2025
135965a
解决英文模式下插件注册card展示问题
Alexaa123 Jan 6, 2025
ceb6006
批量执行操作实例列表添加分页展示
Jan 6, 2025
e2b9083
Merge remote-tracking branch 'origin/dev' into dev
Jan 6, 2025
fcf9aa7
update service config export
zgyzgyhero Jan 6, 2025
27f3a70
feat: 批量执行添加模糊搜索功能
wanghao7717 Jan 6, 2025
056ed27
feat: 批量执行添加模糊搜索功能
wanghao7717 Jan 6, 2025
13752bc
批量执行列表添加分页展示&支持模糊搜索
Jan 7, 2025
7432bd2
feat: 批量执行详情页添加分页功能
wanghao7717 Jan 7, 2025
9f522b0
update: .gitignore
iheqi Jan 8, 2025
53ac436
Merge branch 'dev' of https://github.com/WeBankPartners/wecube-platfo…
iheqi Jan 8, 2025
fdc3df9
feat: .env
iheqi Jan 3, 2025
ddcf0ce
update to webpack5
iheqi Jan 6, 2025
c5b1c31
update: package
iheqi Jan 7, 2025
185c51c
update: eslintrc
iheqi Jan 7, 2025
e4504c2
update: package-lock
iheqi Jan 8, 2025
a5ceff2
update: hook
iheqi Jan 8, 2025
3683f0d
update: devServer config
iheqi Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
34 changes: 0 additions & 34 deletions .circleci/config.yml

This file was deleted.

9 changes: 3 additions & 6 deletions .github/ISSUE_TEMPLATE/----.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ assignees: ''

**描述您的需求**


**预期行为**


**描述您考虑过的替代方案**

**作为**<角色>
**我想要**<>
**从而**<>

**附加**
17 changes: 17 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Java CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn clean install
14 changes: 14 additions & 0 deletions .github/workflows/sync-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Synchronize release
on:
release:
workflow_dispatch:
jobs:
sync-published-release:
name: Synchronize release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: build/sync-github-release-to-gitee.sh
shell: bash
env:
GITEE_API_TOKEN: ${{ secrets.GITEE_API_TOKEN }}
18 changes: 13 additions & 5 deletions .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
*/dist/
*.log
*.log.*.gz
*/package-lock.json
## */package-lock.json
*/node/
bin/

# Ignore the generated front-end resource
**/resources/static/
# Ignore the generated index.html
**/resources/templates/index.html

**/resources/application-dev.yml

Expand Down Expand Up @@ -40,4 +37,15 @@
*dist.zip

.DS_Store
**/a.json

platform-core/platform-core
platform-core/logs

platform-gateway/config
platform-auth-server/config

platform-gateway/platform-gateway
platform-auth-server/platform-auth-server

build/db/database
8 changes: 0 additions & 8 deletions Dockerfile

This file was deleted.

92 changes: 64 additions & 28 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,31 +1,67 @@
current_dir=$(shell pwd)
date=$(shell date +%Y%m%d%H%M%S)
version=$(shell bash ./build/version.sh)
project_name=$(shell basename "${current_dir}")
remote_docker_image_registry=ccr.ccs.tencentyun.com/webankpartners/wecube-app
current_dir:=$(shell pwd)
date:=$(shell date +%Y%m%d%H%M%S)
version:=$(VERSION)
tencent_cloud_docker_image_registry=ccr.ccs.tencentyun.com/webankpartners

clean:
rm -rf $(current_dir)/cmdb-core/target
rm -rf $(current_dir)/platform-core/platform-core
rm -rf $(current_dir)/wecube-portal/node
rm -rf $(current_dir)/wecube-portal/node_modules
rm -rf $(current_dir)/wecube-core/target

.PHONY:build
build:
mkdir -p repository
docker run --rm --name wecube-build -e SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass -v /data/wecube_repository:/usr/src/mymaven/repository -v $(current_dir)/build/maven_settings.xml:/usr/share/maven/ref/settings-docker.xml -v $(current_dir):/usr/src/mymaven -w /usr/src/mymaven maven:3.3-jdk-8 mvn -U clean install -Dmaven.test.skip=true -s /usr/share/maven/ref/settings-docker.xml dependency:resolve

image:
docker build -t $(project_name):$(version) .

push:
docker tag $(project_name):$(version) $(remote_docker_image_registry):$(date)-$(version)
docker push $(remote_docker_image_registry):$(date)-$(version)

env_config=smoke_branch.cfg
target_host="tcp://10.0.0.1:2375"
deploy:
docker tag $(project_name):$(version) $(remote_docker_image_registry):$(date)-$(version)
docker push $(remote_docker_image_registry):$(date)-$(version)
sh build/deploy_generate_compose.sh $(env_config) $(date)-$(version)
docker-compose -f docker-compose.yml -H $(target_host) up -d
rm -rf $(current_dir)/wecube-portal/dist
rm -rf $(current_dir)/platform-gateway/platform-gateway
rm -rf $(current_dir)/platform-auth-server/platform-auth-server

build_core:
rm -f platform-core/platform-core
chmod +x platform-core/build/*.sh
docker run --rm -v $(current_dir)/platform-core:/go/src/github.com/WeBankPartners/wecube-platform/platform-core golang:1.19.1 /bin/bash /go/src/github.com/WeBankPartners/wecube-platform/platform-core/build/build-server.sh

image_core: build_core
docker build -t platform-core:$(version) platform-core/.

push_core: image_core
docker tag platform-core:$(version) $(tencent_cloud_docker_image_registry)/platform-core:$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-core:$(version)

build_auth_server:
rm -f platform-auth-server/platform-auth-server
chmod +x platform-auth-server/build/*.sh
docker run --rm -v $(current_dir)/platform-auth-server:/go/src/github.com/WeBankPartners/wecube-platform/platform-auth-server golang:1.19.1 /bin/bash /go/src/github.com/WeBankPartners/wecube-platform/platform-auth-server/build/build-server.sh

image_auth_server: build_auth_server
docker build -t platform-auth-server:$(version) platform-auth-server/.

push_auth_server: image_auth_server
docker tag platform-auth-server:$(version) $(tencent_cloud_docker_image_registry)/platform-auth-server:$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-auth-server:$(version)

build_gateway:
rm -f platform-gateway/platform-gateway
chmod +x platform-gateway/build/*.sh
docker run --rm -v $(current_dir)/platform-gateway:/go/src/github.com/WeBankPartners/wecube-platform/platform-gateway golang:1.19.1 /bin/bash /go/src/github.com/WeBankPartners/wecube-platform/platform-gateway/build/build-server.sh

image_gateway: build_gateway
docker build -t platform-gateway:$(version) platform-gateway/.

push_gateway: image_gateway
docker tag platform-gateway:$(version) $(tencent_cloud_docker_image_registry)/platform-gateway:$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-gateway:$(version)

build_portal:
rm -rf wecube-portal/node
rm -rf wecube-portal/dist
chmod +x build/wecube-portal/*.sh
docker run --rm -v $(current_dir):/home/node/app -w /home/node/app node:12.13.1 /bin/bash /home/node/app/build/wecube-portal/build-ui.sh

image_portal: build_portal
docker build -t wecube-portal:$(version) -f build/wecube-portal/Dockerfile .

push_portal: image_portal
docker tag wecube-portal:$(version) $(tencent_cloud_docker_image_registry)/wecube-portal:$(version)
docker push $(tencent_cloud_docker_image_registry)/wecube-portal:$(version)

image_db:
sh build/db/build-image.sh $(version)

push_db: image_db
docker tag wecube-db:$(version) $(tencent_cloud_docker_image_registry)/mysql:$(version)
docker push $(tencent_cloud_docker_image_registry)/mysql:$(version)
151 changes: 151 additions & 0 deletions Makefile_old
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
current_dir:=$(shell pwd)
date:=$(shell date +%Y%m%d%H%M%S)
version:=$(shell bash ./build/version.sh)
tencent_cloud_docker_image_registry=ccr.ccs.tencentyun.com/webankpartners

clean:
rm -rf $(current_dir)/platform-auth-client/target
rm -rf $(current_dir)/platform-auth-server/target
rm -rf $(current_dir)/platform-core/target
rm -rf $(current_dir)/wecube-portal/node
rm -rf $(current_dir)/wecube-portal/dist
rm -rf $(current_dir)/platform-gateway/target
rm -rf $(current_dir)/platform-auth-server/target

.PHONY:build


doc:
/bin/bash -ex build/get_wecube_docs.sh

wecube_docs_dirname=wecube-docs
build_name=wecube-build
auth_server_dir=$(shell pwd)/platform-auth-server
auth_server_project_dir=$(shell basename "${auth_server_dir}")

build:
# make sure dir exists, even if make doc failed/never exec before
mkdir -p $(wecube_docs_dirname)
mkdir -p repository
docker run --rm --name $(build_name) -e SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass -v /data/wecube_repository:/usr/src/mymaven/repository -v $(current_dir)/build/maven_settings.xml:/usr/share/maven/ref/settings-docker.xml -v $(current_dir):/usr/src/mymaven -w /usr/src/mymaven maven:3.3-jdk-8 mvn -U clean install -Dmaven.test.skip=true -s /usr/share/maven/ref/settings-docker.xml dependency:resolve
docker run --rm --name $(build_name)_node -v $(current_dir)/wecube-portal:/home/node/app -w /home/node/app node:12.13.1 npm --registry https://registry.npm.taobao.org install --unsafe-perm
docker run --rm --name $(build_name)_node1 -v $(current_dir)/wecube-portal:/home/node/app -w /home/node/app node:12.13.1 npm rebuild node-sass
docker run --rm --name $(build_name)_node2 -v $(current_dir)/wecube-portal:/home/node/app -w /home/node/app node:12.13.1 npm run build

build_auth_server:
rm -f platform-auth-server/platform-auth-server
chmod +x platform-auth-server/build/*.sh
docker run --rm -v $(auth_server_dir):/go/src/github.com/WeBankPartners/wecube-platform/$(auth_server_project_dir) --name build_$(auth_server_project_dir)_authserver golang:1.18.0 /bin/bash /go/src/github.com/WeBankPartners/wecube-platform/$(auth_server_project_dir)/build/build-server.sh

build_maven:
# make sure dir exists, even if make doc failed/never exec before
mkdir -p $(wecube_docs_dirname)
mkdir -p repository
docker run --rm --name $(build_name) -e SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass -v /data/wecube_repository:/usr/src/mymaven/repository -v $(current_dir)/build/maven_settings.xml:/usr/share/maven/ref/settings-docker.xml -v $(current_dir):/usr/src/mymaven -w /usr/src/mymaven maven:3.3-jdk-8 mvn -U clean install -Dmaven.test.skip=true -s /usr/share/maven/ref/settings-docker.xml dependency:resolve

image:
docker build -t platform-core:$(version) -f build/platform-core/Dockerfile .
docker build -t platform-gateway:$(version) -f build/platform-gateway/Dockerfile .
docker build -t wecube-portal:$(version) -f build/wecube-portal/Dockerfile .
docker build -t platform-auth-server:$(version) -f build/platform-auth-server/Dockerfile .
sh build/db/build-image.sh $(version)

push:
docker tag platform-core:$(version) $(tencent_cloud_docker_image_registry)/platform-core:$(date)-$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-core:$(date)-$(version)

docker tag platform-gateway:$(version) $(tencent_cloud_docker_image_registry)/platform-gateway:$(date)-$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-gateway:$(date)-$(version)

docker tag wecube-portal:$(version) $(tencent_cloud_docker_image_registry)/wecube-portal:$(date)-$(version)
docker push $(tencent_cloud_docker_image_registry)/wecube-portal:$(date)-$(version)

docker tag platform-auth-server:$(version) $(tencent_cloud_docker_image_registry)/platform-auth-server:$(date)-$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-auth-server:$(date)-$(version)

docker tag wecube-db:$(version) ${tencent_cloud_docker_image_registry}/wecube-db:${date}-$(version)
docker push ${tencent_cloud_docker_image_registry}/wecube-db:${date}-$(version)

tencent_cloud_release_version=tencent-cloud-release-version
releaseToTencentCloud:
docker tag platform-core:$(version) $(tencent_cloud_docker_image_registry)/platform-core:$(tencent_cloud_release_version)
docker push $(tencent_cloud_docker_image_registry)/platform-core:$(tencent_cloud_release_version)

docker tag platform-gateway:$(version) $(tencent_cloud_docker_image_registry)/platform-gateway:$(tencent_cloud_release_version)
docker push $(tencent_cloud_docker_image_registry)/platform-gateway:$(tencent_cloud_release_version)

docker tag wecube-portal:$(version) $(tencent_cloud_docker_image_registry)/wecube-portal:$(tencent_cloud_release_version)
docker push $(tencent_cloud_docker_image_registry)/wecube-portal:$(tencent_cloud_release_version)

docker tag platform-auth-server:$(version) $(tencent_cloud_docker_image_registry)/platform-auth-server:$(tencent_cloud_release_version)
docker push $(tencent_cloud_docker_image_registry)/platform-auth-server:$(tencent_cloud_release_version)

docker tag wecube-db:$(version) $(tencent_cloud_docker_image_registry)/wecube-db:$(tencent_cloud_release_version)
docker push $(tencent_cloud_docker_image_registry)/wecube-db:$(tencent_cloud_release_version)

release_version=release-version
release:
docker tag platform-core:$(version) webankpartners/platform-core:$(release_version)
docker push webankpartners/platform-core:$(release_version)

docker tag platform-gateway:$(version) webankpartners/platform-gateway:$(release_version)
docker push webankpartners/platform-gateway:$(release_version)

docker tag wecube-portal:$(version) webankpartners/wecube-portal:$(release_version)
docker push webankpartners/wecube-portal:$(release_version)

docker tag platform-auth-server:$(version) webankpartners/platform-auth-server:$(release_version)
docker push webankpartners/platform-auth-server:$(release_version)

docker tag wecube-db:$(version) webankpartners/wecube-db:$(release_version)
docker push webankpartners/wecube-db:$(release_version)

huawei_cloud_release_version=huawei-cloud-release-version
releaseToHuaweiCloud:
docker tag platform-core:$(version) swr.ap-southeast-3.myhuaweicloud.com/webankpartners/platform-core:$(huawei_cloud_release_version)
docker push swr.ap-southeast-3.myhuaweicloud.com/webankpartners/platform-core:$(huawei_cloud_release_version)

docker tag platform-gateway:$(version) swr.ap-southeast-3.myhuaweicloud.com/webankpartners/platform-gateway:$(huawei_cloud_release_version)
docker push swr.ap-southeast-3.myhuaweicloud.com/webankpartners/platform-gateway:$(huawei_cloud_release_version)

docker tag wecube-portal:$(version) swr.ap-southeast-3.myhuaweicloud.com/webankpartners/wecube-portal:$(huawei_cloud_release_version)
docker push swr.ap-southeast-3.myhuaweicloud.com/webankpartners/wecube-portal:$(huawei_cloud_release_version)

docker tag platform-auth-server:$(version) swr.ap-southeast-3.myhuaweicloud.com/webankpartners/platform-auth-server:$(huawei_cloud_release_version)
docker push swr.ap-southeast-3.myhuaweicloud.com/webankpartners/platform-auth-server:$(huawei_cloud_release_version)

docker tag wecube-db:$(version) swr.ap-southeast-3.myhuaweicloud.com/webankpartners/wecube-db:$(huawei_cloud_release_version)
docker push swr.ap-southeast-3.myhuaweicloud.com/webankpartners/wecube-db:$(huawei_cloud_release_version)

env_config=smoke_branch.cfg
target_host="tcp://10.0.0.1:2375"
deploy:
docker tag platform-core:$(version) $(tencent_cloud_docker_image_registry)/platform-core:$(date)-$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-core:$(date)-$(version)

docker tag platform-gateway:$(version) $(tencent_cloud_docker_image_registry)/platform-gateway:$(date)-$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-gateway:$(date)-$(version)

docker tag wecube-portal:$(version) $(tencent_cloud_docker_image_registry)/wecube-portal:$(date)-$(version)
docker push $(tencent_cloud_docker_image_registry)/wecube-portal:$(date)-$(version)

docker tag platform-auth-server:$(version) $(tencent_cloud_docker_image_registry)/platform-auth-server:$(date)-$(version)
docker push $(tencent_cloud_docker_image_registry)/platform-auth-server:$(date)-$(version)

sh build/deploy_generate_compose.sh $(env_config) $(date)-$(version)
docker-compose -f docker-compose.yml -H $(target_host) up -d

deploy_demo: image
sh build/remove.sh $(version)
docker tag wecube-db:$(version) ${tencent_cloud_docker_image_registry}/wecube-db:${date}-$(version)
docker tag platform-core:$(version) $(tencent_cloud_docker_image_registry)/platform-core:$(date)-$(version)
docker tag platform-gateway:$(version) $(tencent_cloud_docker_image_registry)/platform-gateway:$(date)-$(version)
docker tag wecube-portal:$(version) $(tencent_cloud_docker_image_registry)/wecube-portal:$(date)-$(version)
docker tag platform-auth-server:$(version) $(tencent_cloud_docker_image_registry)/platform-auth-server:$(date)-$(version)
sed "s~{{WECUBE_DB_IMAGE_NAME}}~wecube-db:${date}-$(version)~g" build/wecube_core_mysql.tpl > wecube_core_mysql.yml
docker-compose -f wecube_core_mysql.yml up -d
sleep 30
sh build/deploy_generate_compose.sh $(env_config) $(date)-$(version)
sed -i "s~{{WECUBE_DB_IMAGE_NAME}}~wecube-db:${date}-$(version)~g" docker-compose.yml
sed -i "s~{{WECUBE_APP_IMAGE_VER}}~wecube-db:${date}-$(version)~g" docker-compose.yml
docker-compose -f docker-compose.yml up -d
Loading
Loading