Commit Graph

6093 Commits

Author SHA1 Message Date
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
Philippe Marschall
8c7fb5ca02 Check the return value of File.delete()
Check the return value of File.delete() and
throw an exception if deleting a file fails.

Issue #4203
2023-02-13 14:12:56 +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
43fa18fa13 Use thread-safe collections in multithreaded test 2023-02-13 13:27:17 +01:00
Henning Poettker
f4f00fbf49 Synchronize reader for multithreaded test 2023-02-13 13:25:42 +01:00
Mahmoud Ben Hassine
5bdba93b7b Upgrade Jackson dependency to version 2.14.2
Related to #4287
2023-02-13 12:15:04 +01:00
xiang66.li
c4289b4204 Fix incorrect reference to AbstractJobTests in testing.adoc
Resolves #4182
2023-02-09 19:08:37 +01:00
Mahmoud Ben Hassine
79df0b6e3e Add "-parameters" to compiler arguments
This commit adds "-parameters" to the compiler
arguments to remove Spring Framework warnings
about parameter name resolution.

Resolves #4258
Related to https://github.com/spring-projects/spring-framework/pull/29531
2023-02-09 15:53:36 +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
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
4b6dd3d0c5 Upgrade spring-asciidoctor-backends version to 0.0.4 2023-02-08 00:08:42 +01:00
juhyun
e79b366957 Fix double "before" typo 2023-02-08 00:02:38 +01:00
soohunee
562bb0742c Fix typo tnew to new in adoc files 2023-02-08 00:01:28 +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
de4508b4ff Add missing bullet point in whatsnew.adoc 2023-02-07 22:39:44 +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
79e1fc475e Update Spring repositories configuration
This commit updates the configuration of the
Spring repositories according to the Notice
of Permissions Changes to repo.spring.io [1]

[1]: https://spring.io/blog/2022/12/14/notice-of-permissions-changes-to-repo-spring-io-january-2023
2023-01-19 10:53:22 +01:00
Mahmoud Ben Hassine
648483f771 Upgrade Spring dependencies to latest snapshots 2023-01-19 10:37:45 +01:00
Mahmoud Ben Hassine
27c0e775b5 Add github action to generate and upload a release documentation 2023-01-18 21:15:17 +01:00
Mahmoud Ben Hassine
17b66ff11d Rename github actions 2023-01-18 20:41:08 +01:00
Mahmoud Ben Hassine
ccd671004c Add github action to stage a release to Sonatype 2023-01-18 20:40:31 +01:00
Mahmoud Ben Hassine
d3bb0ded41 Add github action for continuous inspection 2022-12-16 05:54:35 +01:00
Mahmoud Ben Hassine
80e653f21b Update test-coverage profile to use the default configuration 2022-12-16 05:52:12 +01:00
Mahmoud Ben Hassine
ee31017d06 Add github action to stage a release to Artifactory 2022-12-14 17:31:28 +01:00
Mahmoud Ben Hassine
c93d747f42 Fix SSH key permissions in build action 2022-12-14 17:02:10 +01:00
Mahmoud Ben Hassine
7601553a21 Fix SSH key setup in build action 2022-12-14 16:44:42 +01:00
Mahmoud Ben Hassine
b4d7f6bdfb Add step to setup SSH key in build action 2022-12-14 16:08:39 +01:00
Mahmoud Ben Hassine
2ca5c223d8 Fix syntax of scp command in build action 2022-12-14 06:25:54 +01:00
Mahmoud Ben Hassine
2c863bf7ea Update main CI/CD build action 2022-12-13 13:17:46 +01:00
Mahmoud Ben Hassine
8eed4aca01 Add step to deploy docs during the main CI/CD build 2022-12-13 13:00:43 +01:00
Mahmoud Ben Hassine
b7971ca538 Add Artifactory credentials to the build environment 2022-12-13 00:34:17 +01:00
Mahmoud Ben Hassine
9eebaf4410 Update build to deploy artifacts to Artifactory 2022-12-13 00:24:55 +01:00
Mahmoud Ben Hassine
f6219d32b8 Update maven wrapper to the latest version 2022-12-09 10:53:32 +01:00
Mahmoud Ben Hassine
97b55e229a Remove unused distribution resources 2022-12-09 10:35:20 +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
423067557a Add Github Action to build the project
Issue #4128
2022-12-09 01:37:22 +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
622ed366d0 Update dependencies 2022-11-23 17:02:08 +01:00
Mahmoud Ben Hassine
d54fa25d00 Update documentation 2022-11-23 17:01:32 +01:00