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
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
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
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
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
Sanghyuk Jung
31955a0690
Add constructor with Callable to CallableTaskletAdapter
...
Issue #3831
2023-09-14 16:10:42 +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
Shaoqiang Lu
1add2830f5
Auto-detect the class/interface to be mocked
...
Issue #4426
2023-08-03 09:51:59 +02:00
Henning Poettker
58a4134c32
Explicit handling of nested splits in SplitState
...
Resolves #3857
2023-07-18 10:13:11 +02:00
Mahmoud Ben Hassine
f82c16b825
Fix javadoc errors and warnings
...
Resolves #1624
2023-07-06 06:46:26 +02:00
Mahmoud Ben Hassine
a68c444092
Remove unused imports
2023-07-05 08:03:49 +02:00
Mahmoud Ben Hassine
f0137bc54c
Remove redundant modifiers
2023-07-05 08:03:48 +02:00
Mahmoud Ben Hassine
0a1cdb095f
Mark fields as final where appropriate
2023-07-05 08:03:48 +02:00
Mahmoud Ben Hassine
241e37e672
Remove concatenation with empty string
2023-07-05 08:03:47 +02:00
Mahmoud Ben Hassine
b5e7269847
Remove unnecessary return statements
2023-07-04 21:17:42 +02:00
Mahmoud Ben Hassine
5c8cb7663f
Make inner classes static
2023-07-04 21:03:55 +02:00
Mahmoud Ben Hassine
167f3c427d
Remove usage of raw parametrized types
2023-07-04 19:03:18 +02:00
Mahmoud Ben Hassine
96f8d6bd35
Replace anonymous types with lambda expressions or method references
2023-07-04 18:50:16 +02:00
Mahmoud Ben Hassine
018fcf4799
Refactor tests in spring-batch-core
...
- Remove unused resources
- Fix logging libraries conflicts
- Merge duplicate data source configuration
- Merge scattered DDL scripts
- Replace usage of DataSourceInitializer with Spring JDBC test utilities
2023-06-23 11:30:04 +02:00
Mahmoud Ben Hassine
ee30af4789
Remove redundant "extends Object"
2023-06-22 11:17:13 +02:00
Mahmoud Ben Hassine
51f6357e91
Move ObservabilitySampleStepTests to spring-batch-core
...
This test class dot not belong to the spring-batch-test module.
2023-06-22 10:22:46 +02:00
Mahmoud Ben Hassine
dc6a4eb12d
Replace hardcoded charsets with StandardCharsets
2023-06-22 09:38:50 +02:00
Mahmoud Ben Hassine
510d4768dd
Remove tests that do not belong to Spring Batch test suite
...
Those tests test a class from Spring Framework.
2023-06-21 17:55:26 +02:00
Mahmoud Ben Hassine
502253bdd9
Remove unused class in tests
2023-06-21 17:53:15 +02:00
Mahmoud Ben Hassine
fd8f65b761
Remove unused bean in JobLoaderConfigurationTests
2023-06-21 17:47:01 +02:00
Mahmoud Ben Hassine
93d911e100
Use lambdas and method references where appropriate
2023-06-12 16:43:46 +02:00
Mahmoud Ben Hassine
c5b4f1a777
Remove unnecessary boxing/unboxing
2023-06-12 16:17:32 +02:00
Mahmoud Ben Hassine
7babb341f5
Replace for loops with enhanced for loop where appropriate
2023-06-12 16:05:44 +02:00
Mahmoud Ben Hassine
8c5456cff6
Replace for loops with String.repeat where appropriate
2023-06-12 16:00:45 +02:00
Mahmoud Ben Hassine
0bfe31e569
Remove stack traces from tests
2023-06-07 15:54:19 +02:00
Mahmoud Ben Hassine
7f80b7230b
Remove System.err.println from tests
2023-06-07 15:47:56 +02:00
Mahmoud Ben Hassine
98c426ca4f
Remove System.out.println from tests
2023-06-07 15:47:56 +02:00
Mahmoud Ben Hassine
12b412f60a
Use Objects#equals where appropriate
2023-06-05 14:09:32 +02:00
Mahmoud Ben Hassine
92159cbc2b
Use diamond operator where appropriate
2023-06-05 13:48:49 +02:00
Mahmoud Ben Hassine
106c4a589d
Replace single operations inside loops with bulk methods
2023-06-05 13:14:01 +02:00
Mahmoud Ben Hassine
6d3e48a0bc
Simplify assertions in tests
2023-06-05 13:08:15 +02:00
Mahmoud Ben Hassine
c25cd55901
Upgrade spring-javaformat maven plugin to version 0.0.39
2023-06-05 11:11:48 +02:00