Mahmoud Ben Hassine
46c8ebbe7e
Fix parameters parsing in JobOperator and MetaDataInstanceFactory
...
Before this commit, the parsing of job parameters in
JobOperator#start and MetaDataInstanceFactory#createJobExecution
was accepting the comma separated key=value pairs format,
which is incompatible with the new job parameters format
introduced in v5.
This commit updates the contract as well as the implementation
of those APIs to be compatible with v5.
Resolves #4253
Resolves #4301
2023-02-16 16:19:04 +01:00
Mahmoud Ben Hassine
9883cbc30e
Add default converters for java.time types
...
Resolves #4257
2023-02-15 23:50:45 +01:00
Mahmoud Ben Hassine
30563cd25c
Polish date converters
2023-02-15 23:46:03 +01:00
Mahmoud Ben Hassine
7ecac1c2ff
Add default converters for java.util.Date parameter type
...
Resolves #4297
Resolves #4270
2023-02-15 19:05:47 +01:00
Mahmoud Ben Hassine
8aaf1d3d52
Fix decoding of default job parameter type in extended notation
...
Resolves #4299
2023-02-13 17:32:08 +01:00
Mahmoud Ben Hassine
0b105696fd
Fix code formatting
2023-02-13 17:05:57 +01:00
Philippe Marschall
41517ea283
Use ExecutionContext map constructor
...
Use ExecutionContext map constructor to simplify
ExecutionContextRowMapper.mapRow.
Issue #3985
2023-02-13 16:02:52 +01:00
Philippe Marschall
b38226e810
Optimize ExitStatus#addExitDescription
...
Optimize ExitStatus#addExitDescription by reducing string allocations
through:
- avoid string allocation when the current description is empty
- avoid string allocation when the given description is empty
- avoid intermediate string allocation by allocating the correct buffer size
Issue #3979
2023-02-13 14:38:34 +01:00
Taeik Lim
15f3637ac8
Polish code indent in Javadocs
2023-02-13 13:42:52 +01:00
Philippe Marschall
23878c6cca
Remove unused method
...
Remove the unused #contains method
2023-02-13 13:33:17 +01:00
juhyun
c7c6dbec5c
Add '#' to @link method
2023-02-13 13:30:09 +01:00
juhyun
0b500dc933
Fix double "use" typo
2023-02-13 13:30:09 +01:00
Henning Poettker
f4f00fbf49
Synchronize reader for multithreaded test
2023-02-13 13:25:42 +01:00
Mahmoud Ben Hassine
3a9e6e606c
Fix typo in the Javadoc of JobParameter
2023-02-08 14:58:18 +01:00
drow724
6bea505f15
Add notNull assertion in JobParameter to ensure type is not null
...
Resolves #4263
2023-02-08 14:55:06 +01:00
Mahmoud Ben Hassine
33c8760f49
Fix Oracle migration script for v5
...
Resolves #4271
2023-02-08 14:39:12 +01:00
AlbericMartel
2cb9a24717
Fix PostgreSQL migration script for v5
...
Resolves #4260
2023-02-08 11:21:06 +01:00
Mahmoud Ben Hassine
2de8956840
Remove usage of deprecated maven expressions
...
This commit replaces the usage of `${parent.version}`
with `${project.parent.version}` to fix the following
maven warning:
```
[WARNING] The expression ${parent.version} is deprecated.
Please use ${project.parent.version} instead.
```
2023-02-07 22:45:43 +01:00
Mahmoud Ben Hassine
97e98e21b0
Add native proxy hint for JobOperator
...
Resolves #4248
2023-02-07 22:37:48 +01:00
Mahmoud Ben Hassine
078b011fe8
Update maven pom files
...
- Remove unused plugins and repositories
- Extract versions as properties
2022-12-09 02:47:04 +01:00
Mahmoud Ben Hassine
debdd9f49c
Revert "Update next development version to 5.1.0-SNAPSHOT"
...
This reverts commit 7a34a1520f .
2022-12-09 01:30:34 +01:00
Mahmoud Ben Hassine
7a34a1520f
Update next development version to 5.1.0-SNAPSHOT
2022-12-08 17:26:37 +01:00
Spring Builds
656e3f8895
[artifactory-release] Next development version
2022-11-24 03:30:11 +00:00
Spring Builds
3bef84da7c
[artifactory-release] Release version 5.0.0
2022-11-24 03:30:08 +00:00
Mahmoud Ben Hassine
daaa0013b1
Fetch step executions in SimpleJobRepository#findJobExecutions
...
Resolves #4242
2022-11-23 17:23:44 +01:00
Mahmoud Ben Hassine
4a946892ed
Revert adding a JobRegistryBPP in the default batch configuration
...
Related to #4245
2022-11-23 15:52:10 +01:00
Mahmoud Ben Hassine
15069aa1dc
Fix typos
2022-11-23 15:52:10 +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
66e0b9afde
Register a JobOperator and a JobRegistryBPP with the default configuration
...
This commit registers a `SimpleJobOperator` with the default
batch configuration through `EnableBatchProcessing` and
`DefaultBatchConfiguration`.
It also registers a `JobRegistryBeanPostProcessor` to automatically
populate the registry with user defined jobs.
Resolves #3941
2022-11-23 10:26:17 +01:00
Mahmoud Ben Hassine
171a3c8508
Add method getJobInstance in JobOperator
...
Issue #3930
2022-11-23 08:31:30 +01:00
Mahmoud Ben Hassine
596ee705c8
Refine contribution #3932
...
* Add default methods in interfaces
* Update tests/Javadoc
* Optimize imports
* Apply code style formatting
2022-11-23 08:08:23 +01:00
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
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
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
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
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