Commit Graph

978 Commits

Author SHA1 Message Date
robokaso
b5e04ef089 IN PROGRESS - BATCH-888: skip listeners should be called when chunk is about to commit
onSkipInWrite(..) moved after write
2008-10-27 10:10:04 +00:00
dsyer
85eb5ba17b Use explicit timezone in date format tests. Unfortunately XStream doesn't do this. 2008-10-27 08:02:44 +00:00
dsyer
29023949b2 Add some comments to the date format tests 2008-10-27 07:39:53 +00:00
dsyer
e38b6c057e 2008-10-27 07:27:23 +00:00
dsyer
b5f1a60a3d Fix DST issue in serializer tests 2008-10-26 09:23:41 +00:00
robokaso
2acb661331 RESOLVED - BATCH-887: onSkipInProcess called multiple times for same item using FaultTolerantChunkOrientedTasklet 2008-10-24 08:19:41 +00:00
robokaso
91168a0f15 RESOLVED - BATCH-875: Pull jobRepository.save() out of Step implementations and put it in the driving Job 2008-10-22 14:04:25 +00:00
robokaso
0d8e32282a IN PROGRESS - BATCH-858: Pause / resume of Job
updated JobLauncher javadoc and added testcase for the pause-checking responsibility
2008-10-21 15:28:20 +00:00
robokaso
b11be9d19d IN PROGRESS - BATCH-858: Pause / resume of Job
implemented JobRepository.getLastJobExecution(jobName, jobParams)
2008-10-21 13:27:34 +00:00
robokaso
1b371c8cfd IN PROGRESS - BATCH-858: Pause / resume of Job
added getLastJobExecution to JobRepository so that JobLaucher can check it for PAUSED status
2008-10-21 13:12:30 +00:00
robokaso
9802f531cb IN PROGRESS - BATCH-858: Pause / resume of Job
added pause to JobOperator and introduced BatchStatus.PAUSED
2008-10-21 12:40:37 +00:00
trisberg
fc8bffa4a3 polished 2008-10-21 04:25:14 +00:00
trisberg
2ae57f85db BATCH-762: added unit test 2008-10-20 20:35:41 +00:00
dsyer
a77b200c40 RESOLVED - issue BATCH-853: broken transactional item processing
Tests look OK.  Renamed some that looked like they had the wrong name, and simplified assertion in one.
2008-10-17 11:41:07 +00:00
robokaso
fddfc3a5b0 RESOLVED - BATCH-853: broken transactional item processing
added re-processing testcase on step level
2008-10-17 09:22:51 +00:00
robokaso
e9ca8a4d82 RESOLVED - BATCH-853: broken transactional item processing
added testcase that checks items are re-processed after writer failure
2008-10-17 08:59:08 +00:00
dsyer
f6487f6b53 IN PROGRESS - issue BATCH-677: Partition SPI. Added first draft of partitioning 2008-10-16 15:08:24 +00:00
robokaso
4d0a786552 RESOLVED - BATCH-853: broken transactional item processing
processed items are not buffered anymore
2008-10-16 11:20:57 +00:00
dsyer
fa4a690cda OPEN - issue BATCH-282: Make input parameters easier to access from ItemReaders, etc.
Revert change to method signature in AbstractStep
2008-10-16 11:08:59 +00:00
dsyer
9bf4241893 OPEN - issue BATCH-282: Make input parameters easier to access from ItemReaders, etc.
Add StepScope and integrate with AbstractStep.  No support yet for late binding of step and job attributes.
2008-10-16 11:01:50 +00:00
dsyer
e02092d78b IN PROGRESS - issue BATCH-264: Dependencies among jobs
Add next= attribute to step.
2008-10-16 08:16:59 +00:00
dsyer
3a74ba0caf IN PROGRESS - issue BATCH-264: Dependencies among jobs
Added XML namespace supporting ConditionalJob <job><step> etc.
2008-10-16 07:32:12 +00:00
dsyer
c1a05e71a4 IN PROGRESS - issue BATCH-264: Dependencies among jobs
Implement ConditionalJob (branching but not concurrent execution) and tidy up Abstract and SimpleJob a bit.
2008-10-15 14:23:15 +00:00
dsyer
cbf3e4b5ea IN PROGRESS - issue BATCH-264: Dependencies among jobs
Refactored SimpleJob and AbstractJob.  Also had to fix JobRegistryBackgroundJobRunner to not use stdin for blocking.
2008-10-15 08:01:14 +00:00
robokaso
e8a02b01a1 RESOLVED - BATCH-857: map daos need to be truly transactional for correct restart
some more tests
2008-10-14 15:31:33 +00:00
robokaso
b8b734d69c IN PROGRESS - BATCH-857: map daos need to be truly transactional for correct restart
added cloning to step and execution context map daos
2008-10-14 15:05:32 +00:00
robokaso
5887005d0d IN PROGRESS - BATCH-857: map daos need to be truly transactional for correct restart
added serialization-based cloning to MapJobExecutionDao
2008-10-14 14:02:37 +00:00
robokaso
9b1371f6fd IN PROGRESS - BATCH-857: map daos need to be truly transactional for correct restart
moved transaction manager and proxy up to AbstractJobRepository so that it applies to Map implementation too
2008-10-14 12:58:20 +00:00
dsyer
a98d26b353 RESOLVED - issue BATCH-870: Cannot add description to empty ExitStatus 2008-10-09 07:18:40 +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
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
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
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
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
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