Commit Graph

360 Commits

Author SHA1 Message Date
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
dsyer
8e498f0d52 Improve parameterisation of exception handler 2008-08-23 13:22:35 +00:00
dsyer
c3ed34b3a8 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Lift Chunk up to top level and use it to manage the skip / retry logic.  Not finished.
2008-08-23 11:22:01 +00:00
lucasward
3815c3e4cb IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

JobExecution now stores last updated time as well.
2008-08-22 21:26:50 +00:00
dsyer
90be802313 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Make sure commit count is updated
2008-08-22 09:23:38 +00:00
dsyer
c208014073 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Change step handler to not process items again if already completed
2008-08-22 09:07:15 +00:00
lucasward
6c76c7ae6d IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Fixed broken test.
2008-08-22 03:15:27 +00:00
lucasward
838bae2c25 IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Updated SimpleJobRepository to check if JobExecution status has been set to 'STOPPING' in the database.
2008-08-22 03:06:13 +00:00
dsyer
842907337f OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Add attribute accessor for synchronizing unfinished work between transactions
2008-08-21 17:13:51 +00:00
dsyer
b190b09e98 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Ensure non-skippabe exceptions cause re-throw on write
2008-08-21 14:27:35 +00:00
dsyer
a1030c2609 RESOLVED - issue BATCH-789: Remove mark/reset from ItemReader
Removed unneeded exception classes
2008-08-21 12:50:11 +00:00
dsyer
fcf96a954f RESOLVED - issue BATCH-789: Remove mark/reset from ItemReader
Remove AbstractItemReader.  All done (with remaining issues moved to BATCH-220).
2008-08-21 12:11:22 +00:00
dsyer
04db13bbc4 OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Still some open issues with retry and skip, but nearly there...
2008-08-21 09:58:04 +00:00
lucasward
24168016af IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Updated the SimpleJobRepository to set the last updated time on the StepExecution before adding or updating a StepExecution.
2008-08-21 05:29:31 +00:00
lucasward
f0b1643c02 IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

The JdbcStepExecutionDao now stores the lastUpdated property of StepExecution into the StepExecution table.
2008-08-20 21:30:44 +00:00
dsyer
ef4f2900cc OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Shift chunk iteration into StepHandler - had to sacrifice interrupted check inside chunk
2008-08-20 15:24:05 +00:00
dsyer
42a9b97d1f RESOLVED - issue BATCH-788: Remove flush/clear from ItemWriter
Done
2008-08-20 09:59:51 +00:00
dsyer
a4c8399e72 OPEN - issue BATCH-788: Remove flush/clear from ItemWriter
Infrastructure and core working with no calls to flush (I think)
2008-08-20 08:06:18 +00:00
dsyer
75fca027cb BATCH-&*&: work in progress (some tests disabled) 2008-08-19 13:49:38 +00:00
dsyer
2da35c8f00 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
More thorough tests and changed parameter values to long (not Long)
2008-08-18 08:29:58 +00:00
dsyer
f355d497c3 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Removed old ExportedJobLauncher and replace where necessary
2008-08-17 16:24:07 +00:00
dsyer
533b3788d2 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Implement and test JobExplorer (formerly BatchMetaDataExplorer)
2008-08-17 16:00:19 +00:00
dsyer
d8df436e8e Remove FactoryBean nature from data sourde initializer 2008-08-17 09:43:54 +00:00
dsyer
f29aa1e9fd RESOLVED - issue BATCH-782: Synchronization issue in ItemOrientedStep if exception is throw in chunk processing
Added flag to check that lock is not released before it is acquired
2008-08-14 12:35:05 +00:00
dsyer
9972d41d6d ...but only if a step execution dao is provided 2008-08-13 12:38:52 +00:00
dsyer
e7d7802492 Need to sav step executions before asserting about them 2008-08-13 12:18:20 +00:00
dsyer
1077405691 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Add additional methods and tests to SimpleJobOperator
2008-08-13 12:01:43 +00:00
robokaso
1f731769f8 REOPENED - BATCH-778: MapJobRepositoryFactoryBean shouldn't require transactionManager
tx code moved from AbstractJobRepositoryFactoryBean to JobRepositoryFactoryBean
2008-08-13 10:52:45 +00:00
robokaso
b9810c6eeb REOPENED - BATCH-765: StepExecution should be saved on every commit
wrapped StepExecution update in try/catch and added testcase for failure scenario
2008-08-13 09:26:07 +00:00