refactor: consolidate to handler-base, migrate to pyproject.toml, add tests

This commit is contained in:
2026-02-02 07:11:08 -05:00
parent 50b1835688
commit 3f1e05eaad
10 changed files with 594 additions and 577 deletions

View File

@@ -61,13 +61,9 @@ The bridge publishes status updates as the workflow progresses:
- `failed` - Failed
- `error` - System error
## Variants
## Implementation
### pipeline_bridge.py (Standalone)
Self-contained service with pip install on startup. Good for simple deployments.
### pipeline_bridge_v2.py (handler-base)
Uses handler-base library for standardized NATS handling, telemetry, and health checks.
The pipeline bridge uses the [handler-base](https://git.daviestechlabs.io/daviestechlabs/handler-base) library for standardized NATS handling, telemetry, and health checks.
## Environment Variables
@@ -81,11 +77,10 @@ Uses handler-base library for standardized NATS handling, telemetry, and health
## Building
```bash
# Standalone version
docker build -t pipeline-bridge:latest .
# handler-base version
docker build -f Dockerfile.v2 -t pipeline-bridge:v2 --build-arg BASE_TAG=latest .
# With specific handler-base tag
docker build --build-arg BASE_TAG=latest -t pipeline-bridge:latest .
```
## Testing