test(smoke): bash + curl + jq script per i 6 MCP
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Smoke locale Cerbero_mcp
|
||||
|
||||
```bash
|
||||
# da repo root Cerbero_mcp/
|
||||
docker compose up -d
|
||||
bash tests/smoke/run.sh
|
||||
docker compose down
|
||||
```
|
||||
|
||||
Il file `run.sh` verifica:
|
||||
- `/health` di tutti i 6 MCP (atteso `200`)
|
||||
- `environment_info` dei 4 exchange (atteso shape `{environment, source, env_value, base_url, max_leverage}`)
|
||||
|
||||
Variabili di ambiente:
|
||||
- `GATEWAY` — URL base gateway (default `http://localhost:8080`)
|
||||
- `TOKEN_FILE` — path al token bearer di lettura (default `secrets/observer.token`)
|
||||
|
||||
Exit code 0 = tutto OK, 1 = uno o più check falliti.
|
||||
Reference in New Issue
Block a user