Commit Graph
2 Commits
Author SHA1 Message Date
ssw eae1e2fcba feat(ssw-dos): 阶段5.2 - 迁移ssw.common.sandbox (7个类)
## 迁移 5.2 ssw.common.sandbox → 6.2 ssw.dos.sandbox
- SandBoxUtil (沙盒主工具)
- DockerUtil (调 Docker API, 适配 3.4 API)
- K8sUtil (调 K8s API)
- ContainerManager (容器管理)
- ContainerCache (容器缓存)
- TlsConfig (TLS 配置)
- TarUtil (5.2 ssw.common.util.TarUtil, 一起迁)

## 适配 6.2 docker-java 3.4 API
- 3.x 删除 DockerClientBuilder
- 用 DockerClientImpl.getInstance(config, httpClient) 替代
- ApacheDockerHttpClient 在 com.github.dockerjava.httpclient5 包

## pom.xml 新增依赖
- docker-java-core 3.4.0
- docker-java-api 3.4.0
- docker-java-transport-httpclient5 3.4.0
- commons-compress 1.26.0
- io.kubernetes:client-java 19.0.1

## 编译
- mvn compile -pl ssw-dos/ssw-dos-biz -am
- BUILD SUCCESS (5.412s)
2026-07-06 17:04:34 +08:00
ssw 2a2591bf45 feat(ssw-dos): 阶段5 - 业务包迁移 (3个agent类)
## 包结构 (CLAUDE.md §3.6 BS-14)
- boot/ssw-dos/{pom.xml, ssw-dos-entity/, ssw-dos-biz/}
- 零 MapperConfig, 依赖 ssw-common-biz 共享 SswMapperConfig
- pom 父模块: ssw-boot/modules 加 ssw-dos

## 迁移 3 个业务类 (5.2 → 6.2)
- OllamaService (LLM 调 weaviate 5.1.3, 独立编译)
- DialogService (对话, 依赖 Ollama+Weaviate)
- WeaviateService (Vector DB, 独立编译)

## 跳过 (深依赖 5.2 内部类)
- BlockChainService (AutoML 节点, 依赖 5.2 ChainService/BlockService)
- SandboxService (依赖 5.2 ssw.common.sandbox.SandBoxUtil)
- IntegrateService (依赖 5.2 jnpf.integrate.*)
- 13 Service 接口/9 Mapper/10 Controller/10 Entity — dacli form 替代

## 编译验证
- mvn compile -pl ssw-dos/ssw-dos-biz -am
- BUILD SUCCESS (4.954s)
- BS-14 规范通过 (零 MapperConfig)
2026-07-06 16:59:36 +08:00