Commit Graph

6530 Commits

Author SHA1 Message Date
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
charlie881007
6701606f68 fix typo
Signed-off-by: charlie881007 <65711157+charlie881007@users.noreply.github.com>
2025-02-24 10:59:44 +01:00
Mahmoud Ben Hassine
75edb29d28 Update Javadocs about exception handling when closing composite streams
Related to #4764 and #4750
2025-02-24 10:49:35 +01:00
Elimelec Burghelea
f40ab202a0 Attempt to close all delegate stream readers even when some fail
Signed-off-by: Elimelec Burghelea <elimelec1@protonmail.com>
2025-02-24 10:22:55 +01:00
Elimelec Burghelea
1eac9e9fee Attempt to close all delegate readers even when some fail
Signed-off-by: Elimelec Burghelea <elimelec1@protonmail.com>
2025-02-24 10:22:55 +01:00
Mahmoud Ben Hassine
982ccc1c1c Disable randomly failing/hanging test 2025-02-24 09:42:37 +01:00
Mahmoud Ben Hassine
b4835ef52e Upgrade the job execution status when appropriate in MongoJobExecutionDao
Before this commit, the mongo implementation of job execution DAO
did not upgrade the status of the job execution when synchronizing
the state with the database.

This commit fixes the issue by upgrading the status when appropriate,
similar to the jdbc implementation.

Resolves #4760
2025-02-24 08:39:36 +01:00
Henning Poettker
bbd46fb29d Polish integration tests
In the Mongo integration tests, the application context and in particular the Mongo client are now closed after each test, respectively.

Thread-safety of the fault-tolerance integration steps is improved as they are intermittingly stalling.
2025-02-20 11:25:08 +01:00
Stefano Cordio
98a4228844 Allow CI on any branch, skip CD on forks
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
2025-02-20 11:21:07 +01:00
Elimelec Burghelea
bd8f9a8d76 Attempt to close all delegate writers even when some fail
Issue #4750

Signed-off-by: Elimelec Burghelea <elimelec1@protonmail.com>
2025-02-20 10:03:28 +01:00
Henning Poettker
f758d14ee6 Refactor MultiResourceItemWriter
The `MultiResourceItemWriter` now writes at most `itemCountLimitPerResource`
items per resource where it previously allowed more items when they were
written within the same chunk.

Resolves #1722
2025-02-19 14:56:30 +01:00
kimjg
3b0868db5d Extract bean name string literals to constants
- Extract hardcoded bean name strings to static final constants
- Improve code maintainability and reduce the risk of typos
- No functional changes

Signed-off-by: kimjg <k42ke@naver.com>
2025-02-19 14:05:03 +01:00
Mahmoud Ben Hassine
f888ebb43f Add test cases to cover key generation for empty identifying job parameters set
Related to #4755
2025-01-31 12:43:07 +01:00
Mahmoud Ben Hassine
8e91adb9ab Update CONTRIBUTING.md to include details about the DCO
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2025-01-24 17:31:48 +01:00
Mahmoud Ben Hassine
60f490556d Add dco.yml
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2025-01-24 17:24:43 +01:00
Mahmoud Ben Hassine
e706957eb7 Fix tests
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2025-01-07 13:20:22 +01:00
Mahmoud Ben Hassine
90e7e9fefa Add sample job based on PetClinic application
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2025-01-07 12:07:32 +01:00
Mahmoud Ben Hassine
aa8fb75f1c Update latest news in README.md
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-19 05:59:30 +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
f4f01c56df Add pgp signing in maven-central-release.yml
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-18 21:34:31 +01:00
Mahmoud Ben Hassine
1b773ef7d7 Update maven-central-release.yml
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-18 21:28:41 +01:00
Mahmoud Ben Hassine
6591719063 Update nexus sync action in maven central release process
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-18 21:25:24 +01:00
Mahmoud Ben Hassine
45fdc2dc24 Prepare release 5.2.1
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-18 20:18:41 +01:00
Seungrae
9921c54ba6 Fix incorrect link 2024-12-18 19:44:44 +01:00
Seungrae
72ab701ac0 Fix closing tag for listeners in documentation 2024-12-18 19:44:44 +01:00
Yizheng Wang
a64b44efc1 Add unit tests for ExecutionContext#get methods
Related to #718

Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-18 14:56:17 +01:00
Mahmoud Ben Hassine
27adb97bf9 Clarify wildcard usage to select input files with Java configuration
Resolves #4707

Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-18 12:03:46 +01:00
Mahmoud Ben Hassine
7481cf8a83 Add note about not scoping step beans with job scope
Resolves #3900

Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-18 10:34:42 +01:00
Henning Poettker
2bd3c15587 Add state reset on close of AbstractPaginatedDataItemReader
Resolves #1086
2024-12-17 10:51:43 +01:00
doontagi
76789494d7 Fix unfinished step in parallel flow
Resolves #3939

Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-17 05:30:19 +01:00
Henning Poettker
b831a7d792 Add integration tests for PagingQueryProvider
Adds testcontainers based tests for DB2, MySQL, MariaDB, Postgres, Sql Server and Oracle Database, as well as standard tests for HSQL and SQLite.
2024-12-10 13:18:04 +01:00
Henning Poettker
8f1b24a462 Update implementations of PagingQueryProvider
Replaces the implementation of `DerbyPagingQueryProvider`
with that corresponding to DB2 and adds an integration test
that failed with the previous implementation.

Deprecates `SqlWindowingPagingQueryProvider` for removal,
which was effectively only used by `DerbyPagingQueryProvider`.

Resolves #4733
2024-12-10 13:18:03 +01:00
xeounxzxu
e86bd652bb Add test coverage of isNonDefaultExitStatus in ExitStatusTests
Issue #4690

Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-06 15:56:26 +01:00
Henning Poettker
39c593e150 Fix parsing of the stop element in step XML
Previously, users were forced to set the attribute
`exit-code` of the element to `""` as a work-around
to prevent failing restarts.

Resolves #1287
2024-12-06 14:30:16 +01:00
Henning Poettker
82d9c15b5a Fix job execution retrieval by id for MongoDB
Resolves #4722

Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-12-06 14:10:39 +01:00
Taeik Lim
ba2202a540 Remove repeating 'the the' in docs
Signed-off-by: Taeik Lim <sibera21@gmail.com>
2024-12-03 16:23:05 +01:00
Tran Ngoc Nhan
bf6c72093b Update reference link 2024-12-03 16:17:24 +01:00
Uli
8f34e0c104 fixed class name and grammatical error in docs whatsnew 2024-12-03 15:20:27 +01:00
Mahmoud Ben Hassine
18fe8c72d6 Add link to latest blog post to the latest news section in README.md
Signed-off-by: Mahmoud Ben Hassine <mbenhassine@vmware.com>
2024-11-26 11:47:48 +01:00
Mahmoud Ben Hassine
e8f0aada1f Update latest news in README.md 2024-11-23 14:29:22 +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
6af3d7feaf Prepare release 5.2.0 2024-11-21 03:24:20 +01:00
Mahmoud Ben Hassine
1105d22916 Update javadocs 2024-11-21 03:11:18 +01:00
Mahmoud Ben Hassine
0d425690ff Update what is new section 2024-11-21 03:10:45 +01:00
Mahmoud Ben Hassine
69310604b3 Update MongoDB sample 2024-11-21 02:20:50 +01:00
Mahmoud Ben Hassine
50a41a3cb0 Optimize sequence handling in MongoDB job repository 2024-11-21 02:18:34 +01:00
Mahmoud Ben Hassine
6c330d6bd1 Refine contribution #4668
Before this commit, an assertion was enforcing
that when a skip limit is provided, then at least
one skippable exception is defined.

Since the default value of skip limit was changed
to 10 in fd45d322, that assertion is now replaced
with a log message at debug level.

Related to #4661
2024-11-20 06:30:50 +01:00
Ian
fd45d32239 Update skipLimit default value to 10
Resolves #4661
2024-11-20 02:45:39 +01:00