Commit cd2d071
Fix three failing test modules for Spring Boot 4.0 upgrade
batch-rest-repository: Add spring-boot-starter-jdbc (with HikariCP) to fix
"No supported DataSource type found" from DataSourceBuilder.create().
Also disable Jackson 3.x FAIL_ON_TRAILING_TOKENS for JacksonJsonObjectReader.
batch-skip-step: Disable Jackson 3.x FAIL_ON_TRAILING_TOKENS which is
now enabled by default and breaks Spring Batch's JacksonJsonObjectReader.
cloud-jdbc-env-repo: Add DataSource and JdbcTemplate auto-configuration
to bootstrap context via spring.factories so the JDBC environment
repository can be created during Config Server bootstrap.
Agent-Logs-Url: https://github.com/rashidi/spring-boot-tutorials/sessions/45a35581-8e7d-4608-9f4d-38ea0fa68d3b
Co-authored-by: rashidi <380073+rashidi@users.noreply.github.com>1 parent 68901f0 commit cd2d071
4 files changed
Lines changed: 12 additions & 3 deletions
File tree
- batch-rest-repository
- src/main/java/zin/rashidi/boot/batch/rest/user
- batch-skip-step/src/main/java/zin/rashidi/boot/batch/user
- cloud-jdbc-env-repo/src/test/resources/META-INF
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments