Mahmoud Ben Hassine
f72e0f4d16
Fix deprecation notes in ItemStreamSupport
...
Resolves #4238
2022-11-22 16:54:01 +01:00
Spring Builds
e273ec151e
[artifactory-release] Next development version
2022-11-09 14:34:37 +00:00
Spring Builds
420a7baa75
[artifactory-release] Release version 5.0.0-RC2
2022-11-09 14:34:34 +00:00
Mahmoud Ben Hassine
919f73e78c
Remove the SQL Server sequence incrementer in favor of the one provided by Spring Framework
2022-11-08 21:15:49 +01:00
Mahmoud Ben Hassine
1cb172b5e5
Remove the MariaDB sequence incrementer in favor of the one provided by Spring Framework
2022-11-08 21:15:40 +01:00
Mahmoud Ben Hassine
881c79c3e4
Align dependencies with JakartaEE 10
2022-11-08 20:40:43 +01:00
Mahmoud Ben Hassine
524e9564c0
Add full support for MariaDB
...
This commit adds full support for MariaDB as
a job repository and removes the code that
treats it as MySQL.
Resolves #3891
Resolves #4217
2022-10-25 11:11:57 +02:00
Spring Builds
24283a8a1f
[artifactory-release] Next development version
2022-10-19 23:57:21 +00:00
Spring Builds
adde7d764e
[artifactory-release] Release version 5.0.0-RC1
2022-10-19 23:57:18 +00:00
Mahmoud Ben Hassine
866fe37eb0
Exclude Jackson from transitive dependencies
2022-10-19 11:28:54 +02:00
Mahmoud Ben Hassine
d55a091654
Remove Gemfire support in Spring Batch
...
Based on the decision to discontinue the support
of Spring Data for Apache Geode [1], this commit
removes the support for Geode in Spring Batch.
The code will be moved to the spring-batch-extensions
repository as a community-driven effort.
[1]: https://github.com/spring-projects/spring-data-geode#notice
Resolves #4214
2022-10-18 12:31:09 +02:00
Spring Builds
58c760b3ef
[artifactory-release] Next development version
2022-10-13 10:34:01 +00:00
Spring Builds
87f3644667
[artifactory-release] Release version 5.0.0-M8
2022-10-13 10:33:58 +00:00
Mahmoud Ben Hassine
bd9d0d90d6
Deprecate internal classes related to concurrency in TaskExecutorRepeatTemplate
...
Related to #3949
Related to #3950
Related to #3951
2022-10-12 19:00:40 +02:00
Mahmoud Ben Hassine
1ff04d532d
Deprecate throttle limit in TaskExecutorRepeatTemplate
...
Resolves #2218
2022-10-12 18:57:18 +02:00
Mahmoud Ben Hassine
157d7a3a20
Deprecate ItemStreamSupport in favor of using default methods in the ItemStream interface
2022-10-12 18:55:46 +02:00
Mahmoud Ben Hassine
668c614ed9
Add default methods in ItemStream interface
2022-10-12 18:55:06 +02:00
Mahmoud Ben Hassine
30cee99578
Remove unused constructor in SkipWrapper
...
This constructor does not make sense as it
does not accept the skipped item.
2022-10-12 18:53:52 +02:00
Mahmoud Ben Hassine
87e69f3e87
Deprecate Classifier
...
This annotation is not used or introspected
by production code.
2022-10-12 18:51:08 +02:00
Henning Poettker
220de61f75
Remove un-used code for jump-to-item queries
2022-10-11 22:10:59 +02:00
Mahmoud Ben Hassine
4bcc6b147c
Exclude jackson-core from avro dependency
...
This was bringing a version of Jackson that is
conflicting with the required version of Jackson.
2022-10-11 16:55:55 +02:00
Mahmoud Ben Hassine
2b258d1b88
Change the default execution context serializer to DefaultExecutionContextSerializer
...
This commit changes the default execution context serializer to
DefaultExecutionContextSerializer, which makes Jackson an optional
dependency.
Resolves #4140
2022-10-10 10:39:50 +02:00
Spring Builds
58ce4fecac
[artifactory-release] Next development version
2022-10-05 04:16:28 +00:00
Spring Builds
771c14f00d
[artifactory-release] Release version 5.0.0-M7
2022-10-05 04:16:25 +00:00
Henning Poettker
a3c692d5fa
Upgrade Derby to version 10.16.1.1
2022-10-04 23:20:59 +02:00
Mahmoud Ben Hassine
b9b7c0891a
Fix formatting
2022-09-22 07:40:44 +02:00
Mahmoud Ben Hassine
39b8279831
Fix incorrect reference to SimpleJdbcTemplate in reference documentation
...
Resolves #4197
2022-09-22 07:11:33 +02:00
Spring Builds
83ef59ac5e
[artifactory-release] Next development version
2022-09-21 18:35:32 +00:00
Spring Builds
ba7cad4ad8
[artifactory-release] Release version 5.0.0-M6
2022-09-21 18:35:29 +00:00
Mahmoud Ben Hassine
42b1b2f2c9
Put back "Replace ListenableFuture with CompletableFuture"
...
Related to a165247284 .
2022-08-24 20:08:14 +02:00
Spring Builds
878578f829
[artifactory-release] Next development version
2022-08-24 17:14:59 +00:00
Spring Builds
7fc0af6785
[artifactory-release] Release version 5.0.0-M5
2022-08-24 17:14:56 +00:00
Mahmoud Ben Hassine
a165247284
Revert "Replace ListenableFuture with CompletableFuture"
...
This reverts commit a2cf74ad as the change was made after
spring-kafka 3.0.0-M5 was released. This version is required
to release spring-batch 5.0.0-M5
This change will be put back after releasing 5.0.0-M5.
2022-08-24 18:09:29 +02:00
Mahmoud Ben Hassine
0a75bc7d84
Deprecate Hibernate support
...
Resolves #4150
2022-08-24 15:49:29 +02:00
Mahmoud Ben Hassine
fe40370f39
Refine contribution #4167
...
The documentation generation change introduced
in #4167 seems to scan more files than previously
WRT checking the code formatting style.
This commit fixes the formatting of the files
that do not conform to the Spring style.
2022-08-21 09:52:35 +02:00
Mahmoud Ben Hassine
e67c0069f1
Use the Chunk API consistently
...
This commit replaces the usage of List with Chunk
where appropriate. Summary of changes:
- The Chunk class was moved from the `org.springframework.batch.core.step.item` package to the `org.springframework.batch.item` package
- The signature of the method `ItemWriter#write(List)` was changed to `ItemWriter#write(Chunk)`
- All implementations of `ItemWriter` were updated to use the Chunk API instead of List
- All methods in the `ItemWriteListener` interface were updated to use the Chunk API instead of List
- All implementations of `ItemWriteListener` were updated to use the Chunk API instead of List
- The constructor of `ChunkRequest` was changed to accept a Chunk instead of a Collection of items
- The return type of `ChunkRequest#getItems()` was changed from List to Chunk
Resolves #3954
2022-08-19 13:40:09 +02:00
Henning Poettker
e4056b4234
Polish Spring Batch Infrastructure tests
2022-08-02 18:08:36 +02:00
Henning Poettker
f14d57f264
Fix RecordFieldExtractorTests
2022-08-02 16:18:35 +02:00
Mahmoud Ben Hassine
932e93428e
Refine #4125
...
* Fix assertions
* Update RecordFieldExtractorTests to use JUnit Jupiter
2022-07-27 15:28:04 +02:00
Henning Poettker
83d01fbfca
Migrate Spring Batch Infrastructure to JUnit Jupiter
...
Issue #4125
2022-07-27 15:26:22 +02:00
Mahmoud Ben Hassine
30166a8aae
Revert "Improve generic type handling in RepositoryItemReader"
...
This reverts commit a30aaac4be
which had the side effect of no longer being able to use queries
in `RepositoryItemReader` that return a different type than the
repository's entity type.
Resolves #4164
2022-07-26 07:00:22 +02:00
Henning Poettker
a2cf74adec
Replace ListenableFuture with CompletableFuture
...
Related to https://github.com/spring-projects/spring-kafka/issues/2357
2022-07-26 06:39:19 +02:00
Spring Builds
08adb4550a
[artifactory-release] Next development version
2022-07-21 03:17:06 +00:00
Spring Builds
d46aeef01d
[artifactory-release] Release version 5.0.0-M4
2022-07-21 03:17:03 +00:00
Taeik Lim
ed945ca61d
Add @FunctionalInterface where appropriate
...
Resolves #4107
2022-07-20 19:05:36 +02:00
Fadhel Mahmoud Ben Hassine
3b8b35cffb
Exclude micrometer-core from artemis-server dependency
...
This was causing a version clash for micrometer-core
in spring-batch-test.
2022-07-20 15:35:17 +02:00
Fadhel Mahmoud Ben Hassine
8df2f1f3cb
Fix formatting
2022-07-20 12:29:42 +02:00
Fadhel Mahmoud Ben Hassine
1b8a012907
Configure the right FieldExtractor based on the type of items in FlatFileItemWriterBuilder
...
Resolves #4161
2022-07-20 12:23:17 +02:00
Fadhel Mahmoud Ben Hassine
4d46d581f9
Configure the right FieldSetMapper based on the type of items in FlatFileItemReaderBuilder
...
Resolves #4160
2022-07-20 07:10:05 +02:00
Fadhel Mahmoud Ben Hassine
9a8fb1e8ec
Add FieldExtractor implementation for Java records
...
Resolves #4159
2022-07-20 06:30:58 +02:00