Commit Graph

5788 Commits

Author SHA1 Message Date
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
Mahmoud Ben Hassine
dc04f53141 Prepare release 5.0.0-M2 2022-03-23 09:45:46 +01:00
Mahmoud Ben Hassine
984570a1b1 Rename schema-oracle10g.sql to schema-oracle.sql
Resolves ##1057
2022-03-22 17:29:59 +01:00
Drummond Dawson
15e18e5fcd Add constructors with var args/Lists
For classes that have a setter for a List<T> field,
create Constructors that take List<T> and var args of T.

Issue #686
2022-03-21 17:16:24 +01:00
Mahmoud Ben Hassine
968a5b5b2e Refine contribution #595
- Update versions of jdbc driver and docker image
- Update Javadocs
- Remove JOB_CONFIGURATION_LOCATION from DDL schema
- Remove unused resources
2022-03-18 17:45:36 +01:00
Jonathan Bregler
9388abb589 Integrate SAP Hana as supported Spring Batch database
This commit adds SAP HANA as a supported Spring Batch database, enabling
developers to seamlessly move their existing Spring Batch projects to SAP HANA
or easily starting new Spring Batch projects on SAP HANA.

This commit contains the following changes:

- Add SAP HANA to the DatabaseType enum
- Add HanaPagingQueryProvider and tests
- Add properties files for SAP HANA

Issue #2515
2022-03-18 16:52:50 +01:00
Mahmoud Ben Hassine
44dd4f7f56 Make the DOUBLE_TYPE constant public in DefaultJobParametersConverter
This commit changes the visibility of the DOUBLE_TYPE constant
to be consistent with other constants.
2022-03-17 18:39:57 +01:00
Glenn Renfro
4e357097bb Add missing docs for batch.core and batch.core.configuration packages
Issue #4068
2022-03-17 18:36:01 +01:00
Mahmoud Ben Hassine
61ffc5536e Update dependencies 2022-03-17 16:41:24 +01:00
Mahmoud Ben Hassine
25375ccc40 Upgrade XStream to version 1.4.19
This commit also improves the XStreamUnmarshallingTests
2022-03-16 18:03:01 +01:00
Mahmoud Ben Hassine
9cbde4eea6 Fix RepositoryFunctionalTests
Due to the decoupling of `PagingAndSortingRepository` from
`CrudRepository` in Spring Data 3 [1], this test has to be updated
to use different repositories between the reader and the writer
according to the expected types for the `repository` property.

[1]: https://github.com/spring-projects/spring-data-commons/issues/2537
2022-03-16 17:15:56 +01:00
Mahmoud Ben Hassine
905630d521 Update mongodb-driver-sync to version 4.5.0 2022-03-16 17:07:15 +01:00
Mahmoud Ben Hassine
ae6c0b9809 Refine contribution #4065
* Fix tests
* Update Javadocs
* Update year in license headers
* Move observability APIs to a separate package
2022-03-16 17:03:14 +01:00
Marcin Grzejszczak
e917d75d20 Add Observation API
Issue #4065
2022-03-16 16:14:50 +01:00
Rod Lecocq
6b34563c6f Fix doc for schema BATCH_JOB_INSTANCE.JOB_KEY
Fixes #4071
2022-03-08 12:06:19 +01:00
Glenn Renfro
710d89ce9d Remove benign [WARNINGS] from batch build
This is done by:
1) Enabling quiet for doc build so that it, "Shuts off non-error and non-warning messages," so that builders can focus on warnings.
2) Disable missing javadoc warnings.   We will handle missing javadoc warnings in subsequent PRs.
3) Fix existing warnings that are in the batch code base.

This reduces the number of [WARNING]s from 7171 down to 52
2022-03-04 15:37:14 +01:00
Edgar Asatryan
2e68451cf3 Check arguments of MongoItemReader#setSort
Issue #4014
2022-02-23 12:29:21 +01:00
me
212b3ce950 change parameterValues check -> CollectionUtils.isEmpty
Resolves #4021
2022-02-22 14:08:25 +01:00
Rohit Sanjay
875be704c2 Fix typos in documentation 2022-02-22 13:30:03 +01:00
Aaron
abcd960286 Fix javadoc of FaultTolerantChunkProvider
FaultTolerantChunkProvider is an implementation
of ChunkProvider, not ChunkProcessor.

Issue #4029
2022-02-18 15:24:35 +01:00
Taeik Lim
dce1525e87 Add @Nullable to StepExecution::getEndTime 2022-02-18 14:54:25 +01:00
Mahmoud Ben Hassine
0c0a847930 Update Spring dependencies to latest snapshots 2022-02-17 16:33:39 +01:00
Jonatan Ivanov
c1aec1d0ea Upgrade next version of Micrometer and fix breaking changes 2022-02-17 12:29:28 +01:00
Glenn Renfro
401feb29f7 Remove database tables before starting tests 2022-02-16 12:19: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
Mahmoud Ben Hassine
fc91a143a6 Prepare release 5.0.0-M1 2022-01-19 11:33:11 +01: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
Henning Poettker
d23d4f9dde Adapt H2PagingQueryProvider for H2 v2.x
Issue #4047
2022-01-18 16:10:00 +01:00
Mahmoud Ben Hassine
baf80a7739 Make spring-jdbc a required dependency in core
As of v4, spring-jdbc was optional since
Spring Batch provided a Map-based job
repository.

In v5, the Map-based job repository has
been removed and the only option now is
the Jdbc-based implementation which requires
spring-jdbc.

Resolves #4048
Related to #3836
2022-01-18 15:33:06 +01:00
Mahmoud Ben Hassine
115c302214 Upgrade Spring Ldap version to 3.0.0-SNAPSHOT 2022-01-14 09:18:21 +01:00
Philippe Marschall
9710220c14 Make countStepExecutions access batch_job_execution only once
Change JdbcStepExecutionDao.COUNT_STEP_EXECUTIONS to access the
table batch_job_execution only once.

Issue #3876
2022-01-13 14:57:08 +01:00
Philippe Marschall
8d89a4b04e Simplify GET_LAST_STEP_EXECUTION
Simplify JdbcStepExecutionDao#GET_LAST_STEP_EXECUTION
to use an equi-join instead of an cartesian join and
a subselect.

Issue #3997
2022-01-13 12:27:05 +01:00
Mahmoud Ben Hassine
57b2da5bb7 Document default types of beans registered by EnableBatchProcessing
Resolves #3993
2022-01-12 00:11:52 +01:00
Henning Poettker
e267e1f788 Adjust h2 schema to work with v2.0.x
Upgrade to H2 2.0.206

Issue #4043
2022-01-09 07:06:10 +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
abab69bf36 Upgrade micrometer version to 2.0.0-SNAPSHOT 2022-01-06 22:43:54 +01:00
Mahmoud Ben Hassine
9259474df7 Add migration script for SQLServer to update the type of SERIALIZED_CONTEXT column
Issue #864
2022-01-02 21:31:33 +01:00
Mahmoud Ben Hassine
a58132f65f Update dependencies 2021-12-22 11:56: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
17243c1490 Remove usage of deprecated APIs from Jackson 2021-12-16 14:55:09 +01:00
Mahmoud Ben Hassine
69704acce2 Upgrade log4j version to 2.15.0 2021-12-14 16:19:22 +01:00
Mahmoud Ben Hassine
e5c752b4b8 Remove JSR-352 implementation
Resolves #3894
2021-12-13 09:57:48 +01:00
Mahmoud Ben Hassine
f3a11847e1 Add setter for isolation level with a strongly typed parameter
Resolves #4032
2021-12-08 11:31:30 +01:00
Mahmoud Ben Hassine
e8e3f5da08 Reactivate LdifReader tests
These tests were ignored in 5dc17b19
due to a runtime issue with spring-ldap.
This issue has been fixed in
https://github.com/spring-projects/spring-ldap/issues/590.
2021-11-25 14:13:58 +01:00
Mahmoud Ben Hassine
411055f433 Update dependencies 2021-11-24 11:09:02 +01:00
Mahmoud Ben Hassine
f2cfda0eda Update jackson version to 2.13.0 2021-11-23 09:57:56 +01:00
Mahmoud Ben Hassine
0d3282554c Remove the unconditional exposure of the transaction manager as a bean
This commit removes the unconditional exposure of the transaction
manager as a bean in the application context. The transaction manager
is still taken from the BatchConfigurer and set where needed (ie on
JobRepository and StepBuilderFactory) as previously done,
but is not exposed anymore as a bean to prevent any clash with a user
defined transaction manager.

If no transaction manager is provided, a DataSourceTransactionManager
will be configured by default as required by batch (without being exposed
as a bean).

Resolves #816
2021-11-22 15:35:02 +01:00