Your Brother
Results
1
issues of
Your Brother
### Motivation: 本次提交是由于 1.部分使用ark的用户暂不需要热部署能力,所以需要静态合并部署也就是将biz包通过pom的形式引入,目前的使用过程是不使用ark2.0的特性也就是启动参数没有-Dsofa.ark.embed.enable=true,并且打包使用sofa-ark-maven-plugin,相当于使用ark1.1.6的能力 2.基于上述的使用方式进行静态合并部署时,使用junit进行单元测试,在HandleArchiveStage阶段会引发npe。 3.所以目前无法进行静态合并部署的测试,解决思路有两种一是修复1.1.6的逻辑,二是优化embed的逻辑适配静态合并部署的场景 ### Modification: HandleArchiveStage#processEmbed增加注册biz包的逻辑 EmbedClassPathArchive#getBizArchives增加查找biz包的逻辑 ### Result: Fixes #. If there is no issue then describe the changes introduced by this PR.
enhancement
cla:yes
size/L
First-time contributor
2.0.4