Commit Graph

6036 Commits

Author SHA1 Message Date
Parikshit Dutta
5a35b03300 Add getJobInstance method in JobExplorer/JobRepository
Resolves #3930
2022-11-23 07:44:24 +01:00
Mahmoud Ben Hassine
fd7dd5f1a7 Change the default transaction isolation level to DEFAULT in AbstractJobExplorerFactoryBean
Resolves #4230
2022-11-23 07:13:37 +01:00
Mahmoud Ben Hassine
f72e0f4d16 Fix deprecation notes in ItemStreamSupport
Resolves #4238
2022-11-22 16:54:01 +01:00
Mahmoud Ben Hassine
f14b9a10ef Add native serialization hints for basic Java types
Resolves #4239
2022-11-22 16:34:01 +01:00
Aleksandr Arshavskiy
dfbc3d03da Add serialization runtime hint for HashMap
Partially resolves #4239
2022-11-22 16:07:01 +01:00
Taeik Lim
5da3fce34c Change JobBuilderHelper#enhance parameter type to AbstractJob
Issue #4231
2022-11-22 11:29:38 +01:00
Taeik Lim
3385a19cb4 Change StepBuilderHelper#enhance parameter type to AbstractStep
Issue #4220
2022-11-22 11:27:24 +01:00
Henning Poettker
92238260f1 Fix JdbcJobExecutionDaoTests 2022-11-18 11:20:09 +01:00
Marvin Deng
1498f90158 Upgrade job execution status from STOPPING to STOPPED if it has already ended
Resolves #4064
2022-11-18 11:20:08 +01:00
Philippe Marschall
c0547c618b Remove sorting from JdbcJobExecutionDao#GET_RUNNING_EXECUTIONS
Remove the sorting from JdbcJobExecutionDao#GET_RUNNING_EXECUTIONS
because #findRunningJobExecutions returns an unsorted HashSet.

Resolves #3987
2022-11-17 16:17:56 +01:00
Marvin Deng
bbf35b79f7 Make the meaning of running status consistent
- A running status is STARTING, STARTED, or STOPPING.
- Update related tests.

 Resolves #1483
2022-11-17 15:40:29 +01:00
Mahmoud Ben Hassine
930bb0243c Implement default methods in SimpleJobRepository
Resolves #4229
2022-11-16 16:11:33 +01:00
Mahmoud Ben Hassine
05bbd3f7ea Remove dependency autowiring in test utilities
Issue #4233
2022-11-16 14:21:17 +01:00
Mahmoud Ben Hassine
842d08cfed Upgrade mongodb-driver-sync dependency to version 4.8.0 2022-11-16 14:08:43 +01:00
Mahmoud Ben Hassine
4dda48dfcc Update Spring dependencies to latest snapshots 2022-11-10 08:00:14 +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
13bda178c1 Update dependencies for 5.0.0-RC2 release 2022-11-09 14:58:37 +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
0a048f31c3 Fix typo in exception message 2022-11-09 10:18:35 +01:00
Mahmoud Ben Hassine
2edd4006d2 Change the return type of counting methods in various DAOs from int to long
This is required for job repository/explorer implementations
that use the Long type to count records in the database.

Resolves #4227
2022-11-08 22:06:16 +01: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
1527593a36 Refine contribution #4218
* Update Javadoc of SpringBatchTest about job autowiring
* Apply Spring code style conventions
2022-11-08 13:45:13 +01:00
Henning Poettker
3bb7ce532b Improve @SpringBatchTest to autowire the job under test in JobLauncherTestUtils if it is unique
Issue #4218
2022-11-08 13:16:36 +01:00
Mahmoud Ben Hassine
621ec92586 Add Micrometer counter for job launches
Resolves #4226
2022-11-08 12:28:43 +01:00
Mahmoud Ben Hassine
d444a8abaf Make the MeterRegistry used by Micrometer configurable
Resolves #4224
2022-11-08 08:33:28 +01:00
Mahmoud Ben Hassine
d889f84735 Remove the static configuration of Micrometer's observation registry
Resolves #4222
2022-11-08 07:48:45 +01:00
Mahmoud Ben Hassine
051e0220fc Add native resource hint for MariaDB DDL script
Related to #3891
2022-11-04 13:24:47 +01:00
Mahmoud Ben Hassine
bc92c4a1da Add native reflection hints for Job/Step contexts 2022-11-04 11:21:37 +01:00
Mahmoud Ben Hassine
5da133ac36 Make ObservationRegistry non final in BatchMetrics
This makes it possible to assign a pre-configured
ObservationRegistry (by Spring Boot for instance)
in BatchMetrics
2022-10-25 17:43:32 +02:00
Mahmoud Ben Hassine
eda046414f Fix typo in method name in DefaultBatchConfiguration 2022-10-25 16:45:50 +02: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
Mahmoud Ben Hassine
724cc97ed6 Update Spring dependencies to latest snapshots 2022-10-20 02:12:23 +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
35c7eabc5c Update documentation for 5.0.0-RC1 release 2022-10-19 22:02:32 +02:00
Mahmoud Ben Hassine
78ad9867ed Update dependencies for 5.0.0-RC1 release 2022-10-19 22:01:58 +02:00
Henning Poettker
15ef22284a Update MySQL Connector/J and use new Maven coordinates 2022-10-19 17:16:20 +02:00
Mahmoud Ben Hassine
0b694117eb Add Spring Batch version in the execution context
Resolves #4215
2022-10-19 16:48:08 +02: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
Mahmoud Ben Hassine
de567e8c6f Fix JavaBean setter collision
This commit changes the name of the overloaded
setter for isolationLevelForCreate to remove
ambiguity in setter selection by Spring Framework.

Resolves #4213
2022-10-18 11:46:02 +02:00
Mahmoud Ben Hassine
05f6d136c6 Fix link to spring-batch.xsd in spring.schemas 2022-10-18 11:18:09 +02:00
Mahmoud Ben Hassine
34f3ec5bc9 Update Spring dependencies to latest snapshots 2022-10-13 12:52:39 +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
b27e28b4b2 Update dependencies for 5.0.0-M8 release 2022-10-13 11:51:09 +02:00
Mahmoud Ben Hassine
dd823fa474 Update documentation for 5.0.0-M8 release 2022-10-13 11:50:41 +02:00