Commit Graph

2226 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Kim Seon Woo
3fe3b7fc5d Add ability to start a job flow with a decider
Resolves #4411
2023-09-08 08:41:55 +02:00
Robert McNees
e36a44788d Add option to provide a custom JobKeyGenerator in JdbcJobInstanceDao
Resolves #3926
2023-08-31 23:30:59 +02:00
Taeik Lim
99e8d58c13 Prevent race condition when flow transition is not initialized
Resolves #4092
2023-08-22 15:43:36 -07:00
Mahmoud Ben Hassine
e6c27273fa Deprecate job repository setter in Job/Step builders
Resolves #4326
2023-08-03 11:53:48 +02:00
Mahmoud Ben Hassine
9323b27d6a Update trusted classes in Jackson2ExecutionContextStringSerializer
Resolves #4407
2023-08-03 11:32:03 +02:00
Shaoqiang Lu
1add2830f5 Auto-detect the class/interface to be mocked
Issue #4426
2023-08-03 09:51:59 +02:00
Taeik Lim
7a5129647a Add setter for ObservationConvention in Job/Step builders
Signed-off-by: Taeik Lim <sibera21@gmail.com>

Resolves #4401
2023-07-18 12:35:59 +02:00
Henning Poettker
58a4134c32 Explicit handling of nested splits in SplitState
Resolves #3857
2023-07-18 10:13:11 +02:00
BigLee
37fb3f9492 Update migration-h2.sql script to use ALTER instead of MODIFY
Resolves #4390
2023-07-17 10:37:05 +02:00
Kim Seon Woo
1c4822313a Fix javadoc of SimpleStepBuilder
Resolves #4402

Author: Seon Woo Kim <seronwoo960000.kim@gmail.com>
2023-07-17 09:49:11 +02:00
Pranav Jandu
384b8a095c Update SQLServer DDL script to drop sequences instead of tables
Resolves #4373
2023-07-17 09:33:31 +02:00
Mahmoud Ben Hassine
5bccfed523 Replace synchronized blocks and methods with locks
This commit replaces synchronized blocks and methods
that are used frequently or that guard blocking I/O
operations with locks. This is required to prevent
virtual threads pinning, as explained in JEP 444 [1].

Note that synchronized blocks and methods that are used
infrequently (like AutomaticJobRegistrar#start/stop) or
that guard in-memory operations were not replaced as this
is not required, see JEP 444 [1].

Resolves to #4399

---
[1]: https://openjdk.org/jeps/444
2023-07-15 08:18:07 +02:00