Added documentation for the Single Step Batch Job Starter

This commit does two things:

1. Adds documentation to the reference documentation for the single step
batch job starter.
2. It standardizes the naming of the properties across the various
readers/writers the autoconfiguration provides.

Polished docs on merge
This commit is contained in:
Michael Minella
2020-12-21 00:38:53 -06:00
committed by Glenn Renfro
parent 292b89b7ef
commit 93156fdabc
19 changed files with 677 additions and 143 deletions

View File

@@ -1,9 +1,9 @@
spring.batch.job.flatfilereader.savestate=true
spring.batch.job.flatfilereader.name=fixedWidthConfiguration
spring.batch.job.flatfilereader.comments=#,$
spring.batch.job.flatfilereader.resource=/test.txt
spring.batch.job.flatfilereader.strict=true
spring.batch.job.flatfilereader.fixedLength=true
spring.batch.job.flatfilereader.ranges=1-3
spring.batch.job.flatfilereader.names=ITEM_NAME
spring.batch.job.flatfilereader.parsingStrict=false
spring.batch.job.flatfileitemreader.savestate=true
spring.batch.job.flatfileitemreader.name=fixedWidthConfiguration
spring.batch.job.flatfileitemreader.comments=#,$
spring.batch.job.flatfileitemreader.resource=/test.txt
spring.batch.job.flatfileitemreader.strict=true
spring.batch.job.flatfileitemreader.fixedLength=true
spring.batch.job.flatfileitemreader.ranges=1-3
spring.batch.job.flatfileitemreader.names=ITEM_NAME
spring.batch.job.flatfileitemreader.parsingStrict=false

View File

@@ -1,11 +1,11 @@
spring.batch.job.flatfilewriter.name=fooWriter
spring.batch.job.flatfilewriter.resource=file:result.txt
spring.batch.job.flatfilewriter.encoding=UTF-16
spring.batch.job.flatfilewriter.saveState=false
spring.batch.job.flatfilewriter.shouldDeleteIfEmpty=true
spring.batch.job.flatfilewriter.delimited=true
spring.batch.job.flatfilewriter.names=ITEM_NAME
spring.batch.job.flatfilewriter.append=true
spring.batch.job.flatfilewriter.forceSync=true
spring.batch.job.flatfilewriter.shouldDeleteIfExists=false
spring.batch.job.flatfilewriter.transactional=false
spring.batch.job.flatfileitemwriter.name=fooWriter
spring.batch.job.flatfileitemwriter.resource=file:result.txt
spring.batch.job.flatfileitemwriter.encoding=UTF-16
spring.batch.job.flatfileitemwriter.saveState=false
spring.batch.job.flatfileitemwriter.shouldDeleteIfEmpty=true
spring.batch.job.flatfileitemwriter.delimited=true
spring.batch.job.flatfileitemwriter.names=ITEM_NAME
spring.batch.job.flatfileitemwriter.append=true
spring.batch.job.flatfileitemwriter.forceSync=true
spring.batch.job.flatfileitemwriter.shouldDeleteIfExists=false
spring.batch.job.flatfileitemwriter.transactional=false

View File

@@ -1,2 +1,2 @@
spring.batch.job.jdbccursorreader.name=fooReader
spring.batch.job.jdbccursorreader.sql=select item_name from item_sample order by item_name
spring.batch.job.jdbccursoritemreader.name=fooReader
spring.batch.job.jdbccursoritemreader.sql=select item_name from item_sample order by item_name

View File

@@ -1,2 +1,2 @@
spring.batch.job.jdbcwriter.name=jdbcWriter
spring.batch.job.jdbcwriter.sql=INSERT INTO item (item_name) VALUES (:ITEM_NAME)
spring.batch.job.jdbcbatchitemwriter.name=jdbcWriter
spring.batch.job.jdbcbatchitemwriter.sql=INSERT INTO item (item_name) VALUES (:ITEM_NAME)