docs: remove references to deleted OpenClaw REST facade (port 8004)
Update all documentation to reflect removal of OpenClaw REST service: - README.md, README_zh.md: remove service table entry - deploy/README.md: update port range 8000-8003 - services/README.md: remove 8004 references and service list - docs/compat-removal-plan.md: remove REST surface mention - docs/current-architecture.md: remove service reference - docs/legacy-inventory.md: simplify to WebSocket-only description Follow-up to: refactor(openclaw): remove REST facade
This commit is contained in:
@@ -20,7 +20,6 @@ and the next-step execution plan lives at
|
||||
| `backend.apps.trading_service` | `8001` | Read-only trading data APIs such as prices, financials, insider trades |
|
||||
| `backend.apps.news_service` | `8002` | Read-only explain/news APIs such as story, similar days, range explain |
|
||||
| `backend.apps.runtime_service` | `8003` | Runtime lifecycle APIs under `/api/runtime/*` |
|
||||
| `backend.apps.openclaw_service` | `8004` | Read-only OpenClaw REST facade |
|
||||
| Gateway (`backend.main`) | `8765` | WebSocket feed, runtime event stream, pipeline execution |
|
||||
| OpenClaw Gateway | `18789` | External OpenClaw WebSocket endpoint consumed by 大时代 gateway |
|
||||
|
||||
@@ -63,7 +62,7 @@ That script starts:
|
||||
- `runtime_service` on `8003`
|
||||
- 大时代 gateway on `8765` (as subprocess of runtime_service)
|
||||
|
||||
It does **not** start `openclaw_service` on `8004`.
|
||||
It does **not** start.
|
||||
|
||||
Instead, the gateway expects an OpenClaw WebSocket server to already be
|
||||
available at `ws://localhost:18789` unless you override the OpenClaw gateway
|
||||
@@ -98,7 +97,6 @@ curl -X POST http://localhost:8003/api/runtime/start \
|
||||
Optional OpenClaw REST surface:
|
||||
|
||||
```bash
|
||||
python -m uvicorn backend.apps.openclaw_service:app --host 0.0.0.0 --port 8004 --reload
|
||||
```
|
||||
|
||||
## Runtime Responsibilities
|
||||
@@ -194,7 +192,6 @@ RUNTIME_SERVICE_URL=http://localhost:8003
|
||||
OPENCLAW_SERVICE_URL=http://localhost:18789
|
||||
```
|
||||
|
||||
Note that `OPENCLAW_SERVICE_URL` currently points at the OpenClaw gateway origin used by the live WebSocket bridge, not the optional REST app on `:8004`.
|
||||
|
||||
### Frontend service targets
|
||||
|
||||
@@ -229,7 +226,6 @@ There are two separate OpenClaw integration surfaces in this repo:
|
||||
- OpenClaw WebSocket gateway on `:18789`
|
||||
- used directly by `backend/services/gateway.py`
|
||||
- this is what `start-dev.sh` assumes exists
|
||||
- `backend.apps.openclaw_service` on `:8004`
|
||||
- optional REST facade over OpenClaw CLI-backed reads
|
||||
- useful for typed client access and service-level testing
|
||||
|
||||
@@ -256,8 +252,6 @@ backend.apps.trading_service
|
||||
backend.apps.news_service
|
||||
└─ read-only explain/news contract
|
||||
|
||||
backend.apps.openclaw_service
|
||||
└─ optional OpenClaw REST facade
|
||||
|
||||
backend.gateway_server
|
||||
└─ Gateway subprocess entry point (run-scoped)
|
||||
|
||||
Reference in New Issue
Block a user