Files
the_order/infra
defiQUG 3d43155312 feat: expand test coverage and configure comprehensive alerting
- 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
2025-11-13 10:04:32 -08:00
..

Infrastructure

Infrastructure as code for The Order.

Directory Structure

  • terraform/ - Terraform configurations
  • k8s/ - Kubernetes manifests and Helm charts
  • gateways/ - API gateway and proxy configurations
  • cicd/ - CI/CD templates and scripts

Getting Started

  1. Terraform: Set up cloud infrastructure

    cd terraform
    terraform init
    terraform plan
    terraform apply
    
  2. Kubernetes: Deploy applications

    cd k8s
    kubectl apply -k overlays/dev
    
  3. Gateway: Configure API gateway

    cd gateways
    # Apply gateway configuration
    

Environments

  • Development: Local development environment
  • Staging: Pre-production environment
  • Production: Live production environment

Security

  • Secrets management via SOPS and KMS
  • Network policies and security groups
  • WAF rules for API protection
  • TLS/SSL certificates
  • Regular security audits

Monitoring

  • Prometheus for metrics
  • Grafana for dashboards
  • OpenTelemetry for tracing
  • ELK/OpenSearch for logging

Documentation

See individual README files in each subdirectory for more details.