Reading map, tip by tip
The chapters below are the ones that cover what each review found, from the books in the library. Where two books cover the same ground the first is the one to read first.
tip | what it settles | read |
|---|---|---|
| 3 startup chain | which phase each failure dies in; readiness includes the index bootstrap | Spring Boot: Up and Running (Heckler) ch. 1 and 5; Spring Boot in Action (Walls) ch. 2 and 7 |
| 4 versions | the BOM decides; an inline version is a NoSuchMethodError waiting | Spring Boot in Action ch. 2 (starters); Spring Boot 2 Recipes ch. 1 and 2 |
| 5 auto-configuration | conditions, back-off, the three override paths | Mastering Spring Boot 2.0 ch. 2; Spring Boot in Action ch. 3 |
| 6 configuration | precedence, typed properties, no default for a secret | Spring in Action 5e ch. 5 (configuration properties); Spring Boot: Up and Running ch. 5 |
| 7 profiles | a profile names a kind of environment, not a bin of overrides | Spring in Action 5e ch. 5; Pro Spring Boot on profiles |
| 8 one web request | filter chain, DispatcherServlet, ProblemDetail error contract | Spring in Action 5e ch. 2 and 6; Spring REST (Varanasi) ch. 5 (errors), ch. 7 (versioning) |
| 9 security | one filter chain, token to principal, the tenant is a claim | Spring Security in Action (Spilca) ch. 5 (authentication), 9 (filters), 12 to 15 (OAuth 2, JWT) |
| 10 datasource | HikariCP is the ceiling; batch inserts and IDENTITY | Spring Boot Persistence Best Practices (Leonard) ch. 6 (connections and transactions), 10 (DataSource and pool), 4 (batching) |
| 11 transactions | proxy interception, the network call outside the transaction | Persistence Best Practices ch. 6; Pro Spring 5 on transaction management; Spring in Action 5e ch. 3 |
| 12 remote HTTP | timeouts first, bounded queue, breaker later | Spring in Action 5e ch. 7 (consuming REST); Spring Microservices in Action (Carnell) ch. 5 (client resiliency) |
| 13 migrations | Flyway baseline, a Job before the rollout, never ddl-auto: update | Persistence Best Practices ch. 12 (schemas); Spring Boot: Up and Running ch. 4 and 6 |
| 14 cache | the key carries the tenant; local caches disagree across replicas | Spring 5 Recipes on caching; Spring Data (O'Reilly) ch. 8 (Redis) |
| 15 scheduling and async | one scheduler thread is a bug; duplicate scheduling across replicas | Spring Boot 2 Recipes ch. 4 (async); Cloud Native Java (Long, Bastani) ch. 4 (batch and tasks) |
| 16 logging | request id and tenant on every line, across threads | Spring Boot: Up and Running ch. 5; Spring Microservices in Action ch. 9 (tracing) |
| 17 test pyramid | slices, one smoke test, one application context | Spring Boot: Up and Running ch. 9; Spring Boot in Action ch. 4; Learn Microservices with Spring Boot ch. 6 |
Three books in the library are worth reading whole rather than by chapter for this codebase: Spring Boot Persistence Best Practices for everything under the outbox, Spring Security in Action for the tenancy model, and Modern API Development with Spring and Spring Boot for the REST conventions the search API follows (plural nouns, versioning, status codes, rate limits).
What the lab already runs for Spring Boot
workload (namespace) | how it is deployed | how it is verified |
|---|---|---|
spring-boot-micrometer-demo ( spring-app ) | Helm chart with Deployment, Service (NodePort 32080), ServiceMonitor at 15 s; owned by a Terraform helm_release ; also an Argo CD Application pointing at the chart path in GitLab | scripts/spring-boot-smoke.sh : ready replicas, endpoints, /actuator/health UP, Prometheus target, rule loaded; Grafana dashboard 4701 |
gs-spring-boot ( gs-spring-boot ) | raw manifest, NodePort 32104, liveness and readiness on the actuator groups | scripts/verify-gs-spring-boot.sh |
spring-batch-web-demo ( spring-batch ) | raw manifest, JAVA_TOOL_OPTIONS for the heap | scripts/verify-spring-batch-web.sh |
spring-ai-rag-demo , spring-ai-alibaba , spring-cloud-alibaba | Argo CD Applications from GitLab repositories, deploy/ path; each has a GitLab CI file and a CI variant of the Application | the shared smoke stage |
spring-es-demo (repo root, Compose) | the origin of search-platform : the Spring plus Elasticsearch series run until each claim passed or was recorded as failing | its own scripts |
The delivery chain, from
gitops/spring-app/OPERATIONS.md , is the one the CI/CD page draws as the target for this repository, already running: GitLab CI builds on merge requests and pushes to Harbor tagged by short sha; a GitLab webhook queues a Jenkins multibranch job that runs the same Jenkinsfile on a different runner as a second opinion; on merge the sync stage patches the Argo CD Application's Helm parameters ( image.repository , image.tag ) and waits for healthy; the smoke stage curls /actuator/health . Credentials are Harbor robot accounts and an Argo CD token, rotated by a script and stored in Vault.Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article