Commit Graph

39 Commits

Author SHA1 Message Date
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
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
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
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
Mahmoud Ben Hassine
0bd45e72b1 Update whatsnew.adoc 2022-01-19 05:48:44 +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
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
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
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
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
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
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
Mahmoud Ben Hassine
3fbfbb9503 Fix documentation of chunk-oriented processing
Resolves #1629 #1179 #1069 #3833
2021-03-11 06:43:19 +01:00
Mahmoud Ben Hassine
be1192cac2 Fix regression in docs
Master/Slave terms were replaced
with Manager/Worker in 85b3e9002
but this seems to be lost when
merging efdce562b0.
2021-02-24 15:09:06 +01:00
Jay Bryant
f225df893b Fix for issue #3848
Added the content that didn't get carried forward from 4.2.x.
2021-02-23 12:14:16 +01:00
Mahmoud Ben Hassine
e2b37f4b4c Tweak documentation generation process
* Update and filter distribution resources
* Use maven's `site` phase instead of `verify`
  to generate docs/distribution
2021-01-29 11:45:33 +01:00
Mahmoud Ben Hassine
78e194805f Add maven assembly descriptors to generate distribution 2021-01-29 11:45:32 +01:00
Mahmoud Ben Hassine
8cfec33ef0 Re-organize documentation resources
This commit also adds scaling diagrams [1]
to Figures.ppt. Those diagrams were not under
source control.

[1]: https://docs.spring.io/spring-batch/docs/current/reference/html/spring-batch-integration.html#externalizing-batch-process-execution
2021-01-29 11:45:31 +01:00