359 Commits

Author SHA1 Message Date
Mahmoud Ben Hassine
d95397faf0 Move job and step APIs in their dedicated packages
Resolves #4877
2025-06-12 10:45:08 +02:00
Mahmoud Ben Hassine
90f7398222 Move listener APIs under core.listener package
Resolves #4867
2025-06-09 12:32:56 +02:00
Stefano Cordio
74975c506d Introduce ErrorProne, fix compiler warnings
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
2025-06-04 00:53:02 +02:00
Yanming Zhou
549c1ef7c7 Add version to delete sql for optimistic locking
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-06-03 23:35:48 +02:00
Mahmoud Ben Hassine
46d42ab757 Rename JobRepositoryFactoryBean to JdbcJobRepositoryFactoryBean
Resolves #4829
2025-05-06 18:43:55 +02:00
Mahmoud Ben Hassine
9d38aceade Update JUnit Jupiter to version 5.12.2 2025-04-29 08:25:30 +02:00
Mahmoud Ben Hassine
d469ae459d Update development version to 6.0.0-SNAPSHOT 2025-03-20 11:57:10 +01:00
Mahmoud Ben Hassine
961734b260 Next development version 2025-03-19 16:31:34 +01:00
Mahmoud Ben Hassine
503adc2324 Release version 5.2.2 2025-03-19 16:31:09 +01:00
Stefano Cordio
e366dcb197 Honor @NestedTestConfiguration semantic in BatchTestContextCustomizerFactory
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
2025-02-24 11:06:12 +01:00
Mahmoud Ben Hassine
70b8576426 Next development version 2024-12-18 21:38:44 +01:00
Mahmoud Ben Hassine
a8a458f6e1 Release version 5.2.1 2024-12-18 21:38:26 +01:00
Mahmoud Ben Hassine
2a223b0f3b Next development version 2024-11-21 09:32:57 +01:00
Mahmoud Ben Hassine
ade546bf0e Release version 5.2.0 2024-11-21 09:32:29 +01:00
Mahmoud Ben Hassine
cf44ca834b Next development version 2024-10-23 19:54:55 +02:00
Mahmoud Ben Hassine
0911e8950e Release version 5.2.0-RC1 2024-10-23 19:54:39 +02:00
Mahmoud Ben Hassine
a164022775 Next development version 2024-10-12 00:47:02 +02:00
Mahmoud Ben Hassine
8319c546f8 Release version 5.2.0-M2 2024-10-12 00:46:40 +02:00
Mahmoud Ben Hassine
6489ae1834 Next development version 2024-09-18 10:30:37 +02:00
Mahmoud Ben Hassine
eae2ef636f Release version 5.2.0-M1 2024-09-18 10:30:19 +02:00
Mahmoud Ben Hassine
936cb115c4 Remove unused imports 2024-04-29 12:12:20 +02:00
Mahmoud Ben Hassine
b812492798 Remove deprecated APIs scheduled for removal in v5.2
Resolves #4398
2024-04-24 16:07:12 +02:00
Taeik Lim
fb180404cb Make util classes to follow style guide
Signed-off-by: Taeik Lim <sibera21@gmail.com>

Issue #4545
2024-03-07 11:15:35 +01:00
Mahmoud Ben Hassine
4b8e504972 Refine contribution #4471
- Update tests
- Move test class to the core module
2024-02-20 11:36:59 +01:00
Ilpyo-Yang
b9ba8ffb86 Add AbstractTaskletStepBuilder copy constructor
This commit includes tests for the copy constructor
of AbstractTaskletStepBuilder and for the faultTolerant
method, specifically after taskExecutor has been set.
2024-02-19 14:32:22 +01:00
Henning Poettker
0d1d89c82f Use annotation @Override consistently 2023-12-19 13:35:46 +01:00
Mahmoud Ben Hassine
7907a0aab2 Update next development version to 5.2.0-SNAPSHOT 2023-12-13 11:05:16 +01:00
Mahmoud Ben Hassine
4f0fe71110 Next development version 2023-11-22 17:00:51 +01:00
Mahmoud Ben Hassine
ebedd02e21 Release version 5.1.0 2023-11-22 17:00:26 +01:00
Mahmoud Ben Hassine
ad50599d28 Fix disposable bean lifecycle in JobScope test utilities
Before this commit, the destroy method of a job-scoped
bean was not called after a test method.

This commit changes the listener to respect the
DisposableBean contract for job-scoped beans (and make it
consistent with the calls to the JobSynchronizationManager
in AbstractJob, ie calling register/release).

FTR, I did not find a clean way to test this with an
assertion (which should be made after the test method),
but a log message in the destroy method shows that the
method is now called as expected.

Resolves #1288
2023-11-21 09:41:28 +01:00
Mahmoud Ben Hassine
691ac09eb1 Next development version 2023-10-18 15:14:43 +02:00
Mahmoud Ben Hassine
3a9c468c9c Release version 5.1.0-RC1 2023-10-18 15:14:27 +02:00
Mahmoud Ben Hassine
31fc2cecd2 Next development version 2023-09-20 09:29:32 +02:00
Mahmoud Ben Hassine
63a039358a Release version 5.1.0-M3 2023-09-20 09:29:06 +02:00
Sukanth Gunda
3eb7e09faa Add Automatic module name to MANIFEST.MF
Resolves #867
2023-09-11 07:57:13 +02:00
Mahmoud Ben Hassine
75025a2470 Next development version 2023-08-23 18:32:43 -07:00
Mahmoud Ben Hassine
f4e9eea4e4 Release version 5.1.0-M2 2023-08-23 18:32:16 -07:00
Shaoqiang Lu
1add2830f5 Auto-detect the class/interface to be mocked
Issue #4426
2023-08-03 09:51:59 +02:00
Mahmoud Ben Hassine
caa451551f Next development version 2023-07-19 11:14:48 +02:00
Mahmoud Ben Hassine
b874b794c8 Release version 5.1.0-M1 2023-07-19 11:14:01 +02:00
Mahmoud Ben Hassine
5e849c6c95 Document the type and name of the surrounding job in JobLauncherTestUtils#launchStep
Resolves #3825
2023-07-17 11:08:38 +02:00
Mahmoud Ben Hassine
52064c0541 Code cleanup
- Inline variables
- Remove unused variables
- Remove redundant array creation
- Remove redundant `@SuppressWarnings`
- Remove unnecessary exceptions from throws list
- Remove redundant initializers
- Use List.subList().clear() where appropriate
- Use try-with-resources where needed
- Use pattern variables where appropriate
2023-07-12 23:25:18 +02:00
Mahmoud Ben Hassine
d937a61603 Upgrade version to 5.1.0-SNAPSHOT 2023-07-06 09:35:22 +02:00
Mahmoud Ben Hassine
f82c16b825 Fix javadoc errors and warnings
Resolves #1624
2023-07-06 06:46:26 +02:00
Mahmoud Ben Hassine
0a1cdb095f Mark fields as final where appropriate 2023-07-05 08:03:48 +02:00
Mahmoud Ben Hassine
5c8cb7663f Make inner classes static 2023-07-04 21:03:55 +02:00
Mahmoud Ben Hassine
167f3c427d Remove usage of raw parametrized types 2023-07-04 19:03:18 +02:00
Mahmoud Ben Hassine
96f8d6bd35 Replace anonymous types with lambda expressions or method references 2023-07-04 18:50:16 +02:00
Mahmoud Ben Hassine
07154909a1 Refactor tests in spring-batch-test
- Remove unused resources
- Merge duplicate data source configuration
2023-06-27 15:35:15 +02:00
Mahmoud Ben Hassine
51f6357e91 Move ObservabilitySampleStepTests to spring-batch-core
This test class dot not belong to the spring-batch-test module.
2023-06-22 10:22:46 +02:00