Commit Graph

6346 Commits

Author SHA1 Message Date
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
Mahmoud Ben Hassine
84fe5048d6 Add java configuration for the JPA sample
Issue #3663
2023-10-03 21:20:21 +02:00
Mahmoud Ben Hassine
327faa801a Refactor the JSON job sample
Issue #3663
2023-10-03 16:51:26 +02:00
Henning Poettker
11e653287f Upgrade Avro to 1.11.3 2023-10-02 14:29:19 +02:00
Mahmoud Ben Hassine
f4bb0c7aac Restructure test resources in samples 2023-10-02 11:57:36 +02:00
Mahmoud Ben Hassine
e42167b52d Add java configuration for the multi-line job sample
Issue #3663
2023-10-02 10:48:16 +02:00
Mahmoud Ben Hassine
7bb5ca726f Add java configuration for the multi-resource job sample
Issue #3663
2023-10-02 08:49:41 +02:00
Mahmoud Ben Hassine
bb8d267b5d Add java configuration for the XML file import sample
Issue #3663
2023-09-26 10:55:16 +02:00
Mahmoud Ben Hassine
43e7c8c9f1 Add java configuration for the fixed length file import sample
Issue #3663
2023-09-26 10:55:16 +02:00
Mahmoud Ben Hassine
2750238462 Add java configuration for the delimited file import sample
Issue #3663
2023-09-26 10:55:16 +02:00
Mahmoud Ben Hassine
8b0007ac91 Add java configuration for the Jdbc paging sample
Issue #3663
2023-09-25 11:18:09 +02:00
Mahmoud Ben Hassine
5f12a83609 Add java configuration for the Jdbc cursor sample
Issue #3663
2023-09-25 10:51:38 +02:00
Mahmoud Ben Hassine
1eab6f63ed Move AMQP sample to rabbitmq package
Issue #3663
2023-09-25 09:25:57 +02:00
Mahmoud Ben Hassine
e693879144 Add java configuration for the Football Job sample
Issue #3663
2023-09-22 13:25:26 +02:00
Mahmoud Ben Hassine
4f6f31d94b Update build to skip the deployment of spring-batch-docs jar 2023-09-22 10:07:50 +02:00
Mahmoud Ben Hassine
c7ac3ef9c3 Upgrade Spring dependencies to latest snapshots 2023-09-21 16:50:33 +02:00
Mahmoud Ben Hassine
ac5825758c Add missing deprecation note
This should have been part of 1ff04d53

Issue #2218
2023-09-21 15:32:52 +02:00
Mahmoud Ben Hassine
e708bf23a1 Refactor AMQP sample to use TestContainers for RabbitMQ
Issue #4052
2023-09-21 12:55:01 +02:00
Mahmoud Ben Hassine
008e582f9f Update slf4j configuration in samples 2023-09-21 12:28:51 +02:00
Glenn Renfro
7f0d06fcc6 Add sample for AMQP Reader and writer using java configuration
Issue #3663
2023-09-21 11:56:02 +02:00
Mahmoud Ben Hassine
4e2b5d2bc7 Fix documentation upload workflow 2023-09-20 10:13:46 +02:00
Mahmoud Ben Hassine
3fddcd6949 Update documentation upload workflow 2023-09-20 09:51:54 +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
Mahmoud Ben Hassine
0f8eb0eb85 Prepare release 5.1.0-M3 2023-09-20 07:43:05 +02:00
Mahmoud Ben Hassine
fbaa054277 Update what's new section for 5.1.0-M3 2023-09-19 11:21:32 +02:00
Mahmoud Ben Hassine
6eeaf4d256 Add warning for missing optional keys in DefaultJobParametersValidator
Before this commit, the DefaultJobParametersValidator
was failing when an optional key is missing.

This commit changes the default validator to only log
a warning in this case.

Resolves #4073
2023-09-18 17:25:12 +02:00
Mahmoud Ben Hassine
69c6839415 Add support to specify the database type with EnableBatchProcessing
Resolves #4320
2023-09-18 10:27:10 +02:00