Commit Graph

2286 Commits

Author SHA1 Message Date
Mahmoud Ben Hassine
d7e13fb7f5 Move core.explore package under core.repository
Resolves #4827
2025-05-06 10:13:48 +02:00
Mahmoud Ben Hassine
0a880c7ad1 Disable CommandLineJobRunnerTests until the stub batch infrastructure is replaced with a JDBC one 2025-05-05 18:51:49 +02:00
Mahmoud Ben Hassine
b16de9cd91 Fix job instance retrieval in JdbcJobInstanceDao
This commit reverts the accidental removal of the
wildcard functionality deleted in bf53794d
2025-05-05 18:37:01 +02:00
Mahmoud Ben Hassine
ae2df5396b Remove JobExplorer bean registration from the default batch configuration
Resolves #4825
2025-05-05 18:36:07 +02:00
Mahmoud Ben Hassine
6992b79b8d Remove dependency to JobExplorer in SimpleJobOperator
Resolves #4817
2025-05-05 18:34:04 +02:00
Mahmoud Ben Hassine
b8c93d677e Make JobRepository extend JobExplorer
Resolves #4824
2025-05-05 15:26:43 +02:00
Mahmoud Ben Hassine
bf53794d6a Deprecate redundant methods in JobExplorer/JobInstanceDao APIs
Resolves #4821
2025-04-29 12:30:31 +02:00
Mahmoud Ben Hassine
b9fc0e7e25 Rearrange methods in JobExplorer/JobRepository APIs 2025-04-29 12:12:56 +02:00
Mahmoud Ben Hassine
43ac1f12cf Remove deprecated APIs scheduled for removal in v6
Resolves #4819
2025-04-29 09:03:13 +02:00
Ludovic Bertin
a06f39b76d Add AOT runtime hints for core listeners
Signed-off-by: Ludovic Bertin <ludovic.bertin@gmail.com>
2025-03-18 12:04:14 +01:00
Yanming Zhou
f1ac0c01c5 Fix wrong statement in Javadoc of SimplePartitioner
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-03-18 11:28:35 +01:00
KyeongHoon Lee
4c9b88eb52 Add FunctionalInterface annotation to ChunkProcessor
Signed-off-by: KyeongHoon Lee <leta6603@gmail.com>
2025-03-18 11:20:12 +01:00
Mahmoud Ben Hassine
42056e714d Update version of IBM DB2 docker image and jdbc driver 2025-03-18 10:38:05 +01:00
yoseplee
a79b6f7550 Fix index creation statements in MongoDB DDL script
Signed-off-by: yoseplee <yoseplee@linecorp.com>
2025-02-25 15:56:11 +01:00
Mahmoud Ben Hassine
9fbdf1ed82 Revert thread mode in FaultTolerantStepFactoryBeanRollbackIntegrationTests 2025-02-25 14:45:37 +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
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
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
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
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
a297cd11f8 Add initial support for a resourceless job repository
Resolves #4679
2024-10-11 18:49: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
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