Commit Graph

117 Commits

Author SHA1 Message Date
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
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
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
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
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
lucasward
c1b2db5a59 Fixed broken unit tests and sample jobs from move away from Tasklet. 2008-02-10 04:28:23 +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
robokaso
37cf297899 RESOLVED - issue BATCH-343: close() is called twice on ItemReaders/ItemWriters
http://jira.springframework.org/browse/BATCH-343

ItemStream implementations no longer implement DisposableBean
2008-02-06 14:20:21 +00:00
lucasward
7632f29c4a 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:43:53 +00:00
dsyer
22a1d7c254 Remove unnecessary context from mark()/reset() in ItemStream. 2008-02-05 10:37:01 +00:00
dsyer
39210aa3d6 Re-order assertion to catch the problem if it exists earlier 2008-02-05 10:28:18 +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
lucasward
36452a96d1 BATCH-219 and BATCH-330: Created ExecutionAttributes, which are stored in the table BATCH_STEP_EXECUTION_ATTRIBUTES. 2008-02-05 02:32:27 +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
1fa7763d0d IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Javadocs for isMarkSupported().
2008-02-04 13:18:33 +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
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
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
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
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
6ffefbc184 Introduce KeyedItemReader to push the getKey() method into a separate place. 2008-01-30 08:55:53 +00:00
dsyer
911e368a71 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Same treatment for JobExecutor - roll it up into the Job interface
2008-01-29 18:07:57 +00:00
lucasward
3d7f40ca90 BATCH-325:Added close() to readers and writers. 2008-01-29 17:15:49 +00:00
dsyer
f9619e345e OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Substantial re-org of core domain packages to align concerns
2008-01-29 16:36:16 +00:00
dsyer
4da4c073d5 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

First pass - added factory method, resolved conflicts and cycles, got tests working.
2008-01-29 15:07:53 +00:00
dsyer
75c8f9b5c1 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Another package rename.
2008-01-29 10:44:18 +00:00
dsyer
bc9afc4ce1 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Remove some references to "processor".  Rename some XML files.
2008-01-29 09:35:11 +00:00
dsyer
a98f0e566c OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Compiler warnings.
2008-01-29 09:25:01 +00:00
dsyer
b0c6a16879 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Replace DummyItemWriter to fix failed build
2008-01-29 09:22:42 +00:00
dsyer
63594415ca Purge ItemProcessor 2008-01-29 09:13:47 +00:00
dsyer
0e27ea6660 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Half way there - tests OK, but some naming and tidying up to do.
2008-01-28 22:37:46 +00:00
lucasward
f092cb8a99 added a BatchResourceFactoryBean to fixedlengthImportJob and fixed a repository error it illuminated. 2008-01-28 15:41:43 +00:00
dsyer
fd012bd49c Resolved some TODOs. 2008-01-28 13:56:48 +00:00
dsyer
00ca5ce850 RESOLVED - issue BATCH-88: StatisticsProvider is a leaky abstraction
http://jira.springframework.org/browse/BATCH-88
2008-01-24 16:22:56 +00:00
dsyer
3f6f0a94e7 Complete - task 70: Parallel job transactions 2008-01-24 13:23:22 +00:00
dsyer
d8da44cc92 RESOLVED - issue BATCH-312: Fix JMX demo now that JobIdentifier has been replaced with JobParameters
http://jira.springframework.org/browse/BATCH-312

Implemented ExportedJobLauncher and exposed in JMX
2008-01-24 12:49:36 +00:00
dsyer
58efcd47ef Complete - task 69: Fix Hibernate samples
duplicate job name!
2008-01-24 11:03:20 +00:00