Commit Graph

360 Commits

Author SHA1 Message Date
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
robokaso
8c787dbd2c RESOLVED - BATCH-829: add persistent processSkipCount to StepExecution 2008-09-10 10:29:15 +00:00
robokaso
32280b9f9c OPEN - BATCH-829: add persistent processSkipCount to StepExecution
IN PROGRESS - BATCH-805: Check noRollbackFor semantics in item/chunk oriented tasklets

added rollback tests for exceptions thrown in ItemProcessor
2008-09-10 09:27:40 +00:00
robokaso
64a85c578a IN PROGRESS - BATCH-805: Check noRollbackFor semantics in item/chunk oriented tasklets
some more exception logging and assertions
2008-09-10 08:32:33 +00:00
robokaso
fa7f809fe6 fixed test class name 2008-09-09 12:47:54 +00:00
trisberg
d272105479 BATCH-762: changed ExecutionContext storage strategy to use JSON for serialization in a single String/CLOB 2008-09-08 13:21:25 +00:00
lucasward
85fceaff47 IN PROGRESS - issue BATCH-792: Automatically detect database type in JobRepositoryFactoryBean
http://jira.springframework.org/browse/BATCH-792

JobRepositoryFactoryBean now detects the database type by the meta data.  There is also now an enum representing the DatabaseType.
2008-09-05 23:25:12 +00:00
dsyer
34c2fce32f RESOLVED - issue BATCH-814: JobRepository should not require Step or Job (only their names)
Moved the check for restartability up into JobLauncher.  There is a corner case where a non-restartable job could be restarted (see comment in SimpleJobLancher), but it should have a pretty small impact.
2008-09-05 17:21:24 +00:00
dsyer
917f31be0c OPEN - issue BATCH-814: JobRepository should not require Step or Job (only their names)
Moved isJobInstanceExists check to JobRepository
2008-09-05 16:08:19 +00:00
robokaso
b8a80e6add RESOLVED - BATCH-822: New WRITE_COUNT should count items instead of chunks 2008-09-05 14:22:36 +00:00
robokaso
830e81a38c ad-hoc: more thorough equality check in StepExecutionDao tests 2008-09-05 11:35:21 +00:00
dsyer
4726eeaa77 OPEN - issue BATCH-814: JobRepository should not require Step or Job (only their names)
Fixed the step execution methods (not job execution yet)
2008-09-04 15:01:28 +00:00
robokaso
63d3962454 RESOLVED - BATCH-795: JdbcJobExecutionDao output sorting
oops - used reverse ordering
2008-09-04 09:03:22 +00:00
robokaso
d6d6a650f0 RESOLVED - BATCH-795: JdbcJobExecutionDao output sorting
findExecutions(JobInstance) now returns executions in the same order they were created.
2008-09-04 08:56:35 +00:00
robokaso
5ecfd64ab7 RESOLVED - BATCH-774: Split item count into read/write/filter
few more assertions about read/filter/write counts
2008-09-03 13:51:33 +00:00
robokaso
27b306566e RESOLVED - BATCH-774: Split item count into read/write/filter
removed itemCount from StepContribution
2008-09-03 13:39:14 +00:00
robokaso
9e07cda1b3 IN PROGRESS - BATCH-774: Split item count into read/write/filter
removed itemCount from StepExecution
2008-09-03 13:33:42 +00:00
robokaso
740d299c80 IN PROGRESS - BATCH-774: Split item count into read/write/filter
made read/filter/write counts persistent
2008-09-03 12:32:37 +00:00
robokaso
d5f7a1ad48 IN PROGRESS - BATCH-774: Split item count into read/write/filter
added readCount and writeCount properties to StepExecution and StepContribution + updates of the counters in ChunkOrientedTasklet
2008-09-03 12:01:22 +00:00