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
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
Taeik Lim
fb180404cb
Make util classes to follow style guide
...
Signed-off-by: Taeik Lim <sibera21@gmail.com >
Issue #4545
2024-03-07 11:15:35 +01:00
Mahmoud Ben Hassine
4b8e504972
Refine contribution #4471
...
- Update tests
- Move test class to the core module
2024-02-20 11:36:59 +01:00
Ilpyo-Yang
b9ba8ffb86
Add AbstractTaskletStepBuilder copy constructor
...
This commit includes tests for the copy constructor
of AbstractTaskletStepBuilder and for the faultTolerant
method, specifically after taskExecutor has been set.
2024-02-19 14:32:22 +01:00
Henning Poettker
894f9f96d9
Let SimpleJobRepository#deleteJobInstance delete corresponding step executions
...
Resolves #4382
2024-02-15 16:45:13 +01:00
Mahmoud Ben Hassine
d8d76ab58c
Fix exception when parsing empty values in DefaultJobParametersConverter
...
Resolves #4505
2024-02-14 15:01:59 +01:00
Taeik Lim
c3691900c2
Remove static imports in production code
...
Signed-off-by: Taeik Lim <sibera21@gmail.com >
2024-02-13 16:38:26 +01:00
Henning Poettker
74520a597a
Check dirty flag of step execution context before update in inner loop
2024-02-12 11:09:02 +01:00
Jonas Bjørge Andersen
aa608246c1
Fix javadoc referencing Long when it should be Double
...
Resolves #4526
2024-02-12 10:49:16 +01:00
Mahmoud Ben Hassine
d6b6361e59
Refine contribution #4521
...
- Update reference documentation
- Minor test updates
2024-02-06 15:21:47 +01:00
Henning Poettker
fe26d00744
Add JobRegistrySmartInitializingSingleton
2024-02-06 14:02:20 +01:00
Mahmoud Ben Hassine
c61670bb81
Fix bean configuration in DefaultBatchConfiguration
...
Before this commit, the dependency injection style used to
define some infrastructure beans was incompatible with the
bean method proxying being disabled.
This commit fixes the issue by injecting dependencies through
the parameters of bean definition methods.
Resolves #4543
2024-02-06 10:27:14 +01:00
Alexander Afanasiev
bf3f00d35d
Fix error message
...
Issue #4528
2024-01-22 14:29:09 +01:00
Robert McNees
9d139b565d
Modified calculating order for DefaultStateTransitionComparator
...
Resolves #3996
2024-01-15 15:26:56 +01:00
Robert McNees
21555c093e
Updated documentation and added unit tests for flow builder priority
...
Fixes #4456
2023-12-21 14:48:44 +01:00
Henning Poettker
0d1d89c82f
Use annotation @Override consistently
2023-12-19 13:35:46 +01:00
Mahmoud Ben Hassine
6c374ff494
Update Javadocs with "since" tag for 5.1
2023-11-22 12:35:34 +01:00
Mahmoud Ben Hassine
9d82a2a72d
Fix code formatting
2023-11-15 11:56:03 +01:00
Mahmoud Ben Hassine
6ba7c639a4
Clarify documentation about throttling deprecation
...
Resolves #4389
2023-11-15 11:44:01 +01:00