Commit Graph

230 Commits

Author SHA1 Message Date
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
8aea7deb45 Incomplete - task 84: Fix samples
Unused imports.
2008-02-26 10:56:41 +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
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
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
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
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
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
fb98433034 BATCH-365: Moved reset and mark to ItemReader interface. 2008-02-24 21:14:51 +00:00
lucasward
98bd199676 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:02 +00:00
lucasward
53da080079 Renamed Step.simple package to step.support. 2008-02-22 23:02:22 +00:00
lucasward
48f23ccfb7 Reorganized the execution.step package to contain all Step implementations 2008-02-22 22:08:20 +00:00
nebhale
dfa783aff8 [BATCH-63] More test changes 2008-02-22 14:45:24 +00:00
nebhale
a13214b9d5 More missing changes 2008-02-22 14:17:09 +00:00
nebhale
1d18611e09 [BUILD-63] <job-repository/> and <tasklet-step/> complete. Forgot all that test code 2008-02-22 13:34:49 +00:00
nebhale
ca5bf67556 [BUILD-63] <job-repository/> and <tasklet-step/> complete. 2008-02-22 13:32:33 +00:00
lucasward
30a5b28c03 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:35:44 +00:00
nebhale
c7144945bc [BATCH-63] Still missing resources 2008-02-20 13:38:13 +00:00
nebhale
feeb5bdcf0 [BATCH-63] Test resources in the wrong location 2008-02-20 13:26:02 +00:00
nebhale
1ad1a07056 [BATCH 63] Incremental commit 2008-02-20 13:14:21 +00:00
nebhale
612b9c1036 [BATCH 63] Incremental commit 2008-02-20 13:14:01 +00:00
robokaso
34bd1fc446 RESOLVED - issue BATCH-373: jobExecution.getJobInstance().getJob() return null when re-run
http://jira.springframework.org/browse/BATCH-373

added testcase and fixed the bug
2008-02-20 12:24:10 +00:00
robokaso
65b208b05f fixed invalid property name (the config file seems unused though) 2008-02-20 09:55: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
10d4632dcb IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed unused method
2008-02-19 17:30:44 +00:00
robokaso
acff58c756 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

improving test coverage
2008-02-19 17:22:58 +00:00
robokaso
ae45ec85c0 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

improving test coverage
2008-02-19 17:14:47 +00:00
robokaso
4a38a4a218 IN PROGRESS - issue BATCH-366: Do we still need StepInstance?
http://jira.springframework.org/browse/BATCH-366

removed remaining STEP_INSTANCE-related entries from schema
2008-02-19 16:42:36 +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
786f756ba2 BATCH-220: Updated sample jobs to use 'chunkedStep' 2008-02-19 05:55:34 +00:00
nebhale
0b3f025707 Moved the fist namespace to execution from core 2008-02-18 15:21:33 +00:00
robokaso
5ed0a9cfc6 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

javadoc fixes
2008-02-18 14:54:32 +00:00
robokaso
059eb924c7 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

renamed EXECUTION_ATTRS table to EXECUTION_CONTEXT
2008-02-18 14:25:03 +00:00
robokaso
1ec3ef5777 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

javadoc updates
2008-02-18 13:50:59 +00:00
robokaso
942765093b IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

cleaned up method signatures in dao interfaces to uniformly use domain object arguments (rather than ids sometimes)
2008-02-18 13:45:02 +00:00
robokaso
ac83e929b1 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed obsolete JobDao interface
2008-02-18 13:07:20 +00:00
robokaso
dad1ba02e1 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed obsolete StepDao interface
2008-02-18 12:55:20 +00:00
robokaso
283db955bd IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed unused getExecution(Long) method from JobExecutionDao
2008-02-18 12:15:08 +00:00
robokaso
3ddafe60e9 IN PROGRESS - issue BATCH-340: Refactor JobRepository for greater clarity and consistency.
http://jira.springframework.org/browse/BATCH-340

removed unused findStepInstances(JobInstance) method from StepInstanceDao
2008-02-18 11:57:28 +00:00
lucasward
1b1bf33931 BATCH-220: Moved transactional boundary within ChunkedStep to include both 'Chunking' and 'Dechunking' 2008-02-15 23:30:21 +00:00