Commit Graph

6373 Commits

Author SHA1 Message Date
Henning Poettker
fe26d00744 Add JobRegistrySmartInitializingSingleton 2024-02-06 14:02:20 +01:00
Mahmoud Ben Hassine
c61670bb81 Fix bean configuration in DefaultBatchConfiguration
Before this commit, the dependency injection style used to
define some infrastructure beans was incompatible with the
bean method proxying being disabled.

This commit fixes the issue by injecting dependencies through
the parameters of bean definition methods.

Resolves #4543
2024-02-06 10:27:14 +01:00
Alexander Afanasiev
bf3f00d35d Fix error message
Issue #4528
2024-01-22 14:29:09 +01:00
Mahmoud Ben Hassine
ff69215ddc Upgrade Spring dependencies to latest snapshots 2024-01-22 11:54:10 +01:00
Robert McNees
9d139b565d Modified calculating order for DefaultStateTransitionComparator
Resolves #3996
2024-01-15 15:26:56 +01:00
Robert McNees
21555c093e Updated documentation and added unit tests for flow builder priority
Fixes #4456
2023-12-21 14:48:44 +01:00
Henning Poettker
0d1d89c82f Use annotation @Override consistently 2023-12-19 13:35:46 +01:00
Mahmoud Ben Hassine
52beef2dac Fix javadocs deployment script
Resolves #4511
2023-12-15 10:46:40 +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
2d30b63788 Update extension build workflow 2023-12-01 18:16:45 +01:00
Mahmoud Ben Hassine
7be7f45645 Fix extension build workflow 2023-12-01 18:05:09 +01:00
Mahmoud Ben Hassine
27dcdb6ca8 Add workflow to build spring batch extensions 2023-12-01 17:58:07 +01:00
Mahmoud Ben Hassine
90497bc749 Remove unused workflow 2023-12-01 15:55:47 +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
63679fd4df Prepare release 5.1 2023-11-22 15:48:43 +01:00
Mahmoud Ben Hassine
48509ff866 Update what's new section for 5.1 2023-11-22 15:25:21 +01:00
Mahmoud Ben Hassine
6c374ff494 Update Javadocs with "since" tag for 5.1 2023-11-22 12:35:34 +01:00
Henning Poettker
29d574734f Adjust non-compiling code in documentation
Resolves #4406
2023-11-21 23:56:04 +01:00
Henning Poettker
89e0a0cd86 Deprecate overrides of StepBuilderHelper#repository for removal 2023-11-21 23:19:03 +01:00
Mahmoud Ben Hassine
dde5455e40 Update step injection style in flow examples
Resolves #4460
2023-11-21 19:55:09 +01:00
Mahmoud Ben Hassine
a1b1ede35b Fix Javadoc in DefaultFieldSet and DefaultFieldSetFactory
Resolves #4494
2023-11-21 10:20: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
03d28330c2 Fix NPE in RepeatTemplate
Resolves #1123
2023-11-20 15:10:30 +01:00
hwan33
dcd1ac8b52 Update documentation about serializable keys in the execution context
Resolves #4457
2023-11-17 14:30:05 +01:00
Mahmoud Ben Hassine
41f0fc803b Reinstate FAQ
Reinstated from https://docs.spring.io/spring-batch/docs/2.2.x/faq.html
and will be updated incrementally over time.

Resolves #3878
2023-11-16 15:33:06 +01:00
Mahmoud Ben Hassine
c6497b690e Update ER diagram
Generated with MySQL Workbench using
the "Reverse Engineer" feature.

Resolves #4358
2023-11-15 16:16:21 +01:00
Mahmoud Ben Hassine
9d82a2a72d Fix code formatting 2023-11-15 11:56:03 +01:00
Mahmoud Ben Hassine
6ba7c639a4 Clarify documentation about throttling deprecation
Resolves #4389
2023-11-15 11:44:01 +01:00
Alexey Orlyansky
42dd1442dd Add test for adding steps to a Flow via "next"
Related to #4432
2023-11-14 17:03:01 +01:00
injae.kim
4a67b22e90 Fix infinite loop in FlowBuilder#next()
Resolves #4432
2023-11-14 16:43:05 +01:00
Mahmoud Ben Hassine
7fd34829f9 Add packages versions in antora-maven-plugin configuration 2023-10-20 09:25:34 +02:00
Mahmoud Ben Hassine
4cac9be52e Update antora-ui-spring to version 0.4.7 2023-10-19 11:57:06 +02:00
Mahmoud Ben Hassine
2c283e94cf Upgrade Spring dependencies to latest snapshots 2023-10-19 11:26:05 +02: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
11f6ca51e0 Prepare release 5.1.0-RC1 2023-10-18 11:41:44 +02:00
Jan-Willem Willebrands
b2a287da93 Copy missing Context keys from JobParameters
Fix DefaultJobParametersExtractor to copy values from JobParameters when
they are missing from ExecutionContext. Javadoc states this class is
supposed to do just that, but seems to have broken in the 5.x API revamp.

Resolves #4458
2023-10-18 10:21:03 +02:00
Mahmoud Ben Hassine
5598e180a2 Add a "Two minutes tutorial" to the README
Issue #4329
2023-10-18 09:42:59 +02:00
Mahmoud Ben Hassine
9f56a50b2e Add hello world sample
Issue #4329
2023-10-17 16:05:45 +02:00
Mahmoud Ben Hassine
db7fa32753 Refactor samples to use a common datasource configuration
Issue #4329
2023-10-17 15:30:04 +02:00
Mahmoud Ben Hassine
746ffab09d Update samples
- Restructure contexts
- Remove unused resources
- Remove irrelevant tests

Issue #4329
2023-10-17 13:39:26 +02:00
Henning Poettker
f7ec69e891 Take care of some deprecations 2023-10-13 22:19:24 +02:00
Henning Poettker
cf1f34b4f9 Use more SynchronizedItemReader in tests 2023-10-13 22:05:32 +02:00
Henning Poettker
1d097c2e31 Replace deprecated RetryListenerSupport 2023-10-13 21:35:11 +02:00
Mahmoud Ben Hassine
b2a0d0343e Rename samples base package to org.springframework.batch.samples 2023-10-11 20:50:11 +02:00
Mahmoud Ben Hassine
da8e92be0a Remove unused resources and outdated/deprecated samples 2023-10-11 20:19:50 +02:00
Mahmoud Ben Hassine
474b3f4cf2 Restructure samples by feature 2023-10-11 18:46:21 +02:00
Mahmoud Ben Hassine
b1ac90df68 Add java configuration for the multi-record type sample
Issue #3663
2023-10-04 17:46:36 +02:00
Mahmoud Ben Hassine
0141fc578b Add java configuration for the Repository item reader/writer sample
Issue #3663
2023-10-03 22:43:14 +02:00