Commit Graph

6399 Commits

Author SHA1 Message Date
Jimmy Praet
ff0fb97272 Implement jumpToItem in JsonItemReader
Issue #4557
2024-04-18 12:55:39 +02:00
Fabio Molignoni
dbd2089c47 Set default ignoreWarnings to true in JdbcCursorItemReaderBuilder
Resolves #4570
2024-04-16 14:57:33 +02:00
jinwoo-Bae
5a261fa7c6 Add support for query hints in JPA Item Readers
Enhanced `JpaCursorItemReader`, `JpaCursorItemReaderBuilder`,
`JpaPagingItemReader`, and `JpaPagingItemReaderBuilder` with
query hints configuration. The inclusion of query hints in both
cursor and paging item readers improves query execution strategies,
optimizing performance for complex data retrieval scenarios.

Resolves #4479
2024-04-02 15:49:31 +02:00
Mahmoud Ben Hassine
d1bd7711c3 Add native runtime hints for remote partitioning types
Resolves #4564
2024-03-25 11:26:51 +01:00
Mahmoud Ben Hassine
765baa20f7 Fix test 2024-03-25 10:04:01 +01:00
Mahmoud Ben Hassine
9a2b1bbc96 Fix code formatting 2024-03-22 17:39:08 +01:00
Mahmoud Ben Hassine
d9709ef954 Improve the process of job registration
This commit changes the way of populating the default
job registry from using a BeanPostProcessor to using
a JobRegistrySmartInitializingSingleton. This change
resolves warnings about beans being eagerly injected
into currently created BeanPostProcessors and prevents
lifecycle issues about early bean initializations.

It also deprecates JobRegistryBeanPostProcessor in favor
of JobRegistrySmartInitializingSingleton.

Resolves #4547
2024-03-22 15:40:52 +01:00
injae-kim
692e7699c2 Fix SystemCommandTasklet to propagate error when exit status is failed
Fixes #4483
2024-03-15 11:09:03 +01:00
Robert McNees
d779cadcc6 Change DefaultStateTransitionComparator ordering to match logical flow execution
Resolves #4527
2024-03-14 17:53:17 +01:00
Mustafa Yanar
a4a8ab7aaa Fix output chunk end property in ChunkProcessor implementations
Resolves #4560
2024-03-14 11:49:35 +01:00
hwan33
e785391915 Fix misleading documentation regarding the ItemWriteListener
Resolves #4400
2024-03-11 16:50:33 +01:00
Baljit Singh
fdafb490cc Avoid collection copying 2024-03-11 12:06:48 +01:00
Yejin Choi
6334fbf870 Fix incorrect code example in documentation
Issue #4550
2024-03-08 14:43:43 +01: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
Mario Petrovski
376d84888f Update deprecated code that uses StepExecutionListenerSupport
Closes #4538
2024-03-07 10:32:37 +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
Mahmoud Ben Hassine
01cb0aefd2 Fix deprecations in MongoPagingItemReader
Resolves #4552
2024-02-19 14:16:43 +01:00
Henning Poettker
894f9f96d9 Let SimpleJobRepository#deleteJobInstance delete corresponding step executions
Resolves #4382
2024-02-15 16:45:13 +01:00
Mahmoud Ben Hassine
d8d76ab58c Fix exception when parsing empty values in DefaultJobParametersConverter
Resolves #4505
2024-02-14 15:01:59 +01:00
Taeik Lim
c3691900c2 Remove static imports in production code
Signed-off-by: Taeik Lim <sibera21@gmail.com>
2024-02-13 16:38:26 +01:00
Henning Poettker
74520a597a Check dirty flag of step execution context before update in inner loop 2024-02-12 11:09:02 +01:00
Jonas Bjørge Andersen
aa608246c1 Fix javadoc referencing Long when it should be Double
Resolves #4526
2024-02-12 10:49:16 +01:00
Mahmoud Ben Hassine
ee4d03f1ed Exclude slf4j-api transitive dependency from sqlite-jdbc 2024-02-09 10:20:04 +01:00
Mahmoud Ben Hassine
b314c14fa1 Update antora-extensions to v1.8.2
Issue #4534
2024-02-09 10:16:25 +01:00
Mahmoud Ben Hassine
d6b6361e59 Refine contribution #4521
- Update reference documentation
- Minor test updates
2024-02-06 15:21:47 +01:00
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