Commit Graph

4445 Commits

Author SHA1 Message Date
Michael Minella
3f381ddb89 BATCH-2072: Implemented wrapper for JSR-352 Decider 2013-08-12 22:48:02 -05:00
Michael Minella
aa73805a24 BATCH-2062: Updated from code review 2013-08-12 09:21:20 -05:00
Michael Minella
b8479493bd BATCH-2062: Added ChunkProcessor implementations to support JSR-352's chunking pattern
* Added the JsrChunkProvider implementation - a no-op ChunkProvider implementation to be used by the ChunkOrientedTasklet
* Added the JsrChunkProcessor - A simple implementation of a ChunkProcessor that handles the JSR-352 chunking pattern (read and process loop with a single write per chunk).
* Added the JsrFaultTolerantChunkProcessor - A ChunkProcessor that implements chunking the way JSR-352 requires as well as adding skip/retry functionality.
* Added builders to support the above functionality.
2013-08-09 18:05:40 -05:00
Michael Minella
eb2b39b412 Merge pull request #210 from chrisjs/BATCH-2001
* BATCH-2001:
  BATCH-2001 JSR Property support.
2013-08-09 15:11:23 -05:00
Chris Schaefer
c6fabd72a6 BATCH-2001 JSR Property support. 2013-08-09 14:59:38 -05:00
Michael Minella
60709cd923 Merge pull request #211 from tobiasflohre/BATCH-2077
* BATCH-2077:
  BATCH-2077 Java Config: Register listeners just once
2013-08-09 14:44:49 -05:00
Tobias Flohre
4d9b75359d BATCH-2077 Java Config: Register listeners just once 2013-08-09 16:16:37 +02:00
Michael Minella
c252b132f8 Merge pull request #209 from cppwfs/BATCH-2073
* BATCH-2073:
  BATCH-2073 Bug-Fix Spring Batch now supports the allow-start-if-complete and start-limit attributes for JSR-352.
2013-08-06 12:17:47 -05:00
Glenn Renfro
79c7ea2f1b BATCH-2073 Bug-Fix Spring Batch now supports the allow-start-if-complete and start-limit attributes for JSR-352.
Added author tag
2013-08-06 12:16:11 -04:00
Michael Minella
91b5348be1 Merged pull request #207 from mminella/BATCH-2006
* BATCH-2006:
  BATCH-2006: Completed implementation of JobContext and StepContext * Implemented the interfaces per the JSR-352 spec * Added a ne StepContextFactoryBean used to add the StepContext (one per step) into the step scope to be available for injection by batch artifacts. * Updated the StepParser to utilize the new StepContextFactoryBean.
2013-08-05 11:45:48 -05:00
Michael Minella
35c9e2ea89 BATCH-2006: Completed implementation of JobContext and StepContext
* Implemented the interfaces per the JSR-352 spec
* Added a ne StepContextFactoryBean used to add the StepContext (one per step) into the step scope to be available for injection by batch artifacts.
* Updated the StepParser to utilize the new StepContextFactoryBean.
2013-08-05 11:35:54 -05:00
Michael Minella
e1b1d3a43f Merged pull request 206 from mminella/BATCH-2008
* BATCH-2008:
  BATCH-2008: Completed implementaiton of JSR-352 JobInstance, JobExecution and StepExecution * Spring Batch's native JobInstance now implements the JSR's JobInstance interface. * SB's JobExecution can be wrapped by a JSR's JobExecution. * SB's StepExecution can be wrappedy by a JSR's StepExecution. * A new JsrFlowJob and JsrFlowExecutor have been introduced to correctly handle the promotion of ExitStatuses during step execution. * The JsrJobOperator has been fixed to correctly retrieve StepExecutions (previously was not returning fully hydrated verions).
2013-08-05 11:25:45 -05:00
Michael Minella
aa0559b4ab BATCH-2008: Completed implementaiton of JSR-352 JobInstance, JobExecution and StepExecution
* Spring Batch's native JobInstance now implements the JSR's JobInstance interface.
* SB's JobExecution can be wrapped by a JSR's JobExecution.
* SB's StepExecution can be wrappedy by a JSR's StepExecution.
* A new JsrFlowJob and JsrFlowExecutor have been introduced to correctly handle the promotion of ExitStatuses during step execution.
* The JsrJobOperator has been fixed to correctly retrieve StepExecutions (previously was not returning fully hydrated verions).
2013-08-05 11:14:50 -05:00
Michael Minella
c014f223f1 Updated BatchletAdapter to call Batchlet.stop() when apropriate 2013-08-05 10:54:36 -05:00
Michael Minella
3ed94e8f45 Merge pull request #173 from willschipp/BATCH-2009
* BATCH-2009:
  BATCH-2009 - Stoppable tasklet * Added the StoppableTasklet interface (an extension of the Tasklet interface). * Updated JobOperator#stop(long executionId) to call StoppableTasklet#stop() on any currently running tasklets (local executions only). * Updated the SystemCommandTasklet to implement StoppableTasklet
2013-08-05 10:32:30 -05:00
willschipp
81e0c38d52 BATCH-2009 - Stoppable tasklet
* Added the StoppableTasklet interface (an extension of the Tasklet interface).
* Updated JobOperator#stop(long executionId) to call StoppableTasklet#stop() on any currently running tasklets (local executions only).
* Updated the SystemCommandTasklet to implement StoppableTasklet
2013-08-05 10:26:52 -05:00
Michael Minella
2d874ffd6a Merge pull request #204 from mminella/BATCH-2007 2013-08-04 12:03:27 -05:00
Michael Minella
dbc829273b BATCH-2007: Refactored to use JobParametersConverter instead of new interface 2013-08-04 11:49:48 -05:00
Michael Minella
ce16ad2b03 BATCH-2007: Added a JobOperator implementation that complies with JSR-352.
* Added JsrJobOperator
* Added a ParametersConverter (and JSR-352 implementation) that converts parameters as specified by the JSR to JobParameters and back
* Added a method to the JobRepository to allow the direct creation of a JobInstance (since the JSR requires a new instance for each call to JobOperator#start
* Added a base context to be bootstrapped when the JobOperator is first referenced.  It provides things like a JobRepository, etc.
2013-08-04 11:49:48 -05:00
Michael Minella
c7176a73a5 Merge pull request #203 from chrisjs/update-master-ver
* update-master-ver:
  move master back to 3.0.0.BUILD-SNAPSHOT
2013-07-30 14:32:09 -05:00
Chris Schaefer
7cfd65acf4 move master back to 3.0.0.BUILD-SNAPSHOT 2013-07-30 14:05:55 -04:00
Michael Minella
3207851e47 Merge pull request #198 from mminella/BATCH-2004
* BATCH-2004:
  BATCH-2004: Updated per review comments
  BATCH-2004: Added basic wrappers for the the majority of batch artifacts.
2013-07-29 09:41:43 -05:00
Michael Minella
9524084e5b BATCH-2004: Updated per review comments 2013-07-29 09:39:41 -05:00
Michael Minella
775dd15be1 BATCH-2004: Added basic wrappers for the the majority of batch artifacts. 2013-07-29 09:15:53 -05:00
Michael Minella
7e85b50616 Merge conflict 2013-07-26 17:00:05 -05:00
Michael Minella
1061041f29 Updated version numbers based on current release 2013-07-26 16:47:34 -05:00
Michael Minella
853c960bdf [maven-release-plugin] prepare for next development iteration 2013-07-26 13:19:49 -05:00
Michael Minella
6669780a74 [maven-release-plugin] prepare release 2.2.1.RELEASE 2013-07-26 13:19:45 -05:00
Michael Minella
f2d76c9cd3 Updated version literals prior to release 2.2.1 2013-07-26 13:15:19 -05:00
Michael Minella
5e577e03bb Updated for 2.2.1 release 2013-07-26 12:48:47 -05:00
jpraet
3553d244e2 BATCH-2038: DerbyPagingQueryProvider does not work with Derby
10.10.1.1
2013-07-26 11:20:33 -05:00
Michael Minella
6707eabae2 Merge pull request #200 from mminella/BATCH-2056
* BATCH-2056:
  BATCH-2056: Updated documentation
2013-07-26 10:58:34 -05:00
Michael Minella
6bb3526e8e BATCH-2056: Updated documentation 2013-07-26 10:47:50 -05:00
Michael Minella
6a5234e84c Merged pull request #199 from mminella/BATCH-2069
* BATCH-2069:
  BATCH-2069: Updated manifest to make spring data dependencies optional
2013-07-25 10:21:07 -05:00
Michael Minella
fb8aa61cf3 BATCH-2069: Updated manifest to make spring data dependencies optional 2013-07-25 10:12:41 -05:00
Michael Minella
5e0b2505cc BATCH-2000: Adding support for JSR-352's batch.xml file 2013-07-24 15:15:36 -05:00
Michael Minella
e4c33965a0 BATCH-1999: Initial commit of JSR parsing infrastructure 2013-07-24 15:15:36 -05:00
jpraet
eae42d80d3 BATCH-2050: AbstractItemCountingItemStreamItemReader.read() shouldn't
be final
2013-07-17 12:26:30 -05:00
jpraet
d78454361c BATCH-1849: Item was not picked up after restarting a failed job!!! 2013-07-15 14:46:47 -05:00
jpraet
36e3bda486 BATCH-2052: StaxEventItemWriter should only force sync once per chunk 2013-07-15 13:47:33 -05:00
jpraet
0c892da257 BATCH-2036: Output incorrect when using processor-transactional="false"
and skips.
2013-07-15 10:48:35 -05:00
jpraet
e32ac40e9f BATCH-1977: add missing migration scripts for DB2 and Derby 2013-07-15 10:25:14 -05:00
jpraet
a4c00d9b78 BATCH-1984: CompositeItemProcessor.setDelegates argument has limiting
generic type
2013-07-12 17:52:57 -05:00
jpraet
a65bcc48d1 BATCH-2054: StaxEventItemWriter fails on a NullPointerException with
Spring OXM 3.2.x.
2013-07-12 15:50:09 -05:00
Michael Minella
a939b194fe Merged pull request #195 from stephlag/patch-1 2013-07-11 16:20:49 -05:00
Michael Minella
f4d2264c4a Merge pull request #178 from mminella/BATCH-1997
* BATCH-1997:
  BATCH-1997: Added implementations of the job listener for the JSR-352 TCK
2013-06-11 09:40:22 -05:00
Michael Minella
2dd1817b2b BATCH-1997: Added implementations of the job listener for the JSR-352 TCK 2013-06-10 16:01:46 -05:00
Sergey Shcherbakov
6af38bb5d8 BATCH-2034: Fix for the FlowStep run issue in a remote partitioning use case
- jobInstance field gets filled out in SimpleJobExplorer.getStepExecution(Long jobExecutionId, Long executionId)
- existing unit test enhanced to verify that the jobInstance field gets set
- additional integration unit test added to illustrate the issue
2013-06-10 14:42:58 -05:00
Michael Minella
0e9ad8500a Fixed pathing in execution scripts 2013-06-10 14:33:32 -05:00
Greg Turnquist
bb1ec38a18 Merge pull request #175 from gregturn/BATCH-2035
- Added a new archetype for javaconfig based projects
- Updated the CommandLineJobRunner to also accept class names for context initialization
2013-06-10 12:54:00 -05:00