- Add UserResponse for user management endpoints
- Add RoleResponse for role management endpoints
- Add PermissionResponse for permission management endpoints
- Add MenuResponse for flat menu list endpoints
- Add MenuTreeResponse for hierarchical menu structure
- Add MeResponse for current user information endpoint
These DTOs align with the SystemController and MeController endpoints
for complete system management functionality.
Co-authored-by: Qwen-Coder <[email protected]>
- Create SECURITY.md with vulnerability disclosure policy
- Create docs/README.md as documentation index page
- Create docs/observability.md with metrics/logs/traces/alerting/SLO specs
- Create docs/runbook.md with troubleshooting scenarios (RB-01 to RB-05)
- Create docs/security.md with security design and compliance
- Create docs/release.md with versioning and rollback strategies
- Create docs/database.md with database design and migration strategy
- Create docs/adr/0005-cache-error-handler.md for cache error handling ADR
- Update README.md with documentation index section
- Update docs/architecture.md to update B-7 rule and add trust boundary section
- Create docs/api-guide.md with API specifications
- Fix method names in OrderDao.java to match OrderMapper interface
- Add Spring Boot Actuator dependency to tmpl-infrastructure
- Fix Redis ping method in RedisHealthContributor.java
- Fix syntax errors and method names in OrderAppService.java
Co-authored-by: Qwen-Coder <[email protected]>
- Implement dual-tier security with ActuatorSecurityConfig having higher priority
- Add metrics collection for order creation with tenant tagging
- Enhance cache resilience with graceful error handling
- Create custom Redis ping health indicator
- Add comprehensive K8s deployment manifests with Kustomize overlays
- Update OrderController to align with Batch 8 AppService methods
- Configure management endpoints with separate port in production
- Add deployment scripts for image tag updates
Co-authored-by: Qwen-Coder <[email protected]>
- Create ErrorCode enum with comprehensive error codes
- Create DomainException as base class for business exceptions
- Implement TenantScope value object for tenant context
- Implement TenantContext with ThreadLocal management
- Add SecurityLogMarker constants for security events
- Add comprehensive unit tests for all components
- Follow M2 architecture specifications for error handling and multi-tenancy
Co-authored-by: Qwen-Coder <[email protected]>
- Create parent POM with multi-module structure
- Set up four modules: tmpl-domain, tmpl-application, tmpl-infrastructure, tmpl-api
- Configure Spring Boot 3.4.1 with Java 21
- Add application configurations for dev/staging/prod
- Set up logging with structured JSON output
- Configure database with PostgreSQL and Flyway
- Add security configuration with minimal setup
- Include docker-compose for local development
- Add all necessary build and dependency management plugins
Co-authored-by: Qwen-Coder <[email protected]>