This introduces a listener that stores the association between a Spring Batch job and the task it was executed within. Resolves spring-cloud/spring-cloud-task#46 Merge Changes based on code review.
27 lines
446 B
Plaintext
27 lines
446 B
Plaintext
= Spring Batch Job Task
|
|
|
|
This is a Spring Cloud Task application that executes two simple Spring Batch Jobs.
|
|
|
|
== Requirements:
|
|
|
|
* Java 7 or Above
|
|
|
|
== Classes:
|
|
|
|
* BatchJobApplication - the Spring Boot Main Application
|
|
* JobConfiguration - the configuration for the Spring Batch jobs
|
|
|
|
== Build:
|
|
|
|
[source,shell,indent=2]
|
|
----
|
|
$ mvn clean package
|
|
----
|
|
|
|
== Run:
|
|
|
|
[source,shell,indent=2]
|
|
----
|
|
$ java -jar target/batch-job-1.0.0.BUILD-SNAPSHOT.jar
|
|
----
|