Commit Graph

160 Commits

Author SHA1 Message Date
dsyer
2ce3013ac1 RESOLVED - issue BATCH-268: retry configuration for ItemOrientedTasklet
http://jira.springframework.org/browse/BATCH-268

The retry only works if you have an ItemStream as an ItemReader (so that you get a proper rollback).  Applied the patch and fixed it up to fit the new m5 way of looking at things.
2008-02-11 17:23:57 +00:00
robokaso
0824f1aeb3 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

StepDao split into StepInstanceDao and StepExecutionDao. AbstractJdbcBatchMetadataDao created to remove the duplications.
2008-02-11 16:15:24 +00:00
dsyer
7b26bc4f2e OPEN - issue BATCH-350: Remove close() method from non ItemStreams
http://jira.springframework.org/browse/BATCH-350

Remove redundant close() method
2008-02-11 09:46:01 +00:00
lucasward
af1729f251 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:50 +00:00
dsyer
ad71b2f56e OPEN - issue BATCH-347: aop / template interceptor class names ambiguous
http://jira.springframework.org/browse/BATCH-347

Rename Rpeat/RetryInterceptor as *Listener (and get rid of last error in samples).
2008-02-10 16:27:08 +00:00
dsyer
7775b270d5 Various tidying up to remove tasklet from simple steps and fix samples config. 2008-02-10 11:45:58 +00:00
lucasward
7ae6b41f5e Fixed broken unit tests and sample jobs from move away from Tasklet. 2008-02-10 04:28:16 +00:00
lucasward
4a37d15c61 Fixes to get the codebase to compile successfully again, still a ways to go before all tests pass. 2008-02-10 01:28:41 +00:00
nebhale
75ff70d027 First whack at removing the ItemOrientedTasklet. I realize this doesn't yet compile to pass tests. 2008-02-09 17:32:39 +00:00
nebhale
342cb1375f [BATCH-334] Added a TaskletStep implementation 2008-02-08 17:06:06 +00:00
nebhale
6e281edac0 Polishing 2008-02-08 17:05:04 +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
robokaso
1128bbe187 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

renaming and javadoc updates
2008-02-07 11:47:43 +00:00
nebhale
242970dd29 [maven-release-plugin] prepare for next development iteration 2008-02-06 09:52:23 +00:00
nebhale
f6e0c7aec5 [maven-release-plugin] prepare release spring-batch-1.0.0.m4 2008-02-06 09:51:56 +00:00
lucasward
5763e72c44 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:11 +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
dsyer
fad398f069 Build carnage - thank you Lucas 2008-02-05 08:08:02 +00:00
lucasward
625480382c BATCH-219 and BATCH-330: Created ExecutionAttributes, which are stored in the table BATCH_STEP_EXECUTION_ATTRIBUTES. 2008-02-05 02:32:48 +00:00
dsyer
a40a362d9a Rationalise BatchResourceFactoryBean and allow %{key}% values in replacement patterns for JobParameters 2008-02-04 18:38:09 +00:00
dsyer
241609e09f remove JobInstanceLabelGenerator strategy 2008-02-04 18:09:31 +00:00
dsyer
18cee987fe Incomplete - task 75: Coverage chasing (Execution)
Test coverage improvements - up to 92% in execution.
2008-02-04 17:55:41 +00:00
dsyer
2aa895bfb6 REOPENED - issue BATCH-222: StreamManager for reader/writer abstractions uses StreamContext to position at the right place for restart
http://jira.springframework.org/browse/BATCH-222

ALign some dependencies - SimpleStepExecutor does not need a transaction manager
2008-02-04 16:13:28 +00:00
dsyer
cade1e8f19 Add profile for clover build (inactive by default) 2008-02-04 13:58:04 +00:00
robokaso
ab29fb637b RESOLVED - issue BATCH-332: Rename the JOB_ID column to JOB_INSTANCE_ID in the status tables
http://jira.springframework.org/browse/BATCH-332

JOB_ID and STEP_ID columns renamed to JOB_INSTANCE_ID and STEP_INSTANCE_ID
2008-02-04 09:52:46 +00:00
dsyer
3071ab6596 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Take some steps to make stream context keys unique in the StreamManager
2008-02-04 08:13:56 +00:00
dsyer
76051a4f3b Disable Clover and put in Emma 2008-02-03 15:53:38 +00:00
dsyer
2d1ccb0cc6 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove GenericStreamContext
2008-02-02 15:16:20 +00:00
dsyer
d1ab2086a6 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove unnecessary usage of GenericStreamContext
2008-02-02 14:31:30 +00:00
dsyer
c8166df788 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Re-order transaction boundary and interrupt check.
2008-02-02 14:25:07 +00:00
robokaso
8f76728289 RESOLVED - issue BATCH-331: Rename the itemProvider property to itemReader in ItemOrientedTasklet 2008-02-01 12:25:53 +00:00
dsyer
68d0eacdc7 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove BatchTransactionSynchronizationManager
2008-01-31 22:55:54 +00:00
dsyer
2c3d43d7bd BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Use StreamManager to start/end transaction in step executor
2008-01-31 22:36:26 +00:00
dsyer
74d4ec612c IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Added mark()/reset() to ItemStream, and implementations.
2008-01-31 16:31:31 +00:00
dsyer
4a10c64b2e IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove RestartableItemOrientedTasklet (replaced with ItemOrientedTasklet).
2008-01-31 15:43:13 +00:00
dsyer
c2ccb7ed02 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

More Statistics removal
2008-01-31 14:45:39 +00:00
dsyer
4267462395 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove some references to Statistics
2008-01-31 14:11:52 +00:00
dsyer
acc1460fb8 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove references to RestartData
2008-01-31 13:41:37 +00:00
dsyer
8b6aad9d82 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove Statistics* - use StreamContext instead.
2008-01-31 13:29:59 +00:00
dsyer
15cffeb925 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Lazy-initialisation solution to the "who's in step scope" issue
2008-01-31 09:54:38 +00:00
dsyer
9d1ebb42c7 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove ResourceLifecycle and make existing implementations into ItemStream
2008-01-31 00:44:50 +00:00
dsyer
bebab9c8d2 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Added ItemStream as base interface for ItemReader/Writer.
2008-01-30 18:42:48 +00:00
dsyer
11708012b5 BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Moved ItemStream to item package
2008-01-30 18:01:07 +00:00
dsyer
a2117e4f22 BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Rename Restartable to ItemStream
2008-01-30 17:56:56 +00:00
dsyer
02f1ae5c0c OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

run/process -> execute
2008-01-30 15:17:42 +00:00
dsyer
0734480dd6 Remove JobExecutionListener - doesn't do anything that an AOP listener on the Job couldn't do. 2008-01-30 09:13:41 +00:00
dsyer
6ffefbc184 Introduce KeyedItemReader to push the getKey() method into a separate place. 2008-01-30 08:55:53 +00:00
dsyer
152829ba5f Send test coverage in core up to the high 90s. 2008-01-30 08:02:29 +00:00
dsyer
1cf29b8241 Missing commit (subclipse?) 2008-01-29 18:13:12 +00:00