Commit Graph

4883 Commits

Author SHA1 Message Date
Gunnar Hillert
dbcc935894 BATCH-2100 Add CONTRIBUTING.md file 2013-10-15 10:33:23 -05:00
andrefernandes
90d07b4283 Update schema-derby.sql
Fix JOB_CONFIGURATION_LOCATION field (should be DEFAULT NULL or NOT NULL)
2013-10-15 09:52:48 -05:00
Chris Schaefer
e53533e9e3 BATCH-2005: Implement JSR RetryListener along side Spring Batch's RetryListener 2013-10-15 08:43:14 -05:00
Chris Schaefer
df53ea12b3 BATCH-2095: Change JSR version of Split to execute flows in separate threads. 2013-10-02 15:30:46 -04:00
Chris Schaefer
34f9fa7341 General cleanup etc around properties and substitution
* Move pre-context init of JobParameters support out of ThreadLocalClassloaderBeanPostProcessor
* General cleanup in BatchPropertyBeanPostProcessor, move artifact type checking into classifer class, minor naming updates
* Refactor BatchPropertyContext to use different data structures for different types of properties and provide named accessors
* Remove path based artifact scoping support
* Make sure expressions are parsed when resolving properties directly from XML
* Update property tests
* Move registration of jobProperties bean into the JsrNamespaceUtils
2013-09-26 12:38:23 -04:00
Michael Minella
fdef20f431 Fixed JSR-352 skip listener processing 2013-09-20 16:37:31 -05:00
Michael Minella
a30840693e Updated retry logic for a JSR configured processor 2013-09-19 14:55:56 -05:00
Michael Minella
4825073411 Refactored to use SerializationUtils and cleaned up throws clause 2013-09-19 10:32:43 -05:00
Michael Minella
c98ed8dfe7 Refactored to copy checkpoint object before persisting to prevent side effects when batch artifacts reuse checkpoint objects 2013-09-18 17:44:41 -05:00
Andrew Eisenberg
eef0577979 Expose getJobParameters to subclasses
Fix for 
https://jira.springsource.org/browse/BATCHADM-176
2013-09-11 11:59:03 -07:00
Michael Minella
35332a4757 [maven-release-plugin] prepare for next development iteration 2013-09-09 21:31:36 -07:00
Michael Minella
395c219b8b [maven-release-plugin] prepare release 3.0.0.M2 2013-09-09 21:31:30 -07:00
Michael Minella
a781cd5503 Update version literals prior to release 3.0.0.M2 2013-09-09 21:06:01 -07:00
Michael Minella
c676808f15 Added migration documentation for 3.0.0.M2 release 2013-09-09 20:38:57 -07:00
Chris Schaefer
e1f6de38e0 BATCH-2002: Initial support for complex conditional replacements 2013-09-09 16:28:46 -07:00
Chris Schaefer
65d2df652a Add ability to set a custom TaskExecutor impl, remove unused namespaces from JSR bootstrap XML files 2013-09-09 16:00:01 -07:00
Chris Schaefer
8580756857 Update to allow restart parameters to override previous parameters in JsrJobOperator and add test case 2013-09-09 15:28:14 -07:00
jpraet
a21df75ce9 BATCH-2049: Support multiple fragmentRootElementNames in
StaxEventItemReader
2013-09-09 15:17:21 -07:00
Chris Schaefer
7f1130c9a2 Fix TCK test JobOperatorTests.testJobOperatorRestartJobAlreadyAbandoned
* On restart if a previous JobExecution has a status of ABANDONED, throw a JobRestartException
* Ensure any previous JobParameters are merged with new parameters when creating a new job execution on restart
2013-09-04 23:00:18 -04:00
Michael Minella
c4231c4cc8 Fixed no executions returned check and added a unit test 2013-09-04 20:39:23 -05:00
Chris Schaefer
46f790eb4b Fix JobOperatorTests.testJobOperatorGetRunningJobInstancesException TCK test
* Throw a NoSuchJobException in the event no running job executions are found when calling getRunningExecutions(String name)
2013-09-04 20:23:09 -04:00
Michael Minella
fba258c8e5 BATCH-2089: Added ability to remap ExitStatus 2013-09-04 12:08:40 -04:00
Chris Schaefer
10e58baf80 BATCH-2001: fix up property scoping, add support for resolving jobParameter references outside of step scope 2013-08-30 14:45:52 -05:00
Michael Minella
2c1b8e154a [maven-release-plugin] prepare for next development iteration 2013-08-23 15:15:56 -05:00
Michael Minella
9618902ce6 [maven-release-plugin] prepare release 3.0.0.M1 2013-08-23 15:15:52 -05:00
Michael Minella
2412d0fac1 Update version literals prior to release 3.0.0.M1 2013-08-23 15:09:22 -05:00
Michael Minella
c0e5ead62e Updating documentation prior to release 2013-08-23 14:54:32 -05:00
Michael Minella
3947a0ef49 For JSR-352, removed the restriction of not being able to abnadon a completed job 2013-08-23 14:00:59 -05:00
Michael Minella
2a3bb817c0 Updated to remove run id from job parameters when using JSR 2013-08-23 11:04:31 -05:00
Michael Minella
b2b54921ae Added code to default item count to 10 when not provided in JSR DSL 2013-08-22 21:45:32 -05:00
Michael Minella
3201923299 BATCH-2072: Removed DecisionAdapter and replaced it with a DecisionStep and related classes 2013-08-22 13:48:34 -04:00
Chris Schaefer
3f85c34f00 BATCH-2002: JSR Property Substitution Language 2013-08-21 23:37:32 -04:00
Michael Minella
fa43549e6c Cleaned up base configuration 2013-08-17 18:46:16 -05:00
Michael Minella
32fe7b48da Updated ChunkParser to default to item type for the JSR 2013-08-16 13:50:44 -05:00
Michael Minella
8945a99d26 Fixed to throw JobExecutionNotMostRecentException on restart when apropriate 2013-08-16 12:06:08 -05:00
Michael Minella
960166510e Fixed leaking of Job level properties into the StepContext 2013-08-16 11:19:48 -05:00
Michael Minella
656ca5855d Fixed exception behavior on JsrJobOperator#getJobInstanceCount 2013-08-15 17:02:27 -05:00
Michael Minella
d06ebaedc3 BATCH-2071: Implementation of JSR-352's requirement for loading batch artifacts via the thread local classloader
* Added a BeanFactoryPostProcessor to add bean definitions for batch artifacts referenced only by class name
* Updated the BatchPropertyBeanPostProcessor to address scope targets
* Moved the registration of the various post processors to a new JsrNamespaceUtils (similar to how they are handled with the core namespace)
2013-08-15 10:39:44 -05:00
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