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
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
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
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
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
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
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
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
Mahmoud Ben Hassine
bb5598e569
Remove unused method parameters in BatchRegistrar
2023-06-05 11:07:47 +02:00
Mahmoud Ben Hassine
b0f7e3d6fe
Next development version
2023-05-17 16:15:55 +02:00
Mahmoud Ben Hassine
1266de6e35
Release version 5.0.2
2023-05-17 16:13:05 +02:00
Mahmoud Ben Hassine
7f304a1a79
Refine contribution #4364
...
Add integration test
Related to #4246
2023-05-16 07:01: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
4a4c822274
Temporarily disable testWriteRetryOnTwoExceptions
...
Issue #4370
2023-05-11 13:52:57 +02:00
Sukanth Gunda
ef5ef1e6c6
Disable Docker-based tests when Docker is not available
...
Resolves #4360
2023-05-08 22:32:44 +02:00
Mahmoud Ben Hassine
a33f0e9a32
Fix migration script for SQLServer
...
Issue #4349
2023-05-08 12:04:39 +02:00
Henning Poettker
4faa842bb1
Upgrade to Mockito 5
...
Issue #4366
2023-05-04 00:09:11 +02:00
Minsoo Kim
4a971a0764
Enhance switch statements
...
Issue #4365
2023-05-03 23:59:16 +02:00
Mahmoud Ben Hassine
972951a40a
Remove unused imports and apply imports code style
2023-04-11 16:28:36 +02:00
Henning Poettker
e61065ab00
Reduce use of deprecated APIs
2023-03-29 15:34:48 +02:00
Mahmoud Ben Hassine
30ce3326d1
Improve performance of JdbcJobInstanceDao#getLastJobInstance
...
Credit to @chenglongyan for the fix
Resolves #4024
2023-03-29 11:37:06 +02:00
Mahmoud Ben Hassine
dbdbf787e6
Update Javadocs
2023-03-21 17:51:53 +01:00
Glenn Renfro
386277ddc7
Fix tiny misspelling in the sybase integration test comments
2023-03-21 16:18:21 +01:00
Tatiana Slednikova
145c31b86f
Change JobParameters to HashMap
...
Resolves #4179
2023-03-21 15:01:06 +01:00
Mahmoud Ben Hassine
4513d78ba5
Use text blocks for SQL queries
...
This commit replaces String concatenation with
text blocks for SQL queries in various DAOs.
This improves the readability of the code.
NB: Not all SQL queries in the code base were
changed to use text blocks, but only those where
readability became an issue.
2023-03-03 06:31:25 +01:00
Mahmoud Ben Hassine
37c26dd005
Next development version
2023-02-23 00:27:23 +01:00
Mahmoud Ben Hassine
3aa503d6ca
Release version 5.0.1
2023-02-23 00:20:40 +01:00
Henning Poettker
93800c6bae
Improve step execution polling and retrieval
...
Resolves #3790
---
Ported from c68da18 without the JSR related bits
2023-02-22 10:10:11 +01:00
Philippe Marschall
c707284f80
Use batch inserts for job parameters
...
Use batch inserts for job parameters to reduce
the number of database round trips.
Issue #3867
2023-02-21 20:00:49 +01:00
jinwoo-Bae
2cc0be4a0c
Replace usage of deprecated jobOperator#start method with newer version
...
Related to #4303
2023-02-21 15:52:25 +01:00
Min-soo
b76993ca3d
Fix version in Javadoc's since tag of DefaultBatchConfiguration
...
Issue #4312
2023-02-21 15:33:44 +01:00