- Add unit tests for all core services (identity, intake, finance, dataroom) - Create integration test framework with shared setup utilities - Add E2E test suite for complete user workflows - Add test utilities package (server factory) - Configure Prometheus alert rules (service health, infrastructure, database, Azure) - Add alert rules ConfigMap for Kubernetes - Update Prometheus deployment with alert rules - Fix tsconfig.json to include test files - Add tests/tsconfig.json for integration/E2E tests - Fix server-factory.ts linting issues
Kubernetes Configuration
Kubernetes manifests and Helm charts for The Order.
Structure
base/- Base Kubernetes manifestsoverlays/- Environment-specific overlays (dev, stage, prod)charts/- Helm charts (if using Helm)
Usage
Using Kustomize
# Build dev environment
kubectl kustomize overlays/dev
# Apply dev environment
kubectl apply -k overlays/dev
# Build prod environment
kubectl kustomize overlays/prod
# Apply prod environment
kubectl apply -k overlays/prod
Using Helm
# Install chart
helm install the-order charts/the-order -f charts/the-order/values-dev.yaml
# Upgrade chart
helm upgrade the-order charts/the-order -f charts/the-order/values-prod.yaml
Namespaces
the-order-dev- Development environmentthe-order-stage- Staging environmentthe-order-prod- Production environment
Services
Each service has its own deployment, service, and ingress configuration:
- Intake service
- Identity service
- Finance service
- Dataroom service
- Portal applications
Secrets Management
Secrets are managed using:
- External Secrets Operator
- SOPS-encrypted secrets
- Cloud provider secrets managers
Monitoring
- Prometheus for metrics
- Grafana for dashboards
- OpenTelemetry for tracing
- ELK/OpenSearch for logging