Commit Graph

395 Commits

Author SHA1 Message Date
lucasward
9238319b73 IN PROGRESS - issue BATCH-891: Create Annotations
http://jira.springframework.org/browse/BATCH-891

Added a ScopeMetaDataResolver for @BatchComponent.
2008-11-05 05:43:23 +00:00
robokaso
7a4caca1fd RESOLVED - BATCH-897: Version is not rehydrated from database in JobInstance or JobExecution
-added concurrent modification checks for JobExecution
-included version in the SQL selects (version value is loaded from db)
2008-11-04 12:14:26 +00:00
trisberg
ac6493b4cd BATCH-63: added first cut of <job-repository> parser 2008-10-31 20:45:30 +00:00
robokaso
1723b2642e IN PROGRESS - BATCH-896: "DRY" FaultTolerantTasklet implementations
pulled up readSkipPolicy and attribute keys
2008-10-31 16:14:39 +00:00
dsyer
dade6952c8 OPEN - issue BATCH-679: Non-sequential execution - add state subpackage 2008-10-30 11:33:05 +00:00
dsyer
4718f0f006 OPEN - issue BATCH-679: Add support package for flow concerns 2008-10-30 09:51:24 +00:00
dsyer
b1292a82d7 OPEN - issue BATCH-679: Non-sequential execution Remove generic features of flow abstraction 2008-10-30 09:29:51 +00:00
dsyer
3590375d46 BATCH-679: move flow abstraction to core 2008-10-30 07:45:26 +00:00
lucasward
514f4ad300 OPEN - issue BATCH-891: Create Annotations
http://jira.springframework.org/browse/BATCH-891

A first try at using a BeanPostProcessor to detect annotated listeners.
2008-10-30 04:38:27 +00:00
dsyer
67f5957348 OPEN - issue BATCH-890, BATCH-879: Stop transition in XML namespace, decision state support.
Added StepExecution to decider interface and some protection for multithreaded job executions.
2008-10-29 11:15:24 +00:00
dsyer
a4e78858e2 OPEN - issue BATCH-890: Stop transition in XML namespace
Add stop and end elements through EndState.
2008-10-29 07:19:19 +00:00
trisberg
1fa38d4c20 BATCH-859: fixed failing tests 2008-10-28 20:00:56 +00:00
dsyer
97719a9514 Expose additional method in JobExplorer and ensure that StepExecution is hydrated correctly from database 2008-10-28 16:21:53 +00:00
dsyer
35d156161b OPEN - issue BATCH-679: Non-sequential execution
Add XML parser support for split, decision and pause
2008-10-27 18:56:38 +00:00
robokaso
3d8acc66b3 IN PROGRESS - BATCH-888: skip listeners should be called when chunk is about to commit
moved onSkipInRead(..) calls after write
2008-10-27 17:57:24 +00:00
dsyer
48bbafb449 BATCH-679, BATCH-879: add Flow abstraction and FlowJob with support for decisions, splits and pauses. 2008-10-27 13:50:27 +00:00
robokaso
26f6327e4b IN PROGRESS - BATCH-888: skip listeners should be called when chunk is about to commit
onSkipInProcess(..) moved after write and before onSkipInWrite(..)
2008-10-27 11:12:33 +00:00
robokaso
b5e04ef089 IN PROGRESS - BATCH-888: skip listeners should be called when chunk is about to commit
onSkipInWrite(..) moved after write
2008-10-27 10:10:04 +00:00
dsyer
85eb5ba17b Use explicit timezone in date format tests. Unfortunately XStream doesn't do this. 2008-10-27 08:02:44 +00:00
dsyer
29023949b2 Add some comments to the date format tests 2008-10-27 07:39:53 +00:00
dsyer
e38b6c057e 2008-10-27 07:27:23 +00:00
dsyer
b5f1a60a3d Fix DST issue in serializer tests 2008-10-26 09:23:41 +00:00
robokaso
2acb661331 RESOLVED - BATCH-887: onSkipInProcess called multiple times for same item using FaultTolerantChunkOrientedTasklet 2008-10-24 08:19:41 +00:00
robokaso
91168a0f15 RESOLVED - BATCH-875: Pull jobRepository.save() out of Step implementations and put it in the driving Job 2008-10-22 14:04:25 +00:00
robokaso
0d8e32282a IN PROGRESS - BATCH-858: Pause / resume of Job
updated JobLauncher javadoc and added testcase for the pause-checking responsibility
2008-10-21 15:28:20 +00:00
robokaso
b11be9d19d IN PROGRESS - BATCH-858: Pause / resume of Job
implemented JobRepository.getLastJobExecution(jobName, jobParams)
2008-10-21 13:27:34 +00:00
robokaso
1b371c8cfd IN PROGRESS - BATCH-858: Pause / resume of Job
added getLastJobExecution to JobRepository so that JobLaucher can check it for PAUSED status
2008-10-21 13:12:30 +00:00
robokaso
9802f531cb IN PROGRESS - BATCH-858: Pause / resume of Job
added pause to JobOperator and introduced BatchStatus.PAUSED
2008-10-21 12:40:37 +00:00
trisberg
fc8bffa4a3 polished 2008-10-21 04:25:14 +00:00
trisberg
2ae57f85db BATCH-762: added unit test 2008-10-20 20:35:41 +00:00
dsyer
a77b200c40 RESOLVED - issue BATCH-853: broken transactional item processing
Tests look OK.  Renamed some that looked like they had the wrong name, and simplified assertion in one.
2008-10-17 11:41:07 +00:00
robokaso
fddfc3a5b0 RESOLVED - BATCH-853: broken transactional item processing
added re-processing testcase on step level
2008-10-17 09:22:51 +00:00
robokaso
e9ca8a4d82 RESOLVED - BATCH-853: broken transactional item processing
added testcase that checks items are re-processed after writer failure
2008-10-17 08:59:08 +00:00
dsyer
f6487f6b53 IN PROGRESS - issue BATCH-677: Partition SPI. Added first draft of partitioning 2008-10-16 15:08:24 +00:00
robokaso
4d0a786552 RESOLVED - BATCH-853: broken transactional item processing
processed items are not buffered anymore
2008-10-16 11:20:57 +00:00
dsyer
fa4a690cda OPEN - issue BATCH-282: Make input parameters easier to access from ItemReaders, etc.
Revert change to method signature in AbstractStep
2008-10-16 11:08:59 +00:00
dsyer
9bf4241893 OPEN - issue BATCH-282: Make input parameters easier to access from ItemReaders, etc.
Add StepScope and integrate with AbstractStep.  No support yet for late binding of step and job attributes.
2008-10-16 11:01:50 +00:00
dsyer
e02092d78b IN PROGRESS - issue BATCH-264: Dependencies among jobs
Add next= attribute to step.
2008-10-16 08:16:59 +00:00
dsyer
3a74ba0caf IN PROGRESS - issue BATCH-264: Dependencies among jobs
Added XML namespace supporting ConditionalJob <job><step> etc.
2008-10-16 07:32:12 +00:00
dsyer
c1a05e71a4 IN PROGRESS - issue BATCH-264: Dependencies among jobs
Implement ConditionalJob (branching but not concurrent execution) and tidy up Abstract and SimpleJob a bit.
2008-10-15 14:23:15 +00:00
dsyer
cbf3e4b5ea IN PROGRESS - issue BATCH-264: Dependencies among jobs
Refactored SimpleJob and AbstractJob.  Also had to fix JobRegistryBackgroundJobRunner to not use stdin for blocking.
2008-10-15 08:01:14 +00:00
robokaso
e8a02b01a1 RESOLVED - BATCH-857: map daos need to be truly transactional for correct restart
some more tests
2008-10-14 15:31:33 +00:00
robokaso
b8b734d69c IN PROGRESS - BATCH-857: map daos need to be truly transactional for correct restart
added cloning to step and execution context map daos
2008-10-14 15:05:32 +00:00
robokaso
5887005d0d IN PROGRESS - BATCH-857: map daos need to be truly transactional for correct restart
added serialization-based cloning to MapJobExecutionDao
2008-10-14 14:02:37 +00:00
robokaso
9b1371f6fd IN PROGRESS - BATCH-857: map daos need to be truly transactional for correct restart
moved transaction manager and proxy up to AbstractJobRepository so that it applies to Map implementation too
2008-10-14 12:58:20 +00:00
dsyer
a98d26b353 RESOLVED - issue BATCH-870: Cannot add description to empty ExitStatus 2008-10-09 07:18:40 +00:00
lucasward
9e53779c72 REOPENED - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825

Missed a test case.
2008-10-08 21:25:56 +00:00
lucasward
5cd3887b3a REOPENED - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825

Cleaned up SimpleJob some.  There was still some odd looping behavior, so I abstracted into another inner method.
2008-10-08 21:07:32 +00:00
robokaso
42f392dba6 RESOLVED - BATCH-867: Change SystemCommandTasklet to use TaskExecutor
used TaskExecutor to execute FutureTask wrapping the system call
2008-10-08 13:40:28 +00:00
dsyer
7ad93d227e Ensure step and job execution deserialisation works properly.
Fix bug in infinite loop sample.
2008-10-07 10:15:33 +00:00