-
rei.jin authored
- Refactor auth around commands, handlers, use cases, domain entities, and infra repos (JWT, password, refresh tokens). - Wire OpenAPI routes, mediator handlers, audit logging, and presentation middleware (tracing, logger, metrics). - Add otel-sdk (OTLP gRPC), Winston OTLP log transport, shared otel helpers; fix mssql ESM default import and UoW Transaction. - Add docker-compose services (MSSQL, OpenObserve, collector) and otel-sidecar configs (local gRPC export). - Add scripts/stress-auth-flow, openapi generator, docs (AUTH API, DDD guide, OTEL, worker pool), worker-pool tests. - Expose GET /metrics as JSON hint for OTLP (no Prometheus exposition); quiet /metrics access logs and skip HTTP metric recording for that path. - Coerce DB_PORT from env strings in mssql config. Made-with: Cursor
a97d1dd8