Commit Graph

203 Commits

Author SHA1 Message Date
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
dd823fa474 Update documentation for 5.0.0-M8 release 2022-10-13 11:50:41 +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
Mahmoud Ben Hassine
1b722f6595 Update documentation for release 5.0.0-M7 2022-10-05 05:39:45 +02:00
Ivan Agafonov
c2e8ef0845 Fix minor example in job.adoc 2022-10-04 23:05:55 +02:00
Mahmoud Ben Hassine
fd9dca3504 Fix column names in BATCH_JOB_EXECUTION_PARAMS
For some DB providers, columns cannot be named "VALUE".
This commit adds a prefix where appropriate to the columns
of `BATCH_JOB_EXECUTION_PARAMS`.

Related to:

* https://github.com/spring-projects/spring-batch/issues/3960
2022-10-04 22:13:40 +02:00
Mahmoud Ben Hassine
2660f2bb27 Add support to use any type as a job parameter
This commit also changes the way job parameters
are parsed and persisted.

NB: This commit should ideally have been split
into two change sets. But the changes are tightly
related that is was not possible to separate them.

Related to:

* https://github.com/spring-projects/spring-batch/issues/3960
* https://github.com/spring-projects/spring-batch/issues/2122
* https://github.com/spring-projects/spring-batch/issues/1035
* https://github.com/spring-projects/spring-batch/issues/1983
2022-10-04 20:35:50 +02:00
Mahmoud Ben Hassine
39b8279831 Fix incorrect reference to SimpleJdbcTemplate in reference documentation
Resolves #4197
2022-09-22 07:11:33 +02:00
Mahmoud Ben Hassine
be231f7316 Improve the documentation of scoped beans definition
Resolves #1502
2022-09-22 06:50:52 +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
219fee3bad Update documentation 2022-09-21 19:51:08 +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
f7ca108cff Update "what's new section" for 5.0.0-M5 2022-08-24 18:28:09 +02:00
Jay Bryant
f89aa20861 Use spring-asciidoctor-backends for documentation generation
Resolves #3865
2022-08-21 09:44:12 +02:00
Mahmoud Ben Hassine
c506a49988 Remove job autowiring in JobLauncherTestUtils
Before this commit, registering the JobLauncherTestUtils
as a bean in the test context (either manually or via
`@SpringBatchTest`) was failing when multiple jobs are
defined in the test context.

This commit removes the autowiring of the job under test
in JobLauncherTestUtils.

Resolves #1237
2022-08-20 12:39:02 +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
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
Fadhel Mahmoud Ben Hassine
9d322e9de2 Update whatsnew.adoc 2022-07-20 23:32:12 +02:00
Henning Poettker
a393dc533d Replace deprecated IntegrationFlows 2022-07-20 18:28:34 +02:00
Marvin Deng
c0791039dc Rename SimpleJobLauncher to TaskExecutorJobLauncher
Resolves #4123
2022-07-19 13:34:23 +02:00
Spring Builds
b9bc4c1488 [artifactory-release] Next development version 2022-05-19 01:22:57 +00:00
Spring Builds
a99f1c8645 [artifactory-release] Release version 5.0.0-M3 2022-05-19 01:22:54 +00:00
Mahmoud Ben Hassine
53eabcdeee Update the "what's new" section for 5.0.0-M3 2022-05-18 20:29:44 +02:00
Mahmoud Ben Hassine
df8dac19df Change default encoding to UTF-8 in file-based readers and writers
This commit overrides the fix in #3910 by using UTF-8
as default encoding in file-based item readers and writers.

Issue #1154
2022-05-17 20:07:03 +02:00
Mahmoud Ben Hassine
9f4424f4fa Fix documentation WRT restarting an abruptly stopped job
Resolves #4037
2022-05-05 18:03:18 +02:00
Mahmoud Ben Hassine
30ad62f78a Refine contribution #4083
Add "Spring Batch Architecture" section to the index
2022-05-05 17:21:43 +02:00
Jay Bryant
9b8782490f Editing pass for reference docs
Issue #4083
2022-05-05 17:08:05 +02:00
Xavi Lee
f23ab15448 Update copyright date 2022-04-01 16:17:59 +02:00
Spring Builds
437f4797f8 [artifactory-release] Next development version 2022-03-23 11:57:35 +00:00
Spring Builds
273ddeed90 [artifactory-release] Release version 5.0.0-M2 2022-03-23 11:57:32 +00:00
Mahmoud Ben Hassine
ff9d069514 Update "what's new section" 2022-03-23 11:11:32 +01:00
Rod Lecocq
6b34563c6f Fix doc for schema BATCH_JOB_INSTANCE.JOB_KEY
Fixes #4071
2022-03-08 12:06:19 +01:00
Rohit Sanjay
875be704c2 Fix typos in documentation 2022-02-22 13:30:03 +01:00
Spring Builds
75b1492039 [artifactory-release] Next development version 2022-01-19 12:13:24 +00:00
Spring Builds
a06a866410 [artifactory-release] Release version 5.0.0-M1 2022-01-19 12:13:21 +00:00
Jay Bryant
9be389c3f8 Restore the dynamic ToC
Prior commits had removed the scripts that enable the dynamic ToC.
A new line in the docs pom restores the scripts.

Issue #4019
2022-01-19 06:46:55 +01:00
Mahmoud Ben Hassine
0bd45e72b1 Update whatsnew.adoc 2022-01-19 05:48:44 +01:00
Mahmoud Ben Hassine
ced3d06866 Add maven build-helper plugin
This plugin is used to attach metadata
about documentation artifacts
2022-01-07 20:42:15 +01:00
Mahmoud Ben Hassine
033d7e584b Update the what's new section for v5 2021-12-20 22:52:11 +01:00
Mahmoud Ben Hassine
e5c752b4b8 Remove JSR-352 implementation
Resolves #3894
2021-12-13 09:57:48 +01:00
Mahmoud Ben Hassine
5dc17b190e Upgrade dependencies to major versions for Spring Batch 5
* Upgrade to Jakarta EE 9
* Upgrade to Spring Framework 6
* Upgrade to Spring Integration 6
* Upgrade to Spring Data 3
* Upgrade to Spring AMQP 3
* Upgrade to Spring for Apache Kafka 3

LDIF support is still in progress waiting for the next
major version of Spring LDAP.

Closes #4027
Closes #3656
2021-11-22 12:16:49 +01:00
Mahmoud Ben Hassine
753a538a69 Remove reference to Spring Batch Admin in job.adoc 2021-10-01 19:22:02 +02:00
Jay Bryant
beaac5c62f Editing of the job edit changes
Editing new content
2021-10-01 19:14:50 +02:00
Sanghyuk Jung
4d67858c7c Fix typos in document for configuring steps 2021-08-18 21:29:20 +02:00