18 Commits

Author SHA1 Message Date
Michael Minella
fcf3db3585 Refactored DI to be more explicit 2015-06-10 10:21:51 -05:00
Greg Turnquist
f33ccd6ca8 We leave out licensing in headers to slim down the guides. 2015-05-27 13:07:33 -05:00
Greg Turnquist
06a705e08b Remove CountDownLatch to simplify
Resolves #8
2015-05-27 13:02:06 -05:00
Michael Minella
427f2c95f1 Added end of job listener
Spring Batch jobs are executed via Spring Boot's
JobLaunchingCommandLineRunner.  This guide also uses a CommandLineRunner
to verify the results of the job.  This can cause state inconsistencies
between the two (job may run before or after the queries).  This commit
adds a JobExecutionListener that decrements a CountdownLatch.  The
queries wait for the latch to complete guaranteeing that the job has
completed.

Github Issue 8
2015-05-27 12:00:08 -05:00
Greg Turnquist
cee9eabde2 Upgrade to @SpringBootApplication 2015-02-24 15:18:43 -06:00
Greg Turnquist
da06a40acc Converted to asciidoctor 2013-11-22 16:47:37 -06:00
Roy Clarkson
8e9fa7f9ab Add "Application" class for consistency with other guides. 2013-08-13 16:22:44 -04:00
Roy Clarkson
fc8fc09804 Detab poms and source 2013-08-08 18:08:44 -04:00
Greg Turnquist
2d82989dbd Add gradle support 2013-08-01 21:37:36 -04:00
Greg Turnquist
5a0a5d7ff6 Convert to spring-package-maven-plugin and Spring Zero 2013-07-22 08:34:02 -04:00
Greg Turnquist
7258dab628 Renamed schema setup script to schema-all.sql 2013-07-22 08:30:06 -04:00
Greg Turnquist
64d031939f Convert to fpp 2013-07-05 16:50:39 -05:00
Chris Beams
79dbf05bba Pull in code blocks with {!include:...} syntax 2013-06-03 09:16:24 +02:00
Greg Turnquist
87f672be49 Wrote first cut of the guide and polished the complete code at the same time. 2013-05-16 16:42:06 -04:00
Greg Turnquist
ea6920389b Logging isn't enough to see the outcome. Removed logging and instead use JdbcTemplate to query DB. 2013-05-16 15:14:19 -04:00
Dave Syer
12f1f122ba Add FINE logging configuration to show JDBC 2013-05-16 16:34:57 +01:00
Dave Syer
851d331b2d Bootstrappify initial implementation 2013-05-16 16:26:46 +01:00
Greg Turnquist
ee95d7cbbb Initial commit of the working, complete example.
This one has trickier issues to overcome, so I thought it more practical to
push the code to origin so I could ping other people, before having to worry
about writing the actual guide.
2013-05-16 11:12:00 -04:00