Commit Graph

2477 Commits

Author SHA1 Message Date
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
Mahmoud Ben Hassine
6b79e2c1f7 Refine contribution #4522
* Update tests
2024-04-18 16:42:13 +02:00
CNJingo
df5e8e1686 Set step end time before calling StepExecutionListener#afterStep
Resolves #3846
2024-04-18 16:42:13 +02: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
Baljit Singh
fdafb490cc Avoid collection copying 2024-03-11 12:06:48 +01:00