Commit Graph

802 Commits

Author SHA1 Message Date
lucasward
30a4631c19 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:57 +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
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
dsyer
9dbc53ed0f BLOB missing from MySql 2008-02-13 15:48:01 +00:00
dsyer
a5ba7e9eea Reword features page on web site 2008-02-13 08:45:48 +00:00
wxlund
fca5d36306 I needed to see this with the relationship of SimpleJob to Repository. The Object Model extends into execution classes. 2008-02-13 05:49:53 +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
wxlund
4a7e796045 2008-02-13 01:49:18 +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
wxlund
832eec3ebc 2008-02-12 22:59:09 +00:00
dsyer
17a8b6d734 Move docs over from i21 repo 2008-02-12 18:34:31 +00:00
robokaso
8cecd74e3a RESOLVED - issue BATCH-352: SimpleFlatFileItemReader vs. DefaultFlatFileItemReader
http://jira.springframework.org/browse/BATCH-352

Updated javadocs and renamed test classes
2008-02-12 14:39:06 +00:00
robokaso
2277261059 IN PROGRESS - issue BATCH-352: SimpleFlatFileItemReader vs. DefaultFlatFileItemReader
http://jira.springframework.org/browse/BATCH-352

DefaultFlatFileItemReader renamed to FlatFileItemReader
2008-02-12 14:17:25 +00:00
robokaso
7ea45ca090 IN PROGRESS - issue BATCH-352: SimpleFlatFileItemReader vs. DefaultFlatFileItemReader
http://jira.springframework.org/browse/BATCH-352

Merged SimpleFlatFileItemReader into DefaultFlatFileItemReader
2008-02-12 14:00:59 +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
1871df0539 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:40 +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
f7cface009 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:18:09 +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
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
38119c83bf OPEN - issue BATCH-347: aop / template interceptor class names ambiguous
http://jira.springframework.org/browse/BATCH-347

Rename test case to match unit under test (RetryListenerAdapter)
2008-02-10 16:29:25 +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
31818eed98 Remove close() method (not in interface) 2008-02-10 11:56:05 +00:00
dsyer
554e526818 Move clover repository location to profile. 2008-02-10 11:49:15 +00:00
dsyer
dda3af1afb Sublclipse missing file on last commit 2008-02-10 11:48:04 +00:00
dsyer
134b72ba1e Wrong naming convention for unit test 2008-02-10 11:47:19 +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
dsyer
0bc8aa4493 Incomplete - task 79: Failed build with queue in repeat template
Change internals of TaskExecutorRepeatTemplate to distinguish between error condition and success in a more type-safe way.
2008-02-10 11:44:39 +00:00
lucasward
c1b2db5a59 Fixed broken unit tests and sample jobs from move away from Tasklet. 2008-02-10 04:28:23 +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
c4df50bfe4 Fixes to get the codebase to compile successfully again, still a ways to go before all tests pass. 2008-02-10 01:28:50 +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
dsyer
012e2634f8 Incomplete - task 79: Failed build with queue in repeat template
Prevent race that fails CI build sometimes by making put() atomic.
2008-02-09 15:09:05 +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
c1d82aae5b OPEN - issue BATCH-339: ItemStream.mark() and reset() should throw a checked exception
http://jira.springframework.org/browse/BATCH-339

Make sure existing ItemStreams throw ResetFailedException where necessary.
2008-02-08 15:21:52 +00:00
dsyer
1efb6fedc9 OPEN - issue BATCH-339: ItemStream.mark() and reset() should throw a checked exception
http://jira.springframework.org/browse/BATCH-339

Missing classes
2008-02-08 13:59:25 +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
nebhale
dd53697a0e Polishing 2008-02-08 09:31:36 +00:00
nebhale
55f5e36293 [BATCH-85] Polishing 2008-02-08 08:38:30 +00:00
dsyer
7349b85586 switch flag for samples dependencies 2008-02-07 18:44:27 +00:00
dsyer
17bf34a873 update version number and dependencies for samples 2008-02-07 18:43:13 +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
dsyer
20baeef552 Removed unused interface 2008-02-06 19:36:33 +00:00