Commit Graph

627 Commits

Author SHA1 Message Date
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
macsuibhne
eacf9a41a1 Remove Maven release:prepare work in progress submitted in error 2008-10-10 13:44:17 +00:00
macsuibhne
90dab93435 Bundlor version is M1, not RELEASE 2008-10-10 13:13:45 +00:00
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