Commit Graph

1857 Commits

Author SHA1 Message Date
Michael Minella
33f87e992f Fixed merge issue 2014-04-21 19:21:49 -05:00
Michael Minella
17299a3d3a [maven-release-plugin] prepare for next development iteration 2014-04-21 18:05:05 -05:00
Michael Minella
93b809921d [maven-release-plugin] prepare release 2.2.6.RELEASE 2014-04-21 18:03:10 -05:00
Michael Minella
19618f48f9 BATCH-2204: Updated StepParserStepFactoryBean to set the buffered flag correctly when building a fault tolerant step 2014-04-21 17:59:17 -05:00
Michael Minella
ff84e1fc8e BATCH-1786: Added type to AbstractJobExplorerFactoryBean so that a cast isn't required on getObject() 2014-04-21 17:57:30 -05:00
Michael Minella
b0e1f30a57 BATCH-2189: Wrapped checked exception with a custom RuntimeException to follow rules for @PostConstruct 2014-04-21 17:55:15 -05:00
Michael Minella
3dc2ea3cb0 BATCH-2016: Added new flag to indicate if the step is being executed on
a restart.  If it is, the transition will be followed.  If not, we'll
look to see if we should be looking for somewhere else to restart.
2014-04-21 17:48:45 -05:00
Michael Minella
e4b2a0bf7d BATCH-2185: Updated to support annotation based listener configuration via javaconfig 2014-04-21 17:46:33 -05:00
Michael Minella
aa9a0fdcb2 BATCH-2083: Improved logging detail in AbstractStep 2014-04-21 17:45:15 -05:00
ayrtonsin
2bb8b2648d fix for BATCH-2106 2014-04-21 17:42:43 -05:00
Michael Minella
999953fe8c BATCH-2060: Fixed Github links 2014-04-21 17:42:43 -05:00
Michael Minella
9cc5b6490b BATCH-2011: Updated javadoc to conform to java.lang.Comparable 2014-04-21 17:42:43 -05:00
Darren Gorman
8bfc0d2ab8 Removed serialisable check on ExecutionContext entries
The serialisation/deserialisation implementation is injectable, so it does not make sense to enforce the presence of this interface
2014-04-11 16:33:35 -05:00
Michael Minella
74992367a2 BATCH-2188: Refactored package.html to package-info.java and added package-info.java to all packages that needed one 2014-04-02 16:23:09 -05:00
jpraet
b26d272d43 cleanup 2014-04-02 14:35:53 -04:00
Michael Minella
24852e3cf8 Added wait in JsrJobOperatorTests#testApplicationContextClosingAfterJobSuccessful to give application context a chance to shut down before re-running the job 2014-04-02 10:49:09 -05:00
Chris Schaefer
152abb11bd Allow property injection into any artifact rather than just JSR interface impls.
* Remove isBatchArtifact check
* Reduce BatchArtifact.BatchArtifactType into BatchArtifactType
* Import JSR JSL definition from Spring config loaded by JsrJobOperator, update test
  for property injection into Tasklet and cleanup pre-parsing checks
2014-03-31 22:01:32 -04:00
Michael Minella
9b5e7a281e BATCH-2156: blocking when the ExecutionContext is updated to prevent transaction serialization issues 2014-03-26 16:41:24 -05:00
Michael Minella
88477193b4 BATCH-2194: Reference documentation for Spring Batch's JSR-352 implementation 2014-03-26 10:12:10 -05:00
Michael Minella
de7df9c1f1 BATCH-2048: Simplified the use fo a MapJobRepository by making the DataSource optional 2014-03-21 11:41:00 -05:00
Michael Minella
a8aa3f907b BATCH-1786: Added the type to the AbstractJobRepositoryFactoryBean's FactoryBean definition and depricated AbstractJobRepositoryFactoryBean#getJobRepository in favor of FactoryBean#getObject() 2014-03-18 16:30:47 -05:00
jpraet
ab9f0f4897 add jdbc-operations attribute to <batch:job-repository> 2014-03-05 14:57:58 -06:00
jpraet
08aa9eb589 BATCH-2178: allow injection of custom JdbcOperations implementation in
JobRepositoryFactoryBean and JobExplorerFactoryBean
2014-03-05 14:57:58 -06:00
Michael Minella
ac81a97d0d BATCH-2078: Close application contexts as batch jobs finish 2014-03-05 11:53:40 -06:00
Chris Schaefer
162d285a4d Call StepSynchronizationManager.close() in before method 2014-03-05 10:47:50 -05:00
Michael Minella
7eabb5e040 BATCH-2146: Renamed JSR specific artifacts to be prefixed so they are easily identifiable 2014-03-05 09:46:30 -05:00
Chris Schaefer
f093dc01de Update javadoc of RetryListener interface to be more specific to its actual usage 2014-03-04 12:35:47 -05:00
Chris Schaefer
fe05e0daaf Updates from the JSR 352 v1.0 Maintenance Release 20140214 Draft 2
* Per added section 9.3.2 - do not automatically make job properties available
  to artifacts when using @BatchProperty. Job properties are only available to
  artifacts when using the jobProperties substitution mechanism.

* Update tests to reflect changes
2014-02-28 17:16:40 -06:00
Chris Schaefer
319c751432 BATCH-2127: Refactor JSR Properties for outside of parsing use cases
* Main cleanups in BatchPropertyContext/PropertyParser, get rid of BatchPropertyContextEntry
2014-02-28 17:16:40 -06:00
Michael Minella
be430126b5 Removed unused TCK SPI classes 2014-02-28 17:12:03 -06:00
Michael Minella
43d1b6eafb BATCH-2045: Updated error message to identify that the XSD isn't compatable with the current version of Spring Batch 2014-02-28 13:36:43 -06:00
Michael Minella
ff7793cacf [maven-release-plugin] prepare for next development iteration 2014-02-21 21:42:59 -06:00
Michael Minella
f690c496c4 [maven-release-plugin] prepare release 3.0.0.M3 2014-02-21 21:42:55 -06:00
Michael Minella
406e25a544 BATCH-2173: Initial commit for repo updates 2014-02-21 17:00:40 -06:00
Michael Minella
1c42d8807c BATCH-2169: Added warning message for when users use java config with @StepScope 2014-02-21 16:59:53 -06:00
jpraet
ad5c7b29d2 add and fix unit tests related to BATCH-1980 2014-02-21 16:59:53 -06:00
jpraet
4340276337 possible fix for BATCH-1980 2014-02-21 16:59:53 -06:00
Michael Minella
3510285c8b BATCH-2179: Updated to add unidentifying flag to properties as they are returned if applicable 2014-02-20 16:18:51 -06:00
Michael Minella
cc3c7593c8 BATCH-2126: Added synchronization around formatters in DefaultJobParametersConverter 2014-02-20 15:54:11 -06:00
Chris Schaefer
ef0823938c BATCH-2111: Java 8 / Upgrade to Spring 4
* Upgrade Spring framework to 4.0.2.RELEASE
* Upgrade maven compiler plugin to 3.1
* Use LinkedHashMap to preseve ordering in AbstractFlowParser (found when upgrading to JDK 8)
* Match on EnhancerBySpringCGLIB in StepScopeProxyTargetClassOverrideIntegrationTests (SPR-11398)
2014-02-20 12:53:32 -06:00
Michael Minella
f53ef655e4 BATCH-2175: Added the ability to inject lobType 2014-02-20 11:22:23 -06:00
Chris Schaefer
5bf53d6a93 BATCH-2080: Clean up "Invalid JavaBean property 'itemWriter' being accessed" warnings
Disambiguate tasklet/item(reader,processor,writer)/chunkCompletionPolicy properties in subclass
2014-02-18 23:01:44 -05:00
Chris Schaefer
f87bf69dcf PartitionParserTests fixes
testFullPartitionConfigurationWithMapperSuppliedProperties
* remove assert on PartitionMapper.name as PropertyPartitionMapper is used and
  PartitionMapper.name does not get populated.

testFullPartitionConfigurationWithHardcodedProperties
* when run as part of the suite, the static fields name was populated by another test case.
  add explicit reference and hardcoded property to job def
2014-02-18 12:46:53 -05:00
Michael Minella
6211c95d42 Fixed the way default java.util.Properteis are handled on restarts 2014-02-13 10:55:58 -06:00
Chris Schaefer
a1ee097dd4 * During pre-parsing of XML look for references to the same bean and if multiple
matches found, create new bean definitions and update the reference in the preprocessed
XML to allow for unique instances.

* Use job scope for job level listeners

* Remove call to application context close in JsrJobOperator.restart

Fixes TCK tests:
--
testTransitionElementOnAttrValuesWithRestartJobParamOverrides
testChunkArtifactInstanceUniqueness
testOneArtifactIsJobAndStepListener
2014-02-12 17:11:06 -05:00
Michael Minella
1a6ba98fc4 Created a JSR-352 specific StepState to maintain in the Job's
ExecutionContext what the last step executed was.  This is needed for
restarts when the step to restart at is a DecisionStep.
2014-02-12 12:21:44 -06:00
Michael Minella
9317ab2565 BATCH-2112: Removed Spring Batch's SerializationUtils in favor of the Spring Core version 2014-02-12 11:23:03 -06:00
Michael Minella
0b5bad920b Updated per code review 2014-02-11 11:36:05 -06:00
Michael Minella
9a5f59f749 Updated to handle the transition between splits and decisions 2014-02-10 17:18:32 -06:00
Michael Minella
ac974c8d5e Per JSR-352, Decision steps are always executed on restart. This changes the configuration of those steps to enforce that. 2014-02-06 17:12:39 -06:00