dsyer
66c4e7091b
Incomplete - task 84: Fix samples
...
Hibernate failure fixed on flush.
2008-02-26 12:02:33 +00:00
dsyer
2cfb69a852
Incomplete - task 84: Fix samples
...
Compiler warnings
2008-02-26 11:01:45 +00:00
dsyer
7f0be2826e
Incomplete - task 84: Fix samples
...
Fix column mapping in jdbc cursor - order is important.
2008-02-26 10:41:30 +00:00
lucasward
d24f0af439
BATCH-365: There should now be one ExecutionContext per step. All itemStreams will be opened with an execution context, and will be notified before it is saved, to ensure they have all state in the context. Most ItemReader/Writers should now have the logic for whether or not to put their state in the context, but a few have likely been missed.
2008-02-26 08:29:59 +00:00
dsyer
3b48ece7e5
Moved chunks to a branch (called chunks)
2008-02-26 08:06:11 +00:00
dsyer
85806724a5
Remove RepeatOperationsStep
2008-02-25 17:54:36 +00:00
dsyer
b41415001a
Move RepeatOperationsStep up to live with other step implementations
2008-02-25 17:29:41 +00:00
robokaso
7368aa3541
IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
...
http://jira.springframework.org/browse/BATCH-340
more StepInstance heritage cleaned up - StepExecution refers to Step rather than stepName string
2008-02-25 17:21:46 +00:00
dsyer
4f4b63b6c1
OPEN - issue BATCH-371: FlatFileItemWriter no longer uses LineAggregator
...
http://jira.springframework.org/browse/BATCH-371
Introduce FieldSetUnmapper for symmetry with input
2008-02-25 14:42:16 +00:00
robokaso
4e05642f98
IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
...
http://jira.springframework.org/browse/BATCH-340
JobInstance now has not-null Job as required constructor argument - repository no longer requires a separate Job setter
2008-02-25 13:50:53 +00:00
dsyer
1244264e50
Classpath issues on build
2008-02-25 13:08:06 +00:00
lucasward
cae7b666ae
BATCH-365: Moved reset and mark to ItemReader interface.
2008-02-24 21:15:01 +00:00
lucasward
58cdd58c79
BATCH-365: Added flush() and clear() to ItemWriter interface. These should be removed from ItemStream after the same is done for the ItemReader interface.
2008-02-24 01:56:11 +00:00
lucasward
325a383eae
Renamed Step.simple package to step.support.
2008-02-22 23:02:28 +00:00
lucasward
909894a23b
Reorganized the execution.step package to contain all Step implementations
2008-02-22 21:49:05 +00:00
lucasward
8797814b1b
Updated the job launcher to work for the latest CommandLineJobRunner
2008-02-22 15:26:19 +00:00
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