Lipeng

Results 14 issues of Lipeng

### Motivation: - support embedPlugin class isolation for **common biz** with `PLUGIN_CLASSLOADER_ENABLE=true && PLUGIN_CLASS_EXPORT_ENABLE=true` mode. - add unit test for class isolation. ### Modification: - modify pluginFactoryServiceImp#createEmbedPlugin ### Result: Fixes...

cla:yes
size/L

背景: 模块二方包不下沉、模块和基座依赖版本不一致、容易导致 class not found 问题,用户侧不友好;模块不瘦身会让模块本身比较大 解决思路: ● 用户侧使用: ○ 打出 基座 facade 包,模块统一以 provided 方式引入 ● 平台侧防护: ○ 用户开发时,提示不一致包:IDE 插件提示? ○ 用户打包时,提示需要瘦身的包?

area/runtime

### Feature description Describe the feature details with Chinese or English. ### Additional notes Add other notes if necessary.

当用户使用 IU-233.* 版本的 IDEA 时,无法安装当前插件: ![image](https://github.com/koupleless/koupleless/assets/44571204/eda539c8-f3ea-4bdd-b9fa-6dbd809e59e3)

to fix: https://github.com/koupleless/koupleless/issues/221 使用方式 1. JVM 添加参数开启 -Dsofa.ark.embed.static.biz.in.resource.enable=true 2. 基座启动后,会注册 BOOT-INF/classes/SOFA-ARK/biz 下和 lib 里的 ark-biz 模块包 3. 调用用户自定义的 BeforeEmbedStaticDeployBizHook 接口 4. 执行模块安装 ## Summary by CodeRabbit - **New Features** -...

cla:yes
size/L

installBiz 支持传 bizAlias,把 bizAlias 设置成 ns_podName_module:version 的格式,方便 trace ## Summary by CodeRabbit - **New Features** - Introduced `bizAlias` support for better identification of business modules. - **Bug Fixes** - Corrected...

cla:yes
size/M

### Describe the question or bug 在 declared 模式下,模块只能找到基座中自己声明过的包。 这会导致以下几个问题: 1. 如果该包命名特殊,难以解析出依赖名称,那么模块即使声明了该包,也无法正确加载到该资源 2. 如果模块无法声明该包,也无法加载到该资源 ### Expected behavior 添加 declaredMode 的白名单:即使模块不声明白名单中的包,也能正确加载到基座中的该资源。 ### Example 基座添加 adapter-a 依赖,该 adapter 覆盖了 springboot 的类 org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration...

分支 koupleless-runtime: fix/remove_surefire koupleless-samples: youji-dev 问题 现象 在 koupleless_samples/springboot-samples/web/tomcat 目录下执行: mvn test 会报错: ![image](https://github.com/koupleless/koupleless/assets/44571204/e0be5d38-0a47-4dc3-9a44-0ef70c7f0538) 调试方式 mvn -Dmaven.surefire.debug test 然后把 idea 的 remote JVM 端口配置成 5005 排查链路 在模块执行前,查找该模块的启动类(com.alipay.sofa.web.biz1.Biz1Application)时: ● com.alipay.sofa.koupleless.test.suite.spring.biz.BizSpringTestApplication#run Class...

priority/important-soon