sofa-ark icon indicating copy to clipboard operation
sofa-ark copied to clipboard

统一静态合并部署

Open gaosaroma opened this issue 8 months ago • 3 comments

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

    • Enhanced functionality for scanning and retrieving business archives, allowing for more efficient resource management.
    • Introduced a new interface for handling actions before static deployment of business artifacts.
    • Added constants for embedding static business resources and deploying business hooks.
  • Tests

    • Updated test cases to include new logic for deploying and managing business modules.

gaosaroma avatar Jun 26 '24 18:06 gaosaroma