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
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
Mahmoud Ben Hassine
52064c0541
Code cleanup
...
- Inline variables
- Remove unused variables
- Remove redundant array creation
- Remove redundant `@SuppressWarnings`
- Remove unnecessary exceptions from throws list
- Remove redundant initializers
- Use List.subList().clear() where appropriate
- Use try-with-resources where needed
- Use pattern variables where appropriate
2023-07-12 23:25:18 +02:00
Mahmoud Ben Hassine
4763480c57
Fix compiler warnings
...
- Add `@Nullable` where needed
- Suppress warnings where appropriate
- Add generic type definitions
2023-07-12 20:55:18 +02:00
Mahmoud Ben Hassine
f82c16b825
Fix javadoc errors and warnings
...
Resolves #1624
2023-07-06 06:46:26 +02:00
Mahmoud Ben Hassine
d6904ba43b
Add/Update deprecation notice
2023-07-05 08:37:01 +02:00
Mahmoud Ben Hassine
a68c444092
Remove unused imports
2023-07-05 08:03:49 +02:00
Mahmoud Ben Hassine
efdb59e570
Replace hardcoded charsets with StandardCharsets
2023-07-05 08:03:48 +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
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
5585749925
Use Map.computeIfAbsent where appropriate
2023-07-04 18:58:23 +02:00
Mahmoud Ben Hassine
73114a79fc
Replace Collections.sort(list, comparator) with list.sort(comparator)
2023-07-04 18:54:44 +02:00
Mahmoud Ben Hassine
5a6fff032d
Replace for loops with enhanced for loops
2023-07-04 18:52:19 +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
acb7de0a0c
Remove unused resources
2023-06-23 09:17:28 +02:00
Mahmoud Ben Hassine
ee30af4789
Remove redundant "extends Object"
2023-06-22 11:17:13 +02:00
Mahmoud Ben Hassine
dc6a4eb12d
Replace hardcoded charsets with StandardCharsets
2023-06-22 09:38:50 +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
0f44e2bad1
Use pattern matching variables where appropriate
2023-06-12 15:47:57 +02:00
Mahmoud Ben Hassine
a2be6ba0c3
Replace unmodifiable collection creation with collection factory methods
2023-06-12 15:42:02 +02:00
Mahmoud Ben Hassine
cb1b68d165
Replace if statements with switch statements where appropriate
2023-06-12 15:39:25 +02:00
Mahmoud Ben Hassine
92159cbc2b
Use diamond operator where appropriate
2023-06-05 13:48:49 +02:00
Mahmoud Ben Hassine
8070751da8
Improve String concatenation where appropriate
2023-06-05 13:19:28 +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
c25cd55901
Upgrade spring-javaformat maven plugin to version 0.0.39
2023-06-05 11:11:48 +02:00
Mahmoud Ben Hassine
bb5598e569
Remove unused method parameters in BatchRegistrar
2023-06-05 11:07:47 +02:00
jinwoo-Bae
e329b61d18
Fix retrieval of job parameters in SimpleJobExplorer#getJobExecutions
...
Before this commit, SimpleJobExplorer#getJobExecutions returned
job executions with wrong job parameters, ie a job execution could
have the parameter of another execution.
This commit fixes the implementation so that each returned job
execution has its own parameters.
Resolves #4246
2023-05-16 06:57:47 +02:00
Mahmoud Ben Hassine
a33f0e9a32
Fix migration script for SQLServer
...
Issue #4349
2023-05-08 12:04:39 +02:00