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
Henning Pöttker
64c09c523e
Replaces deprecated interfaces
...
Replaces the deprecated
- type InstantiationAwareBeanPostProcessorAdapter
- type GenericTypeResolver
- method StringUtils::isEmpty
- field BigDecimal::ROUND_HALF_UP
Issue #3838
2021-08-11 15:20:18 +02:00
Mahmoud Ben Hassine
b9790d11ba
Fix datasource initialization in remote partitioning samples
2021-08-11 14:06:04 +02:00
Mahmoud Ben Hassine
7bbbd4f667
Refine contribution #3962
...
- Fix failing tests
- Update year in license headers
Related to #3838
2021-08-10 17:50:41 +02:00
Sebastiano Valle
24422b5163
Remove some deprecated APIs from tests
...
The following deprecated APIs are not in use anymore in the project's tests:
- `org.junit.rules.ExpectedException#none`
- `org.mockito.MockitoAnnotations#initMocks`
- `org.mockito.Mockito#verifyZeroInteractions`
Issue #3838
2021-08-10 17:48:21 +02:00
Henning Pöttker
7242f8fe77
Replace deprecated TransactionSynchronizationAdapter
...
Issue #3838
2021-08-10 15:28:02 +02:00
Philippe Marschall
3d0cb90590
Remove double brace initialization
...
Remove double brace collection initialization as
it is considered bad practice.
2021-08-10 12:56:58 +02:00
Philippe Marschall
f15edd414a
Fix some raw types
2021-08-10 12:41:19 +02:00
Philippe Marschall
c9e06b2a7f
Don't call wrapper constructors directly
...
The constructors of the wrapper classes for primitives (Double,
Integer, Long) have been deprecated since JDK 9 and should no longer be
called. Instead the static factory #valueOf should be used.
2021-08-10 11:54:25 +02:00
Philippe Marschall
1f3dd5f401
Replace Assert.assertThat with MatcherAssert.assertThat
...
Assert.assertThat is deprecated with MatcherAssert.assertThat as the
replacement.
2021-08-09 21:04:52 +02:00
Philippe Marschall
2aa94d09d1
Replace #initMocks with MockitoRule
...
Replace all references of MockitoAnnotations#initMocks with the
MockitoRule JUnit rule.
2021-08-09 18:33:39 +02:00
Henning Pöttker
8258325413
Refactor deprecated method extractDatabaseMetaData
...
Issue #3838
2021-08-09 18:22:35 +02:00
Henning Poettker
0ad68037b6
Reduce naming collisions in consecutive tests
2021-08-09 13:36:31 +02:00
Mahmoud Ben Hassine
792278d073
Fix typo in documentation
2021-08-06 22:33:12 +02:00
Mahmoud Ben Hassine
55c2df8782
Remove unused constant in StaxEventItemWriterBuilderTests
2021-08-06 22:17:51 +02:00
Mahmoud Ben Hassine
83579cfbdf
Extract charset name as constant in JdbcExecutionContextDao
2021-08-05 22:14:05 +02:00
Mahmoud Ben Hassine
66c33372a6
Remove unused logger in MongoItemReader
2021-08-05 21:17:26 +02:00
Mahmoud Ben Hassine
06cdce19b9
Add note in README about the need to have Docker for a full build
2021-08-05 21:14:03 +02:00
Mahmoud Ben Hassine
a031637994
Add integration tests for all supported databases
...
Resolves #3092
2021-07-06 14:45:14 +02:00
Mahmoud Ben Hassine
2bbb40c4f6
Update dependencies
2021-07-05 15:31:12 +02:00
Mahmoud Ben Hassine
6b4c916321
Update README with instructions to generate docs
2021-05-27 08:39:32 +02:00
Jay Bryant
92e6f32e52
Add EPUB output
...
Add EPUB output and make all four output formats have links to one another,
to enable discoverability and accessibility (for the folks who need a
particular format to help them read the document).
2021-05-21 23:00:49 +02:00
abielewicz
f4e14ddf66
Change the order in which datum writer is selected
...
Due to GenericRecord being checked before SpecificRecordBase,
GenericDatumWriter was used incorrectly for types that extend
SpecificRecordBase.
Resolves #3859
2021-05-18 17:46:31 +02:00
Taeik Lim
4af4b05e33
Fix NPE in JobParameters.toProperties on null parameter value
...
Issue #834
2021-05-18 15:55:04 +02:00
dkjeong
1beb07ec51
Fix typo in documentation
...
Issue #3907
2021-05-18 11:18:34 +02:00
Taeik Lim
63cfc07a5e
Fix misused 'end()' in examples
...
`end()` should be used with `FlowJobBuilder`.
Issue #3902
2021-05-18 10:46:48 +02:00
이동욱
4b8331d724
Replace ArrayList with LinkedList in ListItemReader
...
Issue #3782
2021-05-18 10:30:20 +02:00
ChangYong
b486e245d7
Fix code examples in documentation
...
The changed code examples in this commit used the
`.end()` method which does not exist in `SimpleStepBuilder`.
Issue #3889
2021-05-17 19:55:31 +02:00
Rajesh Chandavaram
8d181bc74d
Improve code example in "Configuring and Running a Job" section
...
The sample that shows how to provide a custom transaction manager
via a BatchConfigurer has been updated to use the constructor
of `DefaultBatchConfigurer` that takes a DataSource.
Issue #3888
2021-05-17 19:31:01 +02:00
Parikshit Dutta
d76c083b04
Updated verifyCursorPosition default to true in JdbcCursorItemReaderBuilder
...
Issue #3893
2021-05-12 14:51:00 +02:00
Mahmoud Ben Hassine
d43de5cf65
Add github actions workflow to stage a release on maven central
2021-05-12 09:13:38 +02:00
Mark Bonnekessel
a43d3a5ab7
Override SimpleStepBuilder.faultTolerant() in FaultTolerantStepBuilder
...
Override SimpleStepBuilder.faultTolerant() in FaultTolerantStepBuilder
to prevent creation of a new FaultTolerantStepBuilder when calling
faultTolerant() on an existing FaultTolerantStepBuilder. Otherwise
configuration, like chunkListeners, are lost.
Issue #3840
2021-05-11 19:09:49 +02:00
Parikshit Dutta
58e82a56e7
Update SimpleStepBuilder to assign ItemProcessor lambda at construction
...
Issue #3749
2021-05-11 16:14:29 +02:00
Mahmoud Ben Hassine
7f0824b9da
Fix job execution validation in SimpleJobRepository
...
Before this commit, the logic that validates if a job
instance is complete or not was based only on the size
of previous parameters, without checking if they are
identifying or not.
This commit introduces a change that uses only
identifying job parameters to identify a job instance
and validate its previous executions.
Issue #1221
2021-05-05 16:20:28 +02:00
Mahmoud Ben Hassine
c4b001b732
Remove usage of deprecated APIs from testcontainers
2021-05-04 12:21:58 +02:00
Mahmoud Ben Hassine
b8a6a51488
Rename MySQLJdbcJobRepositoryTests to MySQLJdbcJobRepositoryIntegrationTests
...
Since this is a Docker based test, it should be part
of the integration test suite executed by
maven-failsafe-plugin during the `verify` phase.
2021-05-04 12:04:19 +02:00
Mahmoud Ben Hassine
5fbbad9888
Disable SSL usage in MySQL test container
...
By default, testcontainers does not use SSL. This commit
disable SSL usage in the datasource configuration to
prevent `SSLHandshakeException`s.
2021-05-04 11:21:33 +02:00
Mahmoud Ben Hassine
e401f99f7d
Update contributor guide by replacing master with main
...
Issue #3879
2021-04-27 12:07:33 +02:00
Mahmoud Ben Hassine
ef2a2d8d24
Add instructions to build the project with Docker
2021-04-27 11:39:34 +02:00
Mahmoud Ben Hassine
d6419f4479
Update dependencies
2021-04-19 18:00:09 +02:00
Mahmoud Ben Hassine
de868b48e5
Update maven version to 3.8.1 in maven wrapper
2021-04-16 17:13:15 +02:00
Mahmoud Ben Hassine
d3fa7d084b
Upgrade XStream dependency to version 1.4.16
...
Resolves #3877
2021-03-30 16:23:33 +02:00