Commit Graph

1038 Commits

Author SHA1 Message Date
robokaso
580566c6dd warnings cleanup 2008-09-19 14:06:03 +00:00
robokaso
7a949d17b1 IN PROGRESS - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
initial attempt on the non-buffered version - works but needs more tests and polishing
2008-09-19 07:40:49 +00:00
lucasward
94bf832e0a OPEN - issue BATCH-775: Throw exception if ExecutionContext is modified during processing.
http://jira.springframework.org/browse/BATCH-775

TaskletStep now checks the ExecutionContext dirty flag before calling update, to make sure it hasn't been modified before then.
2008-09-19 05:19:46 +00:00
lucasward
52049493b9 IN PROGRESS - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825

AbstractStepTests was still broken, but isn't part of the build.
2008-09-17 18:01:50 +00:00
robokaso
4c5e15cd8e OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
remove unused skipCount property from ItemWrapper
2008-09-17 12:27:15 +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
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
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
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
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
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
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
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
robokaso
b8a80e6add RESOLVED - BATCH-822: New WRITE_COUNT should count items instead of chunks 2008-09-05 14:22:36 +00:00
robokaso
830e81a38c ad-hoc: more thorough equality check in StepExecutionDao tests 2008-09-05 11:35:21 +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
63d3962454 RESOLVED - BATCH-795: JdbcJobExecutionDao output sorting
oops - used reverse ordering
2008-09-04 09:03:22 +00:00
robokaso
d6d6a650f0 RESOLVED - BATCH-795: JdbcJobExecutionDao output sorting
findExecutions(JobInstance) now returns executions in the same order they were created.
2008-09-04 08:56:35 +00:00
robokaso
5ecfd64ab7 RESOLVED - BATCH-774: Split item count into read/write/filter
few more assertions about read/filter/write counts
2008-09-03 13:51:33 +00:00
robokaso
27b306566e RESOLVED - BATCH-774: Split item count into read/write/filter
removed itemCount from StepContribution
2008-09-03 13:39:14 +00:00
robokaso
9e07cda1b3 IN PROGRESS - BATCH-774: Split item count into read/write/filter
removed itemCount from StepExecution
2008-09-03 13:33:42 +00:00
robokaso
740d299c80 IN PROGRESS - BATCH-774: Split item count into read/write/filter
made read/filter/write counts persistent
2008-09-03 12:32:37 +00:00
robokaso
d5f7a1ad48 IN PROGRESS - BATCH-774: Split item count into read/write/filter
added readCount and writeCount properties to StepExecution and StepContribution + updates of the counters in ChunkOrientedTasklet
2008-09-03 12:01:22 +00:00
dsyer
c66f98501d RESOLVED - issue BATCH-807: Serialization bug in JobExecution 2008-09-03 11:30:50 +00:00
dsyer
e4a76749b9 Modify factory method signature in JobExecution to make it not dependent on non-entity 2008-09-03 10:29:45 +00:00
dsyer
1a6d7202ec Improve type safety of transactional collections by reducing visibility of private features 2008-09-02 07:52:22 +00:00
dsyer
dd46e7c2f6 BATCH-798: Fixed bug in skip on process (the wrong state was being used for retry). 2008-08-30 12:16:15 +00:00
dsyer
bd91d0c35e BATCH-798: Samples working again. TODO: refactor rollbackClassifier into the stateless execution API 2008-08-29 17:14:59 +00:00
dsyer
2ea0fe68cf BATCH-220: Rationalise the exception classifiers so they can be used in a retry 2008-08-29 14:09:11 +00:00
lucasward
f25fbb5c15 IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Minor adjustments to repository dao's (JobExecution no longer needs instance and step execution)
2008-08-28 20:26:52 +00:00
dsyer
375f9b7fa9 BATCH-220: Implement skip on ItemProcessor execution 2008-08-28 14:07:13 +00:00
dsyer
990e504583 BATCH-220: Complete rename StepHandler -> Tasklet 2008-08-28 11:37:50 +00:00
dsyer
ad5b0010dd BATCH-220: Half way to rename StepHandler -> Tasklet 2008-08-28 10:38:26 +00:00
dsyer
223a58da18 OPEN - issue BATCH-220: Chunk-oriented approach to processing
Add small optimisation to skip chunk with single item
2008-08-28 07:56:38 +00:00
lucasward
6ef4c3b44a BATCH-793:Added new class with simpler configuration 2008-08-27 22:40:01 +00:00
trisberg
a3d851a726 fixed bug where skip limit wasn't applied if there were nothing but skips at the end of last chunk 2008-08-27 19:24:17 +00:00
dsyer
32118407c7 OPEN - issue BATCH-220: Chunk-oriented approach to processing
Skip should be working now for reads and writes (not processing).
2008-08-27 11:08:47 +00:00
dsyer
b55fc3b475 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Favour collections over arrays in the composite listeners
2008-08-26 16:21:33 +00:00
dsyer
894c9dc2cf OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Make CompositeItemWriteListener more correct generically
2008-08-26 15:48:33 +00:00
dsyer
be0432a754 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Make ItemWriteListener match ItemWriter (generic list as argument).
2008-08-26 15:21:15 +00:00
dsyer
a0ea47ce63 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Move write listener into step handler
2008-08-26 11:35:59 +00:00
dsyer
207e882e37 OPEN - issue BATCH-791: Ditch Tasklet (StepHandler is more flexible)
Done.  Use StepHandler instead.
2008-08-26 09:15:13 +00:00
lucasward
f81604e439 BATCH-453: Added stop support to SimpleJobOperator and generated correct sql for remaining schema files. 2008-08-26 03:53:41 +00:00
dsyer
919e9b5489 OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Missed commit
2008-08-25 12:32:11 +00:00
dsyer
edd3f47be3 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Add experiments in stateless retry and chunk processing
2008-08-23 17:14:53 +00:00