Commit Graph

5408 Commits

Author SHA1 Message Date
Mahmoud Ben Hassine
707b1bf986 Remove the requirement for a Resource to be set
This commit removes the requirement for a Resource to be configured at
build time. This requirement prevented the use of this builder along
with the MultiResourceItemWriter.

Resolves BATCH-2720
2019-11-15 17:46:58 +01:00
Mahmoud Ben Hassine
33f04a9435 Polish 4ad06b5081 2019-11-15 14:58:55 +01:00
Chase Diem
4ad06b5081 BATCH-2845 fix for XSD documentation 2019-11-15 14:56:16 +01:00
Yanming Zhou
af4549bc6a Add https schemas 2019-11-15 11:04:24 +01:00
klauswolfgang
cc6f60871e BATCH-2480 Fix regression due to the fix of BATCH-2442 2019-11-14 11:41:04 +01:00
Mahmoud Ben Hassine
3466f32fba Update docs 2019-10-25 17:12:23 +02:00
Mahmoud Ben Hassine
1622a742b1 Add js to redirect old anchors to new ones 2019-10-24 15:45:28 +02:00
Mahmoud Ben Hassine
e7647b94c3 Polish 43b31ae89c 2019-10-21 11:54:30 +02:00
Mahmoud Ben Hassine
43b31ae89c Make the list of streams final in CompositeItemStream
Resolves BATCH-1969
2019-10-21 11:43:58 +02:00
Mahmoud Ben Hassine
119ed557a0 Fix typo
Resolves BATCH-2790
2019-10-19 00:32:18 +02:00
Spring Buildmaster
e4cdcc0f28 [artifactory-release] Next development version 2019-10-01 21:37:28 +00:00
Spring Buildmaster
228e39f976 [artifactory-release] Release version 4.2.0.RELEASE 2019-10-01 21:37:24 +00:00
Mahmoud Ben Hassine
ed60afbb12 Update dependencies 2019-10-01 21:16:14 +02:00
Mahmoud Ben Hassine
efc8639afb Exclude samples from Javadoc
Resolves BATCH-2215
2019-09-30 09:00:19 +02:00
Mahmoud Ben Hassine
5b46c919ea Deprecate ListPreparedStatementSetter in favor of ArgumentPreparedStatementSetter
ListPreparedStatementSetter is almost a duplicate of
ArgumentPreparedStatementSetter except that it accepts a List of
arguments instead of an array of arguments.

Resolves BATCH-2796
2019-09-27 11:05:33 +02:00
Mahmoud Ben Hassine
2306141826 Polish a7092a21e4 2019-09-17 17:06:44 +02:00
mikeldpl
a7092a21e4 Added @Nullable annotation to overriding methods.
Resolves BATCH-2839
2019-09-17 16:50:44 +02:00
Mahmoud Ben Hassine
4ec227cd6e Revert 276acd1960
This commit reverts the change to `StepLocator` as it introduces
an inconsistency with `JobLocator` (one returns null and the other
throws an exception when no step/job is found with the given name).
2019-09-17 16:50:44 +02:00
Mahmoud Ben Hassine
6481ae6456 Update Spring projects dependencies to latest BUILD-SNAPSHOT 2019-09-13 12:14:53 +02:00
Spring Buildmaster
badba4ff4b [artifactory-release] Next development version 2019-09-06 20:55:58 +00:00
Spring Buildmaster
b116d363f4 [artifactory-release] Release version 4.2.0.RC1 2019-09-06 20:55:54 +00:00
Mahmoud Ben Hassine
85a4301c4c Add new line in gradle.properties 2019-09-06 22:32:14 +02:00
Mahmoud Ben Hassine
0b86c660c4 Update dependencies for release 2019-09-06 22:31:24 +02:00
Mahmoud Ben Hassine
63d3e4e043 Remove unused methods in BatchMetrics
Related to BATCH-2774 (See PR #690)
2019-09-06 14:52:25 +02:00
Gary Gregory
c4010fbffa Allow access from subclasses to JdbcBatchItemWriter instance variables 2019-09-06 14:38:23 +02:00
Michael Minella
fd569c4b83 Polish 2019-09-05 14:07:08 -05:00
Mahmoud Ben Hassine
62a8f441ab Improve the performance of step partitioning
This commit improves the performance of splitting a step execution.
It moves the logic of finding the last step execution of a job instance
to the database (instead of doing it in memory).

Resolves BATCH-2716
2019-09-05 13:47:53 -05:00
Mahmoud Ben Hassine
161801e844 Update dependencies 2019-09-05 20:25:59 +02:00
Mahmoud Ben Hassine
023a192bc8 Update Spring projects dependencies to latest BUILD-SNAPSHOT 2019-09-04 21:14:16 +02:00
Mahmoud Ben Hassine
a15a6bfad8 Fix object mapper customization in Jackson2ExecutionContextStringSerializer
This commit fixes the setter of object mapper to copy the configuration
of the custom object mapper provided by the user and "augment" it with
the JobParametersModule.

Resolves BATCH-2828
2019-09-04 12:52:28 +02:00
Spring Buildmaster
5be1c9af94 [artifactory-release] Next development version 2019-08-03 03:13:47 +00:00
Spring Buildmaster
3336bf7ea8 [artifactory-release] Release version 4.2.0.M3 2019-08-03 03:13:43 +00:00
Michael Minella
117e52bde5 Updates 2019-08-02 22:02:10 -05:00
Michael Minella
4fa15dd53d Still working on the DecisionStepTests#testDecisionAfterSplit 2019-08-02 21:57:50 -05:00
Michael Minella
4287f5a2ce Updated to address DecisionStepTests#testDecisionAfterSplit occasional failure 2019-08-02 21:28:49 -05:00
Michael Minella
a140a9f5a1 Attempting to fix the KafkaItemReaderTests#testReadFromMultiplePartitionsAfterRestart 2019-08-02 17:06:54 -05:00
Michael Minella
683340e23f Updated versions for release 2019-08-02 15:55:56 -05:00
Michael Minella
4b9554fcce Polish 2019-08-02 14:33:45 -05:00
Jay Bryant
85b3e90026 Replacing "master" and "slave"
Per a request from Michael Minella, I replaced "master" with "manager" and "slave" with "worker" in the Spring Batch Reference Guide. I heartily concur with replacing terms that have such dark connotations.
2019-08-02 14:33:37 -05:00
Mahmoud Ben Hassine
3743894fa4 Replace "Master/Slave" with "Manager/Worker"
Resolves BATCH-2834
2019-08-02 13:13:54 -05:00
Jay Bryant
3f126fe0ff Fixed a refresh bug in the document toggle
While working on another feature, I noticed that the document toggle wasn't updating the ToC. I fixed that. (It matters only in the case where entire headings are toggled, but we do have one such case.)
2019-08-01 09:59:19 -05:00
Mahmoud Ben Hassine
f26165e764 Polish bd53168ddb 2019-07-30 18:02:34 +02:00
David Turanski
bd53168ddb Implement AvroItemReader and AvroItemWriter
Resolves BATCH-2833
2019-07-30 17:57:54 +02:00
Mahmoud Ben Hassine
872845cae8 Improve the lookup for running job executions in CommandLineJobRunner
Before this commit, getting the running job executions loaded
all job executions from the database and filtered them in-memory.

This commit uses `JobExplorer#findRunningJobExecutions` which issues
a query that does the filtering on the database side. This change
considerably improves the performance of stopping a job.

Resolves BATCH-2422
2019-07-26 10:24:20 -05:00
Michael Minella
fda70ccbcb Fixed integration test breaking build 2019-07-25 17:31:25 -05:00
Mahmoud Ben Hassine
7c1fbede1b Add new methods to get the last job instance/execution in JobInstance/JobExecution DAOs
Before this commit, getting the last job instance/execution required to
load all job instances/executions from the database and filter them
on the client side in memory.

This commit introduces new methods that use database queries to get
the last job instance/execution without the need to load all job
instances/executions. This change improves memory consumption as well as
the performance of starting the next instance of a job.

Resolves BATCH-1784
2019-07-25 10:56:19 -05:00
Mahmoud Ben Hassine
afc25dc873 Update Spring projects dependencies to latest BUILD-SNAPSHOT 2019-06-14 15:20:26 +02:00
Mahmoud Ben Hassine
cae3f33122 Disable fuzzy matching when distanceLimit = 0
Before this commit, fuzzy matching is performed even though exact
matching is requested (distanceLimit = 0).

This commit bypasses fuzzy matching when distanceLimit = 0 which
improves performance.

Resolves BATCH-1801
2019-05-30 14:22:38 +02:00
Ron Sims II
39f4d71949 Fix typo in error message in JdbcCursorItemReaderBuilder 2019-05-27 12:54:04 +02:00
Mahmoud Ben Hassine
56ef0f35a9 Polish 229fed4e24
- Remove duplicate code
- Add assertions in `testPersist`
- Add integration tests
2019-05-23 15:22:57 +02:00