Commit Graph

599 Commits

Author SHA1 Message Date
dsyer
a98d26b353 RESOLVED - issue BATCH-870: Cannot add description to empty ExitStatus 2008-10-09 07:18:40 +00:00
lucasward
452ed6d247 OPEN - issue BATCH-767: Update documentation for M2
http://jira.springframework.org/browse/BATCH-767

First pass through chapters 2, 3 and Appendix A.
2008-10-09 04:58:08 +00:00
lucasward
9e53779c72 REOPENED - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825

Missed a test case.
2008-10-08 21:25:56 +00:00
lucasward
5cd3887b3a REOPENED - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825

Cleaned up SimpleJob some.  There was still some odd looping behavior, so I abstracted into another inner method.
2008-10-08 21:07:32 +00:00
robokaso
42f392dba6 RESOLVED - BATCH-867: Change SystemCommandTasklet to use TaskExecutor
used TaskExecutor to execute FutureTask wrapping the system call
2008-10-08 13:40:28 +00:00
dsyer
c5444c4fe9 Add sample JobParametersIncrementer for JMX demo 2008-10-07 10:32:51 +00:00
dsyer
7ad93d227e Ensure step and job execution deserialisation works properly.
Fix bug in infinite loop sample.
2008-10-07 10:15:33 +00:00
robokaso
fa7b6e4525 RESOLVED - BATCH-864: rename SkipLimitStepFactoryBean
SkipLimit -> FaultTolerant
2008-10-07 09:18:55 +00:00
robokaso
97a80463ed RESOLVED - BATCH-832: DefaultTransactionAttribute is inappropriate for TaskletStep
overriden rollbackOn(..) to return true for the default configuration
2008-10-06 08:50:43 +00:00
robokaso
64f6347199 RESOLVED - BATCH-833: TransactionAttributes swallows Exceptions
removed the redundant exception-swallowing catch block
2008-10-06 08:08:55 +00:00
robokaso
5f070affb7 RESOLVED - BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
removed onInterrupt from JobExecutionListener
2008-10-06 07:45:19 +00:00
robokaso
8bb08468d9 IN PROGRESS - BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
made StepExecution#failureExceptions transient and removed setter for it
2008-10-03 14:01:34 +00:00
robokaso
bc7d12e1a3 IN PROGRESS - BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
removed onErrorInJob
2008-10-03 13:40:37 +00:00
robokaso
1965fc9ebb IN PROGRESS - BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
oops - fixed build
2008-10-03 13:31:21 +00:00
robokaso
eca11fda17 IN PROGRESS - BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
removed onErrorInStep callback, afterStep is called regardless of success/failure
2008-10-03 13:01:55 +00:00
trisberg
6001e1141c fixed warning of unused import 2008-10-02 18:40:56 +00:00
robokaso
0a69957521 REOPENED - BATCH-778: MapJobRepositoryFactoryBean shouldn't require transactionManager
removed unnecessary transaction wrappers for dao collections
2008-10-01 12:12:13 +00:00
robokaso
98554ab565 RESOLVED - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
moved state from instance variables to attributes passed-in by the step
2008-09-30 13:11:14 +00:00
robokaso
78e27f7048 RESOLVED - BATCH-847: FaultTolerantChunkOrientedTasklet loses chunks when non-skippable exceptions thrown in read phase
used fatal NonSkippableReadException instead of reusing SkipLimitExceededException
2008-09-30 12:04:48 +00:00
robokaso
2accde774f OPEN - BATCH-853: transactional item processing
javadoc: item processing is currently assumed to be non-transactional
2008-09-26 12:39:03 +00:00
robokaso
da24ea2041 OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
javadoc
2008-09-26 09:55:27 +00:00
trisberg
872c0aa080 BATCH-845: fixes needed for tests to pass on multiple platforms - HSQL, MySQL, Oracle, SQL Server, DB2, Derby 2008-09-26 05:36:48 +00:00
dsyer
1b400adc36 BATCH-815: add bundlor to build. 2008-09-25 09:14:44 +00:00
lucasward
394de964e1 OPEN - issue BATCH-852: Clean up warnings
http://jira.springframework.org/browse/BATCH-852

Cleaned up warnings.
2008-09-24 21:05:53 +00:00
robokaso
c6da8322df OPEN - BATCH-847: FaultTolerantChunkOrientedTasklet loses chunks when non-skippable exceptions thrown in read phase
exception on read is rethrown as fatal, added logging for exceptions swallowed in SimpleRetryExceptionHandler
2008-09-24 10:08:08 +00:00
trisberg
bc9cc55ba8 BATCH-762: cleanup and java doc changes 2008-09-23 18:52:25 +00:00
robokaso
9acbaef7dd RESOLVED - BATCH-844: Lacking of DAO's property setting in JobRepositoryFactoryBean
Pulled up the default value for exitMessageLength to AbstractJdbcBatchMetadataDao. Factory bean declares just one setter and applies the value to both job and step execution daos.
2008-09-22 11:00:14 +00:00
robokaso
580566c6dd warnings cleanup 2008-09-19 14:06:03 +00:00
robokaso
a965dbe4a7 IN PROGRESS - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
cleaned up javadoc
2008-09-19 12:44:16 +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
trisberg
e11fbbb25d BATCH-762: cleanup and java doc changes 2008-09-18 14:33:53 +00:00
trisberg
520854edc2 BATCH-762: fixed some warnings 2008-09-17 21:58:11 +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
bfa7e2a8ea OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
inlined short single-use helper methods to make the execution logic more obvious
2008-09-17 12:06:46 +00:00
robokaso
c4291f10af OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean
comments cleanup
2008-09-17 11:39:29 +00:00
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
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