Commit Graph

137 Commits

Author SHA1 Message Date
robokaso
a81054d18f fix for 14samples build 2008-05-15 08:27:46 +00:00
robokaso
b8cfd7339d OPEN - BATCH-152: Add facility for calling system commands via a Tasklet
added SystemCommandTasklet to samples (example usage in taskletJob)
2008-05-14 12:23:14 +00:00
robokaso
ed7c437ce8 RESOLVED - BATCH-554: *StepFactoryBeans should have a list of exceptions that do and don't cause rollback.
added sample for noRollbackForExceptionClasses (2nd step in skipSample)
2008-05-13 08:05:00 +00:00
robokaso
58375f3198 RESOLVED - BATCH-571: Remove reference to Step from StepExecution and reference to Job from JobInstance
JobInstance's reference to Job replaced with jobName string
2008-04-28 12:09:54 +00:00
robokaso
6ca877c1d9 IN PROGRESS - BATCH-571: Remove reference to Step from StepExecution
step reference replaced with stepName string
2008-04-28 11:41:31 +00:00
robokaso
0113be7585 RESOLVED - BATCH-601: Findbugs code audit 2008-04-24 15:37:34 +00:00
robokaso
3877476e15 RESOLVED - BATCH-567: rename CompositeProcessorSample to CompositeItemWriterSample 2008-04-08 12:28:35 +00:00
dsyer
896125f688 RESOLVED - issue BATCH-552: Fix samples-14 CI build (MBeanServer not automatically created in Java 1.4)
Extra check that job configurations have loaded.
2008-04-03 15:23:15 +00:00
dsyer
fcca799608 RESOLVED - issue BATCH-552: Fix smaples-14 CI build (MBeanServer not automatically created in Java 1.4)
Added MBeanServer and a connector
2008-04-03 12:22:38 +00:00
dsyer
c6c08d9ce3 RESOLVED - issue BATCH-183: Unit test for JMX notifications / control 2008-04-01 12:52:41 +00:00
robokaso
8dc857bfd8 RESOLVED - issue BATCH-473: Create Tasklet sample job.
http://jira.springframework.org/browse/BATCH-473

added tasklet job that deletes files in given directory (description clarifies this would typically be a preliminary step in multi-step job)
2008-03-31 12:22:35 +00:00
dsyer
3b72c04bef [BATCH-503] Fix TX definition in samples. Also add multi-environment support in samples (mysql and derby as examples) 2008-03-25 06:57:55 +00:00
robokaso
94b5615245 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476

infinite loop replaced with finite but long enough (so that the loop doesn't run forever when test fails)
2008-03-18 14:07:39 +00:00
robokaso
4a217a0611 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 13:05:09 +00:00
robokaso
331724bf39 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 12:58:22 +00:00
robokaso
3c285c76e7 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 12:47:11 +00:00
robokaso
9d51fffcb0 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476

removed interrupt advice (to sandbox)
2008-03-18 10:30:15 +00:00
dsyer
ec2c66885d RESOLVED - issue BATCH-464: Throw exception if restart is attempted on job instance that was already completed successfully 2008-03-14 17:09:26 +00:00
dsyer
07877a9538 Review process: Merge synch packages into support in retry / repeat. 2008-03-14 11:06:32 +00:00
dsyer
044bc4e192 Review process. Consolidated some related support packages in infrastructure. 2008-03-14 10:30:18 +00:00
robokaso
64a4e53a99 IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

rollbackJob renamed to skipSample
2008-03-12 12:49:57 +00:00
robokaso
637f2a61f6 IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

ItemSkipPolicyItemHandler now always rethrows exception - fixed rollbackJob that wasn't really skipping the error item although it was configured to do so.
2008-03-12 12:36:39 +00:00
nebhale
9f7cc87c0d [BATCH-383] Fixes to make Spring Batch 1.4 runtime compliant. 2008-03-11 13:49:17 +00:00
dsyer
6096052ca7 [BATCH-429] remove empty execution sub-package 2008-03-09 09:05:20 +00:00
dsyer
bc94866754 [BATCH-429] Move sub-packages over to core 2008-03-09 08:51:55 +00:00
dsyer
3aa0656783 Complete - task 89: Resurrect Quartz sample
Used the wrong JobSupport
2008-03-07 19:11:23 +00:00
dsyer
b44da1c996 Complete - task 89: Resurrect Quartz sample
Add unit test for JobLauncherDetails
2008-03-07 18:58:20 +00:00
nebhale
cce1b29f6d [BATCH-430] Renamed InfrastructureException to UnexpectedJobExecutionException 2008-03-07 14:29:51 +00:00
nebhale
609ce9d347 [BATCH-430] Removed the batch.io.exception package and moved classes to their approved locations 2008-03-07 14:18:49 +00:00
nebhale
48195945ee [BATCH-430] Incremental commit of io package moving 2008-03-07 12:55:27 +00:00
nebhale
fff1f0fb9e [BATCH-432] Moved the domain objects up to the root core directory 2008-03-07 09:55:04 +00:00
dsyer
f5e85d5f63 Change svn:eol-style to LF 2008-03-06 21:59:13 +00:00
dsyer
915997cd28 RESOLVED - issue BATCH-76: ItemWriter for SQL batch updates
http://jira.springframework.org/browse/BATCH-76
2008-03-06 13:19:55 +00:00
dsyer
9eb3dc0b0f Rename *Writer as *Dao if they don't implement ItemWriter 2008-03-06 10:25:01 +00:00
robokaso
799cce535d RESOLVED - issue BATCH-395: Rename simple-container-definition.xml
http://jira.springframework.org/browse/BATCH-395

renamed to simple-job-launcher-context.xml and removed unused test config files from execution
2008-03-06 09:15:20 +00:00
dsyer
d265ef6b3e Complete change to setter for job registry 2008-03-05 22:01:51 +00:00
dsyer
91fabf5e1b Incomplete - task 89: Resurrect Quartz sample
Accidentally committed a class in test where it should have been main.
2008-03-05 21:51:50 +00:00
robokaso
69e3878501 RESOLVED - issue BATCH-389: Two samples could make use of our ValidatingItemReader instead of DelegatingItemReader.
http://jira.springframework.org/browse/BATCH-389
2008-03-05 14:15:13 +00:00
robokaso
ac27e91948 RESOLVED - issue BATCH-383: Remove Java 5 features from samples
http://jira.springframework.org/browse/BATCH-383
2008-03-04 13:35:30 +00:00
lucasward
428a60f86f BATCH-407:Added repository factory to samples and created a factory for incrementers for that logic to obtain them could be unit tested. Also renamed SimpelJobRepositoryFactoryBean to just JobRepositoryFactoryBean 2008-03-03 20:23:34 +00:00
dsyer
b47a6e6405 Tidy up some exception class names 2008-03-01 11:59:33 +00:00
dsyer
90cb1e8ea3 Rename some packages with more logical names 2008-03-01 10:24:28 +00:00
dsyer
0eb239c9cb RESOLVED - issue BATCH-398: That old stateful / stateless thing again....
http://jira.springframework.org/browse/BATCH-398

Fix JMX demo using an application context per job execution.
2008-03-01 09:59:01 +00:00
dsyer
f2129d4ea7 OPEN - issue BATCH-398: That old stateful / stateless thing again....
http://jira.springframework.org/browse/BATCH-398

Fix delegate job (duplicate job regsitry).
2008-03-01 08:35:12 +00:00
dsyer
840ea77b7f OPEN - issue BATCH-398: That old stateful / stateless thing again....
http://jira.springframework.org/browse/BATCH-398

New XML configuration convention for samples tests (similar to JUnit 4 support in Spring 2.5).  This enables us to keep the job configurations separate.
2008-02-29 18:35:37 +00:00
robokaso
b4655119ca BATCH-401: prototype of JobInterruptionAdvice added to samples (see GracefulShutdownTests) 2008-02-29 18:21:06 +00:00
dsyer
3c981017cd OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

No need for setListener() methods.
2008-02-29 13:44:16 +00:00
robokaso
20445128ff removed unnecessary explicit closing of applicationContext (having strange implications on DB cleanup) 2008-02-29 13:11:20 +00:00
dsyer
90c8f71173 OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Remove step scope support.
2008-02-29 12:22:48 +00:00
dsyer
a53f8f6cbe OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Refactored existing StepContextAware to StepListener implementations.  The BatchResourceFactoryBean is now a ProxyResource with a hint in docos and exception messages about registering with a step.
2008-02-29 11:31:21 +00:00