Commit Graph

1707 Commits

Author SHA1 Message Date
dsyer
082d9379c3 OPEN - issue BATCH-679: Non-sequential execution
Migrate JobParser to use JobFlow instead of ConditionalFlow
2008-10-27 14:21:15 +00:00
dsyer
48bbafb449 BATCH-679, BATCH-879: add Flow abstraction and FlowJob with support for decisions, splits and pauses. 2008-10-27 13:50:27 +00:00
robokaso
26f6327e4b IN PROGRESS - BATCH-888: skip listeners should be called when chunk is about to commit
onSkipInProcess(..) moved after write and before onSkipInWrite(..)
2008-10-27 11:12:33 +00:00
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
trisberg
88fa3b7626 BATCH-881: changed BIGINT precision and sequences to match max value of Java's Long data type 2008-10-24 13:38:13 +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
b19ea10f2f fixed javadoc typo 2008-10-23 15:59:05 +00:00
robokaso
48fabaf4fe OPEN - BATCH-880: Suspend after step and wait for user input
added suspend element to batch xsd
2008-10-23 15:13:17 +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
336c267dd8 IN PROGRESS - BATCH-858: Pause / resume of Job
pausing should now work
2008-10-21 16:26:40 +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
2d3c928fa3 IN PROGRESS - BATCH-858: Pause / resume of Job
used same tx isolation for getLastJobExecution(..) as for createJobExecution(..)

added simple functional test with JobOperator (same id returned after pause and resume)
2008-10-21 14:06:37 +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
0d8ccf2f40 Fix cycle in repository dao pkg 2008-10-17 15:09:11 +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
66799db095 Docos for the new xsd 2008-10-16 17:12:51 +00:00
dsyer
0826db6ae7 IN PROGRESS - issue BATCH-677: Partition SPI.
Javadocs
2008-10-16 15:44:05 +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
robokaso
fa2b04a1db RESOLVED - BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
exceptions are now logged before added to failure list
2008-10-15 09:26:08 +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
5495f9b769 IN PROGRESS - BATCH-857: map daos need to be truly transactional for correct restart
use transactional collection wrappers in map daos
2008-10-14 13:09:01 +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
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