Files
Bruno GaoandQwen-Coder 2fd1eb59ab docs: Complete production-grade documentation set
- 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]>
2026-02-12 21:47:33 +08:00

2.1 KiB

Java 21 Service Template

A production-ready Java 21 service template with Spring Boot 3.4+, Clean Architecture, multi-tenancy, and comprehensive documentation.

Documentation

Complete project documentation is available in the docs/ directory, covering architecture, API specifications, security, database, deployment, observability, operations manuals, release processes, development guidelines, configuration, testing, and architectural decision records.

Core Documentation Description
Architecture Design Layered architecture, ArchUnit rules, multi-tenancy
API Guide Endpoints, request/response formats, error codes
Security Design Authentication, authorization, tenant trust boundaries, compliance
Database Schema, indexing strategies, Flyway migration specs
Observability Metrics, logging, tracing, alerting, SLO/SLA
Operations Manual Troubleshooting guides
Deployment Docker, Kubernetes, Kustomize
Release Process Versioning, release flows, rollback strategies
Development Guide Local environment, IDE, debugging
Configuration Reference Profiles, properties, environment variables
Testing Test layers, Testcontainers, ArchUnit rules, quality gates
ADR Architectural Decision Records
Vulnerability Disclosure Security vulnerability reporting channels and response SLA

Quick Start

For detailed setup instructions, see development.md.

Features

  • Java 21 with Virtual Threads
  • Spring Boot 3.4+ with Clean Architecture (Hexagonal/Ports & Adapters)
  • Multi-tenant SaaS architecture with strict tenant isolation
  • Comprehensive documentation set
  • ArchUnit-enforced architecture rules
  • Production-ready observability and security
  • Docker and Kubernetes deployment ready