Michael Minella
f865eb0135
Add explicit call to afterPropertiesSet to a Flow when using Java config
...
When using java config, the call to SimpleFlow#afterPropertiesSet is not
called in all cases as noted in BATCH-2291. This commit updates the
builder to explicitly make the call, and updates the SimpleFlow to be
idempotent for calls to afterPropertiesSet.
2014-10-15 14:36:13 -05:00
Chris Schaefer
3eb7511322
Handle TestContext class to interface conversion from Spring 3 to Spring 4
...
Use reflection to make calls to the provided TestContext in StepScopeTestExecutionListener
Enables usage of Spring 4 w/ Batch 2.2 (in this case)
2014-05-22 11:19:36 -05:00
Michael Minella
39bb979a51
BATCH-2233: Moved JsrTestUtils to a location that is actually published with the release
2014-05-15 14:54:26 -05:00
Michael Minella
e7a4e348a5
BATCH-2229 & BATCH-2218: Removed OSGi related metadata and Maven POMs
2014-05-12 15:32:02 -05:00
Michael Minella
6d94ae9031
Updated hsqldb urls to use MVCC mode
2014-05-05 15:08:05 -05:00
jpraet
b26d272d43
cleanup
2014-04-02 14:35:53 -04: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
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