customer-orders-bff/docs/runbooks/containerization.md

1.5 KiB

Containerization Runbook

Image Build

If the repo consumes internal packages from Gitea, pass feed credentials as build args.

docker build   --build-arg NUGET_FEED_USERNAME=<gitea-login>   --build-arg NUGET_FEED_TOKEN=<gitea-token>   -t agilewebs/customer-orders-bff:dev .

Local Run

docker run --rm -p 8080:8080 --name customer-orders-bff agilewebs/customer-orders-bff:dev

Health Probe

  • Path: /health
  • Fallback path: /healthz
  • Port: 8080

Runtime Notes

  • Exposes REST edge endpoints for customer order lifecycle flows.
  • Requires OperationsService__BaseAddress to resolve the upstream operations-service runtime.
  • Requires ThalosAuth__BaseAddress to resolve Thalos session introspection endpoint.
  • Returns standardized auth failures (401|403|503) with x-correlation-id propagation.

Health Endpoint Consistency

  • Canonical probe: /health
  • Compatibility probe: /healthz
  • Container port: 8080

Demo Integration

  • Participates in: restaurant demo compose stack.
  • Integration artifact path: greenfield/demo/restaurant/docker-compose.yml

Known Limitations

  • Customer-orders now delegates workflow snapshots to operations-service, which projects persisted shared lifecycle state from operations-dal.
  • Kitchen and POS visibility still depend on the remaining Stage 46-48 restaurant flow tasks being wired end-to-end.
  • Demo PostgreSQL seeds validate integration contracts and smoke determinism, but do not yet imply full persistence implementation parity.