Commit Graph

2115 Commits

Author SHA1 Message Date
robokaso
58e4c5effe OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
javadoc
2008-09-17 11:27:35 +00:00
robokaso
b940791bef OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
tasklet classes renaming
2008-09-17 11:14:34 +00:00
robokaso
4448098410 OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
tasklet classes renaming
2008-09-17 11:08:00 +00:00
robokaso
945e1c510f OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
merged StatefulRetryTasklet with ChunkOrientedTasklet
2008-09-17 11:02:27 +00:00
robokaso
95aee9998b OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
added SimpleChunkOrientedTasklet *not* designed for inheritance, so that we can deal with fault-tolerance concerns separately and in one place
2008-09-17 08:54:03 +00:00
robokaso
769a1a4c70 OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
made helper methods static where appropriate
2008-09-17 08:23:44 +00:00
robokaso
1439d07281 RESOLVED - BATCH-841: insufficient logging in AbstractStep
added exception argument to the logging statement
2008-09-17 08:07:51 +00:00
lucasward
bbc34c13e7 IN PROGRESS - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825

Job, Step, and JobLauncher will not throw an exception if the job fails during processing, but rather will return the execution with an appropriate status and list of exceptions encountered.
2008-09-16 22:15:46 +00:00
lucasward
fbe0443175 IN PROGRESS - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825

Job, Step, and JobLauncher will not throw an exception if the job fails during processing, but rather will return the execution with an appropriate status and list of exceptions encountered.
2008-09-16 22:15:26 +00:00
trisberg
372bbc35aa BATCH-760: addressed some code duplication issues - factored out code to a utility class 2008-09-16 15:18:45 +00:00
robokaso
e462826b53 OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
removed unnecessary ItemWrapper usages (just used item)
2008-09-16 14:13:03 +00:00
robokaso
86e453b633 OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
pulled generic item-oriented parts of ChunkOrientedTasklet into abstract superclass
2008-09-16 12:31:38 +00:00
robokaso
0ae4fa2461 OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
moved read counting inside the read loop and removed unused incrementReadCount(int) method
2008-09-16 11:33:24 +00:00
robokaso
0c9c2dc6e9 OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
use item instead of item wrapper in doProcess signature
2008-09-16 11:14:46 +00:00
robokaso
884c7ac22a OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
moved read counting out of process method and fixed wrong count assertions in tests
2008-09-16 11:06:54 +00:00
lucasward
18850ffc07 OPEN - issue BATCH-835: sql error "column ambiguously defined" in JdbcJobInstanceDao
http://jira.springframework.org/browse/BATCH-835

added table alias to job instance dao query results.
2008-09-12 20:54:23 +00:00
robokaso
06141963be RESOLVED - BATCH-828: org.springframework.batch.item.file.MultiResourceItemReader should allow for no resources
graceful handling for non-existing input resources
2008-09-12 13:15:39 +00:00
dsyer
f32ea26c67 (Mostly) update for Spring Integration changes 2008-09-12 12:19:16 +00:00
robokaso
a64a8382ab RESOLVED - BATCH-831: id counter in MapJobInstanceDao should be declared static 2008-09-11 15:17:00 +00:00
robokaso
2973139959 IN PROGRESS - BATCH-827: Create Sample job for reading and writing headers and footers 2008-09-11 14:21:43 +00:00
robokaso
df870a5df6 IN PROGRESS - BATCH-826: Create callback for header and footer reading in xml and flat files
added header callback to FFIR
2008-09-11 11:44:45 +00:00
robokaso
13e5796b85 IN PROGRESS - BATCH-826: Create callback for header and footer reading in xml and flat files
changed header and footer items to callbacks in StaxEventItemWriter
2008-09-11 09:49:42 +00:00
robokaso
4b5cbef820 IN PROGRESS - BATCH-826: Create callback for header and footer reading in xml and flat files
changed header and footer lines to callbacks
2008-09-11 08:11:27 +00:00
robokaso
e80fdae0aa RESOLVED - BATCH-828: org.springframework.batch.item.file.MultiResourceItemReader should allow for no resources
return null on first read if the resource list is empty
2008-09-10 10:59:53 +00:00
robokaso
8c787dbd2c RESOLVED - BATCH-829: add persistent processSkipCount to StepExecution 2008-09-10 10:29:15 +00:00
robokaso
32280b9f9c OPEN - BATCH-829: add persistent processSkipCount to StepExecution
IN PROGRESS - BATCH-805: Check noRollbackFor semantics in item/chunk oriented tasklets

added rollback tests for exceptions thrown in ItemProcessor
2008-09-10 09:27:40 +00:00
robokaso
64a85c578a IN PROGRESS - BATCH-805: Check noRollbackFor semantics in item/chunk oriented tasklets
some more exception logging and assertions
2008-09-10 08:32:33 +00:00
robokaso
fa7f809fe6 fixed test class name 2008-09-09 12:47:54 +00:00
robokaso
72f49d7828 IN PROGRESS - BATCH-805: Check noRollbackFor semantics in item/chunk oriented tasklets
added logging for swallowed exceptions, removed non-rollback considerations for ItemStream.update call
2008-09-09 11:41:25 +00:00
trisberg
d272105479 BATCH-762: changed ExecutionContext storage strategy to use JSON for serialization in a single String/CLOB 2008-09-08 13:21:25 +00:00
trisberg
2b470683f9 fixed class cast issue in test 2008-09-08 13:10:46 +00:00
lucasward
85fceaff47 IN PROGRESS - issue BATCH-792: Automatically detect database type in JobRepositoryFactoryBean
http://jira.springframework.org/browse/BATCH-792

JobRepositoryFactoryBean now detects the database type by the meta data.  There is also now an enum representing the DatabaseType.
2008-09-05 23:25:12 +00:00
lucasward
fc2de248f6 IN PROGRESS - issue BATCH-792: Automatically detect database type in JobRepositoryFactoryBean
http://jira.springframework.org/browse/BATCH-792

JobRepositoryFactoryBean now detects the database type by the meta data.  There is also now an enum representing the DatabaseType.
2008-09-05 23:23:13 +00:00
dsyer
34c2fce32f RESOLVED - issue BATCH-814: JobRepository should not require Step or Job (only their names)
Moved the check for restartability up into JobLauncher.  There is a corner case where a non-restartable job could be restarted (see comment in SimpleJobLancher), but it should have a pretty small impact.
2008-09-05 17:21:24 +00:00
dsyer
db608b91a8 OPEN - issue BATCH-814: JobRepository should not require Step or Job (only their names) 2008-09-05 16:27:47 +00:00
dsyer
917f31be0c OPEN - issue BATCH-814: JobRepository should not require Step or Job (only their names)
Moved isJobInstanceExists check to JobRepository
2008-09-05 16:08:19 +00:00
dsyer
27838b32f1 unused import 2008-09-05 14:58:04 +00:00
robokaso
b8a80e6add RESOLVED - BATCH-822: New WRITE_COUNT should count items instead of chunks 2008-09-05 14:22:36 +00:00
robokaso
16f432e08f IN PROGRESS - BATCH-763: Create callback for header and footer writing in xml and flat files
added footers to flatfile and stax writers
2008-09-05 13:20:26 +00:00
dsyer
6c1c803de6 Optional dependencies identified 2008-09-05 13:15:44 +00:00
robokaso
830e81a38c ad-hoc: more thorough equality check in StepExecutionDao tests 2008-09-05 11:35:21 +00:00
robokaso
f623b0651a RESOLVED - BATCH-776: StaxEventItemWriter headers should not have to be the same type as the T that the writer is parameterised with 2008-09-05 10:50:42 +00:00
robokaso
f22b617313 RESOLVED - BATCH-821: remove EventSerializer/Deserializer abstractions and use Marshaller/Unmarshaller directly
cleanup of now redundant classes
2008-09-05 10:41:31 +00:00
robokaso
7f2adceb19 RESOLVED - BATCH-821: remove EventSerializer/Deserializer abstractions and use Marshaller/Unmarshaller directly
cleanup of now redundant classes
2008-09-05 09:30:47 +00:00
robokaso
5994782b37 RESOLVED - BATCH-821: remove EventSerializer/Deserializer abstractions and use Marshaller/Unmarshaller directly 2008-09-05 09:15:21 +00:00
lucasward
92a03420b1 BATCH-453: Database shutdown tests now use JobOperator rather than direct database calls. 2008-09-04 20:16:46 +00:00
dsyer
1e3ae52862 Javadocs 2008-09-04 15:08:54 +00:00
dsyer
4726eeaa77 OPEN - issue BATCH-814: JobRepository should not require Step or Job (only their names)
Fixed the step execution methods (not job execution yet)
2008-09-04 15:01:28 +00:00
robokaso
783dcef9ce RESOLVED - BATCH-784: Refactor testing chapter to reflect Spring Testing framework changes. 2008-09-04 11:55:39 +00:00
robokaso
63d3962454 RESOLVED - BATCH-795: JdbcJobExecutionDao output sorting
oops - used reverse ordering
2008-09-04 09:03:22 +00:00