Files
java21-template/tmpl-api/src/main/resources/application-dev.yml
T
Bruno GaoandQwen-Coder a6a016e5ea feat: Batch 9 - Actuator security, metrics, cache resilience and K8s deployments
- 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 <qwen-coder@alibabacloud.com>
2026-02-12 19:22:08 +08:00

36 lines
781 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
spring:
datasource:
url: jdbc:postgresql://localhost:5432/tmpl_dev
username: postgres
password: postgres
jpa:
show-sql: true
data:
redis:
host: localhost
port: 6379
profiles:
include: redis
# ====== Batch 9 dev 覆盖 ======
# dev 环境管理端口合并到业务端口(仅本地开发便利)。
# prod/staging 使用独立管理端口 9090,通过网络策略隔离。
# actuator SecurityFilterChain(Order=1)在任何端口配置下都独立生效。
management:
server:
port: ${server.port:8080}
endpoint:
health:
show-details: always
show-components: always
app:
security:
header-compat: true
cache:
enabled: true
logging:
level:
com.ljwx.tmpl: DEBUG
org.hibernate.SQL: DEBUG