Commit Graph

386 Commits

Author SHA1 Message Date
Michael Minella
b278239751 BATCH-2110: Updated batch to support Spring 4
* Refactored iBatis based readers and writers to not utilize
 SqlMapClientTemplate.
* Depricated all iBatis based readers and writers in favor of MyBatis's
 native Spring support.
* Updated XStream support to 1.4.4 and Jettison to 1.2 to be in
 alignment with Spring 4.
* Added the PooledEmbeddedDataSource to address the issue outlined in
 SPR-11372.
2014-02-06 11:34:33 -06:00
Michael Minella
e4c33965a0 BATCH-1999: Initial commit of JSR parsing infrastructure 2013-07-24 15:15:36 -05:00
Michael Minella
91deb12a83 BATCH-1728: Initial commit of Spring Data ItemReader/ItemWriter implementations 2013-02-19 10:33:06 -06:00
Will Schipp
7e1e66d677 migration from EasyMock to Mockito 2013-02-10 14:30:57 +00:00
Michael Minella
557515df45 BATCH-1412: Implementing non-identifying job parameters 2013-02-05 17:39:12 +00:00
Chris Schaefer
a6ab68bbbb BATCH-1940: Replace org.springframework.batch.support.JdbcTestUtils with org.springframework.test.jdbc.JdbcTestUtils 2012-12-31 08:35:06 -06:00
Chris Schaefer
dfe13ed07d BATCH-1939: Minor cleanups to AMQP sample 2012-12-21 18:53:20 -05:00
Michael Minella
95ccb1a229 BATCH-1920 - Corrected pom and removed unused reference to JdbcTemplate 2012-12-18 13:46:10 -06:00
wxlund
96f870af4f And now commit with the files that have been added for the sample. 2012-12-18 13:21:32 -06:00
Dave Syer
25cd6d6826 BATCH-1918: First effort at @EnableBatchProcessing
Example:

    @Configuration
    @EnableBatchProcessing
    public class RetrySampleConfiguration {

      @Autowired
      private JobBuilderFactory jobs;

      @Autowired
      private StepBuilderFactory steps;

      @Bean
      public Job retrySample() throws Exception {
        return jobs.get("retrySample").start(step()).build();
      }

      @Bean
      protected Step step() throws Exception {
        return steps.get("step").<Trade, Object> chunk(1).reader(reader()).writer(writer()).faultTolerant()
          .retry(Exception.class).retryLimit(3).build();
      }

      @Bean
      protected ItemReader<Trade> reader() {
        GeneratingTradeItemReader reader = new GeneratingTradeItemReader();
        reader.setLimit(10);
        return reader;
      }

      @Bean
      protected ItemWriter<Object> writer() {
        return new RetrySampleItemWriter<Object>();
      }

    }
2012-12-17 14:17:48 -06:00
Michael Minella
40975b6548 BATCH-1928: Converted to using JdbcOperations over JdbcTemplate 2012-12-17 09:16:30 -06:00
Chris Schaefer
bdece6640c BATCH-1928: Convert deprecated classes from the org.springframework.jdbc.core.simple package in samples 2012-12-17 08:53:17 -06:00
Chris Schaefer
d512ba8ff2 BATCH-1685: Upgrade minimum support level for Spring to 3.1.2 2012-09-12 06:08:36 +01:00
Dave Syer
3dd0c7f776 Deal with compiler warnings 2010-11-22 14:44:37 +00:00
Dave Syer
9bb970afe2 BATCH-1651: add paging reader to jdbc partitioning sample 2010-11-22 09:43:06 +00:00
dsyer
8f98f1ea7b BATCH-1575: Add parallelJob test case 2010-05-25 16:32:44 +00:00
dsyer
f38c05567a BATCH-1546: enable integration tests with Oracle 2010-04-05 16:22:08 +00:00
dsyer
8c55fcf8b1 Fix broken build? 2010-03-29 11:47:19 +00:00
dsyer
be46d4e2f3 Move over Jdbc integration test from samples 2010-03-29 10:56:10 +00:00
dsyer
5f80ced21f Finally: tracked build failure to odd number of items in customer table (after skip sample) 2010-03-28 12:03:41 +00:00
dsyer
cabaa53c25 BATCH-1537: fix test 2010-03-26 12:31:32 +00:00
dsyer
43b72a8150 BATCH-1537: use startAfterValue to make restart more efficient in JdbcPagingItemReader 2010-03-26 11:00:25 +00:00
dsyer
e9abeffac2 Fix build (ordering issue in test suite) 2010-02-04 11:12:31 +00:00
dsyer
164b322173 RESOLVED: BATCH-1501 - paging queries fixed for sort key not in first column of query 2010-02-04 10:07:10 +00:00
dsyer
96e6286beb BATCH-1499, BATCH-1497: add alias in SqlPagingItemReader. 2010-01-31 18:43:53 +00:00
dsyer
09d852285f BATCH-1483: resolve cycle by moving interface to parent package 2010-01-14 11:05:30 +00:00
dsyer
2f66e56b84 RESOLVED - issue BATCH-1239: Add email-sending item writer 2010-01-13 09:24:13 +00:00
dsyer
953fb3a5b4 RESOLVED - issue BATCH-1239: Add email-sending item writer 2010-01-12 17:05:56 +00:00
dsyer
dcdd8fb30a RESOLVED - issue BATCH-1483: Make the JobParametersValidator instance accessible from the Job interface 2010-01-12 09:54:45 +00:00
dsyer
d272a42b42 RESOLVED - issue BATCH-1483: Make the JobParametersValidator instance accessible from the Job interface 2010-01-12 09:51:17 +00:00
dsyer
b551563ebe RESOLVED - issue BATCH-1481: Support injection of step-scoped dependencies into unit tests
Added test context listener to last of IO Samples.
2010-01-11 16:41:20 +00:00
dsyer
ca3cefa4cf RESOLVED - issue BATCH-1481: Support injection of step-scoped dependencies into unit tests
Fix build
2010-01-07 09:40:45 +00:00
dsyer
f8431dff38 RESOLVED - issue BATCH-1481: Support injection of step-scoped dependencies into unit tests
Added StepScopeTestUtils.  Revised a few test cases.
2010-01-07 09:33:12 +00:00
dsyer
919fc0f8ff RESOLVED - issue BATCH-1481: Support injection of step-scoped dependencies into unit tests
Revert a few of the more complicated options: just support a factory method
2010-01-07 07:50:21 +00:00
dsyer
644efc30a0 OPEN - issue BATCH-1407: Integration tests for core (including multi-threaded long running tests) 2009-12-21 14:23:44 +00:00
dsyer
feb72db8f8 BATCH-1439: revert that change 2009-12-08 18:43:38 +00:00
dsyer
b61101365c BATCH-1344: JobRunnerTestUtils -> JobLauncherTestUtils 2009-11-29 16:09:15 +00:00
dsyer
48218f8e55 BATCH-1344: added JobRunnerTestUtils and deprecated the old AbstractJobTests 2009-11-29 13:06:19 +00:00
dsyer
75202ba087 RESOLVED - issue BATCH-1443: Add JobStep: a Step implementation that executes a Job 2009-11-16 14:19:17 +00:00
dsyer
26f44f9dc1 Compiler warnings 2009-11-16 10:16:48 +00:00
dsyer
84b488ff13 RESOLVED - issue BATCH-1439: Fix samples tests 2009-11-16 09:55:23 +00:00
dsyer
8563523307 RESOLVED - issue BATCH-1411: Allow a Job to specify its required JobParameters
Move validation check to AbstractJob (and out of Job)
2009-11-12 09:03:05 +00:00
dsyer
913bba44c1 RESOLVED - issue BATCH-1411: Allow a Job to specify its required JobParameters
Fix build
2009-11-11 22:11:55 +00:00
dsyer
7b28b2a8f1 RESOLVED - issue BATCH-1420: Late Binding only happens first time when using inner bean definition with collection property 2009-10-17 12:49:57 +00:00
dsyer
232d739dbd RESOLVED - issue BATCH-1420: Late Binding only happens first time when using inner bean definition with collection property 2009-10-16 19:15:17 +00:00
dsyer
78768959b0 BATCH-1407: make samples work with MySQL. 2009-09-22 11:33:21 +00:00
dsyer
d31702c20b OPEN - issue BATCH-1401: All inserts of JobId should be of Types.BIGINT
Fixed samples to work with MySQL (except customer filter job)
2009-09-16 11:44:49 +00:00
dsyer
def829f87a REOPENED - issue BATCH-1338: Allow segregation of jobs by type or origin
Fixed broken build re-jig JobRegistryBackgroundJobRunner
2009-09-09 11:42:12 +00:00
dsyer
ac08658c48 OPEN - issue BATCH-1338: Allow segregation of jobs by type or origin
Add group aware job factory and re-org interfaces in JobLocator-JobRegistry (not backwards compatible but probably not a change for anyone outside the framework)
2009-09-08 07:00:31 +00:00
dsyer
fba4cfd62f RESOLVED - issue BATCH-1391: Tidy up skip sample
Fix broken samples
2009-09-04 11:10:22 +00:00