Commit Graph

209 Commits

Author SHA1 Message Date
dsyer
f8a74f39ac RESOLVED - issue BATCH-489: undocumented JobExecutionException 2008-03-19 13:44:05 +00:00
robokaso
30d6e80af7 REOPENED - issue BATCH-472: Exceeding the start limit on a step will cause a vague exception type to be thrown.
http://jira.springframework.org/browse/BATCH-472

added throws StartLimitExceedException to SimpleJob#execute(..) javadoc
2008-03-19 12:31:08 +00:00
robokaso
1851025c54 REOPENED - issue BATCH-472: Exceeding the start limit on a step will cause a vague exception type to be thrown.
http://jira.springframework.org/browse/BATCH-472

StartLimitExceededException made public and moved to core package. The constructor changed to simply accept string.
2008-03-19 09:31:10 +00:00
dsyer
16f0b60532 [BATCH-482] Updated site with snapshot plugin (maven-site-plugin). Use -P snapshots for building docos until this is fixed. 2008-03-18 21:40:37 +00:00
robokaso
9f9d909b5a RESOLVED - issue BATCH-472: Exceeding the start limit on a step will cause a vague exception type to be thrown.
http://jira.springframework.org/browse/BATCH-472

added package-private StartLimitExceededException (subclass of UnexpectedJobExecutionException), that takes Step as constructor argument and creates appropriate message
2008-03-18 09:55:07 +00:00
robokaso
8768f15581 RESOLVED - issue BATCH-479: JobRepositoryFactoryBean should allow specification of JDBC table prefixes
http://jira.springframework.org/browse/BATCH-479

applied patch (with minor tweaks)
2008-03-18 09:19:31 +00:00
dsyer
e3afee34a6 Updates for 1.0.0.-SNAPSHOT site. 2008-03-17 13:31:50 +00:00
dsyer
44552daed3 Fix path to init/destroy.sql scripts for tests 2008-03-17 12:25:39 +00:00
dsyer
add553c0ad Tidy website 2008-03-17 12:23:43 +00:00
dsyer
4b152bbc7e Exception message tidied up. 2008-03-17 11:11:42 +00:00
nebhale
634119cc8e [maven-release-plugin] prepare for next development iteration 2008-03-17 10:47:46 +00:00
nebhale
4d5bce367e [maven-release-plugin] prepare release spring-batch-1.0.0.rc1 2008-03-17 10:47:25 +00:00
robokaso
f202dd4b44 RESOLVED - issue BATCH-461: skip counting
http://jira.springframework.org/browse/BATCH-461

ItemOrientedStep now increments StepExecution's skipCount from StepContribution on rollback.
Simple assert checking the correct value of StepExecution#skipCount added to SkipLimitStepFactoryBeanTests.

Btw. renamed StepContribution#taskCount to itemCount
2008-03-17 10:20:48 +00:00
dsyer
271d6815c7 RESOLVED - issue BATCH-465: The term "exit code" is overloaded
RESOLVED - issue BATCH-468: ExitStatusExceptionClassifier, ExitCodeMapper and simple versions thereof (and others?) incorrectly moved into step.item package
2008-03-15 08:56:50 +00:00
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
dsyer
f4c43caa64 Enable imports in spring beans config 2008-03-14 12:00:54 +00:00
nebhale
5c25e6dcdc A couple of missing files 2008-03-14 11:54:19 +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
nebhale
5c15f12897 [BATCH 429] Removed old execution test SQL stuff 2008-03-14 11:37:51 +00:00
dsyer
2424c0ec39 Review process: Break cycle introduced when RetrySynchManager was moved into support package. 2008-03-14 11:33:18 +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
1a316c1aa9 RESOLVED - issue BATCH-452: Msqld type creation script doesn't work on mysql 5.0.45 2008-03-14 07:40:31 +00:00
lucasward
a54228fe3c BATCH-313 & BATCH-314: Add ExecutionContext section to Chapter 2 and added run tier and job tier sections to Chapter 4. 2008-03-14 05:13:57 +00:00
dsyer
ef8bd0f20e OPEN - issue BATCH-452: Msqld type creation script doesn't work on mysql 5.0.45
Updated timestamps and bigints.  The innoDB thing is still escaping me.
2008-03-13 22:22:18 +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
da639bdb9f 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

Added tests for skip and discovered bug in skip logic (see TODO in SkipLimitStepFactoryBeanTests).
Made DelegatingItemWriter skippable.
2008-03-12 16:42: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
lucasward
3e89d1d758 Completely reorganized the first two chapters of the docs and fixed the images. Chatper two still needs a little work, but is getting much closer. 2008-03-12 06:34:10 +00:00