Commit Graph

287 Commits

Author SHA1 Message Date
dsyer
c3ed34b3a8 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Lift Chunk up to top level and use it to manage the skip / retry logic.  Not finished.
2008-08-23 11:22:01 +00:00
lucasward
3815c3e4cb IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

JobExecution now stores last updated time as well.
2008-08-22 21:26:50 +00:00
dsyer
90be802313 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Make sure commit count is updated
2008-08-22 09:23:38 +00:00
dsyer
c208014073 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Change step handler to not process items again if already completed
2008-08-22 09:07:15 +00:00
lucasward
6c76c7ae6d IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Fixed broken test.
2008-08-22 03:15:27 +00:00
lucasward
838bae2c25 IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Updated SimpleJobRepository to check if JobExecution status has been set to 'STOPPING' in the database.
2008-08-22 03:06:13 +00:00
dsyer
842907337f OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Add attribute accessor for synchronizing unfinished work between transactions
2008-08-21 17:13:51 +00:00
dsyer
b190b09e98 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Ensure non-skippabe exceptions cause re-throw on write
2008-08-21 14:27:35 +00:00
dsyer
a1030c2609 RESOLVED - issue BATCH-789: Remove mark/reset from ItemReader
Removed unneeded exception classes
2008-08-21 12:50:11 +00:00
dsyer
fcf96a954f RESOLVED - issue BATCH-789: Remove mark/reset from ItemReader
Remove AbstractItemReader.  All done (with remaining issues moved to BATCH-220).
2008-08-21 12:11:22 +00:00
dsyer
04db13bbc4 OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Still some open issues with retry and skip, but nearly there...
2008-08-21 09:58:04 +00:00
lucasward
24168016af IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Updated the SimpleJobRepository to set the last updated time on the StepExecution before adding or updating a StepExecution.
2008-08-21 05:29:31 +00:00
lucasward
f0b1643c02 IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

The JdbcStepExecutionDao now stores the lastUpdated property of StepExecution into the StepExecution table.
2008-08-20 21:30:44 +00:00
dsyer
ef4f2900cc OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Shift chunk iteration into StepHandler - had to sacrifice interrupted check inside chunk
2008-08-20 15:24:05 +00:00
dsyer
42a9b97d1f RESOLVED - issue BATCH-788: Remove flush/clear from ItemWriter
Done
2008-08-20 09:59:51 +00:00
dsyer
a4c8399e72 OPEN - issue BATCH-788: Remove flush/clear from ItemWriter
Infrastructure and core working with no calls to flush (I think)
2008-08-20 08:06:18 +00:00
dsyer
75fca027cb BATCH-&*&: work in progress (some tests disabled) 2008-08-19 13:49:38 +00:00
dsyer
2da35c8f00 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
More thorough tests and changed parameter values to long (not Long)
2008-08-18 08:29:58 +00:00
dsyer
f355d497c3 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Removed old ExportedJobLauncher and replace where necessary
2008-08-17 16:24:07 +00:00
dsyer
533b3788d2 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Implement and test JobExplorer (formerly BatchMetaDataExplorer)
2008-08-17 16:00:19 +00:00
dsyer
d8df436e8e Remove FactoryBean nature from data sourde initializer 2008-08-17 09:43:54 +00:00
dsyer
f29aa1e9fd RESOLVED - issue BATCH-782: Synchronization issue in ItemOrientedStep if exception is throw in chunk processing
Added flag to check that lock is not released before it is acquired
2008-08-14 12:35:05 +00:00
dsyer
9972d41d6d ...but only if a step execution dao is provided 2008-08-13 12:38:52 +00:00
dsyer
e7d7802492 Need to sav step executions before asserting about them 2008-08-13 12:18:20 +00:00
dsyer
1077405691 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Add additional methods and tests to SimpleJobOperator
2008-08-13 12:01:43 +00:00
robokaso
1f731769f8 REOPENED - BATCH-778: MapJobRepositoryFactoryBean shouldn't require transactionManager
tx code moved from AbstractJobRepositoryFactoryBean to JobRepositoryFactoryBean
2008-08-13 10:52:45 +00:00
robokaso
b9810c6eeb REOPENED - BATCH-765: StepExecution should be saved on every commit
wrapped StepExecution update in try/catch and added testcase for failure scenario
2008-08-13 09:26:07 +00:00
dsyer
55d59ff09e OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Fill in a few methods in JobOperator (WIP)
2008-08-12 20:56:17 +00:00
dsyer
06b832c3ca Adhoc: Integer in entity objects replaced by int 2008-08-12 13:10:11 +00:00
dsyer
99d2dff8f8 RESOLVED - issue BATCH-770: Make ItemTransformer a first class citizen and rename as ItemProcessor
Rename ItemHandler -> StepHandler (since it has nothing to do with items really).  This issue and BATCH-581 are basically complete now, but there are still relevant changes to be made elsewhere (e.g. Tasklet could be removed).
2008-08-12 11:48:43 +00:00
dsyer
b5fd803497 ONly increment the item count for commit interval purposes when something is written. 2008-08-11 21:03:06 +00:00
robokaso
6d15a371ec RESOLVED - BATCH-765: StepExecution should be saved on every commit 2008-08-11 13:22:33 +00:00
dsyer
d4d35cd668 OPEN - issue BATCH-770: Make ItemTransformer a first class citizen and rename as ItemProcessor
Done first pass.  Some tests needed.
2008-08-11 08:48:41 +00:00
dsyer
0dba26ab7b OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Move exception classes to where they are thrown
2008-08-10 15:45:43 +00:00
dsyer
91f9f61b3e OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Implement and test new job instance dao methods
2008-08-10 13:21:38 +00:00
dsyer
4085787e88 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Add some new methods to the daos to support the JobOperator
2008-08-10 11:38:02 +00:00
dsyer
c80b8c1495 OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Start to implement new Dao methods
2008-08-08 17:03:54 +00:00
dsyer
61ccafa25c OPEN - issue BATCH-773: Refactor and extend ExportedJobLauncher to JobOperator
Add new interfaces and exceptions.  Re-align JobInstanceDao.
2008-08-08 14:04:55 +00:00
dsyer
b690c6e92b Method name tweaks in JobRepository 2008-08-06 18:38:31 +00:00
dsyer
303af18a94 OPEN - issue BATCH-753: Listener exception handling
Add test for MulticastBatchListener
2008-08-06 12:45:41 +00:00
dsyer
70ec8a3f30 OPEN - issue BATCH-753: Listener exception handling 2008-08-06 10:49:35 +00:00
dsyer
c230e9e0d3 OPEN - issue BATCH-753: Listener exception handling
Add test for SkipListenerFailedException
2008-08-06 10:44:13 +00:00
robokaso
e19044b6a6 OPEN - BATCH-670: Upgrade to Java 5.0
parameterized TransactionAwareProxyFactory
2008-08-04 16:06:11 +00:00
dsyer
b8258c7758 RESOLVED - issue BATCH-743: ExportedJobLauncher should be able to stop running batches on an individual basis
Added some new methods to interface
2008-08-04 11:44:46 +00:00
trisberg
71d066457f IN PROGRESS - BATCH-710: updated tests to use SpringJUnit4ClassRunner and SimpleJdbcTemplate 2008-07-30 14:45:16 +00:00
robokaso
db78b5a1b9 fix the build - moved misplaced tests 2008-07-30 14:28:30 +00:00
robokaso
85073cc6b9 removed unused legacy class 2008-07-30 14:17:22 +00:00
robokaso
3a69fc29b7 RESOLVED - BATCH-518: tests for ExecutionContextDao impls 2008-07-30 09:36:49 +00:00
robokaso
fe243732f2 cleaned up unnecessary @SuppressWarning 2008-07-30 08:25:55 +00:00
robokaso
21ed2d129d improved testcase from 1.1.x branch (BATCH-751) 2008-07-30 08:23:43 +00:00