Commit Graph

4883 Commits

Author SHA1 Message Date
lucasward
a582aa0229 BATCH-365: ItemStream#Update and ItemStream#close now accept an ExecutionContext as an argument. I removed the local ExecutionContexts in the readers and readers, and had them use the passed in ones instead. 2008-02-26 21:22:59 +00:00
lucasward
ed2bbf96e6 BATCH-365: ItemStream#Update and ItemStream#close now accept an ExecutionContext as an argument. I removed the local ExecutionContexts in the readers and readers, and had them use the passed in ones instead. 2008-02-26 21:22:54 +00:00
lucasward
e952a55ab2 BATCH-365: ItemStream#Update and ItemStream#close now accept an ExecutionContext as an argument. I removed the local ExecutionContexts in the readers and readers, and had them use the passed in ones instead. 2008-02-26 21:22:10 +00:00
lucasward
93445b9164 BATCH-339: ItemWriter#flush() now throws a FlushFailedException (unchecked) and ItemWriter#clear() now throws a ClearFailedException (also unchecked) 2008-02-26 20:10:38 +00:00
lucasward
3292ab3ae0 BATCH-339: ItemWriter#flush() now throws a FlushFailedException (unchecked) and ItemWriter#clear() now throws a ClearFailedException (also unchecked) 2008-02-26 20:10:32 +00:00
lucasward
a7b05a1778 BATCH-339: ItemWriter#flush() now throws a FlushFailedException (unchecked) and ItemWriter#clear() now throws a ClearFailedException (also unchecked) 2008-02-26 20:10:24 +00:00
dsyer
22c63e6fb9 OPEN - issue BATCH-151: add support for some sort of 'final' method to existing or new ItemProcessor implementation and related tasklets
http://jira.springframework.org/browse/BATCH-151

Organise imports.
2008-02-26 17:23:33 +00:00
dsyer
09545ba367 OPEN - issue BATCH-151: add support for some sort of 'final' method to existing or new ItemProcessor implementation and related tasklets
http://jira.springframework.org/browse/BATCH-151

Encapsulate step context identifier to prevent step from forgetting to set it up.
2008-02-26 17:08:22 +00:00
nebhale
37bfe92d62 [BATCH-63] <step/> tag of namespace complete 2008-02-26 16:41:24 +00:00
dsyer
29ea3e182f RESOLVED - issue BATCH-380: Step Scope problem in TaskletStep
http://jira.springframework.org/browse/BATCH-380

Forgot to check core tests.
2008-02-26 16:31:13 +00:00
dsyer
71c61496be RESOLVED - issue BATCH-380: Step Scope problem in TaskletStep
http://jira.springframework.org/browse/BATCH-380
2008-02-26 16:27:21 +00:00
dsyer
2338565010 RESOLVED - issue BATCH-344: A JobExecution does not need a start time until it actually starts
http://jira.springframework.org/browse/BATCH-344
2008-02-26 15:48:14 +00:00
dsyer
5c84a647de Failed to commit last time? 2008-02-26 15:38:58 +00:00
dsyer
40acd63151 Incomplete - task 84: Fix samples
Retry sample fixed too.
2008-02-26 15:21:31 +00:00
wxlund
7fb1845eeb Diagrams have been updated to reflect recent changes; 1) repository has been simplified 2) io-design was simplified to separate ItemReaders design from ItemReaders to simplify DocBook presentation and also reflects the changes to ItemStreamSupport and 3) the domain has been simplified. 2008-02-26 15:17:58 +00:00
dsyer
55e35eac1c Incomplete - task 84: Fix samples
Fix rollback tests as well - exception handler too complicated
2008-02-26 15:16:02 +00:00
dsyer
ee2c20f568 Incomplete - task 84: Fix samples
ItemSkipPolicy doesn't need to know about StepContribution
2008-02-26 14:44:07 +00:00
dsyer
a1c6bd488e Incomplete - task 84: Fix samples
Expect exception in skip test
2008-02-26 14:34:29 +00:00
dsyer
42ba209b11 Incomplete - task 84: Fix samples
Fix skip policy so it responds to subclasses
2008-02-26 14:29:27 +00:00
dsyer
2b32b8d38e Incomplete - task 84: Fix samples
Fix restart sample - StepExecutionDao was not restoring execution context
2008-02-26 13:19:14 +00:00
dsyer
5e09d034e0 Incomplete - task 84: Fix samples
Switch default skip policy to Never
2008-02-26 12:26:39 +00:00
dsyer
e2c5d1fb97 Remove unnecessary public getter from DelegatingItemReader 2008-02-26 12:21:28 +00:00
dsyer
756b51ab05 Incomplete - task 84: Fix samples
Fix HibernateAwareItemWriterTests
2008-02-26 12:15:11 +00:00
dsyer
2edf00947f Incomplete - task 84: Fix samples
Fix execution tests broken by default skip policy
2008-02-26 12:09:48 +00:00
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
8aea7deb45 Incomplete - task 84: Fix samples
Unused imports.
2008-02-26 10:56:41 +00:00
dsyer
88da89d735 Incomplete - task 84: Fix samples
Remove unused private scoped code.
2008-02-26 10:44:04 +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
robokaso
d20c76b0a7 Fixed Object attribute handling in JdbcStepExecutionDao (were being put as Longs into execution context) 2008-02-26 09:50:39 +00:00
dsyer
acbcc9dc0b Incomplete - task 84: Fix samples
Better message from assertion.
2008-02-26 09:43:36 +00:00
dsyer
0333e8cd2f Incomplete - task 84: Fix samples
Infinite loop in stax sample averted by opening the stream only once
2008-02-26 09:41:29 +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
lucasward
38c486e449 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:48 +00:00
lucasward
64506040ff 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:37 +00:00
dsyer
3b48ece7e5 Moved chunks to a branch (called chunks) 2008-02-26 08:06:11 +00:00
lucasward
23ab7d3783 Fixed the types on SAVE_STEP_EXECUTION.....Step name was using INTEGER instead of VARCHAR 2008-02-25 22:20:12 +00:00
dsyer
85806724a5 Remove RepeatOperationsStep 2008-02-25 17:54:36 +00:00
dsyer
949324c751 Remove RepeatOperationsHolder (not necessary). 2008-02-25 17:37:03 +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
59f884b832 RESOLVED - issue BATCH-371: FlatFileItemWriter no longer uses LineAggregator
http://jira.springframework.org/browse/BATCH-371
OPEN - issue BATCH-349: ItemStreamAdapter isn't an Adapter 
http://jira.springframework.org/browse/BATCH-349

Use *CReator instead of *Unmapper

Adapter -> Support
2008-02-25 17:08:31 +00:00
dsyer
ad6511fb94 OPEN - issue BATCH-349: ItemStreamAdapter isn't an Adapter
http://jira.springframework.org/browse/BATCH-349

Adapter -> Support (unless it was an Adapter)
2008-02-25 16:10:53 +00:00
dsyer
66581d700e tests for the PassThroughFieldSetMapper 2008-02-25 15:20:50 +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
4b0edc1799 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

tweaking repo & dao interfaces to use domain objects instead of primitive types
2008-02-25 14:40:05 +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
robokaso
8e1ad48aa6 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed redundant stepNames property from JobInstance (StepInstance heritage)
2008-02-25 12:37:24 +00:00
lucasward
cae7b666ae BATCH-365: Moved reset and mark to ItemReader interface. 2008-02-24 21:15:01 +00:00