Commit Graph

53 Commits

Author SHA1 Message Date
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
11708012b5 BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Moved ItemStream to item package
2008-01-30 18:01:07 +00:00
dsyer
a2117e4f22 BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Rename Restartable to ItemStream
2008-01-30 17:56:56 +00:00
dsyer
6ffefbc184 Introduce KeyedItemReader to push the getKey() method into a separate place. 2008-01-30 08:55:53 +00:00
dsyer
152829ba5f Send test coverage in core up to the high 90s. 2008-01-30 08:02:29 +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
16c59d915f BATCH-325:Added close() to readers and writers. 2008-01-29 17:12:14 +00:00
dsyer
6ad596421b RESOLVED - issue BATCH-290: SimpleFlatFileInputSource - add a public getter for the "resource" attribute
http://jira.springframework.org/browse/BATCH-290
2008-01-29 11:19:14 +00:00
dsyer
dbdc356a69 RESOLVED - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Javadocs.
2008-01-29 10:50:42 +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
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
dsyer
8c1210f5da Resolved some TODOs. 2008-01-28 16:47:08 +00:00
dsyer
fd012bd49c Resolved some TODOs. 2008-01-28 13:56:48 +00:00
dsyer
d173f0c022 Resolved some TODOs. Changed signature of StepDao to use entity instead of ID. 2008-01-28 13:17:56 +00:00
dsyer
5ad74053cd Resolved some TODOs. 2008-01-28 09:46:21 +00:00
lucasward
373efb2856 BATCH-290: added getter for resource in SimpleFlatFileItemReader 2008-01-24 17:07:58 +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
702213838e RESOLVED - issue BATCH-305: ItemProvider still referenced in comments / variable naming in ItemOrientedTasklet
http://jira.springframework.org/browse/BATCH-305
2008-01-24 10:42:31 +00:00
dsyer
8833158f0d Remove duplicate job name (causing failures in test suite) 2008-01-23 12:23:27 +00:00
dsyer
678ccc06d9 RESOLVED - issue BATCH-45: Create a POJO adapter for batch Tasklet
http://jira.springframework.org/browse/BATCH-45

Use the existing method invoking delegator to provide a crude adapter (not trying to pass result back in).
2008-01-21 15:29:12 +00:00
dsyer
badcf74c7b OPEN - issue BATCH-295: JobLauncher should have only one run method.
http://jira.springframework.org/browse/BATCH-295

Add a property editor for JobIdentifier so the JMX demo can work.
2008-01-21 11:37:12 +00:00
lucasward
530970c9d4 Batch-295:Added DefaultJobLauncher, which implements the JobLauncher interface in a different. Misc. other changes were made in support of this. 2008-01-18 00:42:06 +00:00
dsyer
ddac3e8e5e RESOLVED - issue BATCH-296: rollback of first chunk fails
http://jira.springframework.org/browse/BATCH-296

Added additional test, but the bug was already fixed in m3.
2008-01-17 13:13:06 +00:00
dsyer
72167a78c6 Hopefully fix FieldSet changes (uncommitted) and add also some work in progress on JobLauncher interface change 2008-01-17 13:01:03 +00:00
lucasward
383e8fc7e8 Fixes for build errors 2008-01-16 21:56:15 +00:00
dsyer
9c2df0b180 RESOLVED - issue BATCH-289: FieldSet should be an interface
http://jira.springframework.org/browse/BATCH-289

Created interface and moved implementation to DefaultFieldSet.
2008-01-16 14:39:11 +00:00
dsyer
5627d28945 RESOLVED - issue BATCH-293: ResourceLineReader eats newlines within a record's field
http://jira.springframework.org/browse/BATCH-293

Fixed using Java 2 features (not using the patch as such) - (implicit) StringBuffer instead of StringBuilder.
2008-01-16 14:19:07 +00:00
dsyer
c0bf35b959 RESOLVED - issue BATCH-285: Problem with DelimitedLineTokenizer and whitespace after quote
http://jira.springframework.org/browse/BATCH-285

Refactored to treat quoted strings with whitepsace outside the quotes as a special case (stripping the whitespace before unquoting).  Non-quoted strings are not trimmed (but clients like the item readers may be trimming).
2008-01-16 10:35:36 +00:00
dsyer
8bdf835cdd Fix compiler warnings 2008-01-15 13:18:10 +00:00
dsyer
8afab082bf BATCH-283.
Remove final keyword
2008-01-14 14:52:33 +00:00
lucasward
ce16a9e5bc BATCH-269:Moved PassThroughFieldSetMapper from Samples to Infrastructure. 2008-01-07 15:49:08 +00:00
lucasward
e8c2539656 BATCH-263:XML and FlatFile item readers will no longer throw IllegalStateException on afterPropertiesSet if resource.exists() == false. Instead, they will check that a resource exists when initialized by the first call to read(). 2008-01-03 20:31:15 +00:00
dsyer
c423fff306 Rename provider package as "reader" 2008-01-02 14:41:06 +00:00
dsyer
1be07ec5b2 IN PROGRESS - issue BATCH-267: Re-organise I/O (io) packages
http://jira.springframework.org/browse/BATCH-267

Rationalize interface locations to minimize chance of cycles in future.
Rename and refactor OXM interfaces a bit to be more consistent
2008-01-02 09:21:44 +00:00
dsyer
03ea1e3826 IN PROGRESS - issue BATCH-267: Re-organise I/O (io) packages
http://jira.springframework.org/browse/BATCH-267

Remove package cycles
2007-12-31 17:13:40 +00:00
dsyer
12d7203c03 IN PROGRESS - issue BATCH-267: Re-organise I/O (io) packages
http://jira.springframework.org/browse/BATCH-267

Remove unused packages
2007-12-31 15:45:50 +00:00
dsyer
3ee3007c46 IN PROGRESS - issue BATCH-267: Re-organise I/O (io) packages
http://jira.springframework.org/browse/BATCH-267

Initial draft - separating flat file and xml processing
2007-12-31 15:42:15 +00:00
dsyer
01f64f013f OPEN - issue BATCH-97: Fix integration tests on Bamboo server
http://jira.springframework.org/browse/BATCH-97

Use mininum bound (discard upper limit) when testing backoff strategies
2007-12-21 12:29:57 +00:00
dsyer
dfa9e646fe RESOLVED - issue BATCH-154: Re-implement BeanWrapperFieldSetMapper using a DataBinder
http://opensource.atlassian.com/projects/spring/browse/BATCH-154

Check that binder still works with default property editors.
2007-12-19 21:21:23 +00:00
dsyer
d0c42b7be1 RESOLVED - issue BATCH-154: Re-implement BeanWrapperFieldSetMapper using a DataBinder
http://opensource.atlassian.com/projects/spring/browse/BATCH-154

Added new config options to BeanWrapperFieldSetMapper for custom property editors and extension points to create a custom binder if necessary.
2007-12-19 21:13:43 +00:00
lucasward
a41fef7eb6 BATCH-261:Added an extra test case to FieldSetTests to ensure padded input doesn't cause issues in the FieldSet. As mentioned in the issue, the BeanWrapperFieldSetMapper is likely causing the issue. 2007-12-19 15:22:32 +00:00
dsyer
7f71dc55ce IN PROGRESS - issue BATCH-212: Merge InputSource with ItemProvider
http://opensource.atlassian.com/projects/spring/browse/BATCH-212

Remove unnecessary uses of Delegating ItemReader from samples.
2007-12-18 18:47:33 +00:00
dsyer
d037885933 RESOLVED - issue BATCH-259: FlatFileParsingException should include line number in its toString()
http://opensource.atlassian.com/projects/spring/browse/BATCH-259

Add missing unit test for exception
2007-12-18 17:38:03 +00:00
dsyer
c3caf6e63a RESOLVED - issue BATCH-259: FlatFileParsingException should include line number in its toString()
http://opensource.atlassian.com/projects/spring/browse/BATCH-259
2007-12-18 10:23:34 +00:00
dsyer
fe54a6f38d IN PROGRESS - issue BATCH-212: Merge InputSource with ItemProvider
http://opensource.atlassian.com/projects/spring/browse/BATCH-212

Rename class and method names (Provider -> Reader)
2007-12-17 14:12:24 +00:00
dsyer
ab98d1ebe6 IN PROGRESS - issue BATCH-212: Merge InputSource with ItemProvider
http://opensource.atlassian.com/projects/spring/browse/BATCH-212

Merge InputSource/ItemProvider -> ItemReader.
2007-12-17 13:13:39 +00:00
dsyer
ddc4a48de1 OPEN - issue BATCH-87: Recoverable is a nasty abstraction - encourages stateful Tasklets.
http://opensource.atlassian.com/projects/spring/browse/BATCH-87

Remove recover method from AbstractItemProvider.
2007-12-17 09:44:40 +00:00
dsyer
3c34d95ff8 OPEN - issue BATCH-87: Recoverable is a nasty abstraction - encourages stateful Tasklets.
http://opensource.atlassian.com/projects/spring/browse/BATCH-87

Moved recovery responsibility to a separate infrastructure interface.
2007-12-16 14:22:34 +00:00