Commit Graph

300 Commits

Author SHA1 Message Date
dsyer
f34a2c38df Incomplete - task 76: Concurrent modification
Improve error message when optimistic lock fails
2008-03-03 14:55:57 +00:00
dsyer
baa4f444b2 DefaultStepFactoryBean was not setting the step operations correctly 2008-03-03 12:47:09 +00:00
dsyer
212ad705a4 Increase column size for key in job instance 2008-03-03 12:16:04 +00:00
dsyer
10a8f17907 CommandLineJobRunner tests were successful for wrong reason! 2008-03-03 10:04:29 +00:00
dsyer
cb3c567966 RESOLVED - issue BATCH-231: Chunk completion policy
http://jira.springframework.org/browse/BATCH-231

Added RepeatOperationsStepFactoryBean.
2008-03-03 09:16:06 +00:00
lucasward
27933b01bc BATCH-378: Added code to ensure that afterStep is called at the correct time.
Also removed ExitStatusExceptionClassifier in favor of using the ExitStatus of the last executed StepExecution within SimpleJob
2008-03-03 05:00:35 +00:00
dsyer
36309de0d4 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Ensure DefaultStepFactoryBean makes wrapped item reader/writer available to subclasses
2008-03-02 15:11:51 +00:00
dsyer
9667cad2bf OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404
2008-03-02 15:04:20 +00:00
dsyer
bbeeee32d3 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Let the factory bean take care of chunk and item listener callbacks.  ItemOrientedStep is much simpler as a result.
2008-03-02 15:03:12 +00:00
dsyer
81b9b5ebc8 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Switch back to strongly typed listeners and streams in ItemOrientedStep
2008-03-02 13:55:54 +00:00
dsyer
e5cccef3d1 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Remove references to KitchenSinkStepFactoryBean - use StatefulRetryStepFactoryBean for remaining sample.
2008-03-02 13:07:04 +00:00
dsyer
108c21b187 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

New flag on DefaultStepFactoryBean for item skip policy (alwaysSkip=false is the default).
2008-03-02 12:04:12 +00:00
dsyer
df0c615ff8 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Introduce DefaultStepFactory and reduce reliance on KitchenSink.
2008-03-02 11:42:10 +00:00
dsyer
f879ca375e 2008-03-02 09:39:49 +00:00
dsyer
40f5349c0e OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Introduce (as temporary measure) KitchenSinkStepFactoryBean.
2008-03-02 09:38:01 +00:00
dsyer
743d1c52b5 Incomplete - task 88: FactoryBeans for steps
SimpleStepFactoryBean is not yet "simple", but it passes all the tests.  TODO: break it down into more manageable pieces.
2008-03-01 17:27:29 +00:00
dsyer
f17c8c71f1 Make AbstractStep base class for TaskletStep and ItemOrientedStep 2008-03-01 15:38:58 +00:00
dsyer
b89a68dfeb Incomplete - task 87: Refactor KeyedItemReader
Split off from ItemReader interface.
2008-03-01 15:24:06 +00:00
dsyer
886e8b4f75 Move bootstrap to launch/support 2008-03-01 14:40:46 +00:00
dsyer
b47a6e6405 Tidy up some exception class names 2008-03-01 11:59:33 +00:00
dsyer
90cb1e8ea3 Rename some packages with more logical names 2008-03-01 10:24:28 +00:00
dsyer
0eb239c9cb RESOLVED - issue BATCH-398: That old stateful / stateless thing again....
http://jira.springframework.org/browse/BATCH-398

Fix JMX demo using an application context per job execution.
2008-03-01 09:59:01 +00:00
dsyer
f2129d4ea7 OPEN - issue BATCH-398: That old stateful / stateless thing again....
http://jira.springframework.org/browse/BATCH-398

Fix delegate job (duplicate job regsitry).
2008-03-01 08:35:12 +00:00
dsyer
9336443e01 RESOLVED - issue BATCH-400: Batch support schemas does not include RI and primary keys
http://jira.springframework.org/browse/BATCH-400

Change order of drops to align with constraints.
2008-02-29 17:17:22 +00:00
dsyer
e5f4413101 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Fix hibernate aware item writer - no need for listener interface now that ItemWRiter has flush/clear
2008-02-29 16:15:52 +00:00
dsyer
fca1e65bdd Upgrade to Spring 2.5.2 2008-02-29 14:05:43 +00:00
dsyer
3c981017cd OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

No need for setListener() methods.
2008-02-29 13:44:16 +00:00
dsyer
90c8f71173 OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Remove step scope support.
2008-02-29 12:22:48 +00:00
dsyer
ecf28bd588 OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Minor change to test case.
2008-02-29 11:32:33 +00:00
dsyer
a53f8f6cbe OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Refactored existing StepContextAware to StepListener implementations.  The BatchResourceFactoryBean is now a ProxyResource with a hint in docos and exception messages about registering with a step.
2008-02-29 11:31:21 +00:00
dsyer
f4f3adac86 OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385
OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step 
http://jira.springframework.org/browse/BATCH-378

Javadocs plus new setter.
2008-02-29 10:40:54 +00:00
robokaso
ac1f86b1a5 RESLOVED - BATCH-346: CommandLineJobRunner now requires just single xml file argument, samples modified to use import statement (and removed parent context loading from test launcher) 2008-02-29 08:54:09 +00:00
dsyer
1373d56a74 RESOLVED - issue BATCH-400: Batch support schemas does not include RI and primary keys
http://jira.springframework.org/browse/BATCH-400
2008-02-29 08:25:04 +00:00
lucasward
718137e793 BATCH-378:Moved and renamed packages for listeners, added support objects, and tests, and removed the ItemFailureHandler. 2008-02-29 06:41:21 +00:00
lucasward
4b51ff9aeb BATCH-378: Added ChunkListener, ItemReadListener, and ItemWriterListener. Also added them to the ListenerMulticaster. 2008-02-29 00:53:08 +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
611ab8bfbe OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Log exceptio nas well.
2008-02-28 15:45:31 +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
dsyer
707e94b3c8 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Slim down StremManager
2008-02-28 10:05:08 +00:00
dsyer
425c270da3 OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Make Job responsible for setting up step context.  Javadocs on StepContext to indicate that the attributes are volatile.  Add JobParametersAware (might be temporary).
2008-02-28 09:14:06 +00:00
robokaso
77a4ca5d0a added assert to JobInstanceDao#createJobInstance(Job, JobParameters) that JobInstance does not already exist 2008-02-28 08:23:40 +00:00
lucasward
db46104307 Added additional menthod to ItemSkipPolicy to determine if a step should fail. Also added a small prototype of domain-specific interceptors. 2008-02-28 05:23:49 +00:00
robokaso
dd7c006a04 IN PROGRESS - issue BATCH-384: consolidate map dao implementations
http://jira.springframework.org/browse/BATCH-384

test coverage
2008-02-27 17:45:02 +00:00
nebhale
315f08a6c0 [BATCH-63] Added <job/> tag parsing 2008-02-27 17:35:28 +00:00
dsyer
7841e0bd41 RESOLVED - issue BATCH-368: StepExecution attributes can overflow and cause spurious OptimisticLockingException
http://jira.springframework.org/browse/BATCH-368

Removed STATISTICS column from BATCH_STEP_EXECUTION.
2008-02-27 17:08:31 +00:00
robokaso
84073c0b76 IN PROGRESS - issue BATCH-384: consolidate map dao implementations
http://jira.springframework.org/browse/BATCH-384

MapStepDao -> MapStepExecutionDao
improved test coverage for JobExecutionDao
2008-02-27 17:06:46 +00:00