69 Commits

Author SHA1 Message Date
Mahmoud Ben Hassine
45b3c5ef93 Fix javadocs assembly descriptor 2024-09-04 13:17:28 +02:00
Mahmoud Ben Hassine
51417e1568 Fix documentation assembly descriptor 2023-09-08 11:43:06 +02:00
Rob Winch
2e8d5063f7 Migrate documentation to Antora
Issue #4422
2023-09-06 08:58:43 +02:00
Mahmoud Ben Hassine
24253e762b Update the what's new section 2023-08-23 15:46:59 -07:00
Mahmoud Ben Hassine
6d640134dc Update "What's New in Spring Batch" section 2023-07-19 10:42:30 +02:00
Mahmoud Ben Hassine
2374a5ac11 Document thread-safety of item readers and writers
This commit also adds a sample of how to use the
synchronized decorators of item readers and writers.

Resolves #3646
2023-05-09 11:55:32 +02:00
Jay Bryant
851bf706d8 Fix for the XML/Java switch regression
and some other problems.

Some problems cannot be fixed.
See the comment for details.

Partially resolves #4168
2023-04-24 16:20:45 +02:00
James Woodruff
c146f80e42 Fix BATCH_STEP_EXECUTION DDL in schema appendix
Issue #4356
2023-04-24 15:41:25 +02:00
Kajsa Anderson
74be83a3a5 Update scalability.adoc
Move commentary on xml configuration just below the configuration
it's explaining, instead of having it in the middle of the Java
configuration example.

Issue #4338
2023-03-29 12:22:52 +02:00
swapy
1343eee3c2 Fix type of date/time fields in documentation
This commit fixes a bug in the documentation of JobExecution
and StepExecution to point to `java.time.LocalDateTime` instead
of `java.util.Date`.

Resolves #4324
2023-03-21 15:24:20 +01:00
Mahmoud Ben Hassine
af62a22919 Add Spring Batch logo in README.md 2023-03-01 22:28:21 +01:00
Mahmoud Ben Hassine
1741815f51 Fix directory name in XSD schema distribution content 2023-02-20 22:43:43 +01:00
xiang66.li
c4289b4204 Fix incorrect reference to AbstractJobTests in testing.adoc
Resolves #4182
2023-02-09 19:08:37 +01:00
Glenn Renfro
e4de63c2eb Update architecture adoc so that its batch-asciidoc variable is set
* Updated all docs that had `batch-asciidoc` declared to use attributes.adoc instead.
This way we can set the variable in one location and all adocs can take advantage of it.
* Also made sure that `batch-asciidoc` was set to use a relative path vs. the link in the UI.
This is because the PDF can't use a URL that contains the `-` character.

Resolves #4268
2023-02-08 15:12:50 +01:00
soohunee
562bb0742c Fix typo tnew to new in adoc files 2023-02-08 00:01:28 +01:00
Mahmoud Ben Hassine
de4508b4ff Add missing bullet point in whatsnew.adoc 2023-02-07 22:39:44 +01:00
Mahmoud Ben Hassine
97b55e229a Remove unused distribution resources 2022-12-09 10:35:20 +01:00
Mahmoud Ben Hassine
d54fa25d00 Update documentation 2022-11-23 17:01:32 +01:00
Danilo Piazzalunga
fc0ec01ff8 Throw IllegalStateException from afterPropertiesSet
Consistently use Assert.state in the afterPropertiesSet()
methods to throw IllegalStateException instead of
IllegalArgumentException when some properties are missing
and/or invalid.

Resolves #2244
2022-11-23 12:22:26 +01:00
Mahmoud Ben Hassine
8aa1becd41 Update "what's new" section for 5.0.0-RC2 release 2022-11-09 14:44:23 +01:00
Mahmoud Ben Hassine
35c7eabc5c Update documentation for 5.0.0-RC1 release 2022-10-19 22:02:32 +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
Mahmoud Ben Hassine
dd823fa474 Update documentation for 5.0.0-M8 release 2022-10-13 11:50:41 +02: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
Mahmoud Ben Hassine
219fee3bad Update documentation 2022-09-21 19:51:08 +02: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
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