feat: add service config templates and extraction script

Former-commit-id: 1de24b7eb79676d1aba9d799a58c5a753290cf52
This commit is contained in:
反编译工作区
2026-05-01 19:38:01 +08:00
parent 3175b7074b
commit 8b15445328
2433 changed files with 8322164 additions and 1604 deletions
@@ -0,0 +1,29 @@
# 电梯应用现场证据(logs/evidence
本目录用于存放自生产/现场拷贝的 **`collect_elevator_runtime_evidence.sh` 输出**(或从现场 `evidence/` 回传的子目录与 `tar.gz` 解压内容),便于与仓库文档对照分析。
## 已归档快照(2026-04-30
| 子目录 | 说明 |
|--------|------|
| `elevator-evidence-20260430-112820/` | 与 `113912` **同一 JARsha256 一致)**;当次无 `jar-tf.txt` |
| `elevator-evidence-20260430-113912/` | 含 `jar-tf.txt`:内嵌 `cw-elevator-application-*-**2.0.7**.jar` |
| `elevator-evidence-20260430-114350/` | **不同 JARsha256 不同)**;内嵌 `*-**1.0-SNAPSHOT**.jar` |
**差异分析结论文档**(全仓库唯一入口,避免与 release 包内说明重复):
- [`docs/testing/elevator-evidence-v1-v2-diff-20260430.md`](../../../docs/testing/elevator-evidence-v1-v2-diff-20260430.md)
- **初始化时序与配置审核(不改现场属性)**:[`docs/testing/elevator-v1-v2-init-timing-config-audit.md`](../../../docs/testing/elevator-v1-v2-init-timing-config-audit.md)
## 采集命令(现场)
在部署根目录(与 `application.properties` 同层)执行,参数见仓库根目录 [`scripts/collect_elevator_runtime_evidence.sh`](../../../scripts/collect_elevator_runtime_evidence.sh) 头注释。
## 注意
- 仅依据目录名 `cw-elevator-application-V1.0.0.20211103` **不能**判断代码版本,必须以 **`jar.sha256.txt` + `jar-tf.txt`** 为准。
## 根目录全量日志与探针专档
- **`elevator-app.log`**:主应用日志(含 Netflix / Spring 等全量输出)。
- **`elevator-app-probe.log`**:仅 **`cn.cloudwalk.elevator.debug`** 包(Config / Ribbon / Consul 探针等),与主日志双写;本仓库样本的解读见 [`docs/testing/elevator-evidence-v1-v2-diff-20260430.md`](../../../docs/testing/elevator-evidence-v1-v2-diff-20260430.md) **§10**。