Commit Graph

5420 Commits

Author SHA1 Message Date
Mahmoud Ben Hassine
38b43e8aaf Fix default value of comment prefix in FlatFileItemReaderBuilder
Before this commit, the default value of comment prefix in
FlatFileItemReaderBuilder was not consistent with the one in
FlatFileItemReader.

This commit changes the default value of comment prefix to # in
the builder to be consistent with the reader.

Resolves BATCH-2862
2019-12-02 14:31:00 +01:00
Drummond Dawson
e5855c7e6b Support empty comments in FlatFileItemReaderBuilder
Previously, if supplying empty comments or no comments to comments() of the FlatFileItemReaderBuilder, the comments would be ignored and instead use the default comments "#" provided by the FlatFileItemReader.

Resolves BATCH-2837
2019-12-02 11:07:56 +01:00
Mahmoud Ben Hassine
5ee6699ce3 Update JaCoCo to 0.8.5 to fix the build on Java 13
According to https://github.com/jacoco/jacoco/releases/tag/v0.8.5,
this version officially supports Java 13.
2019-11-29 14:30:02 +01:00
Mahmoud Ben Hassine
fba1c3adab Polish 62a2e65e20
Add null check for delimiter
2019-11-29 09:24:55 +01:00
Drummond Dawson
62a2e65e20 Support empty delimiter in DelimitedBuilder of FlatFileItemWriterBuilder
Previously, if supplying an empty delimiter, to the delimited().delimiter() of DelimitedBuilder from the parent FlatFileItemWriterBuilder, it would be ignored and instead use the default delimiter ",".

Resolves BATCH-2844
2019-11-29 09:08:19 +01:00
Yanming Zhou
44c0b8d557 Fix wrong indent 2019-11-27 10:41:36 +01:00
Mahmoud Ben Hassine
85a63425b2 Fix typo 2019-11-26 16:33:05 +01:00
Drummond Dawson
53ec8f6084 Polish DocumentToggle.js
* Declare duplicate jQuery selectors as variables
* Remove extra semicolons after function declarations
* Remove leftover jquery.js from Java/XML toggle implementation

When the Java/XML toggle implementation was introduced,
jquery-3.2.1.min.js replaced the old jquery script in toggle.adoc
and the old jquery script was accidentally leftover as a result.
2019-11-26 14:15:36 +01:00
Michal Fotyga
0f9b2e800e Fix typos, code style, trim pictures in docs
And remove unused file
2019-11-26 13:57:56 +01:00
larryjung
193f82005a Update outdated comment 2019-11-26 13:50:28 +01:00
Yanming Zhou
a7bb1ef886 Polishing docs 2019-11-26 13:33:57 +01:00
Mahmoud Ben Hassine
f55d3bc81e Update docs with expected behaviour in regards to skippable exceptions
Before this commit, the expected behaviour when a skippbale exception
occurs in a fault tolerant chunk-oriented step was not documented in
details.

This commit update the docs and adds a sample for each case (when a
skippable exception occurs during read, process and write).

Resolves BATCH-2541
2019-11-25 11:24:21 +01:00
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