Commit Graph

1038 Commits

Author SHA1 Message Date
robokaso
da639bdb9f IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

Added tests for skip and discovered bug in skip logic (see TODO in SkipLimitStepFactoryBeanTests).
Made DelegatingItemWriter skippable.
2008-03-12 16:42:59 +00:00
robokaso
bde4cea8a7 RESOLVED - issue BATCH-446: taskCount in StepExecution should be itemCount
http://jira.springframework.org/browse/BATCH-446
2008-03-12 09:27:55 +00:00
dsyer
19348abbb3 RESOLVED - issue BATCH-443: ItemOrientedStep might not either commit or rollback transaction
Needed to flush before attempting to update step execution, then catch and attempt rollback on CommitFailedException.
2008-03-11 17:22:25 +00:00
nebhale
9f7cc87c0d [BATCH-383] Fixes to make Spring Batch 1.4 runtime compliant. 2008-03-11 13:49:17 +00:00
robokaso
f53d10d879 RESOLVED - BATCH-410 ChunkListeners called on chunkOperations open() and close() 2008-03-10 15:35:07 +00:00
robokaso
130f72a1d8 BATCH-410: fixed chunk listener registration and documented current unintuitive behavior in test 2008-03-10 11:57:47 +00:00
robokaso
21325042ef RESOLVED - BATCH-435 Tasklet step now propagates JobInterruptedException up to job 2008-03-10 09:38:43 +00:00
dsyer
6d4dad0788 OPEN - issue BATCH-429: Combine the core and execution modules
Consolidate some random packages and classes with odd names.
2008-03-09 12:52:54 +00:00
dsyer
94b067be39 OPEN - issue BATCH-429: Combine the core and execution modules
http://jira.springframework.org/browse/BATCH-429

Collapse step/support packages to remove cycle.
2008-03-09 09:43:45 +00:00
dsyer
fd4e2ed57b OPEN - issue BATCH-429: Combine the core and execution modules
http://jira.springframework.org/browse/BATCH-429

Remove duplicate step factory beans (where did they come from?)
2008-03-09 09:29:40 +00:00
dsyer
005de0523e OPEN - issue BATCH-429: Combine the core and execution modules
http://jira.springframework.org/browse/BATCH-429

Removed dependency from resource to launch
2008-03-09 09:18:40 +00:00
dsyer
6096052ca7 [BATCH-429] remove empty execution sub-package 2008-03-09 09:05:20 +00:00
dsyer
bc94866754 [BATCH-429] Move sub-packages over to core 2008-03-09 08:51:55 +00:00
robokaso
5f9350e1c1 RESOLVED - BATCH-329 All daos now increment the version field on entity save/update 2008-03-08 20:58:27 +00:00
robokaso
ed6f991a76 RESOLVED - BATCH-434 and BATCH-438 ExitStatus cleaned up (postponed commit from friday) 2008-03-08 20:40:19 +00:00
nebhale
bfb9447d6b [BATCH-429] Moved all code out of execution 2008-03-07 16:02:22 +00:00
nebhale
cce1b29f6d [BATCH-430] Renamed InfrastructureException to UnexpectedJobExecutionException 2008-03-07 14:29:51 +00:00
nebhale
609ce9d347 [BATCH-430] Removed the batch.io.exception package and moved classes to their approved locations 2008-03-07 14:18:49 +00:00
nebhale
a60fc1e621 [BATCH-432] Polishing up exception declarations 2008-03-07 10:40:25 +00:00
nebhale
4c4a299bd6 [BATCH-432] Apparently Mylyn/Subclipse doesn't quite know what changes were actually made... 2008-03-07 10:04:13 +00:00
nebhale
fff1f0fb9e [BATCH-432] Moved the domain objects up to the root core directory 2008-03-07 09:55:04 +00:00
dsyer
f5e85d5f63 Change svn:eol-style to LF 2008-03-06 21:59:13 +00:00
robokaso
9065b6ba25 RESOLVED - issue BATCH-406: jobInstance properties lastExecution and executionCount are useless
http://jira.springframework.org/browse/BATCH-406

removed lastExecution property and createExecution method
2008-03-04 11:46:38 +00:00
lucasward
f5a85589c9 BATCH-402: Removed startLimit from Job. Also removed executionCount from JobExecution. 2008-03-03 17:16:05 +00:00
dsyer
b47a6e6405 Tidy up some exception class names 2008-03-01 11:59:33 +00:00
lucasward
347f62241f BATCH-378:Moved and renamed packages for listeners, added support objects, and tests, and removed the ItemFailureHandler. 2008-02-29 06:41:07 +00:00
dsyer
9167c7de4c OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Add listener multicaster to ItemOrientedStep
2008-02-28 19:25:15 +00:00
dsyer
04f641d321 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Add JobListener to SimpleJob.  Change StepListener method names.
2008-02-28 16:56:36 +00:00
dsyer
e9f0b41eed OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Open StepListsner with StepExecution.
2008-02-28 16:24:46 +00:00
dsyer
add7b2f806 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Change contract of StepListener - JobParameters are more useful at that stage than ExecutionContext.
2008-02-28 15:44:51 +00:00
dsyer
e9d74d0088 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Replace RepeatListener with StepListener in TaskletStep.
2008-02-28 14:23:24 +00:00
dsyer
2a25a7a636 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Remove unnecessary listener implementations and migrate some functionality to samples.  In the process discovered that tasklet steps cannot be stopped.
2008-02-28 11:41:49 +00:00
robokaso
2f3cf7bec0 RESOLVED - issue BATCH-287: add double job parameter type
http://jira.springframework.org/browse/BATCH-287
2008-02-27 11:19:45 +00:00
lucasward
1527494b58 BATCH-392:removed saveExecutionContext from step (it's handled at a lower level now) 2008-02-27 03:27:14 +00:00
dsyer
29ea3e182f RESOLVED - issue BATCH-380: Step Scope problem in TaskletStep
http://jira.springframework.org/browse/BATCH-380

Forgot to check core tests.
2008-02-26 16:31:13 +00:00
dsyer
3b48ece7e5 Moved chunks to a branch (called chunks) 2008-02-26 08:06:11 +00:00
robokaso
7368aa3541 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

more StepInstance heritage cleaned up - StepExecution refers to Step rather than stepName string
2008-02-25 17:21:46 +00:00
robokaso
4e05642f98 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

JobInstance now has not-null Job as required constructor argument - repository no longer requires a separate Job setter
2008-02-25 13:50:53 +00:00
robokaso
8e1ad48aa6 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed redundant stepNames property from JobInstance (StepInstance heritage)
2008-02-25 12:37:24 +00:00
robokaso
96c48bcbc5 IN PROGRESS - issue BATCH-366: Do we still need StepInstance?
http://jira.springframework.org/browse/BATCH-366

Killed StepInstance - test coverage temporarily low due to commenting obsolete tests (but sample jobs work fine).
2008-02-19 15:41:26 +00:00
dsyer
7096c8c024 OPEN - issue BATCH-364: StepScope responsibilities can be assumed by Step (not ApplicationContext)
http://jira.springframework.org/browse/BATCH-364

Extend columns in attrs table -to avoid crashes resulting in optimistic lock failure.
2008-02-15 14:40:33 +00:00
dsyer
ec5379ebac OPEN - issue BATCH-364: StepScope responsibilities can be assumed by Step (not ApplicationContext)
http://jira.springframework.org/browse/BATCH-364

Make StreamManager responsible for calling open() and close().
2008-02-15 13:44:36 +00:00
robokaso
4a40b17002 RESOLVED - issue BATCH-362: Rename ExecutionAttributes to ExecutionContext
http://jira.springframework.org/browse/BATCH-362
2008-02-15 12:12:16 +00:00
lucasward
9a830aae19 BATCH-220: More refinements to chunking, both the chunker and dechunker now return a 'result'. The chunker returns a ChunkingResult, and the Dechunker returns a DechunkingResult, allowing for the step to handle exceptions in a uniform way. 2008-02-13 21:05:42 +00:00
dsyer
2b87124b85 RESOLVED - issue BATCH-241: Support for JobLauncher.stop() on job that hasn't started yet (delayed execution)
http://jira.springframework.org/browse/BATCH-241

Since SimpleJobLauncher no longer has a stop method, we have to do the check on execution, lower down the stack.  Added explicit check for STOPPED status in SimpleJob and JoBExecution.
2008-02-11 19:54:21 +00:00
lucasward
7a2cdadf8c BATCH-220: Committed the read part of chunking, without adding it to the StepExecutor. It should be noted that I used 'Chunker' instead of 'ChunkReader', since there's already precedence in the java world, and it isn't reading chunk so much as making a chunk out of items. I have also added skipCount to StepExecution, since it's reasonable that this type of data A) should be persisted and B) the domain object is the most logical place for this type of state. 2008-02-11 03:17:58 +00:00
dsyer
c43c1b4466 OPEN - issue BATCH-339: ItemStream.mark() and reset() should throw a checked exception
http://jira.springframework.org/browse/BATCH-339

Introduce MrakFailedException and ResetFailedException (unchecked for now).  ResetFailedException has to be dealt with specially in the StepExecutor.
2008-02-08 13:46:11 +00:00
lucasward
a0c4af8351 BATCH-337:No *Instance domain objects (or their respective tables) contain a 'status'. Instead, they contain the 'last execution', which can be used to determinte the status. RestartData is also no longer necessary, as everything can be 'restored' by calling stepInstance.getLastExecution().getExecutionAttributes(). Also changed all 'ID' columns to be complete, such as 'JOB_INSTANCE_ID' rather than just 'ID'. 2008-02-06 03:44:19 +00:00
dsyer
8c1cb2808f Purge StreamContext some more 2008-02-05 09:34:13 +00:00
dsyer
1479d4c53d Purge StreamContext 2008-02-05 08:51:54 +00:00