Commit Graph

69 Commits

Author SHA1 Message Date
Michael Minella
241d9f101f BATCH-1701: Implementation of JobScope
* Updated Job and Step scopes to use common class introduced by jpraet
* Updated Job and Step Synchronization Managers to use common class
 introduced by jpraet
* Updated JobScope related code to not be concerned with Spring 2.5
 (which is what batch was on when the PR was opened).
2013-12-16 09:21:27 -06:00
jpraet
2436d84210 BATCH-1701: Introduce job scope 2013-12-13 16:44:15 -06: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
557515df45 BATCH-1412: Implementing non-identifying job parameters 2013-02-05 17:39:12 +00:00
Michael Minella
ca9d00d1a2 Updated to support new 2.2 schema 2013-01-24 13:03:41 -06:00
Dave Syer
bc9ee74a25 BATCH-1950: Patch up build
* Ensure bundlor is available and remove from sample
* Tidy dependencies in some poms
* Update some template.mf dependencies
* Add .travis.yml for automated builds independent of bamboo
2013-01-18 13:46:02 +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
a583c3a421 BATCH-1915: Change minimum compiler level to 1.6 and use @Override everywhere 2012-12-27 17:45:28 -05:00
Dave Syer
f63f67c65a BATCH-1913: Add step builders 2012-12-04 18:12:20 +00:00
Chris Schaefer
d0e0334674 BATCH-1891: Migrate usage of deprecated classes 2012-09-21 09:29:13 +01: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
7476ac1628 Upgrade site plugin and ensure tables parse correctly 2012-08-28 10:44:04 +01:00
David Thexton
00aab3eafa Add tests and implement fix for very quick running (<1ms) jobs (incorporating suggestions made) 2012-05-16 12:44:18 +01:00
Dave Syer
599891fd45 BATCH-1671: add public modifier 2010-12-21 10:34:11 +00:00
dsyer
a9cbc02e0b RESOLVED - issue BATCH-1642: test utility class to retrieve value from execution context 2010-10-28 15:49:20 +00:00
dsyer
fcb82be654 RESOLVED - issue BATCH-1642: test utility class to retrieve value from execution context 2010-10-28 15:47:52 +00:00
dsyer
cdc7feb184 BATCH-1601: remove static keyword 2010-08-29 07:16:05 +00:00
dsyer
59bd81740d BATCH-1598: re-order deletes in job repository test utils 2010-08-29 07:16:02 +00:00
dsyer
1807653ef3 BATCH-1534: changed AbstractJob to Job 2010-03-25 13:10:25 +00:00
dsyer
82947d6401 Fix ivy + OSGi meta-data 2010-01-19 08:57:18 +00:00
dsyer
5c8f527443 Fix some PMD violations where it made sense 2010-01-14 12:50:48 +00:00
dsyer
25b6f6b634 BATCH-1481: update for Spring 3. 2010-01-11 16:18:42 +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
983a2c81fe RESOLVED - issue BATCH-1481: Support injection of step-scoped dependencies into unit tests 2010-01-06 17:15:37 +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
8898975a1e Account for differences between step names in SimpleJob and FlowJob 2009-11-16 10:28:57 +00:00
dsyer
566a7f9890 RESOLVED - issue BATCH-1439: Fix test tests 2009-11-16 09:57:06 +00:00
dsyer
2952ed5233 RESOLVED - issue BATCH-1411: Allow a Job to specify its required JobParameters
Fix build
2009-11-11 22:03:02 +00:00
dsyer
f1f1b130e2 BATCH-1372: remove 2.0.xsd and add tooling meta data 2009-11-11 13:42:15 +00:00
dsyer
79c86bf13d RESOLVED - issue BATCH-1414: Move schema scripts to a package
http://jira.springframework.org/browse/BATCH-1414
2009-09-25 08:30:27 +00:00
dsyer
c6056d59d2 RESOLVED - issue BATCH-1341: DataSourceInitializer throws ArrayOutOfBoundException when any destroyScript is specified
http://jira.springframework.org/browse/BATCH-1341
2009-07-22 17:21:38 +00:00
dsyer
93f026949d fix broken test 2009-07-08 17:58:55 +00:00
dsyer
215925e58d RESOLVED: BATCH-1325. 2009-07-08 17:43:23 +00:00
dsyer
60b05f321f Add step executions to job repository test utils 2009-07-07 13:40:43 +00:00
dsyer
b0d6e0e2b9 add spring3 profile 2009-07-07 12:56:53 +00:00
dhgarrette
026bb0665e BATCH-1295:
*Provide ability to pass job's ExecutionContext into AbstractJobTests.launchStep() and StepRunner.launchStep()
 *Modified SimpleMethodInvoker.hashCode() so that it is not dependent on commons-lang
2009-06-21 15:55:22 +00:00
dhgarrette
74929408ff RESOLVED - BATCH-1226: Add assertLineCount method to AssertFile 2009-05-01 19:08:42 +00:00
dsyer
339b8e3060 Tidy up loose ends from build 2009-04-13 11:34:07 +00:00
dsyer
82bc42d102 RESOLVED - issue BATCH-1187: Step shouldn't exit with status=EXECUTING
AbstractStep now sets the ExitStatus (by ANDing with the existing value), so a Tasklet does not have to set it manually.
2009-04-09 11:51:31 +00:00
dhgarrette
9092b47fce Updated to remove warnings. 2009-04-08 14:33:54 +00:00
dhgarrette
69a6bf0751 BATCH-1179: Remove ref= attribute from <step/> in favor of parent= 2009-03-25 21:19:49 +00:00
dsyer
6150a05615 Fix Java 6 @Override 2009-02-25 17:05:29 +00:00
dsyer
044a91eddf BATCH-1103: Added partitioning sample 2009-02-25 12:31:13 +00:00
dsyer
b5450ddc67 RESOLVED - issue BATCH-1093: Make AbstractJobTests.makeUniqueJobParameters() public
RESOLVED - issue BATCH-1096: Add late binding to some io samples 
RESOLVED - issue BATCH-1087: ClassPathXmlJobRegistry does not accept patterns for resources 
RESOLVED - BATCH-1098: added test for @AfterWrite in FaultTolerantChinkProcessorTests
2009-02-24 15:34:49 +00:00
dhgarrette
6d171f2884 BATCH-1093: Made AbstractJobTests.makeUniqueJobParameters() public 2009-02-23 16:53:32 +00:00
trisberg
d3396a3fa7 BATCH-1013: split the <step> elements name attribute into id and ref attributes 2009-02-10 04:52:03 +00:00
dhgarrette
7487b4dfd2 BATCH-1053: Modified so that AbstractJob.getStep() returns null if the step is not found and Flow.getState() returns null if the state is not found. Javadocs and unit tests were updated to reflect this change. 2009-02-03 18:08:32 +00:00
dhgarrette
b09e1ece01 BATCH-1053: Updated javadocs to explain the behavior of getStep and getState if the step/state is not found. 2009-02-03 16:22:08 +00:00