Mahmoud Ben Hassine
e8bbde10e5
Remove unused imports
2021-09-12 22:23:56 +02:00
Mahmoud Ben Hassine
03c365ef70
Add test for SimplePartitioner
2021-09-12 22:08:28 +02:00
Mahmoud Ben Hassine
2e4a2adc1f
Fix incorrect reference to StepExecutionListener in Javadoc
2021-09-12 09:28:51 +02:00
Mahmoud Ben Hassine
22c84588b9
Remove unused incrementer in data-source-context.xml
...
This commit removes an incrementer for a table
named BATCH_STEP_SEQ which does not exist (anymore).
2021-09-10 22:05:02 +02:00
Mahmoud Ben Hassine
f85a662ebf
Refine contribution #3934
...
* Add default methods in all listener interfaces
* Remove usage of newly deprecated support classes
Issue #3924
2021-09-10 22:05:02 +02:00
Mahmoud Ben Hassine
ba0900127d
Refine contribution #3933
...
* Remove usage of the newly deprecated method
* Rename fields/variables/parameters to be more explicit
2021-09-10 10:45:36 +02:00
Parikshit Dutta
49134ea533
Rename setJobIncrementer to setJobInstanceIncrementer in JdbcJobInstanceDao
...
Resolves #3929
2021-09-10 10:16:44 +02:00
Parikshit Dutta
7b6b3ae2a5
Deprecated support classes against interfaces with default methods
2021-09-10 09:46:35 +02:00
Parikshit Dutta
fecf8a5c44
Add default methods in listener interfaces
...
Resolves #3924
2021-09-10 09:34:25 +02:00
Mahmoud Ben Hassine
dacf5bca3d
Remove unused variable in FaultTolerantChunkProcessor
...
This commit removes the count variable which is
incremented but never queried.
2021-09-09 21:29:14 +02:00
Mahmoud Ben Hassine
7067dcb1bc
Remove unused private method in SimpleFlow
2021-09-09 21:22:45 +02:00
Mahmoud Ben Hassine
c58677e66e
Remove irrelevant test
2021-09-09 21:20:11 +02:00
Mahmoud Ben Hassine
03918b2929
Refactor DefaultJobKeyGenerator to use org.springframework.util.DigestUtils
2021-09-09 21:10:00 +02:00
Mahmoud Ben Hassine
36b1d0af3c
Remove unused parameter in SqlPagingQueryUtils#generateLimitGroupedSqlQuery
2021-09-09 21:01:54 +02:00
Mahmoud Ben Hassine
497438a318
Add assertions to reject null values in JobParameter
...
Resolves #3913
2021-09-09 17:00:05 +02:00
Glenn Renfro
6c619b9f94
FlatFileItemWriter now uses charset to determine default encoding
...
It now matches the encoding scheme of FlatFileItemReader
Resolves #1154
2021-09-09 15:03:58 +02:00
Philippe Marschall
c9d827ca11
Avoid string conversion in ExecutionContextSerializer tests
...
Avoid the byte to string to byte conversion in
AbstractExecutionContextSerializerTests.
2021-09-03 21:34:09 +02:00
Henning Pöttker
fce9a48080
Make ScopeConfiguration publicly accessible
...
When using a hierarchy of Spring contexts, custom scopes
are not visible in child contexts. With this change, it is
now possible for users to import the configuration class
into child contexts and use job and step scope within them.
Issue #3958
2021-09-03 21:09:29 +02:00
Rémi Kaeffer
a6d68138ff
Fix double "the" typo everywhere in source code
2021-09-03 19:07:19 +02:00
Parikshit Dutta
637226064c
Change default value of DATE_VAL to null for non-date type job parameters
...
Resolves #1577
2021-09-03 16:03:26 +02:00
Henning Pöttker
9f4127fb1d
Fix HippyMethodInvoker by not considering unsuitable candidates
...
Resolves #3794
2021-09-03 14:43:54 +02:00
tinh cao
324a769aa0
Remove whitespace to support multiple execution statement
...
Issue #3861
2021-09-03 11:30:15 +02:00
Mahmoud Ben Hassine
e2c0b891c8
Deprecate support for Neo4j
...
This commit deprecates support for Neo4j
in favor of the spring-batch-neo4j extension
Resolves #3956
2021-09-02 13:19:53 +02:00
Mahmoud Ben Hassine
d0ab497312
Fix step execution retrieval in SimpleJobExplorer#getLastJobExecution
...
Before this commit, SimpleJobExplorer#getLastJobExecution returned
the last job execution without fetching its step executions and
their execution contexts.
This commit fixes the implementation to load the entire object
graph as done in SimpleJobExplorer#getJobExecution.
Resolves #3943 #3944
2021-08-27 14:00:41 +02:00
Mahmoud Ben Hassine
de9ce2d0cc
Use JdbcTestUtils where appropriate in tests
2021-08-26 22:12:34 +02:00
Mahmoud Ben Hassine
3742931c4c
Remove unused resources
2021-08-26 17:03:32 +02:00
Mahmoud Ben Hassine
8400b16205
Remove unused dependencies
2021-08-25 18:54:36 +02:00
Taeik Lim
26fc468eb2
Use getDataSource method in DefaultBatchConfigurer
2021-08-25 14:16:22 +02:00
Daniel Franco
68b77d0d8e
Update maven wrapper version to 3.8.2
2021-08-25 13:53:57 +02:00
Mahmoud Ben Hassine
d206de1cd0
Clean up schema versions in XML files of tests/samples
...
The schema version in JobParserWrongSchemaInRootTests-context.xml
has not been removed as it is used on purpose for
JobParserExceptionTests#testWrongSchemaInRoot.
Resolves #913
2021-08-24 11:51:37 +02:00
Sanghyuk Jung
4d67858c7c
Fix typos in document for configuring steps
2021-08-18 21:29:20 +02:00
Ilya Samartsev
595abff170
Fix NPE in sql exception translation
...
Resolves #3968
2021-08-18 20:06:41 +02:00
Mahmoud Ben Hassine
8d3201c91e
Update Spring dependencies to latest snapshots
2021-08-18 09:26:58 +02:00
Mahmoud Ben Hassine
da9dbdeeac
Fix JsonSupportIntegrationTests
2021-08-18 08:59:26 +02:00
Mahmoud Ben Hassine
4b3bcac082
Update datasource configuration in samples/tests
2021-08-17 22:52:45 +02:00
Mahmoud Ben Hassine
36b63ed283
Remove usage of master/slave terminology
2021-08-17 21:59:30 +02:00
Mahmoud Ben Hassine
24152e7a57
Fix references to the old master branch with the new branch name
2021-08-17 21:34:55 +02:00
Mahmoud Ben Hassine
bb3809cf55
Remove deprecated APIs
...
Resolves #3836
2021-08-17 21:14:53 +02:00
Mahmoud Ben Hassine
f8bdf5521e
Remove the Map based job repository/explorer and their DAOs
...
This commit removes the deprecated Map-based job repository
and job explorer implementations with their respective DAOs.
Using the `EnableBatchProcessing` annotation now requires a
datasource bean to be defined in the application context.
This will be reviewed as part of #3942 .
This commit is a first pass that updates related tests to use
the JDBC-based job repository/explorer with an embedded database.
A second pass should be done to improve tests by caching/reusing
embedded databases if possible.
Issue #3836
2021-08-17 16:23:46 +02:00
Mahmoud Ben Hassine
d5509d2444
Remove SQLFire support
...
Resolves #3839
2021-08-14 08:53:16 +02:00
Mahmoud Ben Hassine
f995c83b16
Extract count key as constant in ResourcesItemReader
2021-08-12 22:12:00 +02:00
Mahmoud Ben Hassine
1b829471ee
Remove unused constant in CustomerCreditUpdatePreparedStatementSetter
2021-08-12 22:05:59 +02:00
Mahmoud Ben Hassine
f4befae548
Fix typo in test method name
2021-08-12 22:01:53 +02:00
Mahmoud Ben Hassine
f83ba20173
Remove usage of reflection to call session.close in HibernateItemReaderHelper
2021-08-12 21:59:55 +02:00
Philippe Marschall
1480dc5fd2
Use default methods in TestExecutionListener
...
Remove empty implementation methods.
2021-08-12 21:49:05 +02:00
Mahmoud Ben Hassine
27e11b52f9
Remove usage of deprecated APIs
...
Resolves #3838
2021-08-12 15:51:02 +02:00
Parikshit Dutta
86e1b0a3a9
Updated graceful shutdown sample by removing deprecated code
...
Resolves #3901
2021-08-11 21:27:55 +02:00
Gregor Riegler
7a3d26c9f7
simplify boolean expression
...
Co-authored-by: Moderne <team@moderne.io >
2021-08-11 20:50:34 +02:00
Philippe Marschall
6d5a4d5352
Remove Reflection from StepScopeTestExecutionListener
...
Call methods on TestContext directly
2021-08-11 20:32:21 +02:00
Mahmoud Ben Hassine
31899d5fc3
Remove usage of deprecated APIs
...
Issue #3838
2021-08-11 20:23:12 +02:00