@@ -21,24 +21,24 @@ This checklist is tailored to the current `wrongsecrets` codebase (Spring Boot `
2121
2222### 1) Standardize HTTP error responses with ` ProblemDetail `
2323
24- - [ ] Add a global ` @RestControllerAdvice ` for API endpoints that returns ` ProblemDetail ` .
25- - [ ] Keep MVC HTML error handling as-is for Thymeleaf pages; only modernize JSON API errors.
26- - [ ] Add tests that assert RFC 9457-style payload fields (` type ` , ` title ` , ` status ` , ` detail ` , ` instance ` ).
24+ - [x ] Add a global ` @RestControllerAdvice ` for API endpoints that returns ` ProblemDetail ` .
25+ - [x ] Keep MVC HTML error handling as-is for Thymeleaf pages; only modernize JSON API errors.
26+ - [x ] Add tests that assert RFC 9457-style payload fields (` type ` , ` title ` , ` status ` , ` detail ` , ` instance ` ).
2727
2828** Why now:** Reduces custom exception payload drift and improves API consistency.
2929
3030### 2) Replace new ` RestTemplate ` usage with ` RestClient `
3131
32- - [ ] Stop introducing any new ` RestTemplate ` usage.
33- - [ ] Migrate existing bean in ` WrongSecretsApplication ` from ` RestTemplate ` to ` RestClient.Builder ` .
34- - [ ] Migrate call sites incrementally (start with ` SlackNotificationService ` ).
35- - [ ] Add timeout and retry policy explicitly for outbound calls.
32+ - [x ] Stop introducing any new ` RestTemplate ` usage.
33+ - [x ] Migrate existing bean in ` WrongSecretsApplication ` from ` RestTemplate ` to ` RestClient.Builder ` .
34+ - [x ] Migrate call sites incrementally (start with ` SlackNotificationService ` ).
35+ - [x ] Add timeout and retry policy explicitly for outbound calls.
3636
3737** Current state:** ` RestTemplate ` bean and usage exist and can be migrated safely in phases.
3838
3939### 3) Add/verify deprecation gate in CI
4040
41- - [ ] Run compile with deprecation warnings enabled in CI (` -Xlint:deprecation ` ).
41+ - [x ] Run compile with deprecation warnings enabled in CI (` -Xlint:deprecation ` ).
4242- [ ] Fail build on newly introduced deprecations (can be soft-fail initially).
4343- [ ] Track remaining suppressions/deprecations as explicit TODOs.
4444
@@ -139,8 +139,8 @@ This checklist is tailored to the current `wrongsecrets` codebase (Spring Boot `
139139
140140## Definition of done for Boot 4 adoption
141141
142- - [ ] No new ` RestTemplate ` code introduced.
143- - [ ] API errors are standardized on ` ProblemDetail ` .
144- - [ ] Deprecation warnings are tracked and controlled in CI.
142+ - [x ] No new ` RestTemplate ` code introduced.
143+ - [x ] API errors are standardized on ` ProblemDetail ` .
144+ - [x ] Deprecation warnings are tracked and controlled in CI.
145145- [ ] Observability baseline (metrics, traces, log correlation) is active in non-local profiles.
146146- [ ] Migration choices and rollout decisions are documented in ` docs/ ` .
0 commit comments