Commit Graph

2434 Commits

Author SHA1 Message Date
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
ee4d03f1ed Exclude slf4j-api transitive dependency from sqlite-jdbc 2024-02-09 10:20:04 +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
7907a0aab2 Update next development version to 5.2.0-SNAPSHOT 2023-12-13 11:05:16 +01:00
Mahmoud Ben Hassine
4f0fe71110 Next development version 2023-11-22 17:00:51 +01:00
Mahmoud Ben Hassine
ebedd02e21 Release version 5.1.0 2023-11-22 17:00:26 +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
Alexey Orlyansky
42dd1442dd Add test for adding steps to a Flow via "next"
Related to #4432
2023-11-14 17:03:01 +01:00
injae.kim
4a67b22e90 Fix infinite loop in FlowBuilder#next()
Resolves #4432
2023-11-14 16:43:05 +01:00
Mahmoud Ben Hassine
691ac09eb1 Next development version 2023-10-18 15:14:43 +02:00
Mahmoud Ben Hassine
3a9c468c9c Release version 5.1.0-RC1 2023-10-18 15:14:27 +02:00
Jan-Willem Willebrands
b2a287da93 Copy missing Context keys from JobParameters
Fix DefaultJobParametersExtractor to copy values from JobParameters when
they are missing from ExecutionContext. Javadoc states this class is
supposed to do just that, but seems to have broken in the 5.x API revamp.

Resolves #4458
2023-10-18 10:21:03 +02:00
Henning Poettker
f7ec69e891 Take care of some deprecations 2023-10-13 22:19:24 +02:00
Henning Poettker
cf1f34b4f9 Use more SynchronizedItemReader in tests 2023-10-13 22:05:32 +02:00
Henning Poettker
1d097c2e31 Replace deprecated RetryListenerSupport 2023-10-13 21:35:11 +02:00
Mahmoud Ben Hassine
ac5825758c Add missing deprecation note
This should have been part of 1ff04d53

Issue #2218
2023-09-21 15:32:52 +02:00
Mahmoud Ben Hassine
31fc2cecd2 Next development version 2023-09-20 09:29:32 +02:00
Mahmoud Ben Hassine
63a039358a Release version 5.1.0-M3 2023-09-20 09:29:06 +02:00
Mahmoud Ben Hassine
6eeaf4d256 Add warning for missing optional keys in DefaultJobParametersValidator
Before this commit, the DefaultJobParametersValidator
was failing when an optional key is missing.

This commit changes the default validator to only log
a warning in this case.

Resolves #4073
2023-09-18 17:25:12 +02:00
Mahmoud Ben Hassine
69c6839415 Add support to specify the database type with EnableBatchProcessing
Resolves #4320
2023-09-18 10:27:10 +02:00
Mahmoud Ben Hassine
f64d6e88a5 Use separate parameters for short_context length and exit_message length in JobRepositoryFactoryBean
Resolves #1617
2023-09-18 08:23:30 +02:00
Glenn Renfro
a73fbc3cbc Add getters for DAOs in SimpleJobExplorer
Resolves #1598
2023-09-14 16:30:12 +02:00
Sanghyuk Jung
31955a0690 Add constructor with Callable to CallableTaskletAdapter
Issue #3831
2023-09-14 16:10:42 +02:00
sjh836
06e6bdbc98 Add method in ExecutionContext to expose the internal map as read-only
Resolves #4004
2023-09-13 17:10:44 +02:00
sjh836
d9bf57e572 Change from arrayList to immutableList in OrderedComposite#iterator 2023-09-13 16:53:26 +02:00
Mark John Moreno
11169bae10 Align exception message with exception handling condition
Resolves #4025
2023-09-13 16:21:45 +02:00
Mahmoud Ben Hassine
8a6c7ac3c5 Add utility method to get identifying job parameters 2023-09-13 16:21:45 +02:00
ChangYong
889dee7ab1 Add JavaTimeModule to Jackson2ExecutionContextSerializer
Resolves #3952
2023-09-13 11:02:30 +02:00