Commit Graph

5654 Commits

Author SHA1 Message Date
Edgar Asatryan
6417065141 Check arguments of MongoItemReader#setSort
Issue #4014
2022-02-23 12:34:17 +01:00
Mahmoud Ben Hassine
d8b8bab95b Update Xstream to version 1.4.19 2022-02-23 12:12:13 +01:00
Mahmoud Ben Hassine
a3967966c7 Update dependencies 2022-02-22 21:00:11 +01:00
me
721d0bb2df change parameterValues check -> CollectionUtils.isEmpty
Resolves #4021
2022-02-22 14:30:05 +01:00
Rohit Sanjay
01a80f842e Fix typos in documentation 2022-02-22 13:57:52 +01:00
Aaron
73bfaf3de4 Fix javadoc of FaultTolerantChunkProvider
FaultTolerantChunkProvider is an implementation
of ChunkProvider, not ChunkProcessor.

Issue #4029
2022-02-18 15:58:33 +01:00
Taeik Lim
b919921dbb Add @Nullable to StepExecution::getEndTime
Issue #4034
2022-02-18 15:02:21 +01:00
Mahmoud Ben Hassine
d0d0c7d0b3 Upgrade Spring dependencies to latest snapshots 2022-02-16 16:18:01 +01:00
Henning Poettker
db2d622145 Adapt H2PagingQueryProvider for H2 v2.x
Issue #4047
2022-01-18 16:11:58 +01:00
Philippe Marschall
4dddb10aa8 Make countStepExecutions access batch_job_execution only once
Change JdbcStepExecutionDao.COUNT_STEP_EXECUTIONS to access the
table batch_job_execution only once.

Issue #3876
2022-01-13 15:56:55 +01:00
Philippe Marschall
f689901254 Simplify GET_LAST_STEP_EXECUTION
Simplify JdbcStepExecutionDao#GET_LAST_STEP_EXECUTION
to use an equi-join instead of an cartesian join and
a subselect.

Issue #3997
2022-01-13 14:00:07 +01:00
Mahmoud Ben Hassine
74df41db72 Document default types of beans registered by EnableBatchProcessing
Resolves #3993
2022-01-12 00:33:13 +01:00
Mahmoud Ben Hassine
cfbe884939 Adapt contribution #4043
This commit adapts the code contributed
in #4043 to be Java 8-compatible with the
v4 branch
2022-01-10 12:16:41 +01:00
Henning Poettker
dab89ccb97 Adjust h2 schema to work with v2.0.x
Issue #4043
2022-01-10 10:17:58 +01:00
Mahmoud Ben Hassine
6317124250 Update dependencies 2022-01-08 23:16:05 +01:00
Mahmoud Ben Hassine
c3f723ab12 Upgrade micrometer version to 1.7
Version 1.5.17 being the last OSS
release in the 1.5.x line, this commit
upgrades micrometer's version to 1.7.x
which should be backward compatible.

Since this upgrade is done in a patch
release, the version is updated to the
least supported version in order to
minimize the gap between minor versions.

While bumping minor versions in patch
releases is not typical, this is a
necessary upgrade to run a supported
version of micrometer.
2021-12-16 12:03:31 +01:00
Mahmoud Ben Hassine
3af939a919 Upgrade Log4j version to 2.16.0 2021-12-15 12:28:00 +01:00
Mahmoud Ben Hassine
39df16cdd0 Update Spring dependencies to latest snapshots 2021-12-15 12:05:57 +01:00
Spring Builds
0de4a17cf5 [artifactory-release] Next development version 2021-11-17 05:02:09 +00:00
Spring Builds
b39aa79926 [artifactory-release] Release version 4.3.4 2021-11-17 05:02:06 +00:00
Mahmoud Ben Hassine
12d70e434c Prepare release 4.3.4 2021-11-17 05:05:33 +01:00
Mahmoud Ben Hassine
15b6b68b17 Update Spring dependencies to latest snapshots 2021-11-03 11:13:01 +01:00
Philippe Marschall
5feea448d5 Make JobParameters#getParameters() immutable
Make  JobParameters#getParameters() immutable and avoid the defensive
copy.

Fixes #3980
2021-10-01 19:41:06 +02:00
Henning Pöttker
781faf1306 Fix multi-threaded empty read for JdbcPagingItemReader
On empty input, the JdbcPagingItemReader cannot derive
a start value for the sort key to be used in further
queries. For multi-threaded steps, it is thus necessary
to prevent the reader from trying to read further pages
if the first page is empty.

Issue #3898
2021-09-24 10:35:13 +02:00
Mahmoud Ben Hassine
86d03d041f Implement equals/hashcode in BatchTestContextCustomizer
Resolves #3940
2021-09-13 21:50:20 +02:00
Rémi Kaeffer
d6178d3e0e Fix double "the" typo everywhere in source code 2021-09-03 19:10:17 +02:00
Henning Pöttker
3fbf38a9c7 Fix HippyMethodInvoker by not considering unsuitable candidates
Resolves #3794
2021-09-03 14:56:21 +02:00
tinh cao
55b47458b3 Remove whitespace to support multiple execution statement
Issue #3861
2021-09-03 11:36:47 +02:00
Mahmoud Ben Hassine
8ce37d1a4d Fix step execution retrieval in SimpleJobExplorer#getLastJobExecution
Before this commit, SimpleJobExplorer#getLastJobExecution returned
the last job execution without fetching its step executions and
their execution contexts.

This commit fixes the implementation to load the entire object
graph as done in SimpleJobExplorer#getJobExecution.

Resolves #3943 #3944
2021-08-27 14:05:57 +02:00
Sanghyuk Jung
2754018a98 Fix typos in document for configuring steps 2021-08-18 21:30:51 +02:00
Ilya Samartsev
c90aa63ca3 Fix NPE in sql exception translation
Resolves #3968
2021-08-18 20:23:45 +02:00
Mahmoud Ben Hassine
a318adb61b Exclude spring-batch-docs from being published to Artifactory
Resolves #3922
2021-05-27 11:03:30 +02:00
Mahmoud Ben Hassine
9dce2cb78c Update Spring dependencies to latest snapshots 2021-05-27 08:43:27 +02:00
Mahmoud Ben Hassine
fa8063fa74 Upgrade gradle version to 6.9
Resolves #3917
2021-05-27 08:18:15 +02:00
Spring Builds
29730dcba8 [artifactory-release] Next development version 2021-05-19 11:53:10 +00:00
Spring Builds
680eac960c [artifactory-release] Release version 4.3.3 2021-05-19 11:53:06 +00:00
Mahmoud Ben Hassine
a4e390edf6 Prepare release 4.3.3 2021-05-19 13:34:14 +02:00
abielewicz
63169f3486 Change the order in which datum writer is selected
Due to GenericRecord being checked before SpecificRecordBase,
GenericDatumWriter was used incorrectly for types that extend
SpecificRecordBase.

Resolves #3859
2021-05-18 17:53:10 +02:00
Taeik Lim
0f931188cb Fix NPE in JobParameters.toProperties on null parameter value
Issue #834
2021-05-18 16:14:50 +02:00
dkjeong
654e3d885c Fix typo in documentation
Issue #3907
2021-05-18 11:21:17 +02:00
Taeik Lim
c68c115771 Fix misused 'end()' in examples
`end()` should be used with `FlowJobBuilder`.

Issue #3902
2021-05-18 10:56:34 +02:00
이동욱
d19f0b5444 Replace ArrayList with LinkedList in ListItemReader
Issue #3782
2021-05-18 10:37:02 +02:00
ChangYong
50cd6fe1c9 Fix code examples in documentation
The changed code examples in this commit used the
`.end()` method which does not exist in `SimpleStepBuilder`.

Issue #3889
2021-05-17 20:00:01 +02:00
Rajesh Chandavaram
284b7dcff8 Improve code example in "Configuring and Running a Job" section
The sample that shows how to provide a custom transaction manager
via a BatchConfigurer has been updated to use the constructor
of `DefaultBatchConfigurer` that takes a DataSource.

Issue #3888
2021-05-17 19:43:58 +02:00
Parikshit Dutta
ff2bcdba07 Updated verifyCursorPosition default to true in JdbcCursorItemReaderBuilder
Issue #3893
2021-05-12 15:09:36 +02:00
Mark Bonnekessel
0c4c660529 Override SimpleStepBuilder.faultTolerant() in FaultTolerantStepBuilder
Override SimpleStepBuilder.faultTolerant() in FaultTolerantStepBuilder
to prevent creation of a new FaultTolerantStepBuilder when calling
faultTolerant() on an existing FaultTolerantStepBuilder. Otherwise
configuration, like chunkListeners, are lost.

Issue #3840
2021-05-11 19:21:26 +02:00
Parikshit Dutta
a90389ff0d Update SimpleStepBuilder to assign ItemProcessor lambda at construction
Issue #3749
2021-05-11 18:42:42 +02:00
Mahmoud Ben Hassine
a5595bf9ee Fix job execution validation in SimpleJobRepository
Before this commit, the logic that validates if a job
instance is complete or not was based only on the size
of previous parameters, without checking if they are
identifying or not.

This commit introduces a change that uses only
identifying job parameters to identify a job instance
and validate its previous executions.

Issue #1221
2021-05-06 15:13:32 +02:00
Mahmoud Ben Hassine
c3b2e26f70 Disable SSL usage in MySQL test container
By default, testcontainers does not use SSL. This commit
disable SSL usage in the datasource configuration to
prevent `SSLHandshakeException`s.
2021-05-04 11:27:06 +02:00
Mahmoud Ben Hassine
ad0fd058b6 Update dependencies 2021-05-04 10:15:39 +02:00