Commit Graph

156 Commits

Author SHA1 Message Date
dsyer
ff85f455de RESOLVED - issue BATCH-456: JobListener.afterJob() should be called regardless of success or failure
Added onInterrupt callback.
2008-03-14 17:43:41 +00:00
dsyer
ec2c66885d RESOLVED - issue BATCH-464: Throw exception if restart is attempted on job instance that was already completed successfully 2008-03-14 17:09:26 +00:00
robokaso
db2344d2fa IN PROGRESS - issue BATCH-461: skip counting
http://jira.springframework.org/browse/BATCH-461

StepContribution#getSkipCount renamed to StepContribution#getStepSkipCount and added StepContribution#getContributionSkipCount (used by StepExecution to increment its skipCount).
2008-03-14 15:35:11 +00:00
robokaso
0a1c4f49db RESOLVED - issue BATCH-459: unused StepExecution methods
http://jira.springframework.org/browse/BATCH-459

removed unused methods
2008-03-14 15:22:26 +00:00
robokaso
099fd46c08 StepExecution#incrementTaskCount -> incrementItemCount 2008-03-14 13:30:03 +00:00
nebhale
1f4ac46f88 [BATCH 429] Moved core.repository.support.dao to core.repository.dao 2008-03-14 11:47:14 +00:00
dsyer
c645eef79d Review process: Move tasklet step package to subpackage and resolve cycle. 2008-03-14 11:46:57 +00:00
dsyer
07877a9538 Review process: Merge synch packages into support in retry / repeat. 2008-03-14 11:06:32 +00:00
dsyer
ed1680bf14 Review process. Split support package (part 1). 2008-03-14 10:55:10 +00:00
dsyer
de2715614b Review process. Split step package into item and tasklet. 2008-03-14 10:50:53 +00:00
dsyer
39755ea3a6 Review process. Consolidate tasklet packages. 2008-03-14 10:36:53 +00:00
dsyer
044bc4e192 Review process. Consolidated some related support packages in infrastructure. 2008-03-14 10:30:18 +00:00
robokaso
fe79a4dbe0 RESOLVED - issue BATCH-454: broken step's isAllowedStartIfComplete property
http://jira.springframework.org/browse/BATCH-454

job does not pass the restored context to step if the exit status of last execution is FINISHED
2008-03-14 10:18:23 +00:00
robokaso
8c281d1021 IN PROGRESS - issue BATCH-456: JobListener.afterJob() should be called regardless of success or failure
http://jira.springframework.org/browse/BATCH-456

added JobListener#onError(JobExecution, Throwable) called when job failed (not when interrupted)
2008-03-14 09:26:18 +00:00
dsyer
4fd2968e5e RESOLVED - issue BATCH-457: Error handling broken in SimpleJob
Look out for Error types explicitly and re-throw them without wrapping
2008-03-14 08:53:27 +00:00
dsyer
68562a3b29 RESOLVED - issue BATCH-455: Pass object to ItemWriteListener.afterWrite() 2008-03-13 22:18:10 +00:00
robokaso
d7e08ae574 RESOLVED - issue BATCH-451: rename DefaultStepFactoryBean to SimpleStepFactoryBean
http://jira.springframework.org/browse/BATCH-451
2008-03-13 12:31:07 +00:00
nebhale
66b61a78d8 [BATCH-447] Extracted out hard dependency on Backport Concurrent 2008-03-13 11:22:44 +00:00
robokaso
591e507421 RESOLVED - issue BATCH-449: skip synchronization between reader and writer
http://jira.springframework.org/browse/BATCH-449

SimpleItemHandler redesigned for inheritance and fixed ItemSkipPolicyItemHandler to call skip on the reader only if exception is thrown in reader
2008-03-13 10:19:26 +00:00
lucasward
070fb68cad More work on chapter 2, I completely updated the reference model and made some javadoc updates in the repository. 2008-03-13 04:28:59 +00:00
robokaso
288fd40825 IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

DefaultFactoryBean now uses SimpleItemHandler (instead of unconfigured ItemSkipPolicyItemHandler)
2008-03-12 15:07:42 +00:00
robokaso
8fff682219 IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

The desired functionality should now be there, but needs better tests
2008-03-12 13:43:39 +00:00
robokaso
637f2a61f6 IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

ItemSkipPolicyItemHandler now always rethrows exception - fixed rollbackJob that wasn't really skipping the error item although it was configured to do so.
2008-03-12 12:36:39 +00:00
robokaso
56174c7d32 IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

skip configuration moved to separate step factory subclass
2008-03-12 10:30:24 +00:00
robokaso
19aea73481 IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

SimpleLimitExceptionHandler property generalized to ExceptionHandler
2008-03-12 09:54:14 +00:00
nebhale
51ba864186 [BATCH-447] Introduced a StepExecutionSynchronizerFactory that returned the proper implementation based on Java5/Backport Concurrent. 2008-03-12 09:51:01 +00:00
robokaso
bde4cea8a7 RESOLVED - issue BATCH-446: taskCount in StepExecution should be itemCount
http://jira.springframework.org/browse/BATCH-446
2008-03-12 09:27:55 +00:00
dsyer
19348abbb3 RESOLVED - issue BATCH-443: ItemOrientedStep might not either commit or rollback transaction
Needed to flush before attempting to update step execution, then catch and attempt rollback on CommitFailedException.
2008-03-11 17:22:25 +00:00
nebhale
9f7cc87c0d [BATCH-383] Fixes to make Spring Batch 1.4 runtime compliant. 2008-03-11 13:49:17 +00:00
robokaso
f53d10d879 RESOLVED - BATCH-410 ChunkListeners called on chunkOperations open() and close() 2008-03-10 15:35:07 +00:00
robokaso
130f72a1d8 BATCH-410: fixed chunk listener registration and documented current unintuitive behavior in test 2008-03-10 11:57:47 +00:00
robokaso
21325042ef RESOLVED - BATCH-435 Tasklet step now propagates JobInterruptedException up to job 2008-03-10 09:38:43 +00:00
dsyer
6f820c5556 OPEN - issue BATCH-429: Combine the core and execution modules
Add missing package.html
2008-03-09 12:55:38 +00:00
dsyer
6d4dad0788 OPEN - issue BATCH-429: Combine the core and execution modules
Consolidate some random packages and classes with odd names.
2008-03-09 12:52:54 +00:00
dsyer
94b067be39 OPEN - issue BATCH-429: Combine the core and execution modules
http://jira.springframework.org/browse/BATCH-429

Collapse step/support packages to remove cycle.
2008-03-09 09:43:45 +00:00
dsyer
fd4e2ed57b OPEN - issue BATCH-429: Combine the core and execution modules
http://jira.springframework.org/browse/BATCH-429

Remove duplicate step factory beans (where did they come from?)
2008-03-09 09:29:40 +00:00
dsyer
005de0523e OPEN - issue BATCH-429: Combine the core and execution modules
http://jira.springframework.org/browse/BATCH-429

Removed dependency from resource to launch
2008-03-09 09:18:40 +00:00
dsyer
d59ec04aa1 OPEN - issue BATCH-429: Combine the core and execution modules
http://jira.springframework.org/browse/BATCH-429

Remove cycle from commandline runner (it didn't need an exception classifier)
2008-03-09 09:11:37 +00:00
dsyer
18f555e1f0 deleted stubborn subpackage again 2008-03-09 09:08:22 +00:00
dsyer
bc94866754 [BATCH-429] Move sub-packages over to core 2008-03-09 08:51:55 +00:00
robokaso
5f9350e1c1 RESOLVED - BATCH-329 All daos now increment the version field on entity save/update 2008-03-08 20:58:27 +00:00
dsyer
43d17d9ef5 OPEN - issue BATCH-437: sensible restart logic
http://jira.springframework.org/browse/BATCH-437
2008-03-08 12:30:09 +00:00
dsyer
b68fbd64c3 Add retry listeners 2008-03-08 12:15:27 +00:00
dsyer
7208151adb IN PROGRESS - issue BATCH-439: Restart not working properly with Oracle
http://jira.springframework.org/browse/BATCH-439

Make JOB_KEY non-empty when there are no JobParamaters
2008-03-08 09:18:59 +00:00
nebhale
bfb9447d6b [BATCH-429] Moved all code out of execution 2008-03-07 16:02:22 +00:00
nebhale
c1887cdd9c [BATCH-430] Rearranged package structure to remove technical packages 2008-03-07 14:56:10 +00:00
nebhale
cce1b29f6d [BATCH-430] Renamed InfrastructureException to UnexpectedJobExecutionException 2008-03-07 14:29:51 +00:00
nebhale
609ce9d347 [BATCH-430] Removed the batch.io.exception package and moved classes to their approved locations 2008-03-07 14:18:49 +00:00
nebhale
a60fc1e621 [BATCH-432] Polishing up exception declarations 2008-03-07 10:40:25 +00:00
nebhale
2154a70069 [BATCH-432] Polishing up exception declarations 2008-03-07 10:33:09 +00:00