Commit Graph

87 Commits

Author SHA1 Message Date
Michael Minella
f61679b55f Added updates for properties files as well 2017-11-27 12:06:29 -06:00
Michael Minella
52d2c257c5 Version updates 2017-10-23 15:52:55 -05:00
Michael Minella
24fbb882e6 Updated job.adoc to have java config examples
This commit addresses the job.adoc and how to configure the various
pieces of the framework it covers via java configuration.
2017-10-18 12:00:27 -05:00
Michael Minella
b180c75ce0 Housecleaning of build warnings 2017-09-15 15:58:22 -05:00
Glenn Renfro
6bdbe3029e Remove JavaDoc warnings part 2 2017-09-12 10:52:22 -05:00
Michael Minella
263e978a1f Updated for various code warnings
This commit addresses a number of deprications and other code warnings.
There are still many more to address, but this is a start.
2017-05-02 12:48:03 -05:00
Michael Minella
26b02fb836 Replaced snapshot versions and addressed deprications
This commit moves all SNAPSHOT dependencies to the latest available
released versions.  It also addresses a number of deprications in the
Spring Data realm.  Specifically around the deprication of the
Neo4JOperations and the package reorganization within Hibernate.
2016-12-30 14:04:58 -06:00
Philippe Marschall
dcc9da8273 BATCH-2407 Use StringBuilder instead of StringBuffer
With Java 1.5 StringBuilder is preferred over StringBuffer for single
threaded access as is has less overhead.

This is evidenced by the class comment of StringBuffer and Effective
Java 2nd Edition Item 67: Avoid excessive synchronization.

> The StringBuilder class should generally be used in preference to
> this one, as it supports all of the same operations but it is faster,
> as it performs no synchronization.

 - replace StringBuffer with StringBuilder where possible

Issue: BATCH-2407
2015-08-06 10:22:39 -05:00
Philippe Marschall
7092102748 BATCH-2411 Remove @SuppressWarnings("unchecked")
The source code contains various @SuppressWarnings("unchecked") that
are no longer unnecessary since the relevant APIs have been upgraded to
support Java 5 generics.

 - remove @SuppressWarnings("unchecked") where no longer unnecessary

Issue: BATCH-2411
2015-08-05 18:04:40 -05:00
Philippe Marschall
7ec7152c5e BATCH-2410 junit.framework.Assert is deprecated 2015-07-31 12:44:25 -05:00
Michael Minella
7c60b055c3 Removed dependency on ParameterizedRowMapper
To support Spring Framework 4.2 which removes ParameterizedRowMapper,
all references to that were switched to RowMapper.  As of Spring 3, the
interfaces are identicle so this should cause no backward compatability
issues.

BATCH-2369
2015-03-31 14:08:38 -05:00
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