Add listener to persist relationship between job and task
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.
This commit is contained in:
committed by
Glenn Renfro
parent
bb76cef391
commit
7c8fc5f50e
26
spring-cloud-task-samples/batch-job/README.adoc
Normal file
26
spring-cloud-task-samples/batch-job/README.adoc
Normal file
@@ -0,0 +1,26 @@
|
||||
= 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
|
||||
----
|
||||
Reference in New Issue
Block a user