lucasward
9f5bb14fd6
BATCH-220:Moved SimpleJob (formerly simpleTaskletJob) to use the ChunkedStep
2008-02-14 22:19:38 +00:00
robokaso
600c68aa02
IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
...
http://jira.springframework.org/browse/BATCH-340
JdbcStepExecutionDao no longer has JobExecutionDao dependency - repository coordinates the daos now
2008-02-14 14:52:35 +00:00
robokaso
6d7b50ee0e
IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
...
http://jira.springframework.org/browse/BATCH-340
moved misplaced sql query from static inner class public field to private field of enclosing dao class
2008-02-14 13:35:26 +00:00
robokaso
62ccc5d07a
IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
...
http://jira.springframework.org/browse/BATCH-340
Removed no-op update(StepInstance) and update(JobInstance) repository methods
2008-02-14 13:19:51 +00:00
robokaso
803a69aaef
IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
...
http://jira.springframework.org/browse/BATCH-340
JdbcJobInstanceDao no longer depends on JobExecutionDao, removed JOB_INSTANCE.LAST_EXECUTION column from db schema
2008-02-14 13:01:27 +00:00
lucasward
d93459fda1
BATCH-220:Further refinements to chunk processing. The chunker/dechunker interfaces now accept a StepExecution, so that they don't have to be instantiated anew for each chunk. They can also be wired into the ChunkedStep as well.
2008-02-14 05:45:07 +00:00
lucasward
b2bdcb07dc
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:06:11 +00:00
robokaso
695cf0817d
IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
...
http://jira.springframework.org/browse/BATCH-340
Added getLastStepExecution method to StepExecutionDao interface and liberated JdbcStepInstanceDao from StepExecutionDao.
Removed the STEP_INSTANCE.LAST_EXECUTION_ID column from schema.
2008-02-13 16:13:11 +00:00
lucasward
d91392cfc2
BATCH-220:Continued work on ChunkedStep and added unit test. It's still a bit rough, but the basic use cases are passing.
2008-02-13 05:24:15 +00:00
lucasward
2197107100
BATCH-220: Very early draft of the 'ChunkedStep'. The unit test isn't finished, I am only committing so that other team members can view progress made.
2008-02-13 00:47:47 +00:00
robokaso
12cce44e67
IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
...
http://jira.springframework.org/browse/BATCH-340
JobDao split into JobInstanceDao and JobExecutionDao
2008-02-12 10:15:52 +00:00
lucasward
1c620b1b02
Removed an in-progress class that was still in progress.
2008-02-12 06:09:29 +00:00
lucasward
10e7514290
BATCH-220:Added the 'Dechunker', as the opposite of Chunker. It assumes that some higher level class will be managing transactions. Also renamed ReadFailurePolicy to ItemSkipPolicy (Same name used by Ben in the Sandbox) once I realized that a 'ReadFailurePolicy' and 'WriteFailurePolicy' would have pretty much the same interface.
2008-02-12 06:07:33 +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
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