Commit Graph

2486 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
1105d22916 Update javadocs 2024-11-21 03:11:18 +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
Mahmoud Ben Hassine
cf44ca834b Next development version 2024-10-23 19:54:55 +02:00
Mahmoud Ben Hassine
0911e8950e Release version 5.2.0-RC1 2024-10-23 19:54:39 +02:00
Taeik Lim
dd1052510e Add '@FunctionalInterface' to JobKeyGenerator
Resolves #4613

Signed-off-by: Taeik Lim <sibera21@gmail.com>
2024-10-23 06:16:01 +02:00
Mahmoud Ben Hassine
f40c415e38 Fix code formatting 2024-10-22 22:48:00 +02:00
hyejinggu
fc9460b14a Fix column types in JdbcStepExecutionDao
Resolves #4648
2024-10-22 14:45:53 +02:00
Mahmoud Ben Hassine
c2a4bf6146 Fix last step execution retrieval in MongoStepExecutionDao
Resolves https://github.com/spring-projects-experimental/spring-batch-experimental/issues/3
2024-10-22 11:22:39 +02:00
Mahmoud Ben Hassine
a164022775 Next development version 2024-10-12 00:47:02 +02:00
Mahmoud Ben Hassine
8319c546f8 Release version 5.2.0-M2 2024-10-12 00:46:40 +02:00
Mahmoud Ben Hassine
ff1184fb4b Fix Spring data MongoDB dependencies 2024-10-11 21:58:00 +02:00
Mahmoud Ben Hassine
a297cd11f8 Add initial support for a resourceless job repository
Resolves #4679
2024-10-11 18:49:17 +02:00
Mahmoud Ben Hassine
675f90d211 Fix dependencies 2024-10-11 15:06:17 +02:00
Mahmoud Ben Hassine
a293f3e29c Deprecate public APIs related to LobHandler
Resolves #4588
2024-10-10 23:24:11 +02:00
Mahmoud Ben Hassine
461ae65f9e Add ability to customize the job parameters converter in the default batch configuration
Before this commit, it was impossible to customize the job parameters converter
without overriding the entire`jobOperator()` method.

This commit makes it possible to override `getJobParametersConverter()`
or define a bean of type `JobParametersConverter` to customize the job
parameters converter used by the job operator.

Resolves #4650
2024-10-10 19:26:47 +02:00
Mahmoud Ben Hassine
846648b33b Add initial support for MongoDB as job repository
Resolves #877
2024-10-10 12:08:33 +02:00
Mahmoud Ben Hassine
3758f86b24 Temporarily disable test that is randomly failing/hanging 2024-09-30 22:20:32 +02:00
Mahmoud Ben Hassine
11ee2fe22a Update docker image version in SQLServerJobRepositoryIntegrationTests 2024-09-27 10:08:38 +02:00
Mahmoud Ben Hassine
53e33c06e9 Fix code formatting 2024-09-19 12:01:43 +02:00
jojoldu
7d151234b1 change assertTrue (instanceof) -> assertInstanceOf 2024-09-19 11:19:11 +02:00
Jimmy Praet
5a62de9031 Move ORDER BY in getLastStepExecution from DB to java
This addresses performance issues with large STEP_EXECUTION table on DB2.

Fixes #4657
2024-09-19 10:46:01 +02:00
Yejin Choi
196f45722f Remove Duplicate If Condition in SimpleJobTests 2024-09-19 10:32:48 +02:00
Mahmoud Ben Hassine
6489ae1834 Next development version 2024-09-18 10:30:37 +02:00
Mahmoud Ben Hassine
eae2ef636f Release version 5.2.0-M1 2024-09-18 10:30:19 +02:00
Mahmoud Ben Hassine
95ac319533 Polish 2024-05-30 16:46:15 +02:00
Kyoungwoong
c2355f7d39 Implement equals() and hashCode() in StateTransition
This commit prevents duplicate state transition entries
in flow definitions

Resolves #3674
2024-05-29 15:06:25 +02:00
Mahmoud Ben Hassine
afb4b0a850 Fix warning about nullable parameter in DataFieldMaxValueJobParametersIncrementer 2024-05-28 11:35:40 +02:00
Seungrae
3b9ceea0b4 Use Threadlocal.remove() instead of Threadlocal.set(null)
Issue #4601
2024-05-27 16:15:55 +02:00
Mahmoud Ben Hassine
6bd148cdf8 Fix incorrect Javadoc in SimpleSystemProcessExitCodeMapper 2024-05-10 11:58:34 +02:00
injae.kim
74c0b27022 Update missing information about error handling in ChunkListener
Resolves #4384
2024-04-30 16:38:43 +02:00
Mahmoud Ben Hassine
b020f41fc7 Improve error messages in JobParametersBuilder
Resolves #4581
2024-04-29 16:03:03 +02:00
Mahmoud Ben Hassine
936cb115c4 Remove unused imports 2024-04-29 12:12:20 +02:00
Mahmoud Ben Hassine
b812492798 Remove deprecated APIs scheduled for removal in v5.2
Resolves #4398
2024-04-24 16:07:12 +02:00