Commit Graph

5517 Commits

Author SHA1 Message Date
Mahmoud Ben Hassine
744d1834fe Add support for annotation based listeners in JobBuilder
Resolves #817
2020-08-21 10:31:03 +02:00
Mahmoud Ben Hassine
ce22cddbbc Add partitionOffsets setter in KafkaItemReaderBuilder
Resolves #3761
2020-08-14 21:39:27 +02:00
Mahmoud Ben Hassine
0b30554ded Update Spring projects dependencies to latest SNAPSHOT 2020-08-12 22:09:54 +02:00
Spring Buildmaster
9fe07600ab [artifactory-release] Next development version 2020-08-12 19:17:35 +00:00
Spring Buildmaster
857adcf17b [artifactory-release] Release version 4.3.0-M2 2020-08-12 19:17:31 +00:00
Mahmoud Ben Hassine
6d54da02ac Update dependencies 2020-08-12 21:01:00 +02:00
Mahmoud Ben Hassine
360497ca26 Remove unnecessary dependency to spring-data-neo4j
As of this commit, Neo4j support in Spring Batch
does not rely on Spring Data Neo4j, it uses Neo4j
APIs directly.

This commit removes the dependency to spring-data-neo4j
and replaces it with a direct (optional) dependency
to neo4j-ogm-core.
2020-08-12 15:32:30 +02:00
Mahmoud Ben Hassine
a333c16459 Add JobParametersIncrementer implementation based on a DataFieldMaxValueIncrementer
Issue #1521
2020-08-11 21:13:20 +02:00
Harinath Kuntamukkala
d4133de6e0 Update spring-batch-intro.adoc
Added space between to and workflow-driven
2020-08-11 10:35:22 +02:00
Mahmoud Ben Hassine
15a393b8ef Add ability to start reading from a custom offset in KafkaItemReader
Issue #737
2020-08-10 12:18:49 +02:00
Mahmoud Ben Hassine
5fa821f25f Remove Apache's maven staging repository
This commit is related to 3a09efee. Since kafka-clients 2.6.0
has been promoted to central, the Apache staging repo is not
needed anymore.
2020-08-10 11:51:56 +02:00
Mahmoud Ben Hassine
9dde586442 Open FlatFileItemReader#isComment for extension
Resolves #1134
2020-07-24 16:18:02 +02:00
Mahmoud Ben Hassine
67317e66d0 Open StaxEventItemReader#isFragmentRootElementName for extension
Resolves #1020
2020-07-24 15:14:33 +02:00
Mahmoud Ben Hassine
c225c683a1 Polish 60bbc0052a
* Remove unused imports
* Update Javadoc
* Update year in license headers
2020-07-24 13:58:05 +02:00
이동욱
60bbc0052a Add getUniqueJobParametersBuilder() method in JobLauncherTestUtils
Issue #767
2020-07-24 13:48:39 +02:00
Mahmoud Ben Hassine
ac485ee326 Tag spring.batch.job.active metric with the job name
Resolves #3750
2020-07-24 12:20:43 +02:00
Mahmoud Ben Hassine
3a09efee5e Add Apache's maven staging repository
This is required to build against Spring for Apache
Kafka 2.6.0-SNAPSHOT which brings kafka-clients:2.6.0.

kafka-clients:2.6.0 is actually an RC version and is
not promoted to central yet. The staging repository
will be removed once kafka-clients:2.6.0 is promoted
to maven central.
2020-07-20 15:44:52 +02:00
Mahmoud Ben Hassine
2e94f48a6b Upgrade Spring for Apache Kafka dependency to version 2.6.0-SNAPSHOT 2020-07-20 09:40:32 +02:00
Mahmoud Ben Hassine
bbfe1a9a76 Polish 6c5cb2b13d
* Move class Item as inner class of surrounding test
* Update mongodb sample for item deletion use case
2020-07-17 19:30:16 +02:00
Parikshit Dutta
6c5cb2b13d Use BulkOperations API for Remove Operations in MongoItemWriter
Issue #3737
2020-07-17 19:29:52 +02:00
Mahmoud Ben Hassine
e7ea16c9bc Add connection parameter to AbstractCursorItemReader#cleanupOnClose
This change makes it possible to (re)use the same connection used in
the openCursor method to clean up resources when the reader is closed.

Resolves #1696
2020-07-17 10:40:58 +02:00
Mahmoud Ben Hassine
2952e9a039 Add encoding parameter in StaxEventItemReader
Resolves #807
2020-07-15 11:54:55 +02:00
MinJun Kweon
a88b074c8d Add getChunkSize in SimpleCompletionPolicy
resolved #3738
2020-07-13 10:39:47 +02:00
Mahmoud Ben Hassine
5b25e98fd5 Update Spring projects dependencies to latest BUILD-SNAPSHOT 2020-06-26 21:20:44 +02:00
Spring Buildmaster
c510e86833 [artifactory-release] Next development version 2020-06-26 19:08:36 +00:00
Spring Buildmaster
a9cbb6cf20 [artifactory-release] Release version 4.3.0-M1 2020-06-26 19:08:31 +00:00
Mahmoud Ben Hassine
6f8ca16a85 Update dependencies 2020-06-26 20:17:24 +02:00
Mahmoud Ben Hassine
4e0d6a982b Polish 3b58fecfe4
* Add query creation test in JpaNamedQueryProviderTests
* Make JpaPagingItemReaderNamedQueryIntegrationTests consistent
  with JpaPagingItemReaderNativeQueryIntegrationTests
2020-06-26 13:51:35 +02:00
Parikshit Dutta
3b58fecfe4 Add support for Named Query in JpaPagingItemReader
Issue #1667
2020-06-26 13:49:33 +02:00
Mahmoud Ben Hassine
d257fcee01 Polish 629497d5bb
* Fix tests in MongoItemWriterBuilderTests
* Minor code refactoring in MongoItemWriter
2020-06-25 13:09:50 +02:00
Parikshit Dutta
629497d5bb Implemented BulkOperations API in MongoItemWriter 2020-06-25 11:56:30 +02:00
Mahmoud Ben Hassine
43c40b12ef Update dependencies 2020-06-22 12:51:59 +02:00
Mahmoud Ben Hassine
9a79b4572d Update Jackson2ExecutionContextStringSerializer 2020-06-10 20:11:08 +02:00
Ankur Trapasiya
bbabe0263a Add connectionAutoCommit property in JdbcCursorItemReaderBuilder
Issue #3717
2020-06-02 21:13:28 +02:00
Drummond Dawson
8a6a2bd19a Add beanRowMapper to JdbcPagingItemReaderBuilder
Sets the rowMapper of the JdbcPagingItemReader as
a BeanPropertyRowMapper.

Issue #819
2020-06-02 17:12:45 +02:00
Mahmoud Ben Hassine
e3bc7ded37 Make RepositoryItemWriter use CrudRepository#saveAll by default
Before this commit, the `RepositoryItemWriter` did not use
`CrudRepository#saveAll` by default and one must override
`doWrite` and call it manually, which is not convenient.

This commit makes the writer use `CrudRepository#saveAll`
by default while keeping the possibility to use another
method if desired through the `methodName` parameter.

Resolves #3720
2020-05-29 23:00:11 +02:00
Mahmoud Ben Hassine
09646d8938 Update docs
Fix incorrect git meta-data (<<<<<<< HEAD)
introduced mistakenly in efdce56 which was
causing asciidoc warnings
2020-05-29 21:19:54 +02:00
Mahmoud Ben Hassine
121a48375c Update Spring AMQP to version 2.3.0-SNAPSHOT 2020-05-28 14:27:15 +02:00
Mahmoud Ben Hassine
58bbc962d5 Polish 1eed5a30c3
* Fix section levels
* Fix typos in code examples
* Minor updates
2020-05-26 12:06:54 +02:00
Dimitrios Liapis
1eed5a30c3 Refactor Item processor documentation
Issue #3644
2020-05-25 23:16:40 +02:00
Charvak Patel
7a775cf2d5 Fix misleading Java Code in documentation
Resolves #3692
2020-05-25 23:02:30 +02:00
Mahmoud Ben Hassine
91aa17b22f Polish f37fae670b
* Update year in license header
* Update Javadoc formatting
2020-05-20 14:38:12 +02:00
Matthew Ouyang
f37fae670b Add documentation for how an ItemProcessor.process can never receive a null item. 2020-05-20 14:36:24 +02:00
Dimitrios (Dimi) Liapis
da2a5da79c Fix typo in documentation
Issue #3643
2020-05-20 12:38:10 +02:00
Jay Bryant
2ef32cb069 Upgrade versions of Asciidoctor
Upgrade the versions of Asciidoctor from 1.5/1.6 to 3.1.0,
to reduce technical debt.
2020-05-20 12:34:59 +02:00
Mahmoud Ben Hassine
ffd39087a8 Polish efdce562b0
* Fix typos
* Fix formatting issues
2020-05-20 12:15:08 +02:00
Jay Bryant
efdce562b0 Made the "Both" option make sense
I edited the leader paragraphs above each code block that
was flagged as being XML or Java content, such that the
paragraphs make sense when both the XML and the Java blocks
are present. I turned the Both button back on. I also caught
a bunch of other editing things.

Mahmoud Ben Hassine caught a couple of sentences that were
problematic when the Both option is on. I then caught a couple
of other problems. I fixed all of that.

Thanks for reading closely, Mahmoud. I always appreciate that.
2020-05-20 11:28:31 +02:00
Mahmoud Ben Hassine
ae6cd59155 Update development version to 4.3.0-SNAPSHOT
Reference: https://spring.io/blog/2020/04/30/updates-to-spring-versions
2020-05-20 11:18:32 +02:00
Mahmoud Ben Hassine
511e6c0f12 Polish 670b6408da
* Update year in license headers
* Update Javadoc
* Remove unused field JOB_PARAMETER_MAXIMUM
* Make SecureRandom an instance variable
2020-05-19 10:16:28 +02:00
Saikat Bhadra
670b6408da Change getUniqueJobParameters() to use random number generator that has a lower chance of repeating
Issue #821
2020-05-19 10:04:47 +02:00