Commit Graph

2432 Commits

Author SHA1 Message Date
Henning Poettker
bd00cde09f 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:43:56 +01:00
Taeik Lim
09df30f4e6 Add '@FunctionalInterface' to JobKeyGenerator
Resolves #4613

Signed-off-by: Taeik Lim <sibera21@gmail.com>
2024-10-23 06:19:53 +02:00
hyejinggu
2239dc734a Fix column types in JdbcStepExecutionDao
Resolves #4648
2024-10-22 22:49:07 +02:00
Mahmoud Ben Hassine
896b8d614e Fix code formatting 2024-09-19 12:17:01 +02:00
jojoldu
8f7f37b03b change assertTrue (instanceof) -> assertInstanceOf 2024-09-19 11:20:32 +02:00
Jimmy Praet
b7339c2e96 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:56:46 +02:00
Mahmoud Ben Hassine
1fc2e7ce64 Next development version 2024-05-22 12:36:24 +02:00
Mahmoud Ben Hassine
a8f8d0bfa7 Release version 5.1.2 2024-05-22 12:36:02 +02:00
Mahmoud Ben Hassine
97cc5cf321 Improve error messages in JobParametersBuilder
Resolves #4581
2024-04-30 11:09:25 +02:00
injae-kim
899343a69b Fix SystemCommandTasklet to propagate error when exit status is failed
Fixes #4483
2024-03-15 11:36:47 +01:00
Mustafa Yanar
5b4685ea2c Fix output chunk end property in ChunkProcessor implementations
Resolves #4560
2024-03-14 11:56:05 +01:00
Mahmoud Ben Hassine
bfe7f38e4f Next development version 2024-02-21 17:04:13 +01:00
Mahmoud Ben Hassine
1b6b792432 Release version 5.1.1 2024-02-21 17:04:00 +01:00
Mahmoud Ben Hassine
f53ef73cfa Refine contribution #4471
- Update tests
- Move test class to the core module

(cherry picked from commit 4b8e504972)
2024-02-20 11:51:41 +01:00
Ilpyo-Yang
d2fa9fe831 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.

(cherry picked from commit b9ba8ffb86)
2024-02-20 11:51:38 +01:00
Henning Poettker
b98d1b1482 Let SimpleJobRepository#deleteJobInstance delete corresponding step executions
Resolves #4382
2024-02-15 17:47:09 +01:00
Mahmoud Ben Hassine
964df6d643 Fix exception when parsing empty values in DefaultJobParametersConverter
Resolves #4505
2024-02-14 15:05:06 +01:00
Henning Poettker
85a84cb30f Check dirty flag of step execution context before update in inner loop 2024-02-12 13:48:02 +01:00
Jonas Bjørge Andersen
fce780fdc0 Fix javadoc referencing Long when it should be Double
Resolves #4526
2024-02-12 10:56:21 +01:00
Mahmoud Ben Hassine
9ae45ae52e Refine contribution #4521
- Update reference documentation
- Minor test updates

(cherry picked from commit d6b6361e59)
2024-02-07 10:46:29 +01:00
Henning Poettker
4247561073 Add JobRegistrySmartInitializingSingleton
(cherry picked from commit fe26d00744)
2024-02-07 10:46:25 +01:00
Alexander Afanasiev
88484496d2 Fix error message
Issue #4528
2024-01-22 14:38:56 +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
Mahmoud Ben Hassine
70e8a1c497 Add a JobRegistryBeanPostProcessor in the default batch configuration
Resolves #4245
2023-09-11 14:27:03 +02:00
Sukanth Gunda
3eb7e09faa Add Automatic module name to MANIFEST.MF
Resolves #867
2023-09-11 07:57:13 +02:00