Commit Graph

208 Commits

Author SHA1 Message Date
nebhale
dfa783aff8 [BATCH-63] More test changes 2008-02-22 14:45:24 +00:00
nebhale
a13214b9d5 More missing changes 2008-02-22 14:17:09 +00:00
nebhale
1d18611e09 [BUILD-63] <job-repository/> and <tasklet-step/> complete. Forgot all that test code 2008-02-22 13:34:49 +00:00
nebhale
ca5bf67556 [BUILD-63] <job-repository/> and <tasklet-step/> complete. 2008-02-22 13:32:33 +00:00
lucasward
30a5b28c03 First attempt at adding more explicit skip handling and removing the need for 'SimpleStepExecutor'. There's still some cleanup that needs to happen, but it's moving in the right direction. 2008-02-21 04:35:44 +00:00
nebhale
c7144945bc [BATCH-63] Still missing resources 2008-02-20 13:38:13 +00:00
nebhale
feeb5bdcf0 [BATCH-63] Test resources in the wrong location 2008-02-20 13:26:02 +00:00
nebhale
1ad1a07056 [BATCH 63] Incremental commit 2008-02-20 13:14:21 +00:00
nebhale
612b9c1036 [BATCH 63] Incremental commit 2008-02-20 13:14:01 +00:00
robokaso
34bd1fc446 RESOLVED - issue BATCH-373: jobExecution.getJobInstance().getJob() return null when re-run
http://jira.springframework.org/browse/BATCH-373

added testcase and fixed the bug
2008-02-20 12:24:10 +00:00
robokaso
65b208b05f fixed invalid property name (the config file seems unused though) 2008-02-20 09:55:30 +00:00
dsyer
f6bd90fc3e OPEN - issue BATCH-371: FlatFileItemWriter no longer uses LineAggregator
http://jira.springframework.org/browse/BATCH-371

Changed the interface of LineAggregator for symmetry with LineTokenizer.
2008-02-20 08:55:35 +00:00
robokaso
10d4632dcb IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed unused method
2008-02-19 17:30:44 +00:00
robokaso
acff58c756 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

improving test coverage
2008-02-19 17:22:58 +00:00
robokaso
ae45ec85c0 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

improving test coverage
2008-02-19 17:14:47 +00:00
robokaso
4a38a4a218 IN PROGRESS - issue BATCH-366: Do we still need StepInstance?
http://jira.springframework.org/browse/BATCH-366

removed remaining STEP_INSTANCE-related entries from schema
2008-02-19 16:42:36 +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
lucasward
786f756ba2 BATCH-220: Updated sample jobs to use 'chunkedStep' 2008-02-19 05:55:34 +00:00
nebhale
0b3f025707 Moved the fist namespace to execution from core 2008-02-18 15:21:33 +00:00
robokaso
5ed0a9cfc6 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

javadoc fixes
2008-02-18 14:54:32 +00:00
robokaso
059eb924c7 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

renamed EXECUTION_ATTRS table to EXECUTION_CONTEXT
2008-02-18 14:25:03 +00:00
robokaso
1ec3ef5777 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

javadoc updates
2008-02-18 13:50:59 +00:00
robokaso
942765093b IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

cleaned up method signatures in dao interfaces to uniformly use domain object arguments (rather than ids sometimes)
2008-02-18 13:45:02 +00:00
robokaso
ac83e929b1 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed obsolete JobDao interface
2008-02-18 13:07:20 +00:00
robokaso
dad1ba02e1 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed obsolete StepDao interface
2008-02-18 12:55:20 +00:00
robokaso
283db955bd IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed unused getExecution(Long) method from JobExecutionDao
2008-02-18 12:15:08 +00:00
robokaso
3ddafe60e9 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed unused findStepInstances(JobInstance) method from StepInstanceDao
2008-02-18 11:57:28 +00:00
lucasward
1b1bf33931 BATCH-220: Moved transactional boundary within ChunkedStep to include both 'Chunking' and 'Dechunking' 2008-02-15 23:30:21 +00:00
dsyer
542b3f74b8 OPEN - issue BATCH-364: StepScope responsibilities can be assumed by Step (not ApplicationContext)
http://jira.springframework.org/browse/BATCH-364

One more test to fix.
2008-02-15 15:35:49 +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
66ddfa81f0 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed remaining hidden inter-dao dependencies
2008-02-15 13:25:33 +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
dsyer
711d0c6e92 OPEN - issue BATCH-364: StepScope responsibilities can be assumed by Step (not ApplicationContext)
http://jira.springframework.org/browse/BATCH-364

Instead of lazy open, throw exception is stream is used before open().
2008-02-15 09:19:25 +00:00
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