Commit Graph

118 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
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
0734480dd6 Remove JobExecutionListener - doesn't do anything that an AOP listener on the Job couldn't do. 2008-01-30 09:13:41 +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
1cf29b8241 Missing commit (subclipse?) 2008-01-29 18:13:12 +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
4e51cf13ea BATCH-325:Added close() to readers and writers. 2008-01-29 17:15:11 +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
d4d09d2ad8 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Consolidate changes and remove unnecessary methods from interfaces
2008-01-29 15:48:16 +00:00
dsyer
ea818d8401 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Remove StepExecutorFactory strategy.
2008-01-29 15:21:24 +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
6319efdce6 RESOLVED BATCH-322: Keyword KEY is not allowed in the script mysql
http://jira.springframework.org/browse/BATCH-322
2008-01-29 11:08:57 +00:00
dsyer
073784ebc7 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Fix test (processor -> writer)
2008-01-29 10:46:16 +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
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
lucasward
c412bce1f0 added a BatchResourceFactoryBean to fixedlengthImportJob and fixed a repository error it illuminated. 2008-01-28 15:41:28 +00:00
dsyer
fd012bd49c Resolved some TODOs. 2008-01-28 13:56:48 +00:00
dsyer
39ea7775bd Tidy Javadocs 2008-01-28 13:23:21 +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
lucasward
2e84c5a900 Finished cleaning up the job runner. 2008-01-28 10:51:52 +00:00
dsyer
5ad74053cd Resolved some TODOs. 2008-01-28 09:46:21 +00:00
lucasward
678cb7825b CommandLineJobRunner was somehow deleted in the last revision, readding it. 2008-01-25 14:50:12 +00:00
dsyer
afab3b4dd7 missing file from subclipse 2008-01-24 16:53:54 +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
lucasward
881c18cccd BATCH-304: Modified the CommandLineJobRunner to accept a job name as an argument. Also modified the contract of JobParamterFactory to return an empty JobParameters or Properties if null is passed in, rather than throwing an IllegalArgumentException. 2008-01-24 16:17:42 +00:00
lucasward
d922345309 BATCH-304: Created new job launcher that does not use BeanFactoryLocator. 2008-01-24 13:40:43 +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
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
f23b09c556 RESOLVED - issue BATCH-307: Increase column width on SB_BATCH_STEP_EXECUTION.EXIT_MESSAGE Field
http://jira.springframework.org/browse/BATCH-307

Increased all long fields to 2500 (statistics, exit message and restart data)
2008-01-24 10:32:38 +00:00
dsyer
d84fbeccf4 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Use date format in test as well - surely this will be the same on all platforms?
2008-01-24 10:14:00 +00:00
dsyer
97d5359f3c OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Date format hell - how is new Date(0) "19691231"?
2008-01-24 10:07:38 +00:00
dsyer
e749bb93a0 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Add unit test for factory.
2008-01-24 09:54:24 +00:00
dsyer
1c2e5d6339 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Add inverse operation to JobParametersFactory
2008-01-24 09:50:45 +00:00
dsyer
9185795686 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Remove Javadocs references to non-existent classes
2008-01-24 08:56:22 +00:00
dsyer
9caa444208 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Rename test case Properties -> Parameters
2008-01-24 08:50:03 +00:00
dsyer
09fc32c4b9 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Nuke JobIdentifier
2008-01-24 08:47:16 +00:00
dsyer
5a8635a32e OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

First part of JobParameters and retirement of JobIdentifier.  Tests are borken, but not by these changes so I figure I have to get them in!
2008-01-24 08:07:20 +00:00
lucasward
50a9f0d84d BATCH-311:Added factory for JobInstanceProperties. 2008-01-23 23:17:24 +00:00
dsyer
38e58f8c45 Tidy imports. 2008-01-23 17:56:58 +00:00
dsyer
2731c3299c OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Remove JobIdentifierFactory from runner some more
2008-01-23 16:50:30 +00:00
dsyer
94338b0eac OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Organise imports
2008-01-23 16:45:54 +00:00
lucasward
b5b3019899 BATCH-295: Added logging statements and null chucks to Logger. Also corrected the JavaDocs. 2008-01-23 16:45:46 +00:00
dsyer
7565cd19f8 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Remove JobIdentifierFactory from runner
2008-01-23 16:45:33 +00:00
dsyer
8833158f0d Remove duplicate job name (causing failures in test suite) 2008-01-23 12:23:27 +00:00
dsyer
69f6d8891a Tidy up build problems overnight. 2008-01-23 09:08:09 +00:00