Commit Graph

144 Commits

Author SHA1 Message Date
dsyer
ee0236d657 OPEN - issue BATCH-371: FlatFileItemWriter no longer uses LineAggregator
http://jira.springframework.org/browse/BATCH-371

Extend ItemTransformer implementations that deal with field sets and arrays
2008-02-21 09:15:51 +00:00
lucasward
49540b135e 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:33: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
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
d7b9cf9d92 BATCH-220: Updated sample jobs to use 'chunkedStep' 2008-02-19 05:55:43 +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
0fc3ec4cfc OPEN - issue BATCH-364: StepScope responsibilities can be assumed by Step (not ApplicationContext)
http://jira.springframework.org/browse/BATCH-364

Step scope not needed for bean wrapper job
2008-02-15 13:47:49 +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
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
5e8a9a57d0 BATCH-220:Moved SimpleJob (formerly simpleTaskletJob) to use the ChunkedStep 2008-02-14 22:19:28 +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
345b9c47db IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

organize imports
2008-02-14 13:24:43 +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
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
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
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
dsyer
51e48b5edb Fi pom to not use clover 2008-02-05 08:28:32 +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