- 新增 `sample-apps/order-service` Java 样板应用及 Win/Linux 构建、启停、状态脚本 - 新增 `LocalSampleAppService`,在 `software-a` 中支持 `order-service test` 本地桥接部署 - 增加桥接开关配置:`ENABLE_SAMPLE_APP_BRIDGE`、`SAMPLE_APP_ROOT` - 修正后端配置读取方式,环境变量可在运行时生效(`Settings` 改为 `default_factory`) - 更新应用元数据默认验证目标:`127.0.0.1:18080`、本地日志路径 - 新增桥接测试 `test_sample_app_bridge.py`,后端基线更新至 `24 passed` - 更新 `.gitignore`,忽略样板应用 `build/runtime` 产物 - 更新 README 与《当前进度总结》:记录本轮“真实样板应用 + 桥接能力”进展,MVP 进度约 `97%`
34 lines
684 B
Markdown
34 lines
684 B
Markdown
# Order Service Sample App
|
|
|
|
## Purpose
|
|
|
|
This sample app is used to demonstrate the smart deploy agent flow with a real Java process:
|
|
|
|
1. build sample app
|
|
2. deploy/start sample app
|
|
3. verify process / port / tcp / http / log
|
|
|
|
## Build
|
|
|
|
```powershell
|
|
powershell -ExecutionPolicy Bypass -File .\sample-apps\order-service\scripts\build.ps1
|
|
```
|
|
|
|
## Start
|
|
|
|
```powershell
|
|
powershell -ExecutionPolicy Bypass -File .\sample-apps\order-service\scripts\start.ps1 -Version 1.2.3
|
|
```
|
|
|
|
## Stop
|
|
|
|
```powershell
|
|
powershell -ExecutionPolicy Bypass -File .\sample-apps\order-service\scripts\stop.ps1
|
|
```
|
|
|
|
## Health
|
|
|
|
Once started, health check is available at:
|
|
|
|
`http://127.0.0.1:18080/actuator/health`
|