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
424 B
Plaintext
27 lines
424 B
Plaintext
= Timestamp Task
|
|
|
|
This is a Spring Cloud Task application that logs a timestamp.
|
|
|
|
== Requirements:
|
|
|
|
* Java 7 or Above
|
|
|
|
== Classes:
|
|
|
|
* TaskApplication - the Spring Boot Main Application
|
|
* TimestampTask - the module that writes the log entry as Spring Task
|
|
|
|
== Build:
|
|
|
|
[source,shell,indent=2]
|
|
----
|
|
$ mvn clean package
|
|
----
|
|
|
|
== Run:
|
|
|
|
[source,shell,indent=2]
|
|
----
|
|
$ java -jar target/timestamp-task-1.0.0.BUILD-SNAPSHOT.jar
|
|
----
|