Files
soleprint/artery/shunts/__init__.py
2025-12-31 09:07:27 -03:00

19 lines
522 B
Python

"""
Shunts - Fake connectors for testing.
A shunt redirects flow when the real service isn't available.
Each shunt mimics a vein's interface with configurable responses.
Structure:
shunts/<service>/
├── main.py # FastAPI with config UI
├── depot/
│ └── responses.json # Configurable fake responses
└── README.md
Usage:
1. Start the shunt instead of the real vein
2. Configure responses via the UI or responses.json
3. Run tests against the shunt
"""